All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Neg weight implies neg value

QuadraticForm.neg_weight_implies_neg_value

Plain-language statement

When a quadratic form is equivalent to a weighted sum of squares, negative weights correspond to vectors where the form takes negative values. This is a concrete realization of a 1-dimensional negative definite subspace, contributing to O'Neill's index ν (Definition 18, p. 47).

Exact Lean statement

lemma neg_weight_implies_neg_value {E : Type*} [AddCommGroup E] [Module ℝ E]
    {q : QuadraticForm ℝ E} {w : Fin (finrank ℝ E) → SignType}
    (h_equiv : QuadraticMap.Equivalent q (QuadraticMap.weightedSumSquares ℝ fun i => (w i : ℝ)))
    {i : Fin (finrank ℝ E)} (hi : w i = SignType.neg) :
    ∃ v : E, v ≠ 0 ∧ q v < 0

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma neg_weight_implies_neg_value {E : Type*} [AddCommGroup E] [Module  E]    {q : QuadraticForm  E} {w : Fin (finrank  E)  SignType}    (h_equiv : QuadraticMap.Equivalent q (QuadraticMap.weightedSumSquares  fun i => (w i : )))    {i : Fin (finrank  E)} (hi : w i = SignType.neg) :     v : E, v  0  q v < 0 := by  let f := Classical.choice h_equiv  let v_std : Fin (finrank  E)   := fun j => if j = i then 1 else 0  refine f.symm v_std, ?_, ?_  · intro h    have hz : v_std = 0 := by      have hf := congrArg f h      rwa [f.apply_symm_apply, map_zero] at hf    simpa [v_std] using congrFun hz i  · have hw : QuadraticMap.weightedSumSquares  (fun j => (w j : )) v_std = (w i : ) :=      QuadraticMap.weightedSumSquares_basis_vector v_std fun _ => rfl    rw [QuadraticMap.IsometryEquiv.map_app f.symm v_std, hw, hi, SignType.neg_eq_neg_one,      SignType.coe_neg, SignType.coe_one]    norm_num
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Mathematics/Geometry/Metric/PseudoRiemannian/Defs.lean:108-125

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.32.0

Adiabatic relation log

adiabatic_relation_log

Plain-language statement

Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Adiabatic relation Ua Ub Va Vb

adiabatic_relation_UaUbVaVb

Plain-language statement

Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record