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.CycleClass.Thom.PrincipalBoundary |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.WindingLoop |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.Winding |
| 4 | |
| 5 | /-! # Winding Normalization -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.CycleClass.Thom.WindingNormalization.Constructions.PrincipalBoundary |
| 12 | |
| 13 | /-! |
| 14 | # ThomClass: logarithmic winding and the fixed normal-class normalization |
| 15 | |
| 16 | The actual singular logarithm cocycle gives a nonzero winding generator. |
| 17 | Transporting it to the normal-coordinate complex line and applying the |
| 18 | connecting map determines a nonzero rational coefficient relative to the |
| 19 | project's fixed oriented normal class. This coefficient is constructed and |
| 20 | proved nonzero; it is not an assumed comparison of algebraic cycle classes. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 24 | |
| 25 | /-- The literal coordinate identification of the two punctured complex-line models. -/ |
| 26 | def puncturedLineCoordinateHomeomorph : PrincipalBoundary.Constructions.puncturedComplexLine ≃ₜ DivisorClass.Chern.WindingLoop.puncturedPlane where |
| 27 | toFun z := ⟨z.val 0, fun h => z.property (by |
| 28 | apply Set.mem_singleton_iff.mpr |
| 29 | funext i |
| 30 | exact (congrArg z.val (Subsingleton.elim i 0)).trans h)⟩ |
| 31 | invFun z := ⟨fun _ => z.val, fun h => z.property (congrFun (Set.mem_singleton_iff.mp h) 0)⟩ |
| 32 | left_inv z := Subtype.ext (funext fun i => congrArg z.val (Subsingleton.elim 0 i)) |
| 33 | right_inv _ := rfl |
| 34 | continuous_toFun := ((continuous_apply 0).comp continuous_subtype_val).subtype_mk _ |
| 35 | continuous_invFun := (continuous_pi fun _ => continuous_subtype_val).subtype_mk _ |
| 36 | |
| 37 | def puncturedLineCoordinateIso : TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine ≅ DivisorClass.Chern.WindingLoop.puncturedPlane := |
| 38 | TopCat.isoOfHomeo puncturedLineCoordinateHomeomorph |
| 39 | |
| 40 | /-- The explicit nonzero logarithmic winding class in the normal-coordinate model. -/ |
| 41 | def logarithmicLineWinding : |
| 42 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine) 1 := |
| 43 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) puncturedLineCoordinateIso.hom 1 |
| 44 | (DivisorClass.Chern.WindingSingular.singularWindingClass DivisorClass.Chern.WindingLoop.puncturedPlane DivisorClass.Chern.WindingLoop.puncturedCoordinate DivisorClass.Chern.WindingLoop.puncturedCoordinate_ne_zero) |
| 45 | |
| 46 | theorem logarithmicLineWinding_ne_zero : logarithmicLineWinding ≠ 0 := by |
| 47 | let e := (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyFunctor (ModuleCat.of ℚ ℚ) 1).mapIso puncturedLineCoordinateIso.op |
| 48 | intro h |
| 49 | apply DivisorClass.Chern.WindingLoop.singularWindingClass_punctured_ne_zero |
| 50 | apply e.toLinearEquiv.injective |
| 51 | exact h.trans e.toLinearEquiv.map_zero.symm |
| 52 | |
| 53 | /-- The actual logarithmic residue in the relative cohomology of the normal line. -/ |
| 54 | def logarithmicLineResidue : |
| 55 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) PrincipalBoundary.Constructions.normalComplexLine PrincipalBoundary.Constructions.puncturedComplexLine 2 := |
| 56 | PrincipalBoundary.Constructions.lineConnectingIso.hom logarithmicLineWinding |
| 57 | |
| 58 | theorem logarithmicLineResidue_ne_zero : logarithmicLineResidue ≠ 0 := by |
| 59 | intro h |
| 60 | apply logarithmicLineWinding_ne_zero |
| 61 | apply PrincipalBoundary.Constructions.lineConnectingIso.toLinearEquiv.injective |
| 62 | exact h.trans PrincipalBoundary.Constructions.lineConnectingIso.toLinearEquiv.map_zero.symm |
| 63 | |
| 64 | /-- The rational normalization coefficient is computed from the fixed local cohomology isomorphism. -/ |
| 65 | def logarithmicNormalCoefficient : ℚ := |
| 66 | Geometric.RationalLocalPurity.Cycles.complexNormalRationalTopCohomologyEquiv 1 logarithmicLineResidue |
| 67 | |
| 68 | theorem logarithmicNormalCoefficient_ne_zero : logarithmicNormalCoefficient ≠ 0 := by |
| 69 | intro h |
| 70 | apply logarithmicLineResidue_ne_zero |
| 71 | apply (Geometric.RationalLocalPurity.Cycles.complexNormalRationalTopCohomologyEquiv 1).injective |
| 72 | exact h.trans (map_zero (Geometric.RationalLocalPurity.Cycles.complexNormalRationalTopCohomologyEquiv 1)).symm |
| 73 | |
| 74 | theorem logarithmicLineResidue_eq_normal : |
| 75 | logarithmicLineResidue = logarithmicNormalCoefficient • Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1 := by |
| 76 | apply (Geometric.RationalLocalPurity.Cycles.complexNormalRationalTopCohomologyEquiv 1).injective |
| 77 | rw [map_smul, Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass_normalization] |
| 78 | exact (mul_one logarithmicNormalCoefficient).symm |
| 79 | |
| 80 | /-- The same nonzero normalization relates the actual winding classes. -/ |
| 81 | theorem logarithmicLineWinding_eq_normalized : |
| 82 | logarithmicLineWinding = logarithmicNormalCoefficient • PrincipalBoundary.Constructions.lineWindingClass := by |
| 83 | apply PrincipalBoundary.Constructions.lineConnectingIso.toLinearEquiv.injective |
| 84 | change logarithmicLineResidue = PrincipalBoundary.Constructions.lineConnectingIso.hom (_ • PrincipalBoundary.Constructions.lineWindingClass) |
| 85 | rw [map_smul] |
| 86 | exact logarithmicLineResidue_eq_normal.trans |
| 87 | (congrArg (fun a => logarithmicNormalCoefficient • a) PrincipalBoundary.Constructions.lineWindingClass_boundary.symm) |
| 88 | |
| 89 | /-- A punctured-line map expressed as an actual nonvanishing complex-valued function. -/ |
| 90 | def puncturedMapCoordinate {X : TopCat} (g : X ⟶ TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine) : C(X, ℂ) := |
| 91 | DivisorClass.Chern.WindingLoop.puncturedCoordinate.comp (g ≫ puncturedLineCoordinateIso.hom).hom |
| 92 | |
| 93 | theorem puncturedMapCoordinate_ne_zero {X : TopCat} (g : X ⟶ TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine) |
| 94 | (x : X) : puncturedMapCoordinate g x ≠ 0 := |
| 95 | DivisorClass.Chern.WindingLoop.puncturedCoordinate_ne_zero _ |
| 96 | |
| 97 | /-- The actual logarithm cocycle of a function equals the fixed nonzero |
| 98 | coefficient times ThomClass's normalized winding pullback. -/ |
| 99 | theorem singularWindingClass_eq_normalized {X : TopCat} |
| 100 | (g : X ⟶ TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine) : |
| 101 | DivisorClass.Chern.WindingSingular.singularWindingClass X (puncturedMapCoordinate g) (puncturedMapCoordinate_ne_zero g) = |
| 102 | logarithmicNormalCoefficient • |
| 103 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) g 1 PrincipalBoundary.Constructions.lineWindingClass := by |
| 104 | have h := DivisorClass.Chern.WindingSingular.singularWindingClass_naturality (g ≫ puncturedLineCoordinateIso.hom) |
| 105 | DivisorClass.Chern.WindingLoop.puncturedCoordinate DivisorClass.Chern.WindingLoop.puncturedCoordinate_ne_zero |
| 106 | rw [AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback_comp] at h |
| 107 | change AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) g 1 logarithmicLineWinding = |
| 108 | DivisorClass.Chern.WindingSingular.singularWindingClass X (puncturedMapCoordinate g) (puncturedMapCoordinate_ne_zero g) at h |
| 109 | rw [logarithmicLineWinding_eq_normalized, map_smul] at h |
| 110 | exact h.symm |
| 111 | |
| 112 | /-- Applying the genuine connecting map gives the corresponding supported comparison. -/ |
| 113 | theorem supportedWindingClass_eq_normalized {X : TopCat} (A : Set X) |
| 114 | (g : TopCat.of A ⟶ TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine) : |
| 115 | DivisorClass.Chern.Supported.Winding.supportedWindingClass X A (puncturedMapCoordinate g) (puncturedMapCoordinate_ne_zero g) = |
| 116 | logarithmicNormalCoefficient • AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) X A 1 |
| 117 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) g 1 PrincipalBoundary.Constructions.lineWindingClass) := by |
| 118 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) X A 1 |
| 119 | (DivisorClass.Chern.WindingSingular.singularWindingClass (TopCat.of A) _ _) = _ |
| 120 | rw [singularWindingClass_eq_normalized, map_smul] |
| 121 | |
| 122 | end AlgebraicGeometry.CycleClass.Thom.WindingNormalization.Constructions.PrincipalBoundary |
| 123 | |
| 124 | namespace AlgebraicGeometry.CycleClass.Thom.WindingNormalization.Constructions.Multiplicity |
| 125 | |
| 126 | /-! Algebraic-looking local equations have their actual integer winding |
| 127 | multiplicity, and multiplication by an extending unit does not change it. -/ |
| 128 | |
| 129 | open _root_.CategoryTheory |
| 130 | |
| 131 | set_option backward.isDefEq.respectTransparency false |
| 132 | set_option backward.isDefEq.respectTransparency.types false |
| 133 | |
| 134 | def normalizedWindingBoundary (X : TopCat.{0}) (A : Set X) |
| 135 | (g : TopCat.of A ⟶ TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine) : |
| 136 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A 2 := |
| 137 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) X A 1 |
| 138 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) g 1 PrincipalBoundary.Constructions.lineWindingClass) |
| 139 | |
| 140 | theorem normalizedWindingBoundary_unit_power (X : TopCat.{0}) (A : Set X) |
| 141 | (g f : TopCat.of A ⟶ TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine) |
| 142 | (u : C(X, ℂ)) (hu : ∀ x, u x ≠ 0) (m : ℤ) |
| 143 | (hfg : ∀ x, PrincipalBoundary.puncturedMapCoordinate f x = PrincipalBoundary.puncturedMapCoordinate g x ^ m * u x.val) : |
| 144 | normalizedWindingBoundary X A f = m • normalizedWindingBoundary X A g := by |
| 145 | have h := DivisorClass.Chern.Supported.Winding.supportedWindingClass_unit_power X A (PrincipalBoundary.puncturedMapCoordinate g) (PrincipalBoundary.puncturedMapCoordinate f) |
| 146 | (PrincipalBoundary.puncturedMapCoordinate_ne_zero g) (PrincipalBoundary.puncturedMapCoordinate_ne_zero f) u hu m hfg |
| 147 | rw [PrincipalBoundary.supportedWindingClass_eq_normalized, PrincipalBoundary.supportedWindingClass_eq_normalized] at h |
| 148 | apply smul_right_injective _ PrincipalBoundary.logarithmicNormalCoefficient_ne_zero |
| 149 | exact h.trans (smul_comm m PrincipalBoundary.logarithmicNormalCoefficient _) |
| 150 | |
| 151 | theorem normalizedWindingBoundary_absolute_zero (X : TopCat.{0}) (A : Set X) |
| 152 | (g : TopCat.of A ⟶ TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine) : |
| 153 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) X A 2 (normalizedWindingBoundary X A g) = 0 := |
| 154 | ConcreteCategory.congr_hom (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting_inclusion (ModuleCat.of ℚ ℚ) X A 1) |
| 155 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) g 1 PrincipalBoundary.Constructions.lineWindingClass) |
| 156 | |
| 157 | theorem normalizedWindingBoundary_equation {X : TopCat.{0}} (A : Set X) |
| 158 | (g : X ⟶ PrincipalBoundary.Constructions.normalComplexLine) (hg : Set.MapsTo g A PrincipalBoundary.Constructions.puncturedComplexLine) : |
| 159 | normalizedWindingBoundary X A (Geometric.LocalHomology.Cycles.subspaceMap g hg) = |
| 160 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) g hg 2 (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1) := by |
| 161 | have h := ConcreteCategory.congr_hom |
| 162 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting_naturality (ModuleCat.of ℚ ℚ) g hg 1) PrincipalBoundary.Constructions.lineWindingClass |
| 163 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) g hg 2 |
| 164 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) PrincipalBoundary.Constructions.normalComplexLine PrincipalBoundary.Constructions.puncturedComplexLine 1 PrincipalBoundary.Constructions.lineWindingClass) = |
| 165 | normalizedWindingBoundary X A (Geometric.LocalHomology.Cycles.subspaceMap g hg) at h |
| 166 | rw [PrincipalBoundary.Constructions.lineWindingClass_boundary] at h |
| 167 | exact h.symm |
| 168 | |
| 169 | end AlgebraicGeometry.CycleClass.Thom.WindingNormalization.Constructions.Multiplicity |
| 170 | |
| 171 | namespace AlgebraicGeometry.CycleClass.Thom.WindingNormalization.Constructions.BoundaryNaturality |
| 172 | |
| 173 | /-! Naturality of the normalized winding boundary for actual maps of |
| 174 | pairs, including restriction of a function to a larger closed support. -/ |
| 175 | |
| 176 | open _root_.CategoryTheory |
| 177 | |
| 178 | open OAI.AlgebraicGeometry.CycleClass.Thom.WindingNormalization.Constructions.Multiplicity |
| 179 | |
| 180 | set_option backward.isDefEq.respectTransparency false |
| 181 | set_option backward.isDefEq.respectTransparency.types false |
| 182 | |
| 183 | theorem normalizedWindingBoundary_naturality {X Y : TopCat.{0}} |
| 184 | (A : Set X) (B : Set Y) (f : X ⟶ Y) (hf : Set.MapsTo f A B) |
| 185 | (g : TopCat.of B ⟶ TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine) : |
| 186 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hf 2 |
| 187 | (Multiplicity.normalizedWindingBoundary Y B g) = |
| 188 | Multiplicity.normalizedWindingBoundary X A (Geometric.LocalHomology.Cycles.subspaceMap f hf ≫ g) := by |
| 189 | have hn := ConcreteCategory.congr_hom |
| 190 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting_naturality (ModuleCat.of ℚ ℚ) f hf 1) |
| 191 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) g 1 PrincipalBoundary.Constructions.lineWindingClass) |
| 192 | have hc := ConcreteCategory.congr_hom |
| 193 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback_comp (ModuleCat.of ℚ ℚ) (Geometric.LocalHomology.Cycles.subspaceMap f hf) g 1) |
| 194 | PrincipalBoundary.Constructions.lineWindingClass |
| 195 | exact hn.trans (congrArg |
| 196 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) X A 1) hc.symm) |
| 197 | |
| 198 | theorem equation_eq_boundary_restriction {X : TopCat.{0}} (A B : Set X) |
| 199 | (hAB : A ⊆ B) (f : X ⟶ PrincipalBoundary.Constructions.normalComplexLine) |
| 200 | (hf : Set.MapsTo f A PrincipalBoundary.Constructions.puncturedComplexLine) |
| 201 | (g : TopCat.of B ⟶ TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine) |
| 202 | (hfg : ∀ x : A, f x.val 0 = (g ⟨x.val, hAB x.property⟩).val 0) : |
| 203 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f hf 2 |
| 204 | (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1) = |
| 205 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 X) hAB 2 |
| 206 | (Multiplicity.normalizedWindingBoundary X B g) := by |
| 207 | have hm : Geometric.LocalHomology.Cycles.subspaceMap (𝟙 X) (A := A) (B := B) hAB ≫ g = Geometric.LocalHomology.Cycles.subspaceMap f hf := by |
| 208 | ext x i |
| 209 | fin_cases i |
| 210 | exact (hfg x).symm |
| 211 | rw [normalizedWindingBoundary_naturality, hm, Multiplicity.normalizedWindingBoundary_equation] |
| 212 | |
| 213 | end AlgebraicGeometry.CycleClass.Thom.WindingNormalization.Constructions.BoundaryNaturality |
| 214 | |
| 215 | end |
| 216 | |
| 217 | end OAI |