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.Geometric.CechModelVanishing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberKernelExactness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.KernelScalarExactness |
| 4 | |
| 5 | /-! # Fiber Model Intrinsic Exactness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberModelIntrinsicExactness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual first fiber cohomology vanishing gives degree-one exactness of the native scalar extension of the finite cochain model. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem fiber_model_native_exact_of_H1_vanishing |
| 16 | {S X : Scheme.{u}} [IsAffine S] [X.IsSeparated] (f : X ⟶ S) (L : Line.Bundles.LineBundle X) |
| 17 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 18 | (ha : ∀ i, IsAffineOpen (U i)) {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 19 | (φ : D ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom L.sheaf U) (x : S) |
| 20 | [QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra (S.fromSpecResidueField x)) φ ≫ |
| 21 | Geometric.CechTensorComparison.geometricCechTensorMap (IsPullback.of_hasPullback f (S.fromSpecResidueField x)) L.sheaf U) 1] |
| 22 | (hH : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback (f.fiberι x)).sheaf 1)) : |
| 23 | (((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).mapHomologicalComplex |
| 24 | (.up ℕ)).obj D).ExactAt 1 := by |
| 25 | have : IsAffineHom (S.fromSpecResidueField x) := isAffineHom_of_isAffine _ |
| 26 | have : IsAffineHom (pullback.fst f (S.fromSpecResidueField x)) := |
| 27 | isAffineHom_isStableUnderBaseChange.of_isPullback |
| 28 | (IsPullback.of_hasPullback f (S.fromSpecResidueField x)).flip inferInstance |
| 29 | have : (pullback f (S.fromSpecResidueField x)).IsSeparated := |
| 30 | ⟨by rw [← terminal.comp_from (pullback.fst f (S.fromSpecResidueField x))]; infer_instance⟩ |
| 31 | have ht := Geometric.CechModelVanishing.geometric_model_exactAt_of_vanishing |
| 32 | (IsPullback.of_hasPullback f (S.fromSpecResidueField x)) L U hU ha φ 0 hH |
| 33 | exact (Tensor.ScalarExactness.tensor_exactAt_iff_native (S.fromSpecResidueField x).appTop.hom D 1).mp ht |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberModelIntrinsicExactness |