FLT/Mathlib/Algebra/IsQuaternionAlgebra.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, Pinned FLT blueprint introduction
11 declarations, 0 contain sorry, 0 declared as axioms
Is Quaternion Algebra
Material destined for Mathlib.
Imports (4)
Imported by 2 files
- def
Minpoly.toAdjoin'line 27 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
CommRing,Ring,Algebra,AlgHom,AdjoinRoot,minpoly,Subtype,Membership.mem,Subalgebra,Algebra.adjoin,Singleton.singleton,SetProof uses:
AdjoinRoot.liftAlgHom,Algebra.ofId,Subtype.mk22 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Minpoly.toAdjoin'_surjectiveline 33 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
CommRing,Ring,Algebra,Function.Surjective,AdjoinRoot,minpoly,Subtype,Membership.mem,Subalgebra,Algebra.adjoin,Singleton.singleton,Set,AlgHom, Minpoly.toAdjoin'Proof uses:
Eq.mpr,Eq,AlgHom.range,Top.top,id,congrArg,Eq.symm,propext,AlgHom.range_eq_top,LE.le,eq_top_iff,Set.preimage,Algebra.adjoin_adjoin_coe_preimage,Algebra.adjoin_le,Subtype.mk,Exists.intro,RingHom,AlgHom.toRingHom,Polynomial,AdjoinRoot.mkand 10 more50 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- def
AlgEquiv.adjoinSingletonEquivAdjoinRootMinpoly'line 43 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Ring,Algebra,AlgEquiv,Subtype,Membership.mem,Subalgebra,Algebra.adjoin,Singleton.singleton,Set,AdjoinRoot,minpolyProof uses:
AlgEquiv.symm,AlgEquiv.ofBijective, Minpoly.toAdjoin'29 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- class
IsQuaternionAlgebraIsQuaternionAlgebra F Dsays thatDis a quaternion algebra over the fieldF, i.e. a four-dimensional central simpleF-algebra line 54 sourceSource documentation
IsQuaternionAlgebra F Dsays thatDis a quaternion algebra over the fieldF, i.e. a four-dimensional central simpleF-algebra.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Ring,Algebra3 instances, coercions and auxiliary constants left out.
class IsQuaternionAlgebra (F : Type*) [Field F] (D : Type*) [Ring D] [Algebra F D] : Prop where …
- instance
IsQuaternionAlgebra.(instance at line 65)line 65 source - lemma
IsQuaternionAlgebra.finrank_eq_fourline 67 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Ring,Algebra, IsQuaternionAlgebra,Eq,Nat,Module.finrank,OfNat.ofNatProof uses:
Module.finrank_eq_of_rank_eq,IsQuaternionAlgebra.dim_four14 instances, coercions and auxiliary constants left out.
- lemma
IsQuaternionAlgebra.not_isMulCommutativeline 72 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Ring,Algebra, IsQuaternionAlgebra,Not,IsMulCommutativeProof uses:
dite,False,Eq,Subalgebra,IsMulCommutative.instCommRing,Bot.bot,Top.top,Classical.propDecidable,False.elim,Eq.mp,Eq.trans,Nat,Module.finrank,OfNat.ofNat,congrFun',congrArg, IsQuaternionAlgebra.finrank_eq_four,absurd,Eq.refl,Subalgebra.centerand 3 more63 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- lemma
IsQuaternionAlgebra.nomepty_algEquiv_matrix_or_forall_isUnitline 79 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Ring,Algebra, IsQuaternionAlgebra,Or,Nonempty,AlgEquiv,Matrix,Fin,OfNat.ofNat,Nat,Ne,IsUnitProof uses:
IsArtinianRing,IsArtinianRing.of_finite,Exists,NeZero,DivisionRing,IsSimpleRing.exists_algEquiv_matrix_divisionRing,Eq,Module.finrank, IsQuaternionAlgebra.finrank_eq_four,Nat.casesAuxOn,HMul.hMul,False.elim,Eq.mp,False,Eq.trans,congrFun',congrArg,MulZeroClass.mul_zero,MulZeroClass.zero_mul,HAdd.hAddand 43 more118 instances, coercions and auxiliary constants left out.
Tactic trace: 20 steps
Open to load the checked before-and-after goal states.
- lemma
IsQuaternionAlgebra.Algebra.finrank_adjoin_singletonline 95 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Ring,Algebra,IsIntegral,Eq,Nat,Module.finrank,Subtype,Membership.mem,Subalgebra,Algebra.adjoin,Singleton.singleton,Set,Polynomial.natDegree,minpolyProof uses:
Eq.mpr,AdjoinRoot,id,congrArg,LinearEquiv.finrank_eq, AlgEquiv.adjoinSingletonEquivAdjoinRootMinpoly',PowerBasis.dim,AdjoinRoot.powerBasis,minpoly.ne_zero,PowerBasis.finrank,AdjoinRoot.powerBasis_dim,Eq.refl42 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
IsQuaternionAlgebra.natDegree_minpoly_le_twoline 103 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Ring,Algebra, IsQuaternionAlgebra,LE.le,Nat,Polynomial.natDegree,minpoly,OfNat.ofNatProof uses:
Nonempty,AlgEquiv,Matrix,Fin,Ne,IsUnit,Or, IsQuaternionAlgebra.nomepty_algEquiv_matrix_or_forall_isUnit,Eq.mpr,AlgHom,id,Eq,congrArg,Polynomial,Eq.symm,minpoly.algHom_eq,AlgEquiv.injective,LE.le.trans,Matrix.charpoly,Polynomial.natDegree_le_of_dvdand 78 more160 instances, coercions and auxiliary constants left out.
Tactic trace: 31 steps
Open to load the checked before-and-after goal states.
- class
IsQuaternionAlgebra.IsTotallyDefiniteDocumented declaration: IsTotallyDefinite line 143 sourceSource documentation
A quaternion algebra
Dover a number fieldFis totally definite ifD ⊗[F, v] ℝis isomorphic to the Hamilton quaternions ℍ for all real placesv(that is, for all ring homomorphismsF → ℝ).standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Ring,Algebra3 instances, coercions and auxiliary constants left out.
class IsTotallyDefinite : Prop where …