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.AbelianModuli.HilbertConstruction.Iterated.TensorExactness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberScalar |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.Extension |
| 4 | import Mathlib.Algebra.Category.ModuleCat.Descent |
| 5 | |
| 6 | /-! # Fiber Residue Model Exactness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberResidueModelExactness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Exactness after the actual scheme-fiber scalar map transfers to the |
| 13 | iterated local-ring and residue-field tensors used by cycle lifting. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem fiber_model_residue_exact |
| 20 | (S : Scheme.{u}) (x : S) (D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ) |
| 21 | (h : (((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).mapHomologicalComplex |
| 22 | (ComplexShape.up ℕ)).obj D).ExactAt 1) : |
| 23 | letI : Algebra Γ(S, ⊤) (S.presheaf.stalk x) := |
| 24 | (S.presheaf.germ ⊤ x trivial).hom.toAlgebra |
| 25 | (Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex (S.presheaf.stalk x) |
| 26 | (IsLocalRing.ResidueField (S.presheaf.stalk x)) |
| 27 | (Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex Γ(S, ⊤) (S.presheaf.stalk x) |
| 28 | (D.sc' 0 1 2))).Exact := by |
| 29 | let a := (S.fromSpecResidueField x).appTop.hom |
| 30 | let b := (Scheme.ΓSpecIso (S.residueField x)).hom.hom |
| 31 | let G := ModuleCat.extendScalars b |
| 32 | have : PreservesFiniteLimits G := ModuleCat.preservesFiniteLimits_extendScalars_of_flat |
| 33 | (RingHom.Flat.of_bijective (Scheme.ΓSpecIso (S.residueField x)).commRingCatIsoToRingEquiv.bijective) |
| 34 | have hsc : ((D.sc' 0 1 2).map (ModuleCat.extendScalars a)).Exact := |
| 35 | (HomologicalComplex.exactAt_iff' _ 0 1 2 (by simp) (by simp)).mp h |
| 36 | have hc : ((D.sc' 0 1 2).map (ModuleCat.extendScalars (b.comp a))).Exact := |
| 37 | (ShortComplex.exact_iff_of_iso ((D.sc' 0 1 2).mapNatIso |
| 38 | (ModuleCat.extendScalarsComp a b))).mpr (hsc.map G) |
| 39 | have he : b.comp a = (S.Γevaluation x).hom := |
| 40 | congrArg (fun q : Γ(S, ⊤) ⟶ S.residueField x => q.hom) |
| 41 | (FiberScalar.FiberScalarMaps.fromResidue_appTop S x) |
| 42 | rw [he] at hc |
| 43 | let : Algebra Γ(S, ⊤) (S.presheaf.stalk x) := |
| 44 | (S.presheaf.germ ⊤ x trivial).hom.toAlgebra |
| 45 | exact Iterated.TensorExactness.iterated_tensor_exact_of_composite (D.sc' 0 1 2) hc |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberResidueModelExactness |