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.FormalGeometry.Completion.Projective.Cycles |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.CyclesTransport |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.RelativeCechZeroCycles |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechScalarCoface |
| 5 | |
| 6 | /-! # Literal Cycles -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Projective.LiteralCycles.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Projective formal zero-cycles over the literal coefficient ring of Spec R. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 23 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of R)) |
| 24 | (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk f)) [Flat f] |
| 25 | |
| 26 | /-- The projective Cech complex over the original Spec R has actual formal zero-cycle |
| 27 | surjectivity, derived by transporting the constructed projective finite model. -/ |
| 28 | theorem projectiveLiteralCech_formalZeroCycleComparisonSurjective (I : Ideal R) : |
| 29 | Finite.FiniteModelCompletion.Construction.FormalZeroCycleComparisonSurjective I |
| 30 | (RelativeCechZeroCycles.Construction.relativeStructureCechComplex f (Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.cover (Over.mk f) P)) := by |
| 31 | let S := Spec (CommRingCat.of R) |
| 32 | let Z := Over.mk f |
| 33 | have : Flat Z.hom := inferInstanceAs (Flat f) |
| 34 | let U := Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.cover Z P |
| 35 | let b := Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.base Z P |
| 36 | let g := S.isoSpec.inv |
| 37 | let ρ := (Scheme.ΓSpecIso (.of R)).inv.hom |
| 38 | let J := I.map ρ |
| 39 | have : IsNoetherianRing Γ(S, ⊤) := |
| 40 | isNoetherianRing_of_ringEquiv R (Scheme.ΓSpecIso (.of R)).commRingCatIsoToRingEquiv.symm |
| 41 | have hb : b ≫ g = f := by |
| 42 | dsimp [b, Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.base] |
| 43 | rw [Quotients.FiniteDescent.ProjectivePresentation.Construction.ProjectivePresentationEmbedding.map_base, Category.assoc, |
| 44 | Scheme.toSpecΓ_isoSpec_inv, Category.comp_id] |
| 45 | rfl |
| 46 | have hraw := Cycles.Construction.projectiveCech_reducedKernelComparison_surjective Z P |
| 47 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) (J.map g.appTop.hom) |
| 48 | have hres := CyclesTransport.Construction.formalZeroCycleComparisonSurjective_restrictScalars g.appTop.hom J |
| 49 | (Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.complex Z P (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) hraw |
| 50 | have hnative : Finite.FiniteModelCompletion.Construction.FormalZeroCycleComparisonSurjective J |
| 51 | (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) U) := by |
| 52 | rw [← hb] |
| 53 | exact CyclesTransport.Construction.formalZeroCycleComparisonSurjective_of_iso J |
| 54 | (Quotients.FiniteDescent.CechScalarCoface.Construction.CechScalarRestriction.complexIso b g (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) U).symm hres |
| 55 | exact CyclesTransport.Construction.formalZeroCycleComparisonSurjective_restrictScalars ρ I |
| 56 | (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) U) hnative |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Projective.LiteralCycles.Construction |