FormalConjecturesForMathlib/NumberTheory/NumberField/FundamentalDiscriminant.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
Fundamental discriminants
A fundamental discriminant is an integer that occurs as the discriminant of a quadratic field.
References:
Imported by 1 file
- def
NumberField.IsFundamentalDiscrFundamental discriminants are those integersDthat appear as discriminants of quadratic fields line 39 sourceSource documentation
Fundamental discriminants are those integers
Dthat appear as discriminants of quadratic fields.Dis a fundamental discriminant if it is either of the form4mformcongruent to2or3mod4squarefree, or if it congruent to1mod4and squarefree.standard axioms: propext what this means
Statement uses:
IntProof uses:
Or,And,Dvd.dvd,OfNat.ofNat,Not,Int.ModEq,HDiv.hDiv,Squarefree,Ne5 instances, coercions and auxiliary constants left out.
def IsFundamentalDiscr (D : ℤ) : Prop := …
- theorem
NumberField.isFundamentalDiscr_iffDocumented declaration: isFundamentalDiscr_iff line 45 sourceSource documentation
Unfolding of
IsFundamentalDiscrin terms of%: a fundamental discriminant is either4times a squarefree integer congruent to2or3mod4, or a squarefree integer congruent to1mod4other than1itself.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Int,Iff, NumberField.IsFundamentalDiscr,Or,Exists,And,Eq,HMul.hMul,OfNat.ofNat,HMod.hMod,Squarefree,NeProof uses:
Not,Dvd.dvd,False,absurd,IsUnit,Exists.intro,Decidable.byContradiction,of_eq_true,Eq.trans,True,congrArg,Neg.neg,congr,Nat,eq_false',False.elim,noConfusion_of_Nat,Int.ctorIdx,or_self,not_false_eq_trueand 23 more40 instances, coercions and auxiliary constants left out.
Tactic trace: 25 steps
Open to load the checked before-and-after goal states.
theorem isFundamentalDiscr_iff {D : ℤ} : IsFundamentalDiscr D ↔ (∃ m, D = 4 * m ∧ (m % 4 = 2 ∨ m % 4 = 3) ∧ Squarefree m) ∨ D ≠ 1 ∧ D % 4 = 1 ∧ Squarefree D := by …Mentions: NumberField.IsFundamentalDiscr