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.DivisorClass.Chern.Cech.DegreeOneBoundary |
| 2 | |
| 3 | /-! # Degree Two Sheaf -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Cech.DegreeTwoSheaf |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An actual two-step descent computes the native Cech-to-sheaf class in degree two. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.TopCat.Sheaf |
| 12 | open OAI.AlgebraicGeometry.SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | variable {X : TopCat.{0}} {I : Type} (U : I → Opens X) (hU : ⨆ i, U i = ⊤) |
| 19 | (F : TopCat.Sheaf AddCommGrpCat.{0} X) |
| 20 | |
| 21 | theorem cechDegreeTwo_sheaf_class |
| 22 | (k : ((CategoryTheory.cechComplexFunctor U).obj F.obj).X 2) |
| 23 | (hk : ((CategoryTheory.cechComplexFunctor U).obj F.obj).d 2 3 k = 0) |
| 24 | (s : ((injectiveResolution F).cocomplex.X 2).obj.obj (op (⊤ : Opens X))) |
| 25 | (hs : ((injectiveResolution F).cocomplex.d 2 3).hom.app (op (⊤ : Opens X)) s = 0) |
| 26 | (b : ((SheafCohomology.Cech.InjectiveBicomplex.TopCat.Sheaf.cechBicomplex U (injectiveResolution F).cocomplex).X 0).X 1) |
| 27 | (v : ((SheafCohomology.Cech.InjectiveBicomplex.TopCat.Sheaf.cechBicomplex U (injectiveResolution F).cocomplex).X 1).X 0) |
| 28 | (hb : ((SheafCohomology.Cech.InjectiveBicomplex.TopCat.Sheaf.cechBicomplex U (injectiveResolution F).cocomplex).X 0).d 1 2 b = |
| 29 | ((CategoryTheory.cechComplexFunctor U).map ((injectiveResolution F).ι.f 0).hom).f 2 k) |
| 30 | (hd : ((SheafCohomology.Cech.InjectiveBicomplex.TopCat.Sheaf.cechBicomplex U (injectiveResolution F).cocomplex).d 0 1).f 1 b = |
| 31 | ((SheafCohomology.Cech.InjectiveBicomplex.TopCat.Sheaf.cechBicomplex U (injectiveResolution F).cocomplex).X 1).d 0 1 v) |
| 32 | (hv : ((SheafCohomology.Cech.InjectiveBicomplex.TopCat.Sheaf.cechBicomplex U (injectiveResolution F).cocomplex).d 1 2).f 0 v = |
| 33 | FlasqueCechD.abelianCechHorizontalAugmentation U (injectiveResolution F).cocomplex 2 |
| 34 | ((GammaSectionsComparison.abelianGammaSectionsIso (injectiveResolution F).cocomplex).inv.f 2 s)) : |
| 35 | Abelian.CechComparison.abelianCechToSheaf U F hU 1 |
| 36 | (((CategoryTheory.cechComplexFunctor U).obj F.obj).homologyπ 2 (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk 1 _ k hk)) = |
| 37 | -Chern.Sheaf.ResolutionClasses.sheafResolutionCycleClass (injectiveResolution F) 2 s hs := by |
| 38 | let R := injectiveResolution F |
| 39 | let x := (GammaSectionsComparison.abelianGammaSectionsIso R.cocomplex).inv.f 2 s |
| 40 | have hx := Intrinsic.ResolutionInjective.nativeResolutionTopSection_closed F 1 s hs |
| 41 | have hg := DegreeOneBoundary.cechDegreeTwo_gamma_class (F := F) U (R.ι.f 0) R.ι_f_zero_comp_complex_d |
| 42 | k x b v hb hd hv hk hx (DegreeOneBoundary.injectiveResolution_flasque F) hU |
| 43 | have hc := ConcreteCategory.congr_hom (DegreeOneBoundary.abelianCechToSheaf_native U F hU 1) |
| 44 | (((CategoryTheory.cechComplexFunctor U).obj F.obj).homologyπ 2 (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk 1 _ k hk)) |
| 45 | change (GammaSectionsComparison.nativeInjectiveCohomologyIso F 1).hom |
| 46 | (FlasqueCechD.abelianCechFlasqueComparison U (DegreeOneBoundary.injectiveResolution_flasque F) |
| 47 | (R.ι.f 0) R.ι_f_zero_comp_complex_d hU 1 |
| 48 | (((CategoryTheory.cechComplexFunctor U).obj F.obj).homologyπ 2 (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk 1 _ k hk))) = _ at hc |
| 49 | have hgs := congrArg (GammaSectionsComparison.nativeInjectiveCohomologyIso F 1).hom hg |
| 50 | have hn := map_neg (GammaSectionsComparison.nativeInjectiveCohomologyIso F 1).hom.hom |
| 51 | ((FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).homologyπ 2 (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk 1 _ x hx)) |
| 52 | exact hc.symm.trans (hgs.trans (hn.trans |
| 53 | (congrArg Neg.neg (Intrinsic.ResolutionInjective.nativeInjectiveCohomologyIso_sectionClass F 1 s hs)))) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Cech.DegreeTwoSheaf |