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.Algebra.DirectSum.Decomposition |
| 2 | import Mathlib.Algebra.DirectSum.Module |
| 3 | import Mathlib.Algebra.Algebra.Subalgebra.Basic |
| 4 | |
| 5 | /-! # Subalgebra Internal Decomposition -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubalgebraInternalDecomposition |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Independent ambient submodules whose supremum is a subalgebra |
| 12 | give an actual internal decomposition of that subalgebra. -/ |
| 13 | open scoped Classical |
| 14 | universe u v |
| 15 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 16 | variable {ι : Type v} |
| 17 | |
| 18 | theorem subalgebra_internalDecomposition (S : Subalgebra R A) |
| 19 | (d : ι → Submodule R A) (hd : ∀ i, d i ≤ S.toSubmodule) |
| 20 | (hi : iSupIndep d) (hs : iSup d = S.toSubmodule) : |
| 21 | DirectSum.IsInternal (fun i => (d i).comap S.toSubmodule.subtype) := by |
| 22 | apply DirectSum.isInternal_submodule_of_iSupIndep_of_iSup_eq_top |
| 23 | · let e : Submodule R S ≃o Set.Iic S.toSubmodule := S.toSubmodule.mapIic |
| 24 | have he : e ∘ (fun i => (d i).comap S.toSubmodule.subtype) = |
| 25 | fun i => ⟨d i, hd i⟩ := by |
| 26 | ext i x |
| 27 | change x ∈ ((d i).comap S.toSubmodule.subtype).map S.toSubmodule.subtype ↔ x ∈ d i |
| 28 | rw [Submodule.map_comap_subtype, inf_of_le_right (hd i)] |
| 29 | rw [← iSupIndep_map_orderIso_iff e, he] |
| 30 | exact iSupIndep.of_coe_Iic_comp (t := fun i => ⟨d i, hd i⟩) hi |
| 31 | · apply Submodule.map_injective_of_injective (f := S.toSubmodule.subtype) Subtype.val_injective |
| 32 | rw [Submodule.map_iSup, Submodule.map_top, Submodule.range_subtype] |
| 33 | simp_rw [Submodule.map_comap_subtype, inf_of_le_right (hd _)] |
| 34 | exact hs |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubalgebraInternalDecomposition |