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.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.FixedAffineOpen |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.OpenEnlargement |
| 3 | |
| 4 | /-! # Finite Affine Opens -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.FiniteAffineOpens.Coefficients |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finitely many affine opens spread inside one fixed ambient |
| 11 | coefficient model at a common finite stage, with their exact generic opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {R K : Type} [CommRing R] [Field K] [Algebra R K] |
| 16 | |
| 17 | theorem finite_affine_opens_in_fixed_model {I : Type} [Finite I] |
| 18 | {X : Over (Spec (.of K))} (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) |
| 19 | (M : Models.Coefficients.CoefficientModel R K X) (U : I → X.left.Opens) (hU : ∀ i, IsAffineOpen (U i)) : |
| 20 | ∃ (t : Finset K) (h : M.coefficients ⊆ t) |
| 21 | (V : I → ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K h)).obj M.model).left.Opens), |
| 22 | (∀ i, IsAffineOpen (V i)) ∧ |
| 23 | (∀ i, Morphisms.Coefficients.genericModelLift M.model M.specialization M.cartesian.w h ⁻¹ᵁ V i = U i) := by |
| 24 | classical |
| 25 | let : Fintype I := Fintype.ofFinite I |
| 26 | choose t ht V hV hpre using fun i => FixedAffineOpen.Coefficients.affine_open_in_fixed_model hX M (U i) (hU i) |
| 27 | let z := M.coefficients ∪ Finset.univ.biUnion t |
| 28 | have htz (i : I) : t i ⊆ z := |
| 29 | (Finset.subset_biUnion_of_mem t (Finset.mem_univ i)).trans Finset.subset_union_right |
| 30 | exact ⟨z, Finset.subset_union_left, |
| 31 | fun i => OpenEnlargement.Coefficients.enlargedModelOpen M (ht i) (htz i) (V i), |
| 32 | fun i => OpenEnlargement.Coefficients.enlargedModelOpen_affine M (ht i) (htz i) (V i) (hV i), |
| 33 | fun i => (OpenEnlargement.Coefficients.enlargedModelOpen_generic M (ht i) (htz i) (V i)).trans (hpre i)⟩ |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.FiniteAffineOpens.Coefficients |