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.Algebra.Modules.ElementaryDivisors |
| 2 | |
| 3 | /-! # Elementary Divisors -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ElementaryDivisors.Construction |
| 6 | |
| 7 | /-! |
| 8 | The full ElementaryDivisors prerequisite, retaining all four DVR lattice/matrix clauses. |
| 9 | The adapters may use its lattice clause without silently replacing the |
| 10 | named prerequisite by the desired Hecke-correspondence conclusion. |
| 11 | -/ |
| 12 | |
| 13 | open scoped BigOperators |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | def ElementaryDivisorsInput : Prop := |
| 18 | ∀ {R K : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 19 | [Field K] [Algebra R K] [IsFractionRing R K], |
| 20 | (∀ {d : ℕ} (π : R) (_hπ : Irreducible π) |
| 21 | (L M : Submodule R (Fin d → K)) |
| 22 | [Submodule.IsLattice K L] [Submodule.IsLattice K M], |
| 23 | ∃! a : Fin d → ℤ, Monotone a ∧ |
| 24 | ∃ e : Module.Basis (Fin d) K (Fin d → K), |
| 25 | L = Submodule.span R (Set.range e) ∧ |
| 26 | M = Submodule.span R (Set.range fun i => (algebraMap R K π) ^ a i • e i)) ∧ |
| 27 | (∀ (π : R) (_hπ : Irreducible π) (g : Matrix.GeneralLinearGroup (Fin 3) K), |
| 28 | ∃! a : Fin 3 → ℤ, Monotone a ∧ |
| 29 | ∃ U V : Matrix.GeneralLinearGroup (Fin 3) R, |
| 30 | g.val = U.val.map (algebraMap R K) * |
| 31 | Matrix.diagonal (fun i => (algebraMap R K π) ^ a i) * V.val.map (algebraMap R K)) ∧ |
| 32 | (∀ (g : Matrix.GeneralLinearGroup (Fin 3) K) |
| 33 | (_hdet : ∃ u : Rˣ, g.val.det = algebraMap R K (u : R)), |
| 34 | ∃ U : Matrix.GeneralLinearGroup (Fin 3) R, |
| 35 | (g.val * U.val.map (algebraMap R K)).det = 1) ∧ |
| 36 | (∀ (π : R) (_hπ : Irreducible π) (g : Matrix.SpecialLinearGroup (Fin 3) K), |
| 37 | ∃! a : Fin 3 → ℤ, Monotone a ∧ (∑ i, a i) = 0 ∧ |
| 38 | ∃ U V : Matrix.SpecialLinearGroup (Fin 3) R, |
| 39 | (g : Matrix (Fin 3) (Fin 3) K) = |
| 40 | (U : Matrix (Fin 3) (Fin 3) R).map (algebraMap R K) * |
| 41 | Matrix.diagonal (fun i => (algebraMap R K π) ^ a i) * |
| 42 | (V : Matrix (Fin 3) (Fin 3) R).map (algebraMap R K)) |
| 43 | |
| 44 | /-- The independently checked ElementaryDivisors proofs discharge this complete input. -/ |
| 45 | theorem verified_ElementaryDivisorsInput : ElementaryDivisorsInput := by |
| 46 | intro R K _ _ _ _ _ _ |
| 47 | refine ⟨?_, ?_, ?_, ?_⟩ |
| 48 | · intro d π hπ L M _ _ |
| 49 | exact OAI.Algebra.Modules.ElementaryDivisors.lattices_elementary_divisors π hπ L M |
| 50 | · intro π hπ g |
| 51 | exact OAI.Algebra.Modules.ElementaryDivisors.gl3_smith_normal_form π hπ g |
| 52 | · intro g hg |
| 53 | exact OAI.Algebra.Modules.ElementaryDivisors.gl3_determinant_unit_adjustment g hg |
| 54 | · intro π hπ g |
| 55 | exact OAI.Algebra.Modules.ElementaryDivisors.sl3_smith_normal_form π hπ g |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ElementaryDivisors.Construction |