FormalConjecturesForMathlib/NumberTheory/NumberField/Quadratic.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
2 declarations, 0 contain sorry, 0 declared as axioms
Imports (2)
Imported by 1 file
- instance
QuadraticAlgebra.instIsQuadraticExtensionAnyQuadraticAlgebra ℚ a bthat is a field is automatically a quadratic extension ofℚ, i.e., a degree-2 extension line 29 sourceSource documentation
Any
QuadraticAlgebra ℚ a bthat is a field is automatically a quadratic extension ofℚ, i.e., a degree-2 extension. Combined withIsQuadraticField.instNumberField, this givesNumberField (QuadraticAlgebra ℚ a b)for free.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Rat,Fact,Ne,HPow.hPow,Nat,OfNat.ofNat,HAdd.hAdd,HMul.hMul,Algebra.IsQuadraticExtension,QuadraticAlgebraProof uses:
Algebra.IsQuadraticExtension.mk,QuadraticAlgebra.finrank_eq_two49 instances, coercions and auxiliary constants left out.
instance QuadraticAlgebra.instIsQuadraticExtension (a b : ℚ) [Fact (∀ r : ℚ, r ^ 2 ≠ a + b * r)] : IsQuadraticExtension ℚ (QuadraticAlgebra ℚ a b) where … - instance
Algebra.IsQuadraticExtension.to_numberFieldA quadratic field is a number field: it has characteristic zero and is finite-dimensional overℚline 35 sourceSource documentation
A quadratic field is a number field: it has characteristic zero and is finite-dimensional over
ℚ.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,CharZero,Algebra.IsQuadraticExtension,Rat,NumberFieldProof uses:
NumberField.mk,FiniteDimensional.of_finrank_pos28 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
instance Algebra.IsQuadraticExtension.to_numberField (K : Type*) [Field K] [CharZero K] [IsQuadraticExtension ℚ K] : NumberField K where …