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.CochainExactness |
| 8 | |
| 9 | /-! # Injective Augmentation -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.InjectiveAugmentation.IntrinsicCech |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 16 | universe u |
| 17 | variable {X : TopCat.{u}} {ι : Type u} (U : ι → Opens X) |
| 18 | |
| 19 | /-- The native Cech map induced by the augmentation into the chosen injective |
| 20 | resolution. -/ |
| 21 | noncomputable def cechInjectiveResolutionAugmentation |
| 22 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) : |
| 23 | (cechComplexFunctor U).obj F.obj ⟶ |
| 24 | (InjectiveBicomplex.IntrinsicCech.cechInjectiveResolutionBicomplex U F).X 0 := |
| 25 | (cechComplexFunctor U).map |
| 26 | ((injectiveResolution F).ι.f 0).hom |
| 27 | |
| 28 | @[simp] |
| 29 | theorem cechInjectiveResolutionAugmentation_f |
| 30 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (p : ℕ) : |
| 31 | (cechInjectiveResolutionAugmentation U F).f p = |
| 32 | ((cechComplexFunctor U).map |
| 33 | ((injectiveResolution F).ι.f 0).hom).f p := |
| 34 | rfl |
| 35 | |
| 36 | @[reassoc] |
| 37 | theorem cechInjectiveResolutionAugmentation_f_comp_d |
| 38 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (p : ℕ) : |
| 39 | (cechInjectiveResolutionAugmentation U F).f p ≫ |
| 40 | ((InjectiveBicomplex.IntrinsicCech.cechInjectiveResolutionBicomplex U F).d 0 1).f p = 0 := by |
| 41 | let I := injectiveResolution F |
| 42 | have h : |
| 43 | (I.ι.f 0).hom ≫ (I.cocomplex.d 0 1).hom = 0 := by |
| 44 | exact congrArg (fun f ↦ f.hom) |
| 45 | (InjectiveResolution.ι_f_zero_comp_complex_d I) |
| 46 | change Limits.Pi.map (fun i : Fin (p + 1) → ι ↦ |
| 47 | (I.ι.f 0).hom.app |
| 48 | (Opposite.op (∏ᶜ fun k : Fin (p + 1) ↦ U (i k)))) ≫ |
| 49 | Limits.Pi.map (fun i : Fin (p + 1) → ι ↦ |
| 50 | (I.cocomplex.d 0 1).hom.app |
| 51 | (Opposite.op (∏ᶜ fun k : Fin (p + 1) ↦ U (i k)))) = 0 |
| 52 | rw [Limits.Pi.map_comp_map] |
| 53 | refine Limits.Pi.hom_ext _ _ fun i ↦ ?_ |
| 54 | rw [Limits.Pi.map_π] |
| 55 | have hi := congr_app h |
| 56 | (Opposite.op (∏ᶜ fun k : Fin (p + 1) ↦ U (i k))) |
| 57 | have hi' : |
| 58 | (I.ι.f 0).hom.app |
| 59 | (Opposite.op (∏ᶜ fun k : Fin (p + 1) ↦ U (i k))) ≫ |
| 60 | (I.cocomplex.d 0 1).hom.app |
| 61 | (Opposite.op (∏ᶜ fun k : Fin (p + 1) ↦ U (i k))) = 0 := by |
| 62 | change ((I.ι.f 0).hom ≫ (I.cocomplex.d 0 1).hom).app _ = 0 |
| 63 | exact hi.trans rfl |
| 64 | rw [hi', comp_zero, zero_comp] |
| 65 | |
| 66 | noncomputable instance cechInjectiveResolutionAugmentation_f_mono |
| 67 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (p : ℕ) : |
| 68 | Mono ((cechInjectiveResolutionAugmentation U F).f p) := by |
| 69 | change Mono (Limits.Pi.map (fun i : Fin (p + 1) → ι ↦ |
| 70 | ((injectiveResolution F).ι.f 0).hom.app |
| 71 | (Opposite.op (∏ᶜ fun k : Fin (p + 1) ↦ U (i k))))) |
| 72 | infer_instance |
| 73 | |
| 74 | theorem cechInjectiveResolutionAugmentation_exact |
| 75 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (p : ℕ) : |
| 76 | (ShortComplex.mk ((cechInjectiveResolutionAugmentation U F).f p) |
| 77 | (((InjectiveBicomplex.IntrinsicCech.cechInjectiveResolutionBicomplex U F).d 0 1).f p) |
| 78 | (cechInjectiveResolutionAugmentation_f_comp_d U F p)).Exact := by |
| 79 | let I : InjectiveResolution F := injectiveResolution F |
| 80 | let S := ShortComplex.mk (I.ι.f 0) (I.cocomplex.d 0 1) I.ι_f_zero_comp_complex_d |
| 81 | change (S.map (CochainExactness.IntrinsicCech.cechCochainFunctor U p)).Exact |
| 82 | apply CochainExactness.IntrinsicCech.cechCochainFunctor_exact_of_sections |
| 83 | intro i x hx |
| 84 | exact TopCat.Sheaf.sections_exact_of_left_exact I.exact₀ |
| 85 | (inferInstance : Mono S.f) x hx |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.InjectiveAugmentation.IntrinsicCech |