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.HodgeConjecture.DegreeTwo.SingularPeriodsD |
| 2 | import Mathlib.Algebra.Category.Grp.Injective |
| 3 | |
| 4 | /-! # Period Surjectivity One -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PeriodSurjectivityOne.Constructions.PeriodSurjectivity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # DegreeTwo: realizing lattice characters by singular cocycles |
| 12 | |
| 13 | A characteristic-zero field-valued lattice character extends additively to the covering vector space |
| 14 | because the additive group of the coefficient field is injective. Its zero-cochain |
| 15 | coboundary is unchanged when a simplex lift is translated by a lattice |
| 16 | element, so that coboundary descends to an actual singular one-cocycle. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory Opposite |
| 20 | open scoped Simplicial _root_.Topology |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SingularPeriodsD.Constructions.SingularPeriods OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.OnePrimitives.Constructions.DegreeOnePrimitives |
| 23 | |
| 24 | variable {K : Type} [Field K] |
| 25 | |
| 26 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 27 | (Λ : Submodule ℤ V) [DiscreteTopology Λ] |
| 28 | |
| 29 | omit [NormedSpace ℝ V] [DiscreteTopology Λ] in |
| 30 | /-- Any field-valued character on the lattice has an additive extension to V. -/ |
| 31 | theorem exists_additive_extension [CharZero K] (φ : Λ →+ K) : |
| 32 | ∃ F : V →+ K, ∀ ℓ : Λ, F ℓ = φ ℓ := by |
| 33 | let : Module.Injective ℤ K := (Module.Baer.of_divisible K).injective |
| 34 | obtain ⟨F, hF⟩ := Module.Injective.out Λ.subtype Λ.subtype_injective φ.toIntLinearMap |
| 35 | exact ⟨F.toAddMonoidHom, hF⟩ |
| 36 | |
| 37 | omit [NormedSpace ℝ V] in |
| 38 | /-- Two continuous lifts over a connected parameter space differ by a |
| 39 | single lattice translation. -/ |
| 40 | theorem lift_difference_constant {S : Type} [TopologicalSpace S] [PreconnectedSpace S] |
| 41 | (a b : C(S, V)) |
| 42 | (hab : ∀ s, (QuotientAddGroup.mk (a s) : V ⧸ Λ.toAddSubgroup) = QuotientAddGroup.mk (b s)) |
| 43 | (s t : S) : a s - b s = a t - b t := by |
| 44 | let d : S → Λ := fun z => ⟨a z - b z, QuotientAddGroup.eq_iff_sub_mem.mp (hab z)⟩ |
| 45 | have hd : Continuous d := (a.continuous.sub b.continuous).subtype_mk _ |
| 46 | have hl : IsLocallyConstant d := (IsLocallyConstant.iff_continuous d).mpr hd |
| 47 | exact congrArg Subtype.val (hl.apply_eq_of_preconnectedSpace s t) |
| 48 | |
| 49 | /-- An additive function is used as a genuine singular zero-cochain. -/ |
| 50 | def additiveZeroCochain (F : V →+ K) : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).X 0 := |
| 51 | (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).inv (fun v => F v) |
| 52 | |
| 53 | omit [NormedSpace ℝ V] in |
| 54 | @[simp] |
| 55 | theorem additiveZeroCochain_value (F : V →+ K) (v : V) : |
| 56 | (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).hom (additiveZeroCochain F) v = F v := by |
| 57 | change (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).hom |
| 58 | ((AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).inv (fun v => F v)) v = F v |
| 59 | rw [Iso.inv_hom_id_apply] |
| 60 | |
| 61 | omit [NormedSpace ℝ V] in |
| 62 | /-- The coboundary of an additive point function is its endpoint difference. -/ |
| 63 | theorem additiveCoboundary_apply (F : V →+ K) |
| 64 | (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V)) 1) : |
| 65 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))) (ModuleCat.of K K) 1).hom |
| 66 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).d 0 1 (additiveZeroCochain F)) s = |
| 67 | F (TopCat.toSSetObj₁Equiv s 1) - F (TopCat.toSSetObj₁Equiv s 0) := by |
| 68 | rw [AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCoboundary_apply, additiveZeroCochain_value, additiveZeroCochain_value, |
| 69 | TopCat.toSSetObj₁Equiv_apply_one, TopCat.toSSetObj₁Equiv_apply_zero] |
| 70 | |
| 71 | omit [NormedSpace ℝ V] in |
| 72 | /-- Endpoint differences of an additive function are independent of the |
| 73 | chosen lift of a singular edge. -/ |
| 74 | theorem additiveCoboundary_lift_invariant (F : V →+ K) |
| 75 | (s t : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V)) 1) |
| 76 | (hst : (TopCat.toSSet.map (SingularPeriodsD.Constructions.SingularPeriods.projection Λ)).app (op ⦋1⦌) s = |
| 77 | (TopCat.toSSet.map (SingularPeriodsD.Constructions.SingularPeriods.projection Λ)).app (op ⦋1⦌) t) : |
| 78 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))) (ModuleCat.of K K) 1).hom |
| 79 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).d 0 1 (additiveZeroCochain F)) s = |
| 80 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))) (ModuleCat.of K K) 1).hom |
| 81 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).d 0 1 (additiveZeroCochain F)) t := by |
| 82 | let a := TopCat.toSSetObj₁Equiv s |
| 83 | let b := TopCat.toSSetObj₁Equiv t |
| 84 | let : PreconnectedSpace TopCat.I := by |
| 85 | constructor |
| 86 | rw [← TopCat.I.homeomorph.symm.surjective.range_eq] |
| 87 | exact isPreconnected_range TopCat.I.homeomorph.symm.continuous |
| 88 | have hab (z : TopCat.I) : |
| 89 | (QuotientAddGroup.mk (a z) : V ⧸ Λ.toAddSubgroup) = QuotientAddGroup.mk (b z) := by |
| 90 | exact congrArg (fun u => TopCat.toSSetObj₁Equiv u z) hst |
| 91 | have hd := lift_difference_constant Λ a.hom b.hom hab 1 0 |
| 92 | have h := congrArg F hd |
| 93 | rw [map_sub, map_sub] at h |
| 94 | rw [additiveCoboundary_apply, additiveCoboundary_apply] |
| 95 | change F (a 1) - F (a 0) = F (b 1) - F (b 0) |
| 96 | exact sub_eq_sub_iff_sub_eq_sub.mp h |
| 97 | |
| 98 | omit [NormedSpace ℝ V] in |
| 99 | theorem projection_covering : IsCoveringMap (SingularPeriodsD.Constructions.SingularPeriods.projection Λ) := |
| 100 | (Λ.toAddSubgroup.isAddQuotientCoveringMap_of_comm |
| 101 | (SetLike.isDiscrete_iff_discreteTopology.mpr inferInstance)).isCoveringMap |
| 102 | |
| 103 | /-- Choose an actual lift of each singular edge. -/ |
| 104 | def edgeLift (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices (SingularPeriodsD.Constructions.SingularPeriods.Base Λ) 1) : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V)) 1 := |
| 105 | (SingularCoveringLift.Constructions.SingularCovering.singularSimplex_map_surjective (SingularPeriodsD.Constructions.SingularPeriods.projection Λ) (projection_covering Λ) |
| 106 | QuotientAddGroup.mk_surjective 1 s).choose |
| 107 | |
| 108 | omit [NormedSpace ℝ V] in |
| 109 | theorem edgeLift_spec (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices (SingularPeriodsD.Constructions.SingularPeriods.Base Λ) 1) : |
| 110 | (TopCat.toSSet.map (SingularPeriodsD.Constructions.SingularPeriods.projection Λ)).app (op ⦋1⦌) (edgeLift Λ s) = s := |
| 111 | (SingularCoveringLift.Constructions.SingularCovering.singularSimplex_map_surjective (SingularPeriodsD.Constructions.SingularPeriods.projection Λ) (projection_covering Λ) |
| 112 | QuotientAddGroup.mk_surjective 1 s).choose_spec |
| 113 | |
| 114 | /-- Descend the coboundary of the additive extension by lifting edges. -/ |
| 115 | def descendedOneCochain (F : V →+ K) : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Λ)).X 1 := |
| 116 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (SingularPeriodsD.Constructions.SingularPeriods.Base Λ)) (ModuleCat.of K K) 1).inv |
| 117 | (fun s => (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))) (ModuleCat.of K K) 1).hom |
| 118 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).d 0 1 (additiveZeroCochain F)) (edgeLift Λ s)) |
| 119 | |
| 120 | omit [NormedSpace ℝ V] in |
| 121 | theorem descendedOneCochain_apply (F : V →+ K) (s : AlgebraicTopology.Cohomology.Singular.Basic.singularSimplices (SingularPeriodsD.Constructions.SingularPeriods.Base Λ) 1) : |
| 122 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (SingularPeriodsD.Constructions.SingularPeriods.Base Λ)) (ModuleCat.of K K) 1).hom |
| 123 | (descendedOneCochain Λ F) s = |
| 124 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))) (ModuleCat.of K K) 1).hom |
| 125 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).d 0 1 (additiveZeroCochain F)) (edgeLift Λ s) := by |
| 126 | unfold descendedOneCochain |
| 127 | rw [Iso.inv_hom_id_apply] |
| 128 | |
| 129 | omit [NormedSpace ℝ V] in |
| 130 | /-- Pulling back the descended cochain recovers the actual coboundary of F. -/ |
| 131 | theorem descendedOneCochain_pullback (F : V →+ K) : |
| 132 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.projection Λ)).f 1 (descendedOneCochain Λ F) = |
| 133 | (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).d 0 1 (additiveZeroCochain F) := by |
| 134 | apply (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))) (ModuleCat.of K K) 1).toLinearEquiv.injective |
| 135 | change (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))) (ModuleCat.of K K) 1).hom |
| 136 | ((AlgebraicTopology.Cohomology.Singular.Functor.simplicialPullback (ModuleCat.of K K) (TopCat.toSSet.map (SingularPeriodsD.Constructions.SingularPeriods.projection Λ))).f 1 (descendedOneCochain Λ F)) = _ |
| 137 | ext s |
| 138 | rw [AlgebraicTopology.Cohomology.Singular.Formulas.degreewiseFunctionIso_pullback, descendedOneCochain_apply] |
| 139 | exact additiveCoboundary_lift_invariant Λ F _ s (edgeLift_spec Λ _) |
| 140 | |
| 141 | omit [NormedSpace ℝ V] in |
| 142 | /-- The descended cochain is closed, as can be tested after pulling back |
| 143 | to the covering, where it is literally a coboundary. -/ |
| 144 | theorem descendedOneCochain_closed (F : V →+ K) : |
| 145 | (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Λ)).d 1 2 (descendedOneCochain Λ F) = 0 := by |
| 146 | apply SingularCoveringLift.Constructions.SingularCovering.singularPullback_injective (SingularPeriodsD.Constructions.SingularPeriods.projection Λ) (projection_covering Λ) |
| 147 | QuotientAddGroup.mk_surjective (ModuleCat.of K K) 2 |
| 148 | rw [map_zero] |
| 149 | have hcomm := ConcreteCategory.congr_hom ((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.projection Λ)).comm 1 2) |
| 150 | (descendedOneCochain Λ F) |
| 151 | have hd := ConcreteCategory.congr_hom |
| 152 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).d_comp_d 0 1 2) (additiveZeroCochain F) |
| 153 | change (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).d 1 2 |
| 154 | ((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.projection Λ)).f 1 (descendedOneCochain Λ F)) = |
| 155 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.projection Λ)).f 2 |
| 156 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Λ)).d 1 2 (descendedOneCochain Λ F)) at hcomm |
| 157 | rw [← hcomm, descendedOneCochain_pullback] |
| 158 | exact hd |
| 159 | |
| 160 | /-- The actual singular cocycle obtained from an additive extension. -/ |
| 161 | def descendedCocycle (F : V →+ K) : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Λ) 1 := |
| 162 | ⟨descendedOneCochain Λ F, |
| 163 | (AlgebraicTopology.Cohomology.Singular.Representatives.mem_cochainCocycles_iff _ _ _).mpr (descendedOneCochain_closed Λ F)⟩ |
| 164 | |
| 165 | /-- The normalized primitive of this cocycle is the original additive |
| 166 | function, interpreted as an actual singular zero-cochain. -/ |
| 167 | theorem primitive_descendedCocycle (F : V →+ K) : |
| 168 | SingularPeriodsD.Constructions.SingularPeriods.primitive Λ (descendedCocycle Λ F) = additiveZeroCochain F := by |
| 169 | apply OnePrimitives.Constructions.DegreeOnePrimitives.zeroCochain_eq_of_d_eq (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V)) 0 |
| 170 | · rw [SingularPeriodsD.Constructions.SingularPeriods.primitive_d] |
| 171 | exact descendedOneCochain_pullback Λ F |
| 172 | · change SingularPeriodsD.Constructions.SingularPeriods.primitiveValue Λ (descendedCocycle Λ F) 0 = |
| 173 | (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).hom (additiveZeroCochain F) 0 |
| 174 | rw [SingularPeriodsD.Constructions.SingularPeriods.primitiveValue_zero, additiveZeroCochain_value, map_zero] |
| 175 | |
| 176 | /-- The constructed cocycle realizes precisely the prescribed periods. -/ |
| 177 | theorem periodHom_descendedCocycle (F : V →+ K) (ℓ : Λ) : |
| 178 | SingularPeriodsD.Constructions.SingularPeriods.periodHom Λ (descendedCocycle Λ F) ℓ = F ℓ := by |
| 179 | change (AlgebraicTopology.Cohomology.Singular.Augmentation.singularZeroCochainPointIso (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V))).hom |
| 180 | (SingularPeriodsD.Constructions.SingularPeriods.primitive Λ (descendedCocycle Λ F)) ℓ = F ℓ |
| 181 | rw [primitive_descendedCocycle, additiveZeroCochain_value] |
| 182 | |
| 183 | variable [CharZero K] |
| 184 | |
| 185 | /-- Every additive field-valued lattice character occurs as the period map |
| 186 | of a genuine singular H¹ class. -/ |
| 187 | theorem cohomologyPeriod_surjective : Function.Surjective (SingularPeriodsD.Constructions.SingularPeriods.cohomologyPeriod (K := K) Λ) := by |
| 188 | intro φ |
| 189 | obtain ⟨F, hF⟩ := exists_additive_extension Λ φ |
| 190 | refine ⟨AlgebraicTopology.Cohomology.Singular.Representatives.singularClass (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Λ) 1 (descendedCocycle Λ F), ?_⟩ |
| 191 | rw [SingularPeriodsD.Constructions.SingularPeriods.cohomologyPeriod_class] |
| 192 | ext ℓ |
| 193 | exact (periodHom_descendedCocycle Λ F ℓ).trans (hF ℓ) |
| 194 | |
| 195 | /-- The actual singular H¹ of a lattice quotient is canonically its |
| 196 | space of additive field-valued lattice characters. -/ |
| 197 | def cohomologyPeriodEquiv : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of K K) (SingularPeriodsD.Constructions.SingularPeriods.Base Λ) 1 ≃ₗ[K] (Λ →+ K) := |
| 198 | LinearEquiv.ofBijective (SingularPeriodsD.Constructions.SingularPeriods.cohomologyPeriod Λ) |
| 199 | ⟨SingularPeriodsD.Constructions.SingularPeriods.cohomologyPeriod_injective Λ, cohomologyPeriod_surjective Λ⟩ |
| 200 | |
| 201 | end |
| 202 | |
| 203 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PeriodSurjectivityOne.Constructions.PeriodSurjectivity |