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.LinearAlgebra.Basis.Submodule |
| 2 | import Mathlib.LinearAlgebra.Dimension.OrzechProperty |
| 3 | |
| 4 | /-! # Integral Rational Basis -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.IntegralRationalBasis |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An integral basis of a full rational lattice, of the expected rank, |
| 11 | is a rational basis with exactly the same integral span. -/ |
| 12 | |
| 13 | open _root_.Module _root_.Submodule |
| 14 | |
| 15 | variable {V I : Type*} [AddCommGroup V] [Module ℚ V] [Fintype I] |
| 16 | (L : Submodule ℤ V) (b : Basis I ℤ L) |
| 17 | |
| 18 | omit [Module ℚ V] [Fintype I] in |
| 19 | theorem integralBasis_span : Submodule.span ℤ (Set.range fun i => (b i : V)) = L := by |
| 20 | calc |
| 21 | Submodule.span ℤ (Set.range fun i => (b i : V)) = |
| 22 | Submodule.map L.subtype (Submodule.span ℤ (Set.range b)) := by |
| 23 | rw [Submodule.map_span, ← Set.range_comp] |
| 24 | rfl |
| 25 | _ = L := by rw [b.span_eq, Submodule.map_top, Submodule.range_subtype] |
| 26 | |
| 27 | variable (hspan : Submodule.span ℚ (L : Set V) = ⊤) |
| 28 | (hrank : Fintype.card I = Module.finrank ℚ V) |
| 29 | |
| 30 | def integralRationalBasis : Basis I ℚ V := |
| 31 | basisOfTopLeSpanOfCardEqFinrank (fun i => (b i : V)) |
| 32 | (by rw [← Submodule.span_span_of_tower ℤ ℚ, integralBasis_span, hspan]) hrank |
| 33 | |
| 34 | theorem integralRationalBasis_apply (i : I) : integralRationalBasis L b hspan hrank i = (b i : V) := |
| 35 | congrFun (coe_basisOfTopLeSpanOfCardEqFinrank _ _ _) i |
| 36 | |
| 37 | theorem integralRationalBasis_span : |
| 38 | Submodule.span ℤ (Set.range (integralRationalBasis L b hspan hrank)) = L := by |
| 39 | have hb : (integralRationalBasis L b hspan hrank : I → V) = fun i => (b i : V) := |
| 40 | funext (integralRationalBasis_apply L b hspan hrank) |
| 41 | rw [hb] |
| 42 | exact integralBasis_span L b |
| 43 | |
| 44 | theorem integralRationalBasis_mem_iff (v : V) : v ∈ L ↔ |
| 45 | ∀ i, (integralRationalBasis L b hspan hrank).repr v i ∈ Set.range (algebraMap ℤ ℚ) := by |
| 46 | calc |
| 47 | v ∈ L ↔ v ∈ Submodule.span ℤ (Set.range (integralRationalBasis L b hspan hrank)) := by |
| 48 | rw [integralRationalBasis_span] |
| 49 | _ ↔ _ := (integralRationalBasis L b hspan hrank).mem_span_iff_repr_mem ℤ v |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.RepresentationTheory.Theta.Geometric.IntegralRationalBasis |