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.IntrinsicCech.TopDegreeZero |
| 2 | |
| 3 | /-! # Degree Zero Surjectivity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.DegreeZeroSurjectivity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An open cover computes degree-zero cohomology by gluing global sections. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 12 | universe u |
| 13 | variable {X : TopCat.{u}} {ι : Type u} (U : ι → Opens X) |
| 14 | |
| 15 | theorem cechGlobalSectionsToHZero_surjective (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) |
| 16 | (hU : ⨆ i, U i = ⊤) : Function.Surjective (DegreeZero.cechGlobalSectionsToHZero U F) := by |
| 17 | let K := (cechComplexFunctor U).obj F.obj |
| 18 | let a := Cech.GlobalAugmentation.IntrinsicCech.cechGlobalSectionsAugmentation F U |
| 19 | let l := K.liftCycles a 1 (by simp) (Cech.GlobalAugmentationComplex.IntrinsicCech.cechGlobalSectionsAugmentation_comp_d F U) |
| 20 | intro x |
| 21 | obtain ⟨z, hz⟩ := (AddCommGrpCat.epi_iff_surjective (K.homologyπ 0)).mp inferInstance x |
| 22 | have hcycle : K.d 0 1 (K.iCycles 0 z) = 0 := |
| 23 | ConcreteCategory.congr_hom (K.iCycles_d 0 1) z |
| 24 | obtain ⟨y, hy⟩ := (ShortComplex.ab_exact_iff _).mp |
| 25 | (Cech.GlobalAugmentationExactness.IntrinsicCech.cechGlobalSectionsNativeShortComplex_exact U F hU) (K.iCycles 0 z) hcycle |
| 26 | have hLift : l y = z := by |
| 27 | apply (AddCommGrpCat.mono_iff_injective (K.iCycles 0)).mp inferInstance |
| 28 | have hl : l ≫ K.iCycles 0 = a := K.liftCycles_i _ _ _ _ |
| 29 | exact (ConcreteCategory.congr_hom hl y).trans hy |
| 30 | refine ⟨y, ?_⟩ |
| 31 | change K.homologyπ 0 (l y) = x |
| 32 | rw [hLift, hz] |
| 33 | |
| 34 | theorem cechTopSectionsToHZero_surjective (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) |
| 35 | (hU : ⨆ i, U i = ⊤) : Function.Surjective (TopDegreeZero.cechTopSectionsToHZero U F) := |
| 36 | (cechGlobalSectionsToHZero_surjective U F hU).comp |
| 37 | (((CategoryTheory.Sheaf.ΓNatIsoSheafSections |
| 38 | (Opens.grothendieckTopology X) AddCommGrpCat.{u} isTerminalTop).app F).symm.addCommGroupIsoToAddEquiv.surjective) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.DegreeZeroSurjectivity |