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 OAI.NumberTheory.Quaternion.Arithmetic.FiniteAdelicLattice |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.Matrices |
| 3 | |
| 4 | /-! # Finite Adelic Eq -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.FiniteAdelicEq |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The inverse image of integral finite-adelic vectors under an |
| 11 | invertible adelic matrix is an actual full finitely generated lattice. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.Matrices.Construction |
| 15 | |
| 16 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 17 | |
| 18 | theorem finiteAdelicMatrixLattice_one_eq_standard : |
| 19 | FiniteAdelicLattice.finiteAdelicMatrixLattice (1 : Matrix (Fin n) (Fin n) (ScalarApproximation.ScalarFiniteAdeles F)) = |
| 20 | (ArithmeticGroups.Lattices.IntegralLattice.FullLattice.standard F n).module := by |
| 21 | change _ = Submodule.span (𝓞 F) (Set.range (Pi.basisFun F (Fin n))) |
| 22 | rw [← ArithmeticGroups.Lattices.Integral.Matrices.Construction.integralCoordinateLattice_eq_span] |
| 23 | ext x |
| 24 | rw [FiniteAdelicLattice.mem_finiteAdelicMatrixLattice_one, ArithmeticGroups.Lattices.Integral.Matrices.Construction.mem_integralCoordinateLattice] |
| 25 | rfl |
| 26 | |
| 27 | theorem finiteAdelicMatrixLattice_fg |
| 28 | (A B : Matrix (Fin n) (Fin n) (ScalarApproximation.ScalarFiniteAdeles F)) (hBA : B * A = 1) : |
| 29 | (FiniteAdelicLattice.finiteAdelicMatrixLattice A).FG := by |
| 30 | obtain ⟨d, hd, hclear⟩ := FiniteAdelicLattice.finiteAdelicMatrixLattice_clear_denominators A B hBA |
| 31 | let f : (Fin n → F) →ₗ[𝓞 F] (Fin n → F) := d • LinearMap.id |
| 32 | have hinj : Function.Injective f := smul_right_injective (Fin n → F) hd |
| 33 | apply Submodule.fg_of_fg_map_injective f hinj |
| 34 | apply (ArithmeticGroups.Lattices.IntegralLattice.FullLattice.standard F n).finite.of_le |
| 35 | rintro y ⟨x, hx, rfl⟩ |
| 36 | rw [← finiteAdelicMatrixLattice_one_eq_standard] |
| 37 | exact hclear x hx |
| 38 | |
| 39 | theorem finiteAdelicMatrixLattice_full |
| 40 | (A : Matrix (Fin n) (Fin n) (ScalarApproximation.ScalarFiniteAdeles F)) : |
| 41 | Submodule.span F (FiniteAdelicLattice.finiteAdelicMatrixLattice A : Set (Fin n → F)) = ⊤ := by |
| 42 | obtain ⟨d, hd, hinside⟩ := FiniteAdelicLattice.finiteAdelicMatrixLattice_contains_coordinate_multiple A |
| 43 | have hdF : (d : F) ≠ 0 := by exact_mod_cast hd |
| 44 | apply top_unique |
| 45 | rw [← (Pi.basisFun F (Fin n)).span_eq] |
| 46 | apply Submodule.span_le.mpr |
| 47 | rintro x ⟨j, rfl⟩ |
| 48 | have hb : Pi.basisFun F (Fin n) j ∈ (ArithmeticGroups.Lattices.IntegralLattice.FullLattice.standard F n).module := |
| 49 | Submodule.subset_span (Set.mem_range_self j) |
| 50 | rw [← finiteAdelicMatrixLattice_one_eq_standard, FiniteAdelicLattice.mem_finiteAdelicMatrixLattice_one] at hb |
| 51 | have hm := hinside (Pi.basisFun F (Fin n) j) hb |
| 52 | have hm' : (d : F) • Pi.basisFun F (Fin n) j ∈ FiniteAdelicLattice.finiteAdelicMatrixLattice A := hm |
| 53 | have h := (Submodule.span F (FiniteAdelicLattice.finiteAdelicMatrixLattice A : Set (Fin n → F))).smul_mem |
| 54 | ((d : F)⁻¹) (Submodule.subset_span hm') |
| 55 | rw [smul_smul, inv_mul_cancel₀ hdF, one_smul] at h |
| 56 | exact h |
| 57 | |
| 58 | def finiteAdelicFullLattice (A : (Matrix (Fin n) (Fin n) (ScalarApproximation.ScalarFiniteAdeles F))ˣ) : ArithmeticGroups.Lattices.IntegralLattice.FullLattice F n where |
| 59 | module := FiniteAdelicLattice.finiteAdelicMatrixLattice A.val |
| 60 | finite := finiteAdelicMatrixLattice_fg A.val A.inv A.inv_val |
| 61 | full := finiteAdelicMatrixLattice_full A.val |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.Quaternion.Arithmetic.FiniteAdelicEq |