OAI/NumberTheory/Ostmann/Arithmetic/ArithmeticLines.lean
9 declarations, 0 contain sorry, 0 declared as axioms
Exact line counts in the ideal giant residues
- def
OAI.Ostmann.unitLineEquivline 16Source documentation
A feasible line on two unit coordinates has one point for each second coordinate.
def unitLineEquiv {G : Type*} [CommGroup G] (a b : G) : {xy : G × G // a * xy.1 = b * xy.2} ≃ G where … - theorem
OAI.Ostmann.card_unitLineline 29 - def
OAI.Ostmann.externalLineEquivline 34Source documentation
An external integer coordinate is unrestricted; the second coordinate is still a unit.
noncomputable def externalLineEquiv {p : ℕ} [Fact p.Prime] (a : (ZMod p)ˣ) (b : ZMod p) : {xy : ZMod p × (ZMod p)ˣ // (a : ZMod p) * xy.1 = b * xy.2} ≃ (ZMod p)ˣ where … - theorem
OAI.Ostmann.card_externalLineline 50 - theorem
OAI.Ostmann.unitLine_probabilityline 56 - theorem
OAI.Ostmann.externalLine_probabilityline 64 - theorem
OAI.Ostmann.independent_lines_no_unit_solutionline 72 - theorem
OAI.Ostmann.line_zero_first_coefficientline 79 - theorem
OAI.Ostmann.dependent_lines_iffline 84Source documentation
Vanishing two-by-two minors reduce all occurrence tests to one nonzero row.
theorem dependent_lines_iff {K I : Type*} [Field K] (a b : I → K) (i : I) (ha : a i ≠ 0) (hdet : ∀ j, a i * b j - b i * a j = 0) (x y : K) : (∀ j, a j * x + b j * y = 0) ↔ a i * x + b i * y = 0 := by …