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.Analysis.HodgeTheory.Decomposition.Projectors |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.ProjectiveComponentPureEquiv |
| 3 | import OAI.AlgebraicTopology.DeRham.Comparison.ManifoldDolbeaultIdentities |
| 4 | |
| 5 | /-! # Dolbeault -/ |
| 6 | |
| 7 | namespace OAI.Analysis.HodgeTheory.Decomposition.Dolbeault.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Genuine Dolbeault differentials on all projective components and preservation |
| 14 | of the form filtration by the exterior derivative. -/ |
| 15 | |
| 16 | open scoped BigOperators |
| 17 | |
| 18 | variable (X : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 19 | |
| 20 | def componentDPrime (p q : ℕ) : |
| 21 | X.componentPureForms p q →ₗ[ℂ] X.componentPureForms (p + 1) q where |
| 22 | toFun form := (X.componentPureFormsEquiv (p + 1) q).symm |
| 23 | (fun C => DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dPrime (X.componentPureFormsEquiv p q form C)) |
| 24 | map_add' f g := by |
| 25 | apply (X.componentPureFormsEquiv (p + 1) q).injective |
| 26 | funext C |
| 27 | simp only [LinearEquiv.apply_symm_apply, map_add, Pi.add_apply] |
| 28 | map_smul' c f := by |
| 29 | apply (X.componentPureFormsEquiv (p + 1) q).injective |
| 30 | funext C |
| 31 | simp only [LinearEquiv.apply_symm_apply, map_smul, Pi.smul_apply, RingHom.id_apply] |
| 32 | |
| 33 | def componentDDoublePrime (p q : ℕ) : |
| 34 | X.componentPureForms p q →ₗ[ℂ] X.componentPureForms p (q + 1) where |
| 35 | toFun form := (X.componentPureFormsEquiv p (q + 1)).symm |
| 36 | (fun C => DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dDoublePrime (X.componentPureFormsEquiv p q form C)) |
| 37 | map_add' f g := by |
| 38 | apply (X.componentPureFormsEquiv p (q + 1)).injective |
| 39 | funext C |
| 40 | simp only [LinearEquiv.apply_symm_apply, map_add, Pi.add_apply] |
| 41 | map_smul' c f := by |
| 42 | apply (X.componentPureFormsEquiv p (q + 1)).injective |
| 43 | funext C |
| 44 | simp only [LinearEquiv.apply_symm_apply, map_smul, Pi.smul_apply, RingHom.id_apply] |
| 45 | |
| 46 | @[simp] |
| 47 | theorem componentDPrime_apply (p q : ℕ) (form : X.componentPureForms p q) |
| 48 | (C : irreducibleComponents X.carrier) : |
| 49 | (componentDPrime X p q form).val C = |
| 50 | (DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dPrime (X.componentPureFormsEquiv p q form C)).val := rfl |
| 51 | |
| 52 | @[simp] |
| 53 | theorem componentDDoublePrime_apply (p q : ℕ) (form : X.componentPureForms p q) |
| 54 | (C : irreducibleComponents X.carrier) : |
| 55 | (componentDDoublePrime X p q form).val C = |
| 56 | (DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dDoublePrime (X.componentPureFormsEquiv p q form C)).val := rfl |
| 57 | |
| 58 | /-- The component-family holomorphic differential squares to zero. -/ |
| 59 | theorem componentDPrime_squared (p q : ℕ) (form : X.componentPureForms p q) : |
| 60 | componentDPrime X (p + 1) q (componentDPrime X p q form) = 0 := by |
| 61 | apply Subtype.ext |
| 62 | funext C |
| 63 | change (DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dPrime (DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dPrime |
| 64 | (X.componentPureFormsEquiv p q form C))).val = 0 |
| 65 | rw [DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dPrime_squared] |
| 66 | rfl |
| 67 | |
| 68 | /-- The component-family antiholomorphic differential squares to zero. -/ |
| 69 | theorem componentDDoublePrime_squared (p q : ℕ) (form : X.componentPureForms p q) : |
| 70 | componentDDoublePrime X p (q + 1) (componentDDoublePrime X p q form) = 0 := by |
| 71 | apply Subtype.ext |
| 72 | funext C |
| 73 | change (DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dDoublePrime (DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dDoublePrime |
| 74 | (X.componentPureFormsEquiv p q form C))).val = 0 |
| 75 | rw [DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dDoublePrime_squared] |
| 76 | rfl |
| 77 | |
| 78 | /-- The two genuine component-family differentials anticommute. -/ |
| 79 | theorem componentDolbeault_anticommute (p q : ℕ) (form : X.componentPureForms p q) : |
| 80 | componentDDoublePrime X (p + 1) q (componentDPrime X p q form) + |
| 81 | componentDPrime X p (q + 1) (componentDDoublePrime X p q form) = 0 := by |
| 82 | apply Subtype.ext |
| 83 | funext C |
| 84 | exact congrArg Subtype.val |
| 85 | (DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dDoublePrime_dPrime_add_dPrime_dDoublePrime |
| 86 | (X.componentPureFormsEquiv p q form C)) |
| 87 | |
| 88 | /-- Equality transport of the total degree of a family of genuine forms. -/ |
| 89 | def componentCast {n m : ℕ} (h : n = m) (form : X.componentForms n) : X.componentForms m := |
| 90 | h ▸ form |
| 91 | |
| 92 | @[simp] |
| 93 | theorem componentCast_apply {n m : ℕ} (h : n = m) (form : X.componentForms n) |
| 94 | (C : irreducibleComponents X.carrier) : |
| 95 | componentCast X h form C = DifferentialForms.Manifold.Algebra.SmoothManifoldForm.castDegree h (form C) := by |
| 96 | cases h |
| 97 | rfl |
| 98 | |
| 99 | /-- Transport only changes the common total-degree index of a pure family. -/ |
| 100 | theorem componentCast_pure (p q n : ℕ) (h : p + q = n) (form : X.componentPureForms p q) : |
| 101 | componentCast X h form.val ∈ Core.Constructions.pureFormsAt X n ⟨(p, q), h⟩ := by |
| 102 | cases h |
| 103 | exact form.property |
| 104 | |
| 105 | /-- The genuine exterior derivative is the sum of the two neighboring type components. -/ |
| 106 | theorem componentDolbeault_sum (p q : ℕ) (form : X.componentPureForms p q) : |
| 107 | componentCast X (by omega : (p + 1) + q = p + q + 1) (componentDPrime X p q form).val + |
| 108 | componentCast X (by omega : p + (q + 1) = p + q + 1) (componentDDoublePrime X p q form).val = |
| 109 | X.componentExteriorDerivative (p + q) form.val := by |
| 110 | funext C |
| 111 | simpa only [Pi.add_apply, componentCast_apply, componentDPrime_apply, |
| 112 | componentDDoublePrime_apply, AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentExteriorDerivative_apply, |
| 113 | AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentPureFormsEquiv_apply] using |
| 114 | DifferentialForms.Manifold.ManifoldBidegree.PureManifoldForm.dPrime_add_dDoublePrime (X.componentPureFormsEquiv p q form C) |
| 115 | |
| 116 | variable {X} |
| 117 | |
| 118 | def advanceHolomorphic {n : ℕ} (i : Core.Constructions.Bidegree n) : Core.Constructions.Bidegree (n + 1) := |
| 119 | ⟨(i.val.1 + 1, i.val.2), by have h := i.property; omega⟩ |
| 120 | |
| 121 | def advanceAntiholomorphic {n : ℕ} (i : Core.Constructions.Bidegree n) : Core.Constructions.Bidegree (n + 1) := |
| 122 | ⟨(i.val.1, i.val.2 + 1), by have h := i.property; omega⟩ |
| 123 | |
| 124 | /-- The derivative of a pure form has only its two neighboring bidegrees. -/ |
| 125 | theorem derivative_pure_decomposition (n : ℕ) (i : Core.Constructions.Bidegree n) (form : X.componentForms n) |
| 126 | (hform : form ∈ Core.Constructions.pureFormsAt X n i) : |
| 127 | ∃ a b : X.componentForms (n + 1), |
| 128 | a ∈ Core.Constructions.pureFormsAt X (n + 1) (advanceHolomorphic i) ∧ |
| 129 | b ∈ Core.Constructions.pureFormsAt X (n + 1) (advanceAntiholomorphic i) ∧ |
| 130 | X.componentExteriorDerivative n form = a + b := by |
| 131 | rcases i with ⟨⟨p, q⟩, hi⟩ |
| 132 | subst n |
| 133 | let f : X.componentPureForms p q := ⟨form, hform⟩ |
| 134 | refine ⟨componentCast X (by omega : (p + 1) + q = p + q + 1) |
| 135 | (componentDPrime X p q f).val, |
| 136 | componentCast X (by omega : p + (q + 1) = p + q + 1) |
| 137 | (componentDDoublePrime X p q f).val, ?_, ?_, (componentDolbeault_sum X p q f).symm⟩ |
| 138 | · exact componentCast_pure X (p + 1) q (p + q + 1) _ _ |
| 139 | · exact componentCast_pure X p (q + 1) (p + q + 1) _ _ |
| 140 | |
| 141 | /-- The form filtration really is preserved by the actual exterior derivative. -/ |
| 142 | theorem exteriorDerivative_filtered (X : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (n : ℕ) (r : ℤ) : |
| 143 | (Core.Constructions.filteredForms X n r).map (X.componentExteriorDerivative n) ≤ Core.Constructions.filteredForms X (n + 1) r := by |
| 144 | rw [Submodule.map_le_iff_le_comap] |
| 145 | refine iSup_le fun i => iSup_le fun hri => ?_ |
| 146 | intro form hform |
| 147 | obtain ⟨a, b, ha, hb, hab⟩ := derivative_pure_decomposition n i form hform |
| 148 | change X.componentExteriorDerivative n form ∈ Core.Constructions.filteredForms X (n + 1) r |
| 149 | rw [hab] |
| 150 | apply Submodule.add_mem |
| 151 | · apply Submodule.mem_iSup_of_mem (advanceHolomorphic i) |
| 152 | apply Submodule.mem_iSup_of_mem (show r ≤ ((advanceHolomorphic i).val.1 : ℤ) by |
| 153 | dsimp [advanceHolomorphic]; omega) |
| 154 | exact ha |
| 155 | · apply Submodule.mem_iSup_of_mem (advanceAntiholomorphic i) |
| 156 | apply Submodule.mem_iSup_of_mem (show r ≤ ((advanceAntiholomorphic i).val.1 : ℤ) from hri) |
| 157 | exact hb |
| 158 | |
| 159 | end |
| 160 | |
| 161 | /-! Exact projection criteria for the form filtration and the pure exact |
| 162 | obstruction to splitting a closed filtered representative. -/ |
| 163 | |
| 164 | open scoped BigOperators |
| 165 | |
| 166 | variable (X : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 167 | |
| 168 | theorem componentAction_pure (n : ℕ) (i : Core.Constructions.Bidegree n) (form : X.componentForms n) |
| 169 | (hform : form ∈ Core.Constructions.pureFormsAt X n i) (z : ℂˣ) : |
| 170 | Types.Constructions.componentAction X n z form = Types.Constructions.inverseTypeCharacter i z • form := by |
| 171 | funext C |
| 172 | simpa only [Types.Constructions.componentAction_apply, Types.Constructions.inverseTypeCharacter, DifferentialForms.Manifold.Bidegree.bidegreeCharacter_inv, |
| 173 | Pi.smul_apply] using (Core.Constructions.mem_pureFormsAt_iff_action X n i form).mp hform C z |
| 174 | |
| 175 | theorem componentProjection_identity (n : ℕ) (i : Core.Constructions.Bidegree n) (form : X.componentForms n) |
| 176 | (hform : form ∈ Core.Constructions.pureFormsAt X n i) : Projectors.Constructions.componentProjection X n i form = form := |
| 177 | Projectors.Constructions.spectralProjector_identity _ _ _ i form (componentAction_pure X n i form hform) |
| 178 | |
| 179 | theorem componentProjection_other (n : ℕ) (i j : Core.Constructions.Bidegree n) (hij : i ≠ j) |
| 180 | (form : X.componentForms n) (hform : form ∈ Core.Constructions.pureFormsAt X n j) : |
| 181 | Projectors.Constructions.componentProjection X n i form = 0 := |
| 182 | Projectors.Constructions.spectralProjector_zero _ _ _ i j hij form (componentAction_pure X n j form hform) |
| 183 | |
| 184 | theorem componentProjection_self (n : ℕ) (i : Core.Constructions.Bidegree n) (form : X.componentForms n) : |
| 185 | Projectors.Constructions.componentProjection X n i (Projectors.Constructions.componentProjection X n i form) = Projectors.Constructions.componentProjection X n i form := |
| 186 | componentProjection_identity X n i _ (Projectors.Constructions.componentProjection_pure X n i form) |
| 187 | |
| 188 | /-- Every type strictly below the filtration threshold vanishes. -/ |
| 189 | theorem projection_below_filtration (n : ℕ) (r : ℤ) (form : X.componentForms n) |
| 190 | (hform : form ∈ Core.Constructions.filteredForms X n r) (i : Core.Constructions.Bidegree n) (hi : (i.val.1 : ℤ) < r) : |
| 191 | Projectors.Constructions.componentProjection X n i form = 0 := by |
| 192 | have hle : Core.Constructions.filteredForms X n r ≤ LinearMap.ker (Projectors.Constructions.componentProjection X n i) := by |
| 193 | refine iSup_le fun j => iSup_le fun hj => ?_ |
| 194 | intro f hf |
| 195 | have hij : i ≠ j := by |
| 196 | intro he |
| 197 | subst j |
| 198 | exact (not_le_of_gt hi) hj |
| 199 | exact componentProjection_other X n i j hij f hf |
| 200 | exact hle hform |
| 201 | |
| 202 | /-- A form lies in the filtration exactly when all lower-type projections vanish. -/ |
| 203 | theorem mem_filteredForms_iff_projections (n : ℕ) (r : ℤ) (form : X.componentForms n) : |
| 204 | form ∈ Core.Constructions.filteredForms X n r ↔ |
| 205 | ∀ i : Core.Constructions.Bidegree n, (i.val.1 : ℤ) < r → Projectors.Constructions.componentProjection X n i form = 0 := by |
| 206 | constructor |
| 207 | · exact projection_below_filtration X n r form |
| 208 | · intro h |
| 209 | rw [← Projectors.Constructions.sum_componentProjection X n form] |
| 210 | apply Submodule.sum_mem |
| 211 | intro i _ |
| 212 | by_cases hi : r ≤ (i.val.1 : ℤ) |
| 213 | · apply Submodule.mem_iSup_of_mem i |
| 214 | apply Submodule.mem_iSup_of_mem hi |
| 215 | exact Projectors.Constructions.componentProjection_pure X n i form |
| 216 | · rw [h i (lt_of_not_ge hi)] |
| 217 | exact Submodule.zero_mem _ |
| 218 | |
| 219 | /-- The effective de Rham filtration is exhaustive at nonpositive indices. -/ |
| 220 | theorem filteredForms_eq_top_of_nonpos (n : ℕ) (r : ℤ) (hr : r ≤ 0) : |
| 221 | Core.Constructions.filteredForms X n r = ⊤ := by |
| 222 | apply top_unique |
| 223 | intro form _ |
| 224 | rw [mem_filteredForms_iff_projections] |
| 225 | intro i hi |
| 226 | have hn : (0 : ℤ) ≤ i.val.1 := Nat.cast_nonneg _ |
| 227 | exact False.elim ((not_lt_of_ge (hr.trans hn)) hi) |
| 228 | |
| 229 | theorem deRhamFiltration_eq_top_of_nonpos (n : ℕ) (r : ℤ) (hr : r ≤ 0) : |
| 230 | Core.Constructions.deRhamFiltrationBetti X n r = ⊤ := by |
| 231 | unfold Core.Constructions.deRhamFiltrationBetti |
| 232 | rw [filteredForms_eq_top_of_nonpos X n r hr, Submodule.comap_top, Submodule.map_top] |
| 233 | exact LinearMap.range_eq_top.mpr (Core.Constructions.closedFormBettiClass_surjective X n) |
| 234 | |
| 235 | theorem bidegree_eq_of_first {n : ℕ} (i j : Core.Constructions.Bidegree n) (h : i.val.1 = j.val.1) : i = j := by |
| 236 | apply Subtype.ext |
| 237 | apply Prod.ext h |
| 238 | have hi := i.property |
| 239 | have hj := j.property |
| 240 | omega |
| 241 | |
| 242 | /-- Removing the lowest type raises the form filtration by one. -/ |
| 243 | theorem subtract_lowest_projection_filtered (n : ℕ) (i : Core.Constructions.Bidegree n) (form : X.componentForms n) |
| 244 | (hform : form ∈ Core.Constructions.filteredForms X n (i.val.1 : ℤ)) : |
| 245 | form - Projectors.Constructions.componentProjection X n i form ∈ Core.Constructions.filteredForms X n ((i.val.1 : ℤ) + 1) := by |
| 246 | rw [mem_filteredForms_iff_projections] |
| 247 | intro j hj |
| 248 | rw [map_sub] |
| 249 | by_cases hji : j = i |
| 250 | · subst j |
| 251 | rw [componentProjection_self, sub_self] |
| 252 | · have hfirst : j.val.1 ≠ i.val.1 := fun he => hji (bidegree_eq_of_first j i he) |
| 253 | have hlt : (j.val.1 : ℤ) < i.val.1 := by omega |
| 254 | rw [projection_below_filtration X n _ form hform j hlt, |
| 255 | componentProjection_other X n j i hji _ (Projectors.Constructions.componentProjection_pure X n i form), sub_self] |
| 256 | |
| 257 | /-- A pure form below a filtration threshold that nevertheless lies in that filtration is zero. -/ |
| 258 | theorem pure_filtered_eq_zero (n : ℕ) (r : ℤ) (i : Core.Constructions.Bidegree n) (form : X.componentForms n) |
| 259 | (hpure : form ∈ Core.Constructions.pureFormsAt X n i) (hfiltered : form ∈ Core.Constructions.filteredForms X n r) |
| 260 | (hi : (i.val.1 : ℤ) < r) : form = 0 := by |
| 261 | rw [← componentProjection_identity X n i form hpure] |
| 262 | exact projection_below_filtration X n r form hfiltered i hi |
| 263 | |
| 264 | /-- For a closed filtered form, the derivative of its lowest-type component has only |
| 265 | one raised type. This is the concrete obstruction used in the correction step. -/ |
| 266 | theorem derivative_lowest_projection_pure (n : ℕ) (i : Core.Constructions.Bidegree n) |
| 267 | (form : X.componentClosedForms n) |
| 268 | (hform : form.val ∈ Core.Constructions.filteredForms X n (i.val.1 : ℤ)) : |
| 269 | X.componentExteriorDerivative n (Projectors.Constructions.componentProjection X n i form.val) ∈ |
| 270 | Core.Constructions.pureFormsAt X (n + 1) (advanceHolomorphic i) := by |
| 271 | let a := Projectors.Constructions.componentProjection X n i form.val |
| 272 | have hrem := subtract_lowest_projection_filtered X n i form.val hform |
| 273 | have hdr := exteriorDerivative_filtered X n ((i.val.1 : ℤ) + 1) |
| 274 | (Submodule.mem_map_of_mem hrem) |
| 275 | have hclosed : X.componentExteriorDerivative n form.val = 0 := form.property |
| 276 | rw [map_sub, hclosed, zero_sub] at hdr |
| 277 | have hda : X.componentExteriorDerivative n a ∈ Core.Constructions.filteredForms X (n + 1) ((i.val.1 : ℤ) + 1) := |
| 278 | (Submodule.neg_mem_iff _).mp hdr |
| 279 | obtain ⟨u, v, hu, hv, hd⟩ := derivative_pure_decomposition n i a (Projectors.Constructions.componentProjection_pure X n i form.val) |
| 280 | have huF : u ∈ Core.Constructions.filteredForms X (n + 1) ((i.val.1 : ℤ) + 1) := by |
| 281 | apply Submodule.mem_iSup_of_mem (advanceHolomorphic i) |
| 282 | apply Submodule.mem_iSup_of_mem (show (i.val.1 : ℤ) + 1 ≤ ((advanceHolomorphic i).val.1 : ℤ) by |
| 283 | simp [advanceHolomorphic]) |
| 284 | exact hu |
| 285 | have hvF : v ∈ Core.Constructions.filteredForms X (n + 1) ((i.val.1 : ℤ) + 1) := by |
| 286 | have h := (Core.Constructions.filteredForms X (n + 1) ((i.val.1 : ℤ) + 1)).sub_mem hda huF |
| 287 | rwa [hd, add_sub_cancel_left] at h |
| 288 | have hv0 : v = 0 := pure_filtered_eq_zero X (n + 1) _ (advanceAntiholomorphic i) v hv hvF |
| 289 | (by simp [advanceAntiholomorphic]) |
| 290 | rwa [hd, hv0, add_zero] |
| 291 | |
| 292 | /-- The obstruction is a genuine closed form. -/ |
| 293 | def lowestObstruction (n : ℕ) (i : Core.Constructions.Bidegree n) (form : X.componentClosedForms n) : |
| 294 | X.componentClosedForms (n + 1) := |
| 295 | ⟨X.componentExteriorDerivative n (Projectors.Constructions.componentProjection X n i form.val), |
| 296 | X.componentExteriorDerivative_squared n (Projectors.Constructions.componentProjection X n i form.val)⟩ |
| 297 | |
| 298 | /-- Its de Rham class is zero, with the explicit smooth primitive retained. -/ |
| 299 | theorem lowestObstruction_class_zero (n : ℕ) (i : Core.Constructions.Bidegree n) (form : X.componentClosedForms n) : |
| 300 | X.componentDeRhamClass (n + 1) (lowestObstruction X n i form) = 0 := by |
| 301 | rw [X.componentDeRhamClass_eq_zero_iff] |
| 302 | exact ⟨Projectors.Constructions.componentProjection X n i form.val, rfl⟩ |
| 303 | |
| 304 | end |
| 305 | |
| 306 | end OAI.Analysis.HodgeTheory.Decomposition.Dolbeault.Constructions |