FormalConjecturesForMathlib/LinearAlgebra/QuadraticForm/UInvariant.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
8 declarations, 0 contain sorry, 0 declared as axioms
Dimensions of anisotropic quadratic forms
The $u$-invariant $u(F)$ of a field $F$ is the largest dimension of an anisotropic quadratic form over $F$, or $\infty$ if there is no largest one [Kaplansky1953, p. 201]; in characteristic $2$ the forms are required to be nondegenerate [EKM2008, §36]. This file defines
QuadraticForm.anisotropicDims F: the set ofnsuch that there is a nondegenerate anisotropic quadratic form onFin n → F.
The $u$-invariant of F is n exactly when IsGreatest (QuadraticForm.anisotropicDims F) n, and
it is infinite exactly when ¬ BddAbove (QuadraticForm.anisotropicDims F). No numeric invariant
is defined, so that no convention for the infinite case is needed.
The set contains 0 and 1 for every field. In characteristic not 2 every anisotropic form is
nondegenerate (QuadraticMap.Anisotropic.nondegenerate), so the nondegeneracy condition can be
dropped (QuadraticForm.mem_anisotropicDims_iff). Over a linearly ordered field the sum of n
squares is anisotropic for every n, so the set is all of ℕ
(QuadraticForm.anisotropicDims_eq_univ).
References
- [Kaplansky1953] I. Kaplansky, Quadratic forms, J. Math. Soc. Japan 5 (1953), 200–207.
- [EKM2008] R. Elman, N. Karpenko, A. Merkurjev, The algebraic and geometric theory of quadratic forms, Amer. Math. Soc. Colloq. Publ. 56, 2008.
Imports (1)
Imported by 1 file
- theorem
QuadraticMap.Anisotropic.radical_eq_botThe radical of an anisotropic quadratic form is trivial line 56 sourceSource documentation
The radical of an anisotropic quadratic form is trivial.
standard axioms: Quot.sound, propext what this means
Statement uses:
Field,AddCommGroup,Module,QuadraticForm,QuadraticMap.Anisotropic,Eq,Submodule,QuadraticMap.radical,Bot.botProof uses:
Iff.mpr,Membership.mem,OfNat.ofNat,Submodule.eq_bot_iff,And.left,QuadraticMap,HAdd.hAdd,Iff.mp,And,QuadraticMap.mem_radical_iff'46 instances, coercions and auxiliary constants left out.
theorem Anisotropic.radical_eq_bot (hQ : Q.Anisotropic) : Q.radical = ⊥ := …
- theorem
QuadraticMap.Anisotropic.nondegenerate_of_rank_le_oneAn anisotropic quadratic form on a module of rank at most1is nondegenerate line 60 sourceSource documentation
An anisotropic quadratic form on a module of rank at most
1is nondegenerate.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,AddCommGroup,Module,QuadraticForm,QuadraticMap.Anisotropic,LE.le,Cardinal,Module.rank,OfNat.ofNat,QuadraticMap.NondegenerateProof uses:
QuadraticMap.Nondegenerate.mk, QuadraticMap.Anisotropic.radical_eq_bot,LE.le.trans,Subtype,Membership.mem,Submodule,LinearMap.ker,LinearMap,RingHom.id,QuadraticMap.polarBilin,Submodule.rank_le41 instances, coercions and auxiliary constants left out.
theorem Anisotropic.nondegenerate_of_rank_le_one (hQ : Q.Anisotropic) (hM : Module.rank F M ≤ 1) : Q.Nondegenerate where … - theorem
QuadraticMap.Anisotropic.nondegenerateIn characteristic not2, an anisotropic quadratic form is nondegenerate line 66 sourceSource documentation
In characteristic not
2, an anisotropic quadratic form is nondegenerate.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,AddCommGroup,Module,QuadraticForm,NeZero,OfNat.ofNat,Nat,QuadraticMap.Anisotropic,QuadraticMap.NondegenerateProof uses:
Invertible,invertibleOfNonzero,two_ne_zero,Iff.mpr,Eq,Submodule,QuadraticMap.radical,Bot.bot,QuadraticMap.nondegenerate_iff_radical_eq_bot, QuadraticMap.Anisotropic.radical_eq_bot53 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem Anisotropic.nondegenerate [NeZero (2 : F)] (hQ : Q.Anisotropic) : Q.Nondegenerate := by …
- def
QuadraticForm.anisotropicDimsThe set ofnsuch that there is a nondegenerate anisotropic quadratic form onFin n → Fline 79 sourceSource documentation
The set of
nsuch that there is a nondegenerate anisotropic quadratic form onFin n → F. Its greatest element, when it exists, is the $u$-invariant ofF; the set is not bounded above exactly when the $u$-invariant ofFis infinite.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Set,NatProof uses:
Set.ofPred,Exists,QuadraticForm,Fin,And,QuadraticMap.Anisotropic,QuadraticMap.Nondegenerate14 instances, coercions and auxiliary constants left out.
def anisotropicDims : Set ℕ := …
- theorem
QuadraticForm.zero_mem_anisotropicDimsline 82 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Membership.mem,Nat,Set, QuadraticForm.anisotropicDims,OfNat.ofNatProof uses:
QuadraticMap.Anisotropic,Fin,QuadraticForm,Eq,QuadraticMap,Subsingleton.elim,Exists.intro,And,QuadraticMap.Nondegenerate,And.intro, QuadraticMap.Anisotropic.nondegenerate_of_rank_le_one,of_eq_true,LE.le,Cardinal,Module.rank,Eq.trans,True,congrFun',congrArg,rank_subsingleton'46 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
QuadraticForm.one_mem_anisotropicDimsline 86 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Membership.mem,Nat,Set, QuadraticForm.anisotropicDims,OfNat.ofNatProof uses:
QuadraticMap.Anisotropic,Fin,QuadraticMap.weightedSumSquares,Eq,QuadraticMap,funext,Eq.mpr,id,congrArg,Fin.fin_one_eq_zero,Eq.mp,Eq.trans,HMul.hMul,congrFun',Finset.sum,Finset.univ,HSMul.hSMul,QuadraticMap.weightedSumSquares_apply,Finset.sum_congr,Eq.refland 28 more78 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- theorem
QuadraticForm.mem_anisotropicDims_iffIn characteristic not2, the nondegeneracy condition inanisotropicDimsis automatic line 96 sourceSource documentation
In characteristic not
2, the nondegeneracy condition inanisotropicDimsis automatic.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,NeZero,OfNat.ofNat,Nat,Iff,Membership.mem,Set, QuadraticForm.anisotropicDims,Exists,QuadraticForm,Fin,QuadraticMap.AnisotropicProof uses:
Iff.intro,QuadraticMap.Nondegenerate,Exists.intro,And,And.intro, QuadraticMap.Anisotropic.nondegenerate47 instances, coercions and auxiliary constants left out.
theorem mem_anisotropicDims_iff [NeZero (2 : F)] {n : ℕ} : n ∈ anisotropicDims F ↔ ∃ Q : QuadraticForm F (Fin n → F), Q.Anisotropic := …Mentions: QuadraticForm.anisotropicDims
- theorem
QuadraticForm.anisotropicDims_eq_univOver a linearly ordered field, the sum ofnsquares is anisotropic for everyn, so everynis the dimension of an anisotropic quadratic form line 102 sourceSource documentation
Over a linearly ordered field, the sum of
nsquares is anisotropic for everyn, so everynis the dimension of an anisotropic quadratic form.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,LinearOrder,IsStrictOrderedRing,Eq,Set,Nat, QuadraticForm.anisotropicDims,Set.univProof uses:
Set.eq_univ_of_forall,Iff.mpr,Membership.mem,Exists,QuadraticForm,Fin,QuadraticMap.Anisotropic, QuadraticForm.mem_anisotropicDims_iff,Exists.intro,QuadraticMap.weightedSumSquares,OfNat.ofNat,QuadraticMap,funext,Iff.mp,HMul.hMul,mul_self_eq_zero,Eq.mp,Finset.sum,Finset.univ,Finsetand 12 more69 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
theorem anisotropicDims_eq_univ [LinearOrder F] [IsStrictOrderedRing F] : anisotropicDims F = Set.univ := …Mentions: QuadraticForm.anisotropicDims