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.Pure |
| 2 | import OAI.Analysis.HodgeTheory.Integration |
| 3 | import OAI.Analysis.HodgeTheory.Wedge |
| 4 | import OAI.Analysis.DifferentialForms.Manifold.ManifoldBidegree |
| 5 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Conjugation |
| 6 | import Mathlib.MeasureTheory.Constructions.Pi |
| 7 | |
| 8 | /-! # Top Forms -/ |
| 9 | |
| 10 | namespace OAI.Analysis.HodgeTheory.TopForms.Constructions.PolarizedPairing |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | PolarizedPairing: integration of canonical-bundle pairings. |
| 16 | |
| 17 | For pure `(n,0)` and `(0,n)` forms, write their chart expressions as |
| 18 | `a dz₁ ∧... ∧ dzₙ` and `b dbar(z₁) ∧... ∧ dbar(zₙ)`. Their wedge has |
| 19 | coefficient `i^(-n²) 2^n a b` in the complex-oriented real volume. |
| 20 | We integrate these coefficients using a finite subordinate partition of |
| 21 | unity and ordinary Lebesgue measure on `ℂ^n`. This implements the missing |
| 22 | pairing only on these pure types; it is not a general differential-form |
| 23 | wedge API. The pure-type reconstruction is proved in `Pure`. |
| 24 | -/ |
| 25 | |
| 26 | open scoped _root_.Manifold ContDiff _root_.Topology BigOperators |
| 27 | open Set Function Filter _root_.MeasureTheory |
| 28 | |
| 29 | variable {E : Type*} [NormedAddCommGroup E] |
| 30 | [NormedSpace ℝ E] [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 31 | [FiniteDimensional ℂ E] |
| 32 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 33 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] [CompactSpace M] |
| 34 | {n : ℕ} |
| 35 | |
| 36 | local instance : FiniteDimensional ℝ E := FiniteDimensional.trans ℝ ℂ E |
| 37 | |
| 38 | /-- A chart's contribution to the canonical-bundle integral. -/ |
| 39 | def topPairingIntegrand (D : Integration.Constructions.PolarizedPairing.FiniteChartPartition E M) |
| 40 | (b : Module.Basis (Fin n) ℂ E) |
| 41 | (α β : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) (i : D.centers) : (Fin n → ℂ) → ℂ := |
| 42 | Integration.Constructions.PolarizedPairing.chartCutoff (chartAt E i.val) (D.partition i) |
| 43 | (fun y => Wedge.Constructions.PolarizedPairing.topWedgeCoefficient (n := n) |
| 44 | (α.val.inChart (chartAt E i.val) y b) |
| 45 | (β.val.inChart (chartAt E i.val) y b)) ∘ b.equivFun.symm |
| 46 | |
| 47 | /-- Integral of the pure `(n,0)`--`(0,n)` wedge pairing, defined in charts. -/ |
| 48 | def topPairingWith (D : Integration.Constructions.PolarizedPairing.FiniteChartPartition E M) |
| 49 | (b : Module.Basis (Fin n) ℂ E) |
| 50 | (α β : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) : ℂ := |
| 51 | ∑ i : D.centers, ∫ y, topPairingIntegrand D b α β i y |
| 52 | |
| 53 | /-- The real chart density obtained when the second form is the conjugate. -/ |
| 54 | def topNormDensity (D : Integration.Constructions.PolarizedPairing.FiniteChartPartition E M) |
| 55 | (b : Module.Basis (Fin n) ℂ E) |
| 56 | (form : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) (i : D.centers) : (Fin n → ℂ) → ℝ := |
| 57 | Integration.Constructions.PolarizedPairing.chartCutoff (chartAt E i.val) (D.partition i) |
| 58 | (fun y => Complex.normSq (form.val.inChart (chartAt E i.val) y b)) ∘ b.equivFun.symm |
| 59 | |
| 60 | omit [IsScalarTower ℝ ℂ E] [FiniteDimensional ℂ E] |
| 61 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] [CompactSpace M] in |
| 62 | theorem chartCoefficient_continuousOn (form : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) |
| 63 | (b : Module.Basis (Fin n) ℂ E) (x : M) : |
| 64 | ContinuousOn (fun y => form.val.inChart (chartAt E x) y b) (chartAt E x).target := by |
| 65 | have hc : ContinuousOn (form.val.inChart (chartAt E x)) (chartAt E x).target := by |
| 66 | simpa [DifferentialForms.Manifold.Algebra.manifoldFormChartDomain] using |
| 67 | (form.smooth (chartAt E x) (chart_mem_atlas E x)).continuousOn |
| 68 | exact (continuous_eval_const (b : Fin n → E)).comp_continuousOn hc |
| 69 | |
| 70 | omit [IsScalarTower ℝ ℂ E] [FiniteDimensional ℂ E] |
| 71 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] in |
| 72 | theorem topNormDensity_continuous (D : Integration.Constructions.PolarizedPairing.FiniteChartPartition E M) |
| 73 | (b : Module.Basis (Fin n) ℂ E) |
| 74 | (form : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) (i : D.centers) : |
| 75 | Continuous (topNormDensity D b form i) := by |
| 76 | apply (Integration.Constructions.PolarizedPairing.chartCutoff_continuous (chartAt E i.val) (D.partition i) |
| 77 | (D.partition i).contMDiff.continuous (D.subordinate i) _ |
| 78 | (Complex.continuous_normSq.comp_continuousOn |
| 79 | (chartCoefficient_continuousOn form b i.val))).comp |
| 80 | exact b.equivFun.symm.continuous_of_finiteDimensional |
| 81 | |
| 82 | omit [IsScalarTower ℝ ℂ E] [FiniteDimensional ℂ E] |
| 83 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] in |
| 84 | theorem topNormDensity_hasCompactSupport (D : Integration.Constructions.PolarizedPairing.FiniteChartPartition E M) |
| 85 | (b : Module.Basis (Fin n) ℂ E) |
| 86 | (form : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) (i : D.centers) : |
| 87 | HasCompactSupport (topNormDensity D b form i) := |
| 88 | (Integration.Constructions.PolarizedPairing.chartCutoff_hasCompactSupport (chartAt E i.val) (D.partition i) |
| 89 | (D.subordinate i) _).comp_isClosedEmbedding |
| 90 | b.equivFun.symm.toContinuousLinearEquiv.toHomeomorph.isClosedEmbedding |
| 91 | |
| 92 | omit [IsScalarTower ℝ ℂ E] [FiniteDimensional ℂ E] |
| 93 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] [CompactSpace M] in |
| 94 | theorem topNormDensity_nonneg (D : Integration.Constructions.PolarizedPairing.FiniteChartPartition E M) |
| 95 | (b : Module.Basis (Fin n) ℂ E) |
| 96 | (form : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) (i : D.centers) (y : Fin n → ℂ) : |
| 97 | 0 ≤ topNormDensity D b form i y := by |
| 98 | dsimp [topNormDensity, Integration.Constructions.PolarizedPairing.chartCutoff] |
| 99 | simp only [Set.indicator] |
| 100 | split_ifs |
| 101 | · exact mul_nonneg (D.partition.nonneg i _) (Complex.normSq_nonneg _) |
| 102 | · exact le_rfl |
| 103 | |
| 104 | omit [IsScalarTower ℝ ℂ E] [FiniteDimensional ℂ E] |
| 105 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] [CompactSpace M] in |
| 106 | theorem topPairingIntegrand_conjugate (D : Integration.Constructions.PolarizedPairing.FiniteChartPartition E M) |
| 107 | (b : Module.Basis (Fin n) ℂ E) |
| 108 | (form : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) (i : D.centers) (y : Fin n → ℂ) : |
| 109 | topPairingIntegrand D b form (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Conjugation.CM.Construction.conjugateSmoothForm form) i y = |
| 110 | (Complex.I ^ (n * n))⁻¹ * (2 : ℂ) ^ n * (topNormDensity D b form i y : ℂ) := by |
| 111 | classical |
| 112 | dsimp [topPairingIntegrand, topNormDensity, Integration.Constructions.PolarizedPairing.chartCutoff] |
| 113 | simp only [Set.indicator] |
| 114 | split_ifs with hy |
| 115 | · have hc : (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Conjugation.CM.Construction.conjugateSmoothForm form).val.inChart (chartAt E i.val) |
| 116 | (b.equivFun.symm y) b = |
| 117 | star (form.val.inChart (chartAt E i.val) (b.equivFun.symm y) b) := rfl |
| 118 | rw [hc] |
| 119 | simp only [Wedge.Constructions.PolarizedPairing.topWedgeCoefficient_eq, Complex.star_def, Complex.mul_conj, |
| 120 | Complex.ofReal_mul] |
| 121 | ring |
| 122 | · simp |
| 123 | |
| 124 | omit [IsScalarTower ℝ ℂ E] [FiniteDimensional ℂ E] |
| 125 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] [CompactSpace M] in |
| 126 | theorem topPairingWith_conjugate (D : Integration.Constructions.PolarizedPairing.FiniteChartPartition E M) |
| 127 | (b : Module.Basis (Fin n) ℂ E) (form : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) : |
| 128 | Complex.I ^ (n * n) * topPairingWith D b form (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Conjugation.CM.Construction.conjugateSmoothForm form) = |
| 129 | ((2 : ℝ) ^ n * ∑ i : D.centers, ∫ y, topNormDensity D b form i y : ℝ) := by |
| 130 | classical |
| 131 | simp only [topPairingWith] |
| 132 | simp_rw [topPairingIntegrand_conjugate] |
| 133 | simp only [integral_const_mul, integral_complex_ofReal] |
| 134 | rw [← Finset.mul_sum] |
| 135 | have hi : Complex.I ^ (n * n) ≠ 0 := pow_ne_zero _ Complex.I_ne_zero |
| 136 | rw [← mul_assoc, ← mul_assoc, mul_inv_cancel₀ hi, one_mul] |
| 137 | simp only [Complex.ofReal_mul, Complex.ofReal_pow, Complex.ofReal_ofNat, Complex.ofReal_sum] |
| 138 | |
| 139 | omit [FiniteDimensional ℂ E] [T2Space M] [CompactSpace M] in |
| 140 | theorem topNormDensity_some_positive (D : Integration.Constructions.PolarizedPairing.FiniteChartPartition E M) |
| 141 | (b : Module.Basis (Fin n) ℂ E) (form : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) |
| 142 | (htype : DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M n 0 form.val) (hne : form ≠ 0) : |
| 143 | ∃ (i : D.centers) (y : Fin n → ℂ), 0 < topNormDensity D b form i y := by |
| 144 | classical |
| 145 | have hx : ∃ x : M, form x ≠ 0 := by |
| 146 | by_contra! h |
| 147 | apply hne |
| 148 | apply DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 149 | exact h |
| 150 | obtain ⟨x, hx⟩ := hx |
| 151 | obtain ⟨i, hi⟩ := D.partition.exists_pos_of_mem (mem_univ x) |
| 152 | have hxs : x ∈ (chartAt E i.val).source := |
| 153 | D.subordinate i (subset_tsupport _ (ne_of_gt hi)) |
| 154 | have hyt : (chartAt E i.val) x ∈ (chartAt E i.val).target := |
| 155 | (chartAt E i.val).map_source hxs |
| 156 | have hlocal : form.val.inChart (chartAt E i.val) ((chartAt E i.val) x) ≠ 0 := by |
| 157 | intro hz |
| 158 | apply hx |
| 159 | ext v |
| 160 | have he := congrArg (fun f : E [⋀^Fin n]→L[ℝ] ℂ => |
| 161 | f (fun j => DifferentialForms.Manifold.TangentCoordinates.chartTangentEquiv (chartAt E i.val) (chart_mem_atlas E i.val) x hxs (v j))) hz |
| 162 | rw [form.val.inChart_at (chartAt E i.val) (chart_mem_atlas E i.val) x hxs] at he |
| 163 | simp only [ContinuousLinearEquiv.symm_apply_apply] at he |
| 164 | convert he using 1 |
| 165 | have hb := Pure.Constructions.PolarizedPairing.pure_basis_value_ne_zero _ |
| 166 | (htype (chartAt E i.val) (chart_mem_atlas E i.val) _ hyt) b hlocal |
| 167 | refine ⟨i, b.equivFun ((chartAt E i.val) x), ?_⟩ |
| 168 | simpa only [topNormDensity, Function.comp_apply, LinearEquiv.symm_apply_apply, |
| 169 | Integration.Constructions.PolarizedPairing.chartCutoff, Set.indicator_of_mem hyt, (chartAt E i.val).left_inv hxs, smul_eq_mul] |
| 170 | using mul_pos hi (Complex.normSq_pos.mpr hb) |
| 171 | |
| 172 | omit [FiniteDimensional ℂ E] [T2Space M] in |
| 173 | theorem topNormDensity_integral_sum_pos (D : Integration.Constructions.PolarizedPairing.FiniteChartPartition E M) |
| 174 | (b : Module.Basis (Fin n) ℂ E) (form : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) |
| 175 | (htype : DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M n 0 form.val) (hne : form ≠ 0) : |
| 176 | 0 < ∑ i : D.centers, ∫ y, topNormDensity D b form i y := by |
| 177 | classical |
| 178 | obtain ⟨i, y, hy⟩ := topNormDensity_some_positive D b form htype hne |
| 179 | apply (Finset.sum_pos_iff_of_nonneg |
| 180 | (fun j _ => integral_nonneg (topNormDensity_nonneg D b form j))).mpr |
| 181 | refine ⟨i, Finset.mem_univ i, ?_⟩ |
| 182 | exact (topNormDensity_continuous D b form i).integral_pos_of_hasCompactSupport_nonneg_nonzero |
| 183 | (topNormDensity_hasCompactSupport D b form i) (topNormDensity_nonneg D b form i) |
| 184 | (ne_of_gt hy) |
| 185 | |
| 186 | omit [FiniteDimensional ℂ E] [T2Space M] in |
| 187 | /-- Strict positivity is proved for every finite subordinate chart partition. -/ |
| 188 | theorem topPairingWith_positive (D : Integration.Constructions.PolarizedPairing.FiniteChartPartition E M) |
| 189 | (b : Module.Basis (Fin n) ℂ E) (form : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) |
| 190 | (htype : DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree E M n 0 form.val) (hne : form ≠ 0) : |
| 191 | let z := topPairingWith D b form (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Conjugation.CM.Construction.conjugateSmoothForm form) |
| 192 | (Complex.I ^ (n * n) * z).im = 0 ∧ |
| 193 | 0 < (Complex.I ^ (n * n) * z).re ∧ z ≠ 0 := by |
| 194 | dsimp only |
| 195 | have hp : 0 < (2 : ℝ) ^ n * ∑ i : D.centers, ∫ y, topNormDensity D b form i y := |
| 196 | mul_pos (pow_pos (by norm_num) n) (topNormDensity_integral_sum_pos D b form htype hne) |
| 197 | have he := topPairingWith_conjugate D b form |
| 198 | refine ⟨?_, ?_, ?_⟩ |
| 199 | · rw [he] |
| 200 | rfl |
| 201 | · rw [he] |
| 202 | exact hp |
| 203 | · intro hz |
| 204 | rw [hz, mul_zero] at he |
| 205 | have hr := congrArg Complex.re he |
| 206 | exact (ne_of_gt hp) hr.symm |
| 207 | |
| 208 | /-- A fixed coordinate construction of the canonical-bundle pairing. |
| 209 | The left and right arguments are used at types `(n,0)` and `(0,n)`; |
| 210 | the positivity theorem below supplies the former and conjugates it for |
| 211 | the latter. -/ |
| 212 | def complexOrientedTopPairing (hdim : Module.finrank ℂ E = n) |
| 213 | (α β : DifferentialForms.Manifold.Algebra.SmoothManifoldForm E M n) : ℂ := |
| 214 | topPairingWith (Integration.Constructions.PolarizedPairing.canonicalChartPartition E M) |
| 215 | ((Module.finBasis ℂ E).reindex (finCongr hdim)) α β |
| 216 | |
| 217 | end |
| 218 | |
| 219 | end OAI.Analysis.HodgeTheory.TopForms.Constructions.PolarizedPairing |