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.Algebra.Subalgebra.Lattice |
| 2 | |
| 3 | /-! # Subalgebra Generator Lifts -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.SubalgebraGeneratorLifts |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A finite family generating an ambient subalgebra also generates |
| 10 | that subalgebra internally after lifting its elements. -/ |
| 11 | open scoped Classical |
| 12 | universe u |
| 13 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 14 | |
| 15 | def finiteSubalgebraGeneratorLift (S : Subalgebra R A) (F : Finset A) |
| 16 | (hF : ∀ x ∈ F, x ∈ S) : F → S := fun x => ⟨x.val, hF x.val x.property⟩ |
| 17 | |
| 18 | theorem finiteSubalgebraGeneratorLift_adjoin (S : Subalgebra R A) (F : Finset A) |
| 19 | (hF : ∀ x ∈ F, x ∈ S) (hgen : Algebra.adjoin R (F : Set A) = S) : |
| 20 | Algebra.adjoin R (Set.range (finiteSubalgebraGeneratorLift S F hF)) = ⊤ := by |
| 21 | apply Subalgebra.map_injective (f := S.val) Subtype.val_injective |
| 22 | rw [AlgHom.map_adjoin, Algebra.map_top, Subalgebra.range_val] |
| 23 | have he : S.val '' Set.range (finiteSubalgebraGeneratorLift S F hF) = (F : Set A) := by |
| 24 | ext x |
| 25 | constructor |
| 26 | · rintro ⟨y, ⟨j, rfl⟩, rfl⟩ |
| 27 | exact j.property |
| 28 | · intro hx |
| 29 | exact ⟨finiteSubalgebraGeneratorLift S F hF ⟨x, hx⟩, Set.mem_range_self _, rfl⟩ |
| 30 | rw [he, hgen] |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.SubalgebraGeneratorLifts |