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.ComplexMultiplication.Coefficient.ConcreteRationalNaturality |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.SingularPresheafConstants |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.CMComparisonTo |
| 4 | |
| 5 | /-! # Rational Coefficient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.Reference.RationalCoefficient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! # Actual coefficient inclusion in the original singular presheaf complex -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite OAI.AlgebraicTopology.Singular |
| 16 | |
| 17 | /-- The actual native singular presheaf complex, with its module scalars forgotten. -/ |
| 18 | abbrev additiveSingularPresheafComplex (R : Type) [CommRing R] (Y : TopCat.{0}) := |
| 19 | (Functor.mapHomologicalComplex |
| 20 | ((Functor.whiskeringRight (Opens Y)ᵒᵖ (ModuleCat R) AddCommGrpCat).obj |
| 21 | (forget₂ (ModuleCat R) AddCommGrpCat)) (ComplexShape.up ℕ)).obj |
| 22 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of R R) Y) |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false in |
| 25 | /-- Cast every actual local rational simplex value into ℂ. -/ |
| 26 | def actualAdditiveRationalToComplexPresheafMap (Y : TopCat.{0}) : |
| 27 | additiveSingularPresheafComplex ℚ Y ⟶ additiveSingularPresheafComplex ℂ Y where |
| 28 | f n := |
| 29 | { app U := (Coefficient.ConcreteRationalNaturality.actualAdditiveRationalToComplexCochainMap (TopCat.of U.unop)).f n |
| 30 | naturality {U V} i := by |
| 31 | exact congrArg (fun h => h.f n) |
| 32 | (Coefficient.ConcreteRationalNaturality.actualAdditiveRationalToComplexCochainMap_naturality |
| 33 | ((Opens.toTopCat Y).map i.unop)) } |
| 34 | comm' i j _ := by |
| 35 | apply NatTrans.ext |
| 36 | funext U |
| 37 | exact (Coefficient.ConcreteRationalNaturality.actualAdditiveRationalToComplexCochainMap (TopCat.of U.unop)).comm i j |
| 38 | |
| 39 | /-- Actual chain evaluation puts coefficient inclusion in the unchanged original complex. -/ |
| 40 | def originalRationalToComplexSingularPresheafMap (Y : TopCat.{0}) : |
| 41 | AlgebraicTopology.Singular.SheafCochain.singularCochainPresheafComplex ℚ Y ⟶ AlgebraicTopology.Singular.SheafCochain.singularCochainPresheafComplex ℂ Y := |
| 42 | (SingularPresheafBridge.singularPresheafComplexBridgeIso ℚ Y).inv ≫ |
| 43 | actualAdditiveRationalToComplexPresheafMap Y ≫ |
| 44 | (SingularPresheafBridge.singularPresheafComplexBridgeIso ℂ Y).hom |
| 45 | |
| 46 | set_option backward.isDefEq.respectTransparency false in |
| 47 | /-- The original comparison square uses the actual local coefficient map. -/ |
| 48 | theorem originalRationalToComplexSingularPresheafMap_square (Y : TopCat.{0}) : |
| 49 | (SingularPresheafBridge.singularPresheafComplexBridgeIso ℚ Y).hom ≫ |
| 50 | originalRationalToComplexSingularPresheafMap Y = |
| 51 | actualAdditiveRationalToComplexPresheafMap Y ≫ |
| 52 | (SingularPresheafBridge.singularPresheafComplexBridgeIso ℂ Y).hom := by |
| 53 | simp only [originalRationalToComplexSingularPresheafMap, ← Category.assoc, |
| 54 | Iso.hom_inv_id, Category.id_comp] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | section |
| 59 | |
| 60 | /-! # Coefficient inclusion retains the original constant augmentation -/ |
| 61 | |
| 62 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite OAI.AlgebraicTopology.Singular |
| 63 | open scoped Simplicial |
| 64 | |
| 65 | set_option backward.isDefEq.respectTransparency false in |
| 66 | /-- The inverse original comparison evaluates a constant zero-cochain to its actual constant. -/ |
| 67 | theorem originalConstantZeroCochain_evaluation (R : Type) [CommRing R] |
| 68 | (Y : TopCat.{0}) (U : (Opens Y)ᵒᵖ) (r : R) |
| 69 | (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices (TopCat.of U.unop) 0) : |
| 70 | AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj (TopCat.of U.unop)) (ModuleCat.of R R) s |
| 71 | ((SingularCochainBridge.singularCochainBridgeIso R (TopCat.of U.unop)).inv.f 0 |
| 72 | (AlgebraicTopology.Singular.SheafCochain.constantSingularZeroCochain R Y U r)) = r := by |
| 73 | let K := TopCat.toSSet.obj (TopCat.of U.unop) |
| 74 | let ψ := AlgebraicTopology.Singular.SheafCochain.constantSingularZeroCochain R Y U r |
| 75 | have hi := congrArg (fun h => h.f 0) |
| 76 | (SingularCochainBridge.singularCochainBridgeIso R (TopCat.of U.unop)).inv_hom_id |
| 77 | simp only [HomologicalComplex.comp_f, HomologicalComplex.id_f] at hi |
| 78 | have hv := congrArg |
| 79 | (fun (φ : Module.Dual R ((K.chainComplex (ModuleCat.of R R)).X 0)) => |
| 80 | φ (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain K s)) (ConcreteCategory.congr_hom hi ψ) |
| 81 | change AlgebraicTopology.Cohomology.Singular.ChainDual.degreewiseChainDualEquiv K (ModuleCat.of R R) 0 |
| 82 | ((SingularCochainBridge.singularCochainBridgeIso R (TopCat.of U.unop)).inv.f 0 ψ) |
| 83 | (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain K s) = r * (AlgebraicTopology.Singular.SheafCochain.simplicialZeroAugmentation R K).hom (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain K s) at hv |
| 84 | rw [AlgebraicTopology.Cohomology.Singular.ChainDual.degreewiseChainDualEquiv_simplex, SingularPresheafConstants.originalZeroAugmentation_simplex, mul_one] at hv |
| 85 | exact hv |
| 86 | |
| 87 | set_option backward.isDefEq.respectTransparency false in |
| 88 | /-- Actual coefficient inclusion casts the evaluated value, after literal additive forgetting. -/ |
| 89 | theorem actualAdditiveRationalToComplexCochainMap_evaluation (Y : TopCat.{0}) |
| 90 | {n : ℕ} (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) Y).X n) (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices Y n) : |
| 91 | AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj Y) (ModuleCat.of ℂ ℂ) s |
| 92 | ((Coefficient.ConcreteRationalNaturality.actualAdditiveRationalToComplexCochainMap Y).f n c) = |
| 93 | algebraMap ℚ ℂ (AlgebraicTopology.Cohomology.Singular.Coefficients.simplicialEvaluation (TopCat.toSSet.obj Y) (ModuleCat.of ℚ ℚ) s c) := by |
| 94 | exact ConcreteCategory.congr_hom (ConcreteRationalCoefficientCochains.actualRationalToComplexCochainMap_evaluation Y s) c |
| 95 | |
| 96 | set_option backward.isDefEq.respectTransparency false in |
| 97 | /-- The original constant augmentation commutes with the genuine rational-to-complex coefficient map. -/ |
| 98 | theorem originalRationalToComplexSingularPresheafMap_constants (Y : TopCat.{0}) : |
| 99 | AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainZero ℚ Y ≫ |
| 100 | (originalRationalToComplexSingularPresheafMap Y).f 0 = |
| 101 | (Functor.const (Opens Y)ᵒᵖ).map |
| 102 | (AddCommGrpCat.ofHom (algebraMap ℚ ℂ).toAddMonoidHom) ≫ |
| 103 | AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainZero ℂ Y := by |
| 104 | apply NatTrans.ext |
| 105 | funext U |
| 106 | apply AddCommGrpCat.hom_ext |
| 107 | apply AddMonoidHom.ext |
| 108 | intro q |
| 109 | change ℚ at q |
| 110 | let K := TopCat.toSSet.obj (TopCat.of U.unop) |
| 111 | change AlgebraicTopology.Cohomology.Singular.ChainDual.degreewiseChainDualEquiv K (ModuleCat.of ℂ ℂ) 0 |
| 112 | ((Coefficient.ConcreteRationalNaturality.actualAdditiveRationalToComplexCochainMap (TopCat.of U.unop)).f 0 |
| 113 | ((SingularCochainBridge.singularCochainBridgeIso ℚ (TopCat.of U.unop)).inv.f 0 |
| 114 | (AlgebraicTopology.Singular.SheafCochain.constantSingularZeroCochain ℚ Y U q))) = |
| 115 | (algebraMap ℚ ℂ q) • (AlgebraicTopology.Singular.SheafCochain.openZeroAugmentation ℂ Y U).hom |
| 116 | apply AlgebraicTopology.Cohomology.Singular.ChainDual.chainFunctional_ext K (ModuleCat.of ℂ ℂ) |
| 117 | intro s |
| 118 | rw [AlgebraicTopology.Cohomology.Singular.ChainDual.degreewiseChainDualEquiv_simplex, |
| 119 | actualAdditiveRationalToComplexCochainMap_evaluation, originalConstantZeroCochain_evaluation] |
| 120 | change algebraMap ℚ ℂ q = algebraMap ℚ ℂ q * |
| 121 | (AlgebraicTopology.Singular.SheafCochain.simplicialZeroAugmentation ℂ K).hom (AlgebraicTopology.Cohomology.Singular.ChainDual.simplexChain K s) |
| 122 | rw [SingularPresheafConstants.originalZeroAugmentation_simplex, mul_one] |
| 123 | |
| 124 | end |
| 125 | |
| 126 | /-! # The original coefficient inclusion square on the full sheaf resolutions -/ |
| 127 | |
| 128 | open _root_.CategoryTheory _root_.AlgebraicGeometry ComplexPoint _root_.TopologicalSpace OAI.AlgebraicTopology.Singular |
| 129 | |
| 130 | /-- Sheafify the actual local rational-to-complex coefficient map. -/ |
| 131 | def originalRationalToComplexSingularSheafMap (Y : TopCat.{0}) : |
| 132 | AlgebraicTopology.Singular.SheafCochain.singularCochainSheafComplex ℚ Y ⟶ AlgebraicTopology.Singular.SheafCochain.singularCochainSheafComplex ℂ Y := |
| 133 | ((presheafToSheaf (Opens.grothendieckTopology Y) AddCommGrpCat).mapHomologicalComplex |
| 134 | (ComplexShape.up ℕ)).map (originalRationalToComplexSingularPresheafMap Y) |
| 135 | |
| 136 | set_option backward.isDefEq.respectTransparency false in |
| 137 | /-- Sheafification retains the original constant-augmentation coefficient square. -/ |
| 138 | theorem originalRationalToComplexSingularSheafMap_constants_zero (Y : TopCat.{0}) : |
| 139 | AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainZeroSheaf ℚ Y ≫ |
| 140 | (originalRationalToComplexSingularSheafMap Y).f 0 = |
| 141 | (AlgebraicTopology.Sheaf.Constant.TopCat.constantFunctor Y).map |
| 142 | (AddCommGrpCat.ofHom (algebraMap ℚ ℂ).toAddMonoidHom) ≫ |
| 143 | AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainZeroSheaf ℂ Y := by |
| 144 | let S := presheafToSheaf (Opens.grothendieckTopology Y) AddCommGrpCat |
| 145 | change S.map (AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainZero ℚ Y) ≫ |
| 146 | S.map ((originalRationalToComplexSingularPresheafMap Y).f 0) = |
| 147 | S.map ((Functor.const (Opens Y)ᵒᵖ).map |
| 148 | (AddCommGrpCat.ofHom (algebraMap ℚ ℂ).toAddMonoidHom)) ≫ |
| 149 | S.map (AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainZero ℂ Y) |
| 150 | rw [← Functor.map_comp, ← Functor.map_comp, |
| 151 | originalRationalToComplexSingularPresheafMap_constants] |
| 152 | |
| 153 | set_option backward.isDefEq.respectTransparency false in |
| 154 | /-- The coefficient square holds for the whole original nonnegative resolution. -/ |
| 155 | theorem originalRationalToComplexSingularSheafMap_constants (Y : TopCat.{0}) : |
| 156 | AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainSheafComplex ℚ Y ≫ |
| 157 | originalRationalToComplexSingularSheafMap Y = |
| 158 | (CochainComplex.single₀ (TopCat.Sheaf AddCommGrpCat Y)).map |
| 159 | ((AlgebraicTopology.Sheaf.Constant.TopCat.constantFunctor Y).map |
| 160 | (AddCommGrpCat.ofHom (algebraMap ℚ ℂ).toAddMonoidHom)) ≫ |
| 161 | AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainSheafComplex ℂ Y := by |
| 162 | apply HomologicalComplex.hom_ext |
| 163 | intro i |
| 164 | cases i with |
| 165 | | zero => |
| 166 | change AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainZeroSheaf ℚ Y ≫ |
| 167 | (originalRationalToComplexSingularSheafMap Y).f 0 = |
| 168 | (AlgebraicTopology.Sheaf.Constant.TopCat.constantFunctor Y).map |
| 169 | (AddCommGrpCat.ofHom (algebraMap ℚ ℂ).toAddMonoidHom) ≫ |
| 170 | AlgebraicTopology.Singular.SheafCochain.constantsToSingularCochainZeroSheaf ℂ Y |
| 171 | exact originalRationalToComplexSingularSheafMap_constants_zero Y |
| 172 | | succ n => |
| 173 | exact (HomologicalComplex.isZero_single_obj_X (ComplexShape.up ℕ) 0 |
| 174 | ((AlgebraicTopology.Sheaf.Constant.TopCat.constantFunctor Y).obj (AddCommGrpCat.of ℚ)) |
| 175 | (n + 1) (Nat.succ_ne_zero n)).eq_of_src _ _ |
| 176 | |
| 177 | variable (X : Over (Spec (.of ℂ))) |
| 178 | |
| 179 | /-- Extend the same genuine coefficient map by zero into integer degrees. -/ |
| 180 | def originalRationalToComplexSingularSheafIntMap : |
| 181 | ComplexPoint.Basic.ComplexSchemePoint.singularCochainSheafComplexInt X ℚ ⟶ ComplexPoint.Basic.ComplexSchemePoint.singularCochainSheafComplexInt X ℂ := |
| 182 | HomologicalComplex.extendMap |
| 183 | (originalRationalToComplexSingularSheafMap (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X))) |
| 184 | ComplexShape.embeddingUpNat |
| 185 | |
| 186 | set_option backward.isDefEq.respectTransparency false in |
| 187 | /-- Exact compatibility with the original rational constant-sheaf coefficient map. -/ |
| 188 | theorem originalRationalToComplexSingularSheafIntMap_constants : |
| 189 | ComplexPoint.Basic.ComplexSchemePoint.constantsToSingularCochainComplexInt X ℚ ≫ |
| 190 | originalRationalToComplexSingularSheafIntMap X = |
| 191 | ComplexPoint.Basic.ComplexSchemePoint.fieldToComplexConstantSheafComplexInt ℚ X ≫ ComplexPoint.Basic.ComplexSchemePoint.constantsToSingularCochainComplexInt X ℂ := by |
| 192 | unfold originalRationalToComplexSingularSheafIntMap ComplexPoint.Basic.ComplexSchemePoint.constantsToSingularCochainComplexInt |
| 193 | ComplexPoint.Basic.ComplexSchemePoint.fieldToComplexConstantSheafComplexInt |
| 194 | rw [← HomologicalComplex.extendMap_comp, ← HomologicalComplex.extendMap_comp, |
| 195 | originalRationalToComplexSingularSheafMap_constants] |
| 196 | |
| 197 | end |
| 198 | |
| 199 | end OAI.AlgebraicGeometry.ComplexMultiplication.Reference.RationalCoefficient |