Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import Mathlib |
| 2 | |
| 3 | /-! # Basis Rational -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.BasisRational.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An integral basis of a full lattice is a basis of its rational span. -/ |
| 10 | |
| 11 | open scoped Classical |
| 12 | open _root_.Module |
| 13 | |
| 14 | theorem integralBasis_coe_span |
| 15 | {L ι : Type*} [AddCommGroup L] (Λ : Submodule ℤ L) (b : Basis ι ℤ Λ) : |
| 16 | Submodule.span ℤ (Set.range (fun i => (b i).val)) = Λ := by |
| 17 | have he : (Submodule.span ℤ (Set.range b)).map Λ.subtype = Λ := by |
| 18 | rw [b.span_eq, Submodule.map_top, Submodule.range_subtype] |
| 19 | rw [Submodule.map_span, ← Set.range_comp] at he |
| 20 | exact he |
| 21 | |
| 22 | def rationalBasisOfIntegralBasis |
| 23 | {L ι : Type*} [AddCommGroup L] [Module ℚ L] |
| 24 | (Λ : Submodule ℤ L) (hΛ : Submodule.span ℚ (Λ : Set L) = ⊤) (b : Basis ι ℤ Λ) : |
| 25 | Basis ι ℚ L := by |
| 26 | have hlin : LinearIndependent ℚ (fun i => (b i).val) := |
| 27 | (LinearIndependent.iff_fractionRing ℤ ℚ).mp |
| 28 | (b.linearIndependent.map' Λ.subtype Λ.ker_subtype) |
| 29 | apply Basis.mk hlin |
| 30 | have he := congrArg (fun M : Submodule ℤ L => Submodule.span ℚ (M : Set L)) |
| 31 | (integralBasis_coe_span Λ b) |
| 32 | rw [Submodule.span_span_of_tower, hΛ] at he |
| 33 | exact he.ge |
| 34 | |
| 35 | theorem rationalBasisOfIntegralBasis_apply |
| 36 | {L ι : Type*} [AddCommGroup L] [Module ℚ L] |
| 37 | (Λ : Submodule ℤ L) (hΛ : Submodule.span ℚ (Λ : Set L) = ⊤) (b : Basis ι ℤ Λ) (i : ι) : |
| 38 | rationalBasisOfIntegralBasis Λ hΛ b i = (b i).val := by |
| 39 | simp [rationalBasisOfIntegralBasis] |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.BasisRational.Construction |