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/SheafCechGlobalSections.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.TopSectionCoordinates |
| 8 | |
| 9 | /-! # Top Section Differential -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.TopSectionDifferential.IntrinsicCech |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | universe u |
| 17 | variable {X : TopCat.{u}} |
| 18 | variable (F : TopCat.Sheaf AddCommGrpCat.{u} X) |
| 19 | variable {ι : Type u} (U : ι → Opens X) |
| 20 | local instance : (HilbertConstruction.Sheaf.DerivedGlobalSections.DerivedSections.additiveSheafGlobalSectionsFunctor X).Additive := |
| 21 | (CategoryTheory.constantSheafΓAdj |
| 22 | (Opens.grothendieckTopology X) AddCommGrpCat.{u}).right_adjoint_additive |
| 23 | |
| 24 | theorem cechTopCofaceSummand_apply (n : ℕ) (k : Fin (n + 2)) |
| 25 | (i : Fin (n + 2) → ι) (x : (IntrinsicCech.SheafTerms.cechTerm F U n).obj.obj (op ⊤)) : |
| 26 | (-1 : ℤ) ^ (k : ℕ) • |
| 27 | F.obj.map (((FormalCoproduct.mk _ U).mapPower |
| 28 | (SimplexCategory.δ k).toOrderHom.toFun).φ i).op |
| 29 | (IntrinsicCech.Cochains.cechCochainAddEquiv F.obj U n (TopSectionCoordinates.IntrinsicCech.cechTopSectionsAddEquiv F U n x) |
| 30 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)) = |
| 31 | (F.obj.mapIso (eqToIso (congrArg op |
| 32 | (top_inf_eq (∏ᶜ fun r : Fin (n + 2) => U (i r)))))).hom |
| 33 | ((-1 : ℤ) ^ (k : ℕ) • |
| 34 | F.obj.map (homOfLE (inf_le_inf_left (⊤ : Opens X) |
| 35 | (leOfHom (((FormalCoproduct.mk _ U).mapPower |
| 36 | (SimplexCategory.δ k).toOrderHom.toFun).φ i)))).op |
| 37 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U n (⊤ : Opens X) x |
| 38 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun))) := by |
| 39 | have hSections := TopSectionCoordinates.IntrinsicCech.cechTopSectionsAddEquiv_apply (F := F) (U := U) n x |
| 40 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun) |
| 41 | have hIdentify := congrArg (fun y => (-1 : ℤ) ^ (k : ℕ) • |
| 42 | F.obj.map (((FormalCoproduct.mk _ U).mapPower |
| 43 | (SimplexCategory.δ k).toOrderHom.toFun).φ i).op y) hSections |
| 44 | have hRestrict := congrArg (fun y => (-1 : ℤ) ^ (k : ℕ) • y) |
| 45 | (TopSectionCoordinates.IntrinsicCech.cechTopRestriction_apply (F := F) (U := U) n k i |
| 46 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U n (⊤ : Opens X) x |
| 47 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun))) |
| 48 | let restricted := F.obj.map (homOfLE (inf_le_inf_left (⊤ : Opens X) |
| 49 | (leOfHom (((FormalCoproduct.mk _ U).mapPower |
| 50 | (SimplexCategory.δ k).toOrderHom.toFun).φ i)))).op |
| 51 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U n (⊤ : Opens X) x |
| 52 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)) |
| 53 | have hScalar : |
| 54 | (-1 : ℤ) ^ (k : ℕ) • |
| 55 | (F.obj.mapIso (eqToIso (congrArg op |
| 56 | (top_inf_eq (∏ᶜ fun r : Fin (n + 2) => U (i r)))))).hom restricted = |
| 57 | (F.obj.mapIso (eqToIso (congrArg op |
| 58 | (top_inf_eq (∏ᶜ fun r : Fin (n + 2) => U (i r)))))).hom |
| 59 | ((-1 : ℤ) ^ (k : ℕ) • restricted) := |
| 60 | (map_zsmul (F.obj.mapIso (eqToIso (congrArg op |
| 61 | (top_inf_eq (∏ᶜ fun r : Fin (n + 2) => U (i r)))))).hom.hom |
| 62 | ((-1 : ℤ) ^ (k : ℕ)) restricted).symm |
| 63 | exact hIdentify.trans (hRestrict.trans hScalar) |
| 64 | |
| 65 | theorem cechTopAlternatingSum_apply (n : ℕ) (i : Fin (n + 2) → ι) |
| 66 | (x : (IntrinsicCech.SheafTerms.cechTerm F U n).obj.obj (op ⊤)) : |
| 67 | (∑ k : Fin (n + 2), (-1 : ℤ) ^ (k : ℕ) • |
| 68 | F.obj.map (((FormalCoproduct.mk _ U).mapPower |
| 69 | (SimplexCategory.δ k).toOrderHom.toFun).φ i).op |
| 70 | (IntrinsicCech.Cochains.cechCochainAddEquiv F.obj U n (TopSectionCoordinates.IntrinsicCech.cechTopSectionsAddEquiv F U n x) |
| 71 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun))) = |
| 72 | (F.obj.mapIso (eqToIso (congrArg op |
| 73 | (top_inf_eq (∏ᶜ fun r : Fin (n + 2) => U (i r)))))).hom |
| 74 | (∑ k : Fin (n + 2), (-1 : ℤ) ^ (k : ℕ) • |
| 75 | F.obj.map (homOfLE (inf_le_inf_left (⊤ : Opens X) |
| 76 | (leOfHom (((FormalCoproduct.mk _ U).mapPower |
| 77 | (SimplexCategory.δ k).toOrderHom.toFun).φ i)))).op |
| 78 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U n (⊤ : Opens X) x |
| 79 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun))) := by |
| 80 | let f := (F.obj.mapIso (eqToIso (congrArg op |
| 81 | (top_inf_eq (∏ᶜ fun r : Fin (n + 2) => U (i r)))))).hom |
| 82 | let a := fun k : Fin (n + 2) => (-1 : ℤ) ^ (k : ℕ) • |
| 83 | F.obj.map (homOfLE (inf_le_inf_left (⊤ : Opens X) |
| 84 | (leOfHom (((FormalCoproduct.mk _ U).mapPower |
| 85 | (SimplexCategory.δ k).toOrderHom.toFun).φ i)))).op |
| 86 | (IntrinsicCech.SheafSectionCoordinates.cechTermSectionsAddEquiv F U n (⊤ : Opens X) x |
| 87 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)) |
| 88 | calc |
| 89 | _ = ∑ k, ConcreteCategory.hom f (a k) := |
| 90 | Finset.sum_congr rfl (fun k _ => |
| 91 | cechTopCofaceSummand_apply (F := F) (U := U) n k i x) |
| 92 | _ = ConcreteCategory.hom f (∑ k, a k) := |
| 93 | (TopSectionCoordinates.IntrinsicCech.addCommGrp_hom_map_sum f a).symm |
| 94 | |
| 95 | theorem cechTopSectionsAddEquiv_d (n : ℕ) : |
| 96 | (TopSectionCoordinates.IntrinsicCech.cechTopSectionsAddEquiv F U n).toAddCommGrpIso.hom ≫ |
| 97 | ((cechComplexFunctor U).obj F.obj).d n (n + 1) = |
| 98 | (SheafDifferential.IntrinsicCech.cechDifferential F U n).hom.app (op ⊤) ≫ |
| 99 | (TopSectionCoordinates.IntrinsicCech.cechTopSectionsAddEquiv F U (n + 1)).toAddCommGrpIso.hom := by |
| 100 | ext x |
| 101 | apply (IntrinsicCech.Cochains.cechCochainAddEquiv F.obj U (n + 1)).injective |
| 102 | funext i |
| 103 | change IntrinsicCech.Cochains.cechCochainAddEquiv F.obj U (n + 1) |
| 104 | (((cechComplexFunctor U).obj F.obj).d n (n + 1) |
| 105 | (TopSectionCoordinates.IntrinsicCech.cechTopSectionsAddEquiv F U n x)) i = |
| 106 | IntrinsicCech.Cochains.cechCochainAddEquiv F.obj U (n + 1) |
| 107 | (TopSectionCoordinates.IntrinsicCech.cechTopSectionsAddEquiv F U (n + 1) |
| 108 | ((SheafDifferential.IntrinsicCech.cechDifferential F U n).hom.app (op ⊤) x)) i |
| 109 | have hNative := IntrinsicCech.Differential.nativeCechDifferential_apply F.obj U n |
| 110 | (TopSectionCoordinates.IntrinsicCech.cechTopSectionsAddEquiv F U n x) i |
| 111 | have hSum := cechTopAlternatingSum_apply (F := F) (U := U) n i x |
| 112 | have hDifferential := congrArg |
| 113 | (F.obj.mapIso (eqToIso (congrArg op |
| 114 | (top_inf_eq (∏ᶜ fun r : Fin (n + 2) => U (i r)))))).hom |
| 115 | (SheafDifferential.IntrinsicCech.cechDifferential_apply F U n (⊤ : Opens X) x i).symm |
| 116 | have hTarget := (TopSectionCoordinates.IntrinsicCech.cechTopSectionsAddEquiv_apply (F := F) (U := U) (n + 1) |
| 117 | ((SheafDifferential.IntrinsicCech.cechDifferential F U n).hom.app (op ⊤) x) i).symm |
| 118 | exact hNative.trans (hSum.trans (hDifferential.trans hTarget)) |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.TopSectionDifferential.IntrinsicCech |