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/SchemeModuleBaseCechHomology.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 8 | import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex |
| 9 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechForget |
| 10 | |
| 11 | /-! # Base Cech Homology -/ |
| 12 | |
| 13 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechHomology.Scheme.Modules |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open _root_.AlgebraicGeometry |
| 18 | open _root_.AlgebraicGeometry.Scheme |
| 19 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 20 | |
| 21 | /-! |
| 22 | # Low-degree homology of base-linear Cech complexes |
| 23 | |
| 24 | This is the isomorphism-only slice of AINTLIB's base-Cech homology module. |
| 25 | It transports homology in every degree through the reviewed forgetful complex |
| 26 | isomorphism and applies the affine-cover native-Cech comparison in degree one. |
| 27 | The general forgetful comparison is public because the project-level |
| 28 | degree-zero comparison is its named downstream consumer. |
| 29 | -/ |
| 30 | |
| 31 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 32 | |
| 33 | universe u |
| 34 | |
| 35 | open OAI.AlgebraicGeometry.SheafCohomology.Module.ProjectiveAffine.ModuleSheaf |
| 36 | |
| 37 | /-- Forgetting the base-module structure on Cech homology recovers the |
| 38 | homology of the native additive Cech complex. -/ |
| 39 | noncomputable def baseCechComplexHomologyForgetIso |
| 40 | {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 41 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) : |
| 42 | (BaseCechForget.Scheme.Modules.baseModuleForget S).obj ((Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).homology n) ≅ |
| 43 | ((cechComplexFunctor U).obj (Module.ProjectiveAffine.ModuleSheaf.sheaf M).obj).homology n := |
| 44 | (((Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).sc n).mapHomologyIso |
| 45 | (BaseCechForget.Scheme.Modules.baseModuleForget S)).symm ≪≫ |
| 46 | HomologicalComplex.homologyMapIso |
| 47 | (BaseCechForget.Scheme.Modules.baseCechComplexForgetIso π M U) n |
| 48 | |
| 49 | /-- The forward map of the forgetful homology comparison is the mapped-homology |
| 50 | comparison followed by the homology map of the degreewise forgetful isomorphism. -/ |
| 51 | @[simp] |
| 52 | theorem baseCechComplexHomologyForgetIso_hom |
| 53 | {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 54 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) : |
| 55 | (baseCechComplexHomologyForgetIso π M U n).hom = |
| 56 | (((Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).sc n).mapHomologyIso |
| 57 | (BaseCechForget.Scheme.Modules.baseModuleForget S)).inv ≫ |
| 58 | HomologicalComplex.homologyMap |
| 59 | (BaseCechForget.Scheme.Modules.baseCechComplexForgetIso π M U).hom n := |
| 60 | rfl |
| 61 | |
| 62 | /-- The comparison between forgotten base-linear Cech homology and native |
| 63 | additive Cech homology is natural in the coefficient module. -/ |
| 64 | @[reassoc] |
| 65 | theorem baseCechComplexHomologyForgetIso_naturality |
| 66 | {X S : Scheme.{u}} (π : X ⟶ S) {M N : X.Modules} (f : M ⟶ N) |
| 67 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) : |
| 68 | (BaseCechForget.Scheme.Modules.baseModuleForget S).map |
| 69 | (HomologicalComplex.homologyMap |
| 70 | ((Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplexFunctor π U).map f) n) ≫ |
| 71 | (baseCechComplexHomologyForgetIso π N U n).hom = |
| 72 | (baseCechComplexHomologyForgetIso π M U n).hom ≫ |
| 73 | HomologicalComplex.homologyMap |
| 74 | ((cechComplexFunctor U).map (Module.ProjectiveAffine.ModuleSheaf.Hom.sheafHom f).hom) n := by |
| 75 | let a := (((BaseCechForget.Scheme.Modules.baseModuleForget S).mapHomologicalComplex (.up ℕ)).map |
| 76 | ((Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplexFunctor π U).map f)) |
| 77 | let b := (BaseCechForget.Scheme.Modules.baseCechComplexForgetIso π N U).hom |
| 78 | let c := (BaseCechForget.Scheme.Modules.baseCechComplexForgetIso π M U).hom |
| 79 | let d := (cechComplexFunctor U).map (Module.ProjectiveAffine.ModuleSheaf.Hom.sheafHom f).hom |
| 80 | have hcomp : a ≫ b = c ≫ d := |
| 81 | BaseCechForget.Scheme.Modules.baseCechComplexForgetIso_naturality π f U |
| 82 | have hcomplex : |
| 83 | HomologicalComplex.homologyMap a n ≫ |
| 84 | HomologicalComplex.homologyMap b n = |
| 85 | HomologicalComplex.homologyMap c n ≫ |
| 86 | HomologicalComplex.homologyMap d n := |
| 87 | (HomologicalComplex.homologyMap_comp a b n).symm.trans |
| 88 | ((congrArg (fun g => HomologicalComplex.homologyMap g n) hcomp).trans |
| 89 | (HomologicalComplex.homologyMap_comp c d n)) |
| 90 | let φ := (HomologicalComplex.shortComplexFunctor |
| 91 | (ModuleCat.{u} Γ(S, (⊤ : S.Opens))) (.up ℕ) n).map |
| 92 | ((Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplexFunctor π U).map f) |
| 93 | let β := (HomologicalComplex.shortComplexFunctor |
| 94 | AddCommGrpCat.{u} (.up ℕ) n).map |
| 95 | (BaseCechForget.Scheme.Modules.baseCechComplexForgetIso π N U).hom |
| 96 | let γ := (HomologicalComplex.shortComplexFunctor |
| 97 | AddCommGrpCat.{u} (.up ℕ) n).map |
| 98 | (BaseCechForget.Scheme.Modules.baseCechComplexForgetIso π M U).hom |
| 99 | let δ := (HomologicalComplex.shortComplexFunctor |
| 100 | AddCommGrpCat.{u} (.up ℕ) n).map |
| 101 | ((cechComplexFunctor U).map (Module.ProjectiveAffine.ModuleSheaf.Hom.sheafHom f).hom) |
| 102 | let iN := ((((Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplexFunctor π U).obj N).sc n).mapHomologyIso |
| 103 | (BaseCechForget.Scheme.Modules.baseModuleForget S)).inv |
| 104 | let iM := ((((Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplexFunctor π U).obj M).sc n).mapHomologyIso |
| 105 | (BaseCechForget.Scheme.Modules.baseModuleForget S)).inv |
| 106 | dsimp only [a, b, c, d, HomologicalComplex.homologyMap] at hcomplex |
| 107 | change ShortComplex.homologyMap |
| 108 | ((BaseCechForget.Scheme.Modules.baseModuleForget S).mapShortComplex.map φ) ≫ |
| 109 | ShortComplex.homologyMap β = |
| 110 | ShortComplex.homologyMap γ ≫ |
| 111 | ShortComplex.homologyMap δ at hcomplex |
| 112 | rw [baseCechComplexHomologyForgetIso_hom, |
| 113 | baseCechComplexHomologyForgetIso_hom] |
| 114 | dsimp only [HomologicalComplex.homologyMap] |
| 115 | change (BaseCechForget.Scheme.Modules.baseModuleForget S).map (ShortComplex.homologyMap φ) ≫ |
| 116 | (iN ≫ ShortComplex.homologyMap β) = |
| 117 | iM ≫ (ShortComplex.homologyMap γ ≫ |
| 118 | ShortComplex.homologyMap δ) |
| 119 | have hnat : |
| 120 | (BaseCechForget.Scheme.Modules.baseModuleForget S).map (ShortComplex.homologyMap φ) ≫ iN = |
| 121 | iM ≫ ShortComplex.homologyMap |
| 122 | ((BaseCechForget.Scheme.Modules.baseModuleForget S).mapShortComplex.map φ) := |
| 123 | ShortComplex.mapHomologyIso_inv_naturality φ (BaseCechForget.Scheme.Modules.baseModuleForget S) |
| 124 | calc |
| 125 | _ = ((BaseCechForget.Scheme.Modules.baseModuleForget S).map (ShortComplex.homologyMap φ) ≫ iN) ≫ |
| 126 | ShortComplex.homologyMap β := |
| 127 | (Category.assoc _ _ _).symm |
| 128 | _ = (iM ≫ ShortComplex.homologyMap |
| 129 | ((BaseCechForget.Scheme.Modules.baseModuleForget S).mapShortComplex.map φ)) ≫ |
| 130 | ShortComplex.homologyMap β := |
| 131 | congrArg (fun q => q ≫ ShortComplex.homologyMap β) hnat |
| 132 | _ = iM ≫ |
| 133 | (ShortComplex.homologyMap |
| 134 | ((BaseCechForget.Scheme.Modules.baseModuleForget S).mapShortComplex.map φ) ≫ |
| 135 | ShortComplex.homologyMap β) := |
| 136 | Category.assoc _ _ _ |
| 137 | _ = _ := congrArg (fun q => iM ≫ q) hcomplex |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechHomology.Scheme.Modules |