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.FixedOpenModels |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.EventualAffine |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.CompactOpenFinitePresentation |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.AffineBaseChange |
| 5 | |
| 6 | /-! # Fixed Affine Open -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.FixedAffineOpen |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An affine open of the generic fiber spreads as an actual affine |
| 13 | open inside a coefficient enlargement of the fixed ambient model. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | namespace Coefficients |
| 20 | variable {R K : Type} [CommRing R] [Field K] [Algebra R K] |
| 21 | |
| 22 | theorem affine_open_in_fixed_model {X : Over (Spec (.of K))} |
| 23 | (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) (M : Models.Coefficients.CoefficientModel R K X) |
| 24 | (U : X.left.Opens) (hU : IsAffineOpen U) : |
| 25 | ∃ (t : Finset K) (h : M.coefficients ⊆ t) |
| 26 | (V : ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K h)).obj M.model).left.Opens), |
| 27 | IsAffineOpen V ∧ Morphisms.Coefficients.genericModelLift M.model M.specialization M.cartesian.w h ⁻¹ᵁ V = U := by |
| 28 | obtain ⟨t, hMt, V, hV, hpre⟩ := FixedOpenModels.Coefficients.compact_open_in_fixed_model M U hU.isCompact |
| 29 | let Y := (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hMt)).obj M.model |
| 30 | let p := Morphisms.Coefficients.genericModelLift M.model M.specialization M.cartesian.w hMt |
| 31 | have hp := Morphisms.Coefficients.genericModelLift_cartesian M.model M.specialization M.cartesian hMt |
| 32 | let W : Over (Spec (.of K)) := Over.mk (U.ι ≫ X.hom) |
| 33 | let W₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R K t) := Over.mk (V.ι ≫ Y.hom) |
| 34 | let a := p.resLE V U hpre.ge |
| 35 | have ha : IsPullback a U.ι V.ι p := IsOpenImmersion.isPullback _ _ _ _ |
| 36 | (Scheme.Hom.resLE_comp_ι p hpre.ge).symm (by simpa using hpre) |
| 37 | have hW₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism W₀.hom := CompactOpenFinitePresentation.compact_open_finitePresentation Y |
| 38 | (Finiteness.Coefficients.baseChange_finitePresentation _ _ M.finitePresentation) V hV |
| 39 | let A := Models.Coefficients.CoefficientModel.ofCartesian (X := W) t W₀ hW₀ a (ha.paste_vert hp) |
| 40 | have : IsAffine W.left := hU |
| 41 | obtain ⟨z, htz, hz⟩ := EventualAffine.Coefficients.coefficient_model_eventually_affine |
| 42 | (CompactOpenFinitePresentation.compact_open_finitePresentation X hX U hU.isCompact) A |
| 43 | change t ⊆ z at htz |
| 44 | change IsAffine (pullback W₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz)) at hz |
| 45 | let b := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K htz |
| 46 | let π := pullback.fst Y.hom b |
| 47 | have hW : IsAffineOpen (π ⁻¹ᵁ V) := Open.AffineBaseChange.baseChange_open_affine b Y V hz |
| 48 | let e := BaseChange.Coefficients.coefficientBaseChangeTrans hMt htz M.model |
| 49 | have : IsIso e.inv.left := ((Over.forget (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R K z)).mapIso e).isIso_inv |
| 50 | refine ⟨z, hMt.trans htz, e.inv.left ⁻¹ᵁ (π ⁻¹ᵁ V), hW.preimage_of_isIso e.inv.left, ?_⟩ |
| 51 | have he : (Morphisms.Coefficients.genericModelLift M.model M.specialization M.cartesian.w (hMt.trans htz) ≫ |
| 52 | e.inv.left) ≫ π = p := by |
| 53 | dsimp only [e, π, p, Y, b] |
| 54 | rw [CommonStage.Coefficients.genericModelLift_trans_inv, Morphisms.Coefficients.genericModelLift_fst] |
| 55 | rw [← Scheme.Hom.comp_preimage, ← Scheme.Hom.comp_preimage, he] |
| 56 | exact hpre |
| 57 | |
| 58 | end Coefficients |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.FixedAffineOpen |