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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SheafCechInjectiveAugmentation.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.InjectiveAugmentation |
| 8 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TotalComplex.VerticalEdge |
| 9 | |
| 10 | /-! # Injective Vertical Edge -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.InjectiveVerticalEdge.IntrinsicCech |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 17 | universe u |
| 18 | variable {X : TopCat.{u}} {ι : Type u} (U : ι → Opens X) |
| 19 | |
| 20 | theorem cechInjectiveResolutionAugmentation_comm |
| 21 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (p p' : ℕ) |
| 22 | (_ : (ComplexShape.up ℕ).Rel p p') : |
| 23 | (InjectiveAugmentation.IntrinsicCech.cechInjectiveResolutionAugmentation U F).f p ≫ |
| 24 | ((InjectiveBicomplex.IntrinsicCech.cechInjectiveResolutionBicomplex U F).X 0).d p p' = |
| 25 | ((cechComplexFunctor U).obj F.obj).d p p' ≫ |
| 26 | (InjectiveAugmentation.IntrinsicCech.cechInjectiveResolutionAugmentation U F).f p' := by |
| 27 | exact HomologicalComplex.Hom.comm |
| 28 | (InjectiveAugmentation.IntrinsicCech.cechInjectiveResolutionAugmentation U F) p p' |
| 29 | |
| 30 | /-- The Cech complex of a sheaf maps into the total Cech complex of its chosen |
| 31 | injective resolution by the vertical edge. -/ |
| 32 | noncomputable def cechInjectiveResolutionVerticalEdge |
| 33 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) : |
| 34 | (cechComplexFunctor U).obj F.obj ⟶ |
| 35 | (InjectiveBicomplex.IntrinsicCech.cechInjectiveResolutionBicomplex U F).total (.up ℕ) := |
| 36 | TotalComplex.VerticalEdge.totalUpNatVerticalEdge (InjectiveBicomplex.IntrinsicCech.cechInjectiveResolutionBicomplex U F) |
| 37 | ((cechComplexFunctor U).obj F.obj) |
| 38 | (fun p ↦ (InjectiveAugmentation.IntrinsicCech.cechInjectiveResolutionAugmentation U F).f p) |
| 39 | (cechInjectiveResolutionAugmentation_comm U F) |
| 40 | (InjectiveAugmentation.IntrinsicCech.cechInjectiveResolutionAugmentation_f_comp_d U F) |
| 41 | |
| 42 | @[simp] |
| 43 | theorem cechInjectiveResolutionVerticalEdge_f |
| 44 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (p : ℕ) : |
| 45 | (cechInjectiveResolutionVerticalEdge U F).f p = |
| 46 | (InjectiveAugmentation.IntrinsicCech.cechInjectiveResolutionAugmentation U F).f p ≫ |
| 47 | (InjectiveBicomplex.IntrinsicCech.cechInjectiveResolutionBicomplex U F).ιTotal |
| 48 | (.up ℕ) 0 p p (zero_add p) := by |
| 49 | apply TotalComplex.VerticalEdge.totalUpNatVerticalEdge_f |
| 50 | |
| 51 | /-- The total-complex map induced by a cochain map between the chosen |
| 52 | injective resolutions. -/ |
| 53 | noncomputable def cechInjectiveResolutionTotalMap |
| 54 | {F G : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}} |
| 55 | (phi : (injectiveResolution F).cocomplex ⟶ |
| 56 | (injectiveResolution G).cocomplex) : |
| 57 | (InjectiveBicomplex.IntrinsicCech.cechInjectiveResolutionBicomplex U F).total (.up ℕ) ⟶ |
| 58 | (InjectiveBicomplex.IntrinsicCech.cechInjectiveResolutionBicomplex U G).total (.up ℕ) := |
| 59 | HomologicalComplex₂.total.map |
| 60 | (InjectiveBicomplex.IntrinsicCech.cechInjectiveResolutionBicomplexMap U phi) (.up ℕ) |
| 61 | |
| 62 | /-- The vertical Cech edge commutes with a morphism between chosen injective |
| 63 | resolutions that lifts a morphism of sheaves. -/ |
| 64 | theorem cechInjectiveResolutionVerticalEdge_naturality |
| 65 | {F G : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}} (f : F ⟶ G) |
| 66 | (phi : InjectiveResolution.Hom |
| 67 | (injectiveResolution F) |
| 68 | (injectiveResolution G) f) : |
| 69 | cechInjectiveResolutionVerticalEdge U F ≫ |
| 70 | cechInjectiveResolutionTotalMap U phi.hom = |
| 71 | (cechComplexFunctor U).map f.hom ≫ |
| 72 | cechInjectiveResolutionVerticalEdge U G := by |
| 73 | apply HomologicalComplex.Hom.ext |
| 74 | funext p |
| 75 | rw [HomologicalComplex.comp_f, HomologicalComplex.comp_f, |
| 76 | cechInjectiveResolutionVerticalEdge_f, |
| 77 | cechInjectiveResolutionVerticalEdge_f] |
| 78 | rw [Category.assoc, cechInjectiveResolutionTotalMap, |
| 79 | HomologicalComplex₂.ιTotal_map] |
| 80 | simp only [← Category.assoc] |
| 81 | congr 1 |
| 82 | change |
| 83 | (((cechComplexFunctor U).map |
| 84 | ((injectiveResolution F).ι.f 0).hom) ≫ |
| 85 | (cechComplexFunctor U).map (phi.hom.f 0).hom).f p = |
| 86 | (((cechComplexFunctor U).map f.hom ≫ |
| 87 | (cechComplexFunctor U).map |
| 88 | ((injectiveResolution G).ι.f 0).hom).f p) |
| 89 | let a := ((injectiveResolution F).ι.f 0).hom |
| 90 | let b := (phi.hom.f 0).hom |
| 91 | let c := f.hom |
| 92 | let d := ((injectiveResolution G).ι.f 0).hom |
| 93 | have hphi : a ≫ b = c ≫ d := |
| 94 | congrArg (fun g ↦ g.hom) phi.ι_f_zero_comp_hom_f_zero |
| 95 | have hmap : |
| 96 | (cechComplexFunctor U).map a ≫ (cechComplexFunctor U).map b = |
| 97 | (cechComplexFunctor U).map c ≫ (cechComplexFunctor U).map d := |
| 98 | ((cechComplexFunctor U).map_comp a b).symm.trans |
| 99 | ((congrArg (cechComplexFunctor U).map hphi).trans |
| 100 | ((cechComplexFunctor U).map_comp c d)) |
| 101 | exact congrArg (fun g ↦ g.f p) hmap |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.InjectiveVerticalEdge.IntrinsicCech |