FLT/Mathlib/LinearAlgebra/Dimension/IsQuadraticExtension.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
4 declarations, 0 contain sorry, 0 declared as axioms
Elements of a quadratic field extension
Proposed new Mathlib file Mathlib.LinearAlgebra.Dimension.IsQuadraticExtension: basic
lemmas about elements of a quadratic extension lying outside the base field.
Imports (3)
Imported by 3 files
- theorem
linearIndependent_one_of_notMem_range_algebraMap1and any element lying outside the base field are linearly independent over the base field line 27 sourceSource documentation
1and any element lying outside the base field are linearly independent over the base field.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Not,Membership.mem,Set,Set.range,RingHom,Algebra.algebraMap,LinearIndependent,Fin,Nat.succ,OfNat.ofNat,Nat,Matrix.vecCons,Matrix.vecEmptyProof uses:
Iff.mpr,Ne,HSMul.hSMul,LinearIndependent.pair_iff',one_ne_zero,Eq,Exists.intro,Eq.mpr,id,congrArg,Algebra.algebraMap_eq_smul_one58 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem linearIndependent_one_of_notMem_range_algebraMap {θ : L} (hθ : θ ∉ Set.range (algebraMap K L)) : LinearIndependent K ![(1 : L), θ] := … - theorem
Algebra.IsQuadraticExtension.exists_notMem_range_algebraMapA quadratic extension contains an element not in the base field line 36 sourceSource documentation
A quadratic extension contains an element not in the base field. (Used to choose a generator of
L/Kin the definition of the quadratic twist below.)standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,Exists,Not,Membership.mem,Set,Set.range,RingHom,Algebra.algebraMapProof uses:
Classical.byContradiction,Eq,Subalgebra,Bot.bot,Top.top,Iff.mpr,Algebra.eq_top_iff,Algebra.mem_bot,Eq.mp,Eq.trans,binderNameHint,forall_congr,Nat,Module.finrank,OfNat.ofNat,Iff.mp,Subalgebra.bot_eq_top_iff_finrank_eq_one,Algebra.IsQuadraticExtension.finrank_eq_two46 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
theorem Algebra.IsQuadraticExtension.exists_notMem_range_algebraMap : ∃ θ : L, θ ∉ Set.range (algebraMap K L) := by … - theorem
Algebra.IsQuadraticExtension.exists_eq_algebraMap_add_algebraMap_mulAny element of a quadratic extensionL/Kis aK-linear combination of1and a given generatorθ, and theθ-coefficient is nonzero if the element also lies outsideKline 47 sourceSource documentation
Any element of a quadratic extension
L/Kis aK-linear combination of1and a given generatorθ, and theθ-coefficient is nonzero if the element also lies outsideK.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Algebra.IsQuadraticExtension,Not,Membership.mem,Set,Set.range,RingHom,Algebra.algebraMap,Exists,And,Ne,OfNat.ofNat,Eq,HAdd.hAdd,HMul.hMulProof uses:
LinearIndependent,Fin,Nat.succ,Nat,Matrix.vecCons,Matrix.vecEmpty, linearIndependent_one_of_notMem_range_algebraMap,Submodule,Submodule.span,Eq.mpr,Top.top,id,congrArg,LinearIndependent.span_eq_top_of_card_eq_finrank,Fintype.card,Module.finrank,Fintype.card_fin,Eq.symm,Algebra.IsQuadraticExtension.finrank_eq_two,True.introand 15 more87 instances, coercions and auxiliary constants left out.
Tactic trace: 13 steps
Open to load the checked before-and-after goal states.
theorem Algebra.IsQuadraticExtension.exists_eq_algebraMap_add_algebraMap_mul {θ θ' : L} (hθ : θ ∉ Set.range (algebraMap K L)) (hθ' : θ' ∉ Set.range (algebraMap K L)) : ∃ a b : K, a ≠ 0 ∧ θ' = algebraMap K L b + algebraMap K L a * θ := by … - lemma
notMem_range_algebraMap_of_not_isSquareAn element whose square is (the image of) a nonsquare ofKlies outsideKline 68 sourceSource documentation
An element whose square is (the image of) a nonsquare of
Klies outsideK.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Field,Algebra,Not,IsSquare,Eq,HPow.hPow,Nat,OfNat.ofNat,RingHom,Algebra.algebraMap,Membership.mem,Set,Set.rangeProof uses:
False,Exists.intro,HMul.hMul,FaithfulSMul.algebraMap_injective,Eq.mpr,id,congrArg,map_mul,Eq.symm,sq47 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
lemma notMem_range_algebraMap_of_not_isSquare {d : K} (hd : ¬IsSquare d) {α : L} (hα : α ^ 2 = algebraMap K L d) : α ∉ Set.range (algebraMap K L) := by …