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.Quotients.FiniteDescent.CechShort |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechHomotopyEquiv |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.HomologyInjective |
| 4 | import Mathlib.Algebra.Homology.QuasiIso |
| 5 | |
| 6 | /-! # Ordered Cech Short -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechShort |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A model of ordered Cech cohomology maps to ordinary section |
| 13 | coordinates and detects boundaries in degree one. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace Construction.OrderedCechShortComparison |
| 23 | |
| 24 | variable {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 25 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 26 | variable {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 27 | variable (φ : D ⟶ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U) |
| 28 | |
| 29 | def comparison : D.sc' 0 1 2 ⟶ CechShort.Construction.CechShortCoordinates.target π M U := |
| 30 | (HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} Γ(S, ⊤)) (ComplexShape.up ℕ) 0 1 2).map |
| 31 | (φ ≫ (SheafCohomology.Projective.BaseCechHomotopyEquiv.Scheme.Modules.baseCechOrderedHomotopyEquiv π M U).inv) ≫ (CechShort.Construction.CechShortCoordinates.iso π M U).hom |
| 32 | |
| 33 | theorem quasiIso [QuasiIsoAt φ 1] : ShortComplex.QuasiIso (comparison π M U φ) := by |
| 34 | have : QuasiIsoAt (φ ≫ (SheafCohomology.Projective.BaseCechHomotopyEquiv.Scheme.Modules.baseCechOrderedHomotopyEquiv π M U).inv) 1 := inferInstance |
| 35 | have := (quasiIsoAt_iff' (φ ≫ (SheafCohomology.Projective.BaseCechHomotopyEquiv.Scheme.Modules.baseCechOrderedHomotopyEquiv π M U).inv) |
| 36 | 0 1 2 (by simp) (by simp)).mp this |
| 37 | exact ShortComplex.quasiIso_comp _ _ |
| 38 | |
| 39 | theorem middle (z : D.X 1) : |
| 40 | (comparison π M U φ).τ₂ z = CechTuplePi.Construction.CechTupleCoordinates.one π M U |
| 41 | ((SheafCohomology.Projective.BaseCechHomotopyEquiv.Scheme.Modules.baseCechOrderedHomotopyEquiv π M U).inv.f 1 (φ.f 1 z)) := rfl |
| 42 | |
| 43 | theorem boundary [QuasiIsoAt φ 1] (z : D.X 1) (hz : D.d 1 2 z = 0) |
| 44 | (hb : (comparison π M U φ).τ₂ z ∈ (CechShort.Construction.CechShortCoordinates.target π M U).f.hom.range) : |
| 45 | z ∈ (D.d 0 1).hom.range := by |
| 46 | have := quasiIso π M U φ |
| 47 | exact HomologyInjective.Construction.HomologyInjectiveCriterion.boundary (comparison π M U φ) |
| 48 | ((ModuleCat.mono_iff_injective _).mp inferInstance) z hz hb |
| 49 | |
| 50 | end Construction.OrderedCechShortComparison |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechShort |