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.Affine.StalkProjectivity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.FirstCyclesBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberResidueModelExactness |
| 4 | |
| 5 | /-! # Fiber Model Projectivity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FiberModelProjectivity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite projective cochain model with zero first cohomology on all actual scheme fibers has a projective degree-zero cycle module. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem affine_fiberModel_firstCycles_projective |
| 16 | (S : Scheme.{u}) [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 17 | (D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ) |
| 18 | [Module.Finite Γ(S, ⊤) (D.X 0)] [Module.Projective Γ(S, ⊤) (D.X 0)] |
| 19 | [Module.Finite Γ(S, ⊤) (D.X 1)] [Module.Projective Γ(S, ⊤) (D.X 1)] |
| 20 | [Module.Finite Γ(S, ⊤) (D.X 2)] [Module.Projective Γ(S, ⊤) (D.X 2)] |
| 21 | (hD : ∀ x : S, (((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).mapHomologicalComplex |
| 22 | (.up ℕ)).obj D).ExactAt 1) : |
| 23 | Module.Projective Γ(S, ⊤) (D.d 0 1).hom.ker := by |
| 24 | have : Module.FinitePresentation Γ(S, ⊤) (D.d 0 1).hom.ker := |
| 25 | Module.finitePresentation_of_finite Γ(S, ⊤) _ |
| 26 | apply StalkProjectivity.affineModule_projective_of_stalkTensor_free S (D.d 0 1).hom.ker |
| 27 | intro x |
| 28 | let A := S.presheaf.stalk x |
| 29 | let : Algebra Γ(S, ⊤) A := (S.presheaf.germ ⊤ x trivial).hom.toAlgebra |
| 30 | have : Module.Flat Γ(S, ⊤) A := FiberScalar.FiberScalarMaps.stalk_flat S x |
| 31 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₁ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 0)) |
| 32 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₁ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 0)) |
| 33 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₂ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 1)) |
| 34 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₂ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 1)) |
| 35 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₃ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 2)) |
| 36 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₃ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 2)) |
| 37 | exact (HilbertConstruction.Flat.FirstCyclesBaseChange.LocalSectionLifting.firstCycles_finite_free_after_flat_local_baseChange |
| 38 | (D.sc' 0 1 2) (FiberResidueModelExactness.fiber_model_residue_exact S x D (hD x))).2 |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FiberModelProjectivity |