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.ReferenceFamily.Cech.ResolutionPullbackEdges |
| 2 | |
| 3 | /-! # Cech Resolution Factorization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.CechResolutionFactorization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original Čech-to-sheaf map factors through actual top sections |
| 10 | of the chosen resolution and the already normalized native comparison. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.TopCat.Sheaf |
| 13 | |
| 14 | variable {X : TopCat.{0}} {I : Type} (U : I → Opens X) |
| 15 | (F : ArithmeticGeometry.OrdinaryLocus.Openness.AbelianSheafInjectives.Construction.AbelianSheaves X) (hU : iSup U = ⊤) (n : ℕ) |
| 16 | |
| 17 | def nativeCechTopResolutionHomologyIso : |
| 18 | (Comparison.Betti.Cech.TopTotalAugmentation.additiveTopGlobalComplex (injectiveResolution F).cocomplex).homology (n + 1) ≅ |
| 19 | ((SheafCohomology.Cech.InjectiveBicomplex.TopCat.Sheaf.cechBicomplex U (injectiveResolution F).cocomplex).total (.up ℕ)).homology (n + 1) := by |
| 20 | let T : Comparison.Betti.Cech.TopTotalAugmentation.additiveTopGlobalComplex (injectiveResolution F).cocomplex ⟶ |
| 21 | (SheafCohomology.Cech.InjectiveBicomplex.TopCat.Sheaf.cechBicomplex U (injectiveResolution F).cocomplex).total (.up ℕ) := |
| 22 | Comparison.Betti.Cech.TopTotalAugmentation.topCechTotalAugmentation U (injectiveResolution F).cocomplex |
| 23 | have hT : QuasiIso T := |
| 24 | Comparison.Betti.Cech.TopTotalAugmentation.topCechTotalAugmentation_quasiIso U (injectiveResolution F).cocomplex hU (DivisorClass.Chern.Cech.DegreeOneBoundary.injectiveResolution_flasque F) |
| 25 | letI : IsIso (HomologicalComplex.homologyMap T (n + 1)) := |
| 26 | (quasiIsoAt_iff_isIso_homologyMap T (n + 1)).mp |
| 27 | ((quasiIso_iff T).mp hT (n + 1)) |
| 28 | exact asIso (HomologicalComplex.homologyMap T (n + 1)) |
| 29 | |
| 30 | def nativeCechToTopResolution : |
| 31 | ((CategoryTheory.cechComplexFunctor U).obj F.obj).homology (n + 1) ⟶ |
| 32 | (Comparison.Betti.Cech.TopTotalAugmentation.additiveTopGlobalComplex (injectiveResolution F).cocomplex).homology (n + 1) := |
| 33 | HomologicalComplex.homologyMap |
| 34 | (DivisorClass.Chern.FlasqueCechD.abelianCechVerticalEdge U ((injectiveResolution F).ι.f 0) (injectiveResolution F).ι_f_zero_comp_complex_d) (n + 1) ≫ |
| 35 | (nativeCechTopResolutionHomologyIso U F hU n).inv |
| 36 | |
| 37 | theorem nativeCechToTopResolution_toSheaf : |
| 38 | nativeCechToTopResolution U F hU n ≫ SectionComparisonPullback.nativeTopResolutionCohomologyMap F n = |
| 39 | DivisorClass.Chern.Abelian.CechComparison.abelianCechToSheaf U F hU n := by |
| 40 | let R := injectiveResolution F |
| 41 | let e := DivisorClass.Chern.GammaSectionsComparison.abelianGammaSectionsIso R.cocomplex |
| 42 | let h := DivisorClass.Chern.FlasqueCechD.abelianFlasqueCechHomologyIso U R.cocomplex (DivisorClass.Chern.Cech.DegreeOneBoundary.injectiveResolution_flasque F) hU n |
| 43 | let t := nativeCechTopResolutionHomologyIso U F hU n |
| 44 | let q := HomologicalComplex.homologyMap e.inv (n + 1) |
| 45 | have he : e.inv ≫ DivisorClass.Chern.FlasqueCechD.abelianCechHorizontalEdge U R.cocomplex = Comparison.Betti.Cech.TopTotalAugmentation.topCechTotalAugmentation U R.cocomplex := rfl |
| 46 | have ht : q ≫ h.hom = t.hom := |
| 47 | (HomologicalComplex.homologyMap_comp e.inv (DivisorClass.Chern.FlasqueCechD.abelianCechHorizontalEdge U R.cocomplex) (n + 1)).symm.trans |
| 48 | (congrArg (fun g => HomologicalComplex.homologyMap g (n + 1)) he) |
| 49 | have hi : t.inv ≫ q = h.inv := by |
| 50 | apply (cancel_mono h.hom).mp |
| 51 | exact (Category.assoc t.inv q h.hom).trans |
| 52 | ((congrArg (t.inv ≫ ·) ht).trans (t.inv_hom_id.trans h.inv_hom_id.symm)) |
| 53 | rw [← DivisorClass.Chern.Cech.DegreeOneBoundary.abelianCechToSheaf_native U F hU n] |
| 54 | change (_ ≫ t.inv) ≫ (q ≫ (DivisorClass.Chern.GammaSectionsComparison.nativeInjectiveCohomologyIso F n).hom) = |
| 55 | (_ ≫ h.inv) ≫ (DivisorClass.Chern.GammaSectionsComparison.nativeInjectiveCohomologyIso F n).hom |
| 56 | let b := HomologicalComplex.homologyMap |
| 57 | (DivisorClass.Chern.FlasqueCechD.abelianCechVerticalEdge U (R.ι.f 0) R.ι_f_zero_comp_complex_d) (n + 1) |
| 58 | let s := (DivisorClass.Chern.GammaSectionsComparison.nativeInjectiveCohomologyIso F n).hom |
| 59 | exact (Category.assoc b t.inv (q ≫ s)).trans |
| 60 | ((congrArg (b ≫ ·) ((Category.assoc t.inv q s).symm.trans (congrArg (· ≫ s) hi))).trans |
| 61 | (Category.assoc b h.inv s).symm) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.CechResolutionFactorization |