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.WeakGlobalSmooth |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.SmoothWeakEquation |
| 3 | |
| 4 | /-! # Smooth Harmonic -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.SmoothHarmonic.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Every element of the actual weak harmonic kernel has a genuine |
| 13 | smooth closed and coclosed representative. -/ |
| 14 | |
| 15 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 16 | [MeasurableSpace V.analyticSpace] [BorelSpace V.analyticSpace] (n : ℕ) |
| 17 | |
| 18 | theorem projective_weak_harmonic_is_smooth (u : WeakHarmonics.Constructions.ProjectiveWeakHarmonics V n) : |
| 19 | ∃ a : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1), |
| 20 | SmoothEnergyInclusion.Constructions.smoothToProjectiveEnergy V n a = u.val := by |
| 21 | apply WeakGlobalSmooth.Constructions.projective_weak_solution_is_smooth V n u.val 0 |
| 22 | rw [map_zero] |
| 23 | exact WeakEquation.Constructions.projectiveWeakHarmonic_is_weak_solution V n u |
| 24 | |
| 25 | def projectiveSmoothHarmonic (u : WeakHarmonics.Constructions.ProjectiveWeakHarmonics V n) : |
| 26 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1) := |
| 27 | (projective_weak_harmonic_is_smooth V n u).choose |
| 28 | |
| 29 | theorem projectiveSmoothHarmonic_energy (u : WeakHarmonics.Constructions.ProjectiveWeakHarmonics V n) : |
| 30 | SmoothEnergyInclusion.Constructions.smoothToProjectiveEnergy V n (projectiveSmoothHarmonic V n u) = u.val := |
| 31 | (projective_weak_harmonic_is_smooth V n u).choose_spec |
| 32 | |
| 33 | theorem projectiveSmoothHarmonic_L2 (u : WeakHarmonics.Constructions.ProjectiveWeakHarmonics V n) : |
| 34 | Form.Constructions.smoothToProjectiveL2 V (n + 1) (projectiveSmoothHarmonic V n u) = |
| 35 | WeakHarmonics.Constructions.projectiveWeakHarmonicInclusion V n u := |
| 36 | congrArg (EnergyDomain.Constructions.projectiveEnergyInclusion V n) (projectiveSmoothHarmonic_energy V n u) |
| 37 | |
| 38 | theorem projectiveSmoothHarmonic_laplacian (u : WeakHarmonics.Constructions.ProjectiveWeakHarmonics V n) : |
| 39 | AdjointAlgebra.Constructions.projectivePositiveLaplacian V n (projectiveSmoothHarmonic V n u) = 0 := by |
| 40 | apply (SmoothWeakEquation.Constructions.projective_smooth_weak_equation_iff V n _ 0).mp |
| 41 | rw [projectiveSmoothHarmonic_energy, map_zero] |
| 42 | exact WeakEquation.Constructions.projectiveWeakHarmonic_is_weak_solution V n u |
| 43 | |
| 44 | theorem projectiveSmoothHarmonic_closed_coclosed (u : WeakHarmonics.Constructions.ProjectiveWeakHarmonics V n) : |
| 45 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (projectiveSmoothHarmonic V n u) = 0 ∧ |
| 46 | AdjointAlgebra.Constructions.projectiveCodifferential V n (projectiveSmoothHarmonic V n u) = 0 := |
| 47 | (AdjointAlgebra.Constructions.projectivePositiveLaplacian_eq_zero_iff V n _).mp (projectiveSmoothHarmonic_laplacian V n u) |
| 48 | |
| 49 | theorem projective_smooth_energy_mem_weakHarmonics_iff |
| 50 | (a : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 51 | SmoothEnergyInclusion.Constructions.smoothToProjectiveEnergy V n a ∈ WeakHarmonics.Constructions.ProjectiveWeakHarmonics V n ↔ AdjointAlgebra.Constructions.projectivePositiveLaplacian V n a = 0 := by |
| 52 | constructor |
| 53 | · intro ha |
| 54 | apply (SmoothWeakEquation.Constructions.projective_smooth_weak_equation_iff V n a 0).mp |
| 55 | rw [map_zero] |
| 56 | exact WeakEquation.Constructions.projectiveWeakHarmonic_is_weak_solution V n ⟨SmoothEnergyInclusion.Constructions.smoothToProjectiveEnergy V n a, ha⟩ |
| 57 | · intro ha |
| 58 | have h := (SmoothWeakEquation.Constructions.projective_smooth_weak_equation_iff V n a 0).mpr ha (SmoothEnergyInclusion.Constructions.smoothToProjectiveEnergy V n a) |
| 59 | rw [map_zero, inner_zero_left] at h |
| 60 | exact (inner_self_eq_zero.mp h) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | section |
| 65 | |
| 66 | /-! The normalized weak Green solution for a smooth form is smooth and |
| 67 | solves the classical Hodge equation after subtracting its harmonic part. -/ |
| 68 | |
| 69 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 70 | [MeasurableSpace V.analyticSpace] [BorelSpace V.analyticSpace] (n : ℕ) |
| 71 | |
| 72 | def projectiveSmoothHarmonicPart |
| 73 | (f : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 74 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1) := |
| 75 | projectiveSmoothHarmonic V n (WeakHarmonics.Constructions.projectiveWeakHarmonicPart V n (Form.Constructions.smoothToProjectiveL2 V (n + 1) f)) |
| 76 | |
| 77 | theorem projectiveSmoothHarmonicPart_L2 |
| 78 | (f : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 79 | Form.Constructions.smoothToProjectiveL2 V (n + 1) (projectiveSmoothHarmonicPart V n f) = |
| 80 | WeakHarmonics.Constructions.projectiveWeakHarmonicInclusion V n (WeakHarmonics.Constructions.projectiveWeakHarmonicPart V n (Form.Constructions.smoothToProjectiveL2 V (n + 1) f)) := |
| 81 | projectiveSmoothHarmonic_L2 V n _ |
| 82 | |
| 83 | theorem projectiveSmoothHarmonicPart_closed_coclosed |
| 84 | (f : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 85 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (projectiveSmoothHarmonicPart V n f) = 0 ∧ |
| 86 | AdjointAlgebra.Constructions.projectiveCodifferential V n (projectiveSmoothHarmonicPart V n f) = 0 := |
| 87 | projectiveSmoothHarmonic_closed_coclosed V n _ |
| 88 | |
| 89 | theorem projective_weak_green_is_smooth |
| 90 | (f : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 91 | ∃ b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1), |
| 92 | SmoothEnergyInclusion.Constructions.smoothToProjectiveEnergy V n b = WeakEquation.Constructions.projectiveWeakGreenSolution V n (Form.Constructions.smoothToProjectiveL2 V (n + 1) f) := by |
| 93 | apply WeakGlobalSmooth.Constructions.projective_weak_solution_is_smooth V n _ (f - projectiveSmoothHarmonicPart V n f) |
| 94 | rw [map_sub, projectiveSmoothHarmonicPart_L2] |
| 95 | exact WeakEquation.Constructions.projectiveWeakGreen_is_weak_solution V n _ |
| 96 | |
| 97 | def projectiveSmoothGreen |
| 98 | (f : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 99 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1) := |
| 100 | (projective_weak_green_is_smooth V n f).choose |
| 101 | |
| 102 | theorem projectiveSmoothGreen_energy |
| 103 | (f : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 104 | SmoothEnergyInclusion.Constructions.smoothToProjectiveEnergy V n (projectiveSmoothGreen V n f) = |
| 105 | WeakEquation.Constructions.projectiveWeakGreenSolution V n (Form.Constructions.smoothToProjectiveL2 V (n + 1) f) := |
| 106 | (projective_weak_green_is_smooth V n f).choose_spec |
| 107 | |
| 108 | theorem projectiveSmoothGreen_laplacian |
| 109 | (f : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 110 | AdjointAlgebra.Constructions.projectivePositiveLaplacian V n (projectiveSmoothGreen V n f) = f - projectiveSmoothHarmonicPart V n f := by |
| 111 | apply (SmoothWeakEquation.Constructions.projective_smooth_weak_equation_iff V n _ _).mp |
| 112 | rw [projectiveSmoothGreen_energy, map_sub, projectiveSmoothHarmonicPart_L2] |
| 113 | exact WeakEquation.Constructions.projectiveWeakGreen_is_weak_solution V n _ |
| 114 | |
| 115 | theorem projective_smooth_hodge_decomposition |
| 116 | (f : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) : |
| 117 | f = projectiveSmoothHarmonicPart V n f + |
| 118 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (AdjointAlgebra.Constructions.projectiveCodifferential V n (projectiveSmoothGreen V n f)) + |
| 119 | AdjointAlgebra.Constructions.projectiveCodifferential V (n + 1) (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (projectiveSmoothGreen V n f)) := by |
| 120 | have h := projectiveSmoothGreen_laplacian V n f |
| 121 | change DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (AdjointAlgebra.Constructions.projectiveCodifferential V n (projectiveSmoothGreen V n f)) + |
| 122 | AdjointAlgebra.Constructions.projectiveCodifferential V (n + 1) (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (projectiveSmoothGreen V n f)) = |
| 123 | f - projectiveSmoothHarmonicPart V n f at h |
| 124 | rw [add_assoc, h] |
| 125 | abel |
| 126 | |
| 127 | end |
| 128 | |
| 129 | section |
| 130 | |
| 131 | /-! Every closed smooth positive-degree form has a genuine harmonic |
| 132 | representative, with an explicit smooth exact correction from the Green operator. -/ |
| 133 | |
| 134 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 135 | [MeasurableSpace V.analyticSpace] [BorelSpace V.analyticSpace] (n : ℕ) |
| 136 | |
| 137 | theorem projective_closed_coexact_green_eq_zero |
| 138 | (f : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) |
| 139 | (hf : DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f = 0) : |
| 140 | AdjointAlgebra.Constructions.projectiveCodifferential V (n + 1) (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (projectiveSmoothGreen V n f)) = 0 := by |
| 141 | apply AdjointAlgebra.Constructions.coexact_closed_eq_zero V (n + 1) _ (DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (projectiveSmoothGreen V n f)) rfl |
| 142 | have h := congrArg DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (projective_smooth_hodge_decomposition V n f) |
| 143 | rw [map_add, map_add, hf, (projectiveSmoothHarmonicPart_closed_coclosed V n f).1, |
| 144 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d_squared, zero_add, zero_add] at h |
| 145 | exact h.symm |
| 146 | |
| 147 | theorem projective_closed_harmonic_representative |
| 148 | (f : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) |
| 149 | (hf : DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f = 0) : |
| 150 | f = projectiveSmoothHarmonicPart V n f + |
| 151 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (AdjointAlgebra.Constructions.projectiveCodifferential V n (projectiveSmoothGreen V n f)) := by |
| 152 | have h := projective_smooth_hodge_decomposition V n f |
| 153 | rw [projective_closed_coexact_green_eq_zero V n f hf, add_zero] at h |
| 154 | exact h |
| 155 | |
| 156 | theorem exists_projective_harmonic_representative |
| 157 | (f : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) |
| 158 | (hf : DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f = 0) : |
| 159 | ∃ h : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1), |
| 160 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d h = 0 ∧ AdjointAlgebra.Constructions.projectiveCodifferential V n h = 0 ∧ |
| 161 | ∃ b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n, |
| 162 | f = h + DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d b := |
| 163 | ⟨projectiveSmoothHarmonicPart V n f, (projectiveSmoothHarmonicPart_closed_coclosed V n f).1, |
| 164 | (projectiveSmoothHarmonicPart_closed_coclosed V n f).2, |
| 165 | AdjointAlgebra.Constructions.projectiveCodifferential V n (projectiveSmoothGreen V n f), projective_closed_harmonic_representative V n f hf⟩ |
| 166 | |
| 167 | theorem projective_harmonic_representative_unique |
| 168 | (h k : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace (n + 1)) |
| 169 | (hδh : AdjointAlgebra.Constructions.projectiveCodifferential V n h = 0) (hδk : AdjointAlgebra.Constructions.projectiveCodifferential V n k = 0) |
| 170 | (b : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n) |
| 171 | (hb : h - k = DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d b) : h = k := by |
| 172 | apply sub_eq_zero.mp |
| 173 | apply AdjointAlgebra.Constructions.exact_coclosed_eq_zero V n (h - k) b hb.symm |
| 174 | rw [map_sub, hδh, hδk, sub_self] |
| 175 | |
| 176 | end |
| 177 | |
| 178 | /-! The actual positive-degree smooth harmonic space is canonically |
| 179 | isomorphic to the genuine closed/exact de Rham quotient. -/ |
| 180 | |
| 181 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 182 | [MeasurableSpace V.analyticSpace] [BorelSpace V.analyticSpace] (n : ℕ) |
| 183 | |
| 184 | abbrev ProjectiveSmoothHarmonics := (AdjointAlgebra.Constructions.projectivePositiveLaplacian V n).ker |
| 185 | |
| 186 | def projectiveHarmonicToClosed : ProjectiveSmoothHarmonics V n →ₗ[ℂ] |
| 187 | DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms V.analyticModel V.analyticSpace (n + 1) := |
| 188 | (ProjectiveSmoothHarmonics V n).subtype.codRestrict |
| 189 | (DifferentialForms.Manifold.ManifoldDeRham.manifoldClosedForms V.analyticModel V.analyticSpace (n + 1)) |
| 190 | (fun a => ((AdjointAlgebra.Constructions.projectivePositiveLaplacian_eq_zero_iff V n a.val).mp a.property).1) |
| 191 | |
| 192 | def projectiveHarmonicDeRhamClass : ProjectiveSmoothHarmonics V n →ₗ[ℂ] |
| 193 | DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormQuotient V.analyticModel V.analyticSpace (n + 1) := |
| 194 | (DifferentialForms.Manifold.ManifoldDeRham.manifoldExactClosedForms V.analyticModel V.analyticSpace (n + 1)).mkQ.comp |
| 195 | (projectiveHarmonicToClosed V n) |
| 196 | |
| 197 | theorem projectiveHarmonicDeRhamClass_injective : Function.Injective (projectiveHarmonicDeRhamClass V n) := by |
| 198 | apply LinearMap.ker_eq_bot.mp |
| 199 | apply le_antisymm _ bot_le |
| 200 | intro a ha |
| 201 | have hz : (DifferentialForms.Manifold.ManifoldDeRham.manifoldExactClosedForms V.analyticModel V.analyticSpace (n + 1)).mkQ |
| 202 | (projectiveHarmonicToClosed V n a) = 0 := ha |
| 203 | have hexact := (Submodule.Quotient.mk_eq_zero _).mp hz |
| 204 | obtain ⟨b, hb⟩ := (DifferentialForms.Manifold.ManifoldDeRham.mem_manifoldExactClosedForms_iff V.analyticModel V.analyticSpace (n + 1) _).mp hexact |
| 205 | have hδ := ((AdjointAlgebra.Constructions.projectivePositiveLaplacian_eq_zero_iff V n a.val).mp a.property).2 |
| 206 | have hazero := AdjointAlgebra.Constructions.exact_coclosed_eq_zero V n a.val b hb hδ |
| 207 | exact show a = 0 from Subtype.ext hazero |
| 208 | |
| 209 | theorem projectiveHarmonicDeRhamClass_surjective : Function.Surjective (projectiveHarmonicDeRhamClass V n) := by |
| 210 | intro q |
| 211 | obtain ⟨f, rfl⟩ := (DifferentialForms.Manifold.ManifoldDeRham.manifoldExactClosedForms V.analyticModel V.analyticSpace (n + 1)).mkQ_surjective q |
| 212 | obtain ⟨h, hd, hδ, b, hfb⟩ := exists_projective_harmonic_representative V n f.val f.property |
| 213 | let a : ProjectiveSmoothHarmonics V n := |
| 214 | ⟨h, (AdjointAlgebra.Constructions.projectivePositiveLaplacian_eq_zero_iff V n h).mpr ⟨hd, hδ⟩⟩ |
| 215 | refine ⟨a, ?_⟩ |
| 216 | change (DifferentialForms.Manifold.ManifoldDeRham.manifoldExactClosedForms V.analyticModel V.analyticSpace (n + 1)).mkQ |
| 217 | (projectiveHarmonicToClosed V n a) = |
| 218 | (DifferentialForms.Manifold.ManifoldDeRham.manifoldExactClosedForms V.analyticModel V.analyticSpace (n + 1)).mkQ f |
| 219 | apply (sub_eq_zero.mp) |
| 220 | rw [← map_sub] |
| 221 | apply (Submodule.Quotient.mk_eq_zero _).mpr |
| 222 | apply (DifferentialForms.Manifold.ManifoldDeRham.mem_manifoldExactClosedForms_iff V.analyticModel V.analyticSpace (n + 1) _).mpr |
| 223 | refine ⟨-b, ?_⟩ |
| 224 | change DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (-b) = h - f.val |
| 225 | rw [map_neg, hfb] |
| 226 | abel |
| 227 | |
| 228 | def projectiveHarmonicDeRhamEquiv : ProjectiveSmoothHarmonics V n ≃ₗ[ℂ] |
| 229 | DifferentialForms.Manifold.ManifoldDeRham.manifoldDeRhamFormQuotient V.analyticModel V.analyticSpace (n + 1) := |
| 230 | LinearEquiv.ofBijective (projectiveHarmonicDeRhamClass V n) |
| 231 | ⟨projectiveHarmonicDeRhamClass_injective V n, projectiveHarmonicDeRhamClass_surjective V n⟩ |
| 232 | |
| 233 | end |
| 234 | |
| 235 | end OAI.Analysis.HodgeTheory.Decomposition.SmoothHarmonic.Constructions |