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.CommonStage |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 3 | |
| 4 | /-! # Open Enlargement -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.OpenEnlargement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Affine opens in a fixed coefficient model retain their generic |
| 11 | inverse images after any further coefficient enlargement. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | namespace Coefficients |
| 18 | variable {R K : Type} [CommRing R] [Field K] [Algebra R K] |
| 19 | {X : Over (Spec (.of K))} (M : Models.Coefficients.CoefficientModel R K X) |
| 20 | {t z : Finset K} (hMt : M.coefficients ⊆ t) (htz : t ⊆ z) |
| 21 | (U : ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hMt)).obj M.model).left.Opens) |
| 22 | |
| 23 | def enlargedModelOpen : |
| 24 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K (hMt.trans htz))).obj M.model).left.Opens := |
| 25 | (BaseChange.Coefficients.coefficientBaseChangeTrans hMt htz M.model).inv.left ⁻¹ᵁ |
| 26 | (pullback.fst ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hMt)).obj M.model).hom |
| 27 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz) ⁻¹ᵁ U) |
| 28 | |
| 29 | theorem enlargedModelOpen_affine (hU : IsAffineOpen U) : |
| 30 | IsAffineOpen (enlargedModelOpen M hMt htz U) := by |
| 31 | let Y := (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hMt)).obj M.model |
| 32 | let π := pullback.fst Y.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz) |
| 33 | let e := BaseChange.Coefficients.coefficientBaseChangeTrans hMt htz M.model |
| 34 | have : IsAffineHom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz) := inferInstance |
| 35 | have : IsAffineHom π := MorphismProperty.pullback_fst Y.hom |
| 36 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz) (inferInstanceAs (IsAffineHom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz))) |
| 37 | have : IsIso e.inv.left := ((Over.forget (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R K z)).mapIso e).isIso_inv |
| 38 | exact (hU.preimage π).preimage_of_isIso e.inv.left |
| 39 | |
| 40 | theorem enlargedModelOpen_generic : |
| 41 | Coefficient.Morphisms.Coefficients.genericModelLift M.model M.specialization M.cartesian.w (hMt.trans htz) ⁻¹ᵁ |
| 42 | enlargedModelOpen M hMt htz U = |
| 43 | Coefficient.Morphisms.Coefficients.genericModelLift M.model M.specialization M.cartesian.w hMt ⁻¹ᵁ U := by |
| 44 | unfold enlargedModelOpen |
| 45 | rw [← Scheme.Hom.comp_preimage, ← Scheme.Hom.comp_preimage, |
| 46 | CommonStage.Coefficients.genericModelLift_trans_inv, Coefficient.Morphisms.Coefficients.genericModelLift_fst] |
| 47 | |
| 48 | end Coefficients |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.OpenEnlargement |