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.ComplexMultiplication.HodgeComparison.ProjectiveMetric |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.OpenPullback |
| 3 | import OAI.AlgebraicTopology.DeRham.Comparison.BidegreeRestriction |
| 4 | |
| 5 | /-! # Homogeneous Metric -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HomogeneousMetric.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The smooth closed Fubini--Study curvature on nonzero homogeneous vectors, |
| 12 | and its pullback along holomorphic maps to that open domain. -/ |
| 13 | |
| 14 | open scoped ContDiff |
| 15 | open Set _root_.TopologicalSpace |
| 16 | |
| 17 | variable {ι : Type*} [Fintype ι] |
| 18 | |
| 19 | def nonzeroHomogeneousDomain : Opens (ι → ℂ) := |
| 20 | ⟨{w | w ≠ 0}, isOpen_ne_fun continuous_id continuous_const⟩ |
| 21 | |
| 22 | def homogeneousBerryCovector (w : ι → ℂ) : (ι → ℂ) →L[ℝ] ℂ := |
| 23 | (1 / (2 * Real.pi * Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.coordinateNormSq w) : ℝ) • |
| 24 | ∑ i, ((w i).re • ProjectiveMetric.CM.Construction.imagCoordinateCovector i - (w i).im • ProjectiveMetric.CM.Construction.realCoordinateCovector i) |
| 25 | |
| 26 | theorem homogeneousBerryCovector_apply (w u : ι → ℂ) : |
| 27 | homogeneousBerryCovector w u = Complex.ofReal |
| 28 | (Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.berryConnection w (LinearMap.id : (ι → ℂ) →ₗ[ℂ] (ι → ℂ)) u) := by |
| 29 | rw [homogeneousBerryCovector, Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.berryConnection] |
| 30 | simp only [smul_apply, sum_apply, sub_apply, ProjectiveMetric.CM.Construction.imagCoordinateCovector, ProjectiveMetric.CM.Construction.realCoordinateCovector, |
| 31 | ContinuousLinearMap.comp_apply, ContinuousLinearMap.coe_restrictScalars', |
| 32 | ContinuousLinearMap.proj_apply, Complex.ofRealCLM_apply, Complex.imCLM_apply, Complex.reCLM_apply, |
| 33 | Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.coordinatePairing, LinearMap.id_apply, Complex.im_sum, Complex.mul_im, |
| 34 | Complex.star_def, Complex.conj_re, Complex.conj_im, Complex.real_smul] |
| 35 | push_cast |
| 36 | simp only [neg_mul, ← sub_eq_add_neg, Finset.sum_sub_distrib] |
| 37 | ring |
| 38 | |
| 39 | theorem homogeneousBerryCovector_smoothAt {w : ι → ℂ} (hw : w ≠ 0) : |
| 40 | ContDiffAt ℝ ∞ homogeneousBerryCovector w := by |
| 41 | have hre (i : ι) : ContDiff ℝ ∞ (fun z : ι → ℂ => (z i).re) := |
| 42 | Complex.reCLM.contDiff.comp (ContinuousLinearMap.proj i : (ι → ℂ) →L[ℝ] ℂ).contDiff |
| 43 | have him (i : ι) : ContDiff ℝ ∞ (fun z : ι → ℂ => (z i).im) := |
| 44 | Complex.imCLM.contDiff.comp (ContinuousLinearMap.proj i : (ι → ℂ) →L[ℝ] ℂ).contDiff |
| 45 | have hn : 2 * Real.pi * Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.coordinateNormSq w ≠ 0 := |
| 46 | mul_ne_zero (mul_ne_zero (by norm_num) Real.pi_ne_zero) |
| 47 | (Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.coordinateNormSq_pos w hw).ne' |
| 48 | unfold homogeneousBerryCovector |
| 49 | refine ContDiffAt.smul |
| 50 | (f := fun z : ι → ℂ => 1 / (2 * Real.pi * Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.coordinateNormSq z)) |
| 51 | (g := fun z : ι → ℂ => ∑ i, ((z i).re • ProjectiveMetric.CM.Construction.imagCoordinateCovector i - |
| 52 | (z i).im • ProjectiveMetric.CM.Construction.realCoordinateCovector i)) ?_ ?_ |
| 53 | · apply contDiffAt_const.div |
| 54 | · simp only [Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.coordinateNormSq, Complex.normSq_apply] |
| 55 | fun_prop |
| 56 | · exact hn |
| 57 | · fun_prop |
| 58 | |
| 59 | def homogeneousBerryRawForm (w : ι → ℂ) : Analysis.DifferentialForms.Manifold.Basic.FormValue (ι → ℂ) 1 := |
| 60 | ContinuousAlternatingMap.ofSubsingleton ℝ (ι → ℂ) ℂ (0 : Fin 1) |
| 61 | (homogeneousBerryCovector w) |
| 62 | |
| 63 | theorem homogeneousBerryRawForm_smoothAt {w : ι → ℂ} (hw : w ≠ 0) : |
| 64 | ContDiffAt ℝ ∞ homogeneousBerryRawForm w := |
| 65 | (ContinuousAlternatingMap.ofSubsingletonLIE (𝕜 := ℝ) (E := ι → ℂ) (F := ℂ) |
| 66 | (0 : Fin 1)).toContinuousLinearEquiv.contDiff.contDiffAt.comp w |
| 67 | (homogeneousBerryCovector_smoothAt hw) |
| 68 | |
| 69 | theorem homogeneousBerryRawForm_smoothOn : |
| 70 | ContDiffOn ℝ ∞ (homogeneousBerryRawForm (ι := ι)) |
| 71 | (nonzeroHomogeneousDomain (ι := ι) : Set (ι → ℂ)) := |
| 72 | fun _ hw => (homogeneousBerryRawForm_smoothAt hw).contDiffWithinAt |
| 73 | |
| 74 | def homogeneousBerryOneForm : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (nonzeroHomogeneousDomain (ι := ι)) 1 := |
| 75 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ofRaw _ homogeneousBerryRawForm homogeneousBerryRawForm_smoothOn |
| 76 | |
| 77 | theorem homogeneousBerryCovector_directional {w : ι → ℂ} (hw : w ≠ 0) (u v : ι → ℂ) : |
| 78 | fderiv ℝ (fun y => homogeneousBerryCovector y v) w u = Complex.ofReal |
| 79 | (deriv (fun t : ℝ => Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.berryConnection (w + t • u) |
| 80 | (LinearMap.id : (ι → ℂ) →ₗ[ℂ] (ι → ℂ)) v) 0) := by |
| 81 | have hb := Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.berryConnection_hasDerivAt_line |
| 82 | (f := id) (z := w) (contDiffAt_id (n := 2)) hw u v |
| 83 | simp only [fderiv_id, id_eq] at hb |
| 84 | change HasDerivAt (fun t : ℝ => Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.berryConnection (w + t • u) LinearMap.id v) _ 0 at hb |
| 85 | have hr := Complex.ofRealCLM.hasFDerivAt.comp_hasDerivAt 0 hb |
| 86 | have hd : DifferentiableAt ℝ (fun y => homogeneousBerryCovector y v) w := |
| 87 | ((ContinuousLinearMap.apply ℝ ℂ v).contDiff.contDiffAt.comp w |
| 88 | (homogeneousBerryCovector_smoothAt hw)).differentiableAt (by simp) |
| 89 | rw [hb.deriv] |
| 90 | apply (hd.hasFDerivAt.hasLineDerivAt u).unique |
| 91 | simpa only [HasLineDerivAt, Function.comp_def, homogeneousBerryCovector_apply, |
| 92 | Complex.ofRealCLM_apply] using hr |
| 93 | |
| 94 | def homogeneousFubiniStudyTwoForm : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (nonzeroHomogeneousDomain (ι := ι)) 2 := |
| 95 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d homogeneousBerryOneForm |
| 96 | |
| 97 | theorem homogeneousFubiniStudyTwoForm_closed : |
| 98 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d (homogeneousFubiniStudyTwoForm (ι := ι)) = 0 := |
| 99 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d_squared homogeneousBerryOneForm |
| 100 | |
| 101 | theorem homogeneousFubiniStudyTwoForm_apply |
| 102 | (w : nonzeroHomogeneousDomain (ι := ι)) (v : Fin 2 → (ι → ℂ)) : |
| 103 | homogeneousFubiniStudyTwoForm w v = Complex.ofReal |
| 104 | (Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.fubiniStudyForm w (LinearMap.id : (ι → ℂ) →ₗ[ℂ] (ι → ℂ)) (v 0) (v 1)).im := by |
| 105 | have hc := Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.berryConnection_curvature |
| 106 | (f := id) (z := (w : ι → ℂ)) (contDiffAt_id (n := 2)) w.property (v 0) (v 1) |
| 107 | simp only [fderiv_id, id_eq] at hc |
| 108 | change deriv (fun t : ℝ => Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.berryConnection ((w : ι → ℂ) + t • v 0) LinearMap.id (v 1)) 0 - |
| 109 | deriv (fun t : ℝ => Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.berryConnection ((w : ι → ℂ) + t • v 1) LinearMap.id (v 0)) 0 = |
| 110 | (Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.fubiniStudyForm w LinearMap.id (v 0) (v 1)).im at hc |
| 111 | rw [homogeneousFubiniStudyTwoForm, homogeneousBerryOneForm, Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d_ofRaw_apply] |
| 112 | rw [extDeriv_apply ((homogeneousBerryRawForm_smoothAt w.property).differentiableAt (by simp)), |
| 113 | Fin.sum_univ_two] |
| 114 | change (1 : ℤ) • fderiv ℝ (fun y => homogeneousBerryCovector y (v 1)) (w : ι → ℂ) (v 0) + |
| 115 | (-1 : ℤ) • fderiv ℝ (fun y => homogeneousBerryCovector y (v 0)) (w : ι → ℂ) (v 1) = _ |
| 116 | simp only [one_smul, neg_one_smul, ← sub_eq_add_neg, |
| 117 | homogeneousBerryCovector_directional w.property] |
| 118 | rw [← Complex.ofReal_sub, hc] |
| 119 | |
| 120 | theorem homogeneousFubiniStudyTwoForm_hasBidegree (w : nonzeroHomogeneousDomain (ι := ι)) : |
| 121 | Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree (ι → ℂ) 1 1 (homogeneousFubiniStudyTwoForm w) := by |
| 122 | intro c v |
| 123 | change homogeneousFubiniStudyTwoForm w (fun i : Fin 2 => (c : ℂ) • v i) = |
| 124 | Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter 1 1 c * homogeneousFubiniStudyTwoForm w v |
| 125 | rw [homogeneousFubiniStudyTwoForm_apply, homogeneousFubiniStudyTwoForm_apply] |
| 126 | simp only [Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter, pow_one, map_smulₛₗ, starRingEnd_apply, |
| 127 | LinearMap.smul_apply, smul_eq_mul, RingHom.id_apply] |
| 128 | simp only [← mul_assoc, Complex.star_def, Complex.mul_conj, |
| 129 | Complex.mul_im, Complex.ofReal_re, Complex.ofReal_im, zero_mul, add_zero, |
| 130 | Complex.ofReal_mul] |
| 131 | |
| 132 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 133 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 134 | {U : Opens E} (f : E → ι → ℂ) (hf : ContDiffOn ℂ ∞ f (U : Set E)) |
| 135 | (hn : ∀ x ∈ U, f x ≠ 0) |
| 136 | |
| 137 | include hn in |
| 138 | omit [Fintype ι] [NormedSpace ℝ E] [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] in |
| 139 | theorem nonzero_lift_mapsTo : |
| 140 | MapsTo f (U : Set E) (nonzeroHomogeneousDomain (ι := ι) : Set (ι → ℂ)) := hn |
| 141 | |
| 142 | /-- Pull back the actual homogeneous curvature along a nonvanishing holomorphic lift. -/ |
| 143 | def liftedFubiniStudyTwoForm : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm U 2 := |
| 144 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.pullback (V := nonzeroHomogeneousDomain (ι := ι)) |
| 145 | f (hf.restrict_scalars ℝ) (nonzero_lift_mapsTo f hn) homogeneousFubiniStudyTwoForm |
| 146 | |
| 147 | theorem liftedFubiniStudyTwoForm_closed : |
| 148 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d (liftedFubiniStudyTwoForm f hf hn) = 0 := by |
| 149 | rw [liftedFubiniStudyTwoForm, Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d_pullback, |
| 150 | homogeneousFubiniStudyTwoForm_closed, map_zero] |
| 151 | |
| 152 | theorem liftedFubiniStudyTwoForm_apply (x : U) (v : Fin 2 → E) : |
| 153 | liftedFubiniStudyTwoForm f hf hn x v = Complex.ofReal |
| 154 | (Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.fubiniStudyForm (f x) (fderiv ℂ f x).toLinearMap (v 0) (v 1)).im := by |
| 155 | rw [liftedFubiniStudyTwoForm, Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.pullback_apply_vectors, |
| 156 | homogeneousFubiniStudyTwoForm_apply] |
| 157 | have hd := (hf.contDiffAt (U.isOpen.mem_nhds x.property)).differentiableAt (by simp) |
| 158 | rw [hd.fderiv_restrictScalars ℝ] |
| 159 | rfl |
| 160 | |
| 161 | theorem liftedFubiniStudyTwoForm_hasBidegree (x : U) : |
| 162 | Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 1 1 (liftedFubiniStudyTwoForm f hf hn x) := by |
| 163 | change Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 1 1 (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.pullback (V := nonzeroHomogeneousDomain (ι := ι)) |
| 164 | f (hf.restrict_scalars ℝ) (nonzero_lift_mapsTo f hn) homogeneousFubiniStudyTwoForm x) |
| 165 | rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.pullback_apply] |
| 166 | have hd := (hf.contDiffAt (U.isOpen.mem_nhds x.property)).differentiableAt (by simp) |
| 167 | rw [hd.fderiv_restrictScalars ℝ] |
| 168 | exact AlgebraicTopology.DeRham.Comparison.BidegreeRestriction.hasBidegree_pullback (homogeneousFubiniStudyTwoForm_hasBidegree _) (fderiv ℂ f x) |
| 169 | |
| 170 | theorem liftedFubiniStudyTwoForm_positive (x : U) |
| 171 | (hD : Function.Injective (fderiv ℂ f x)) (i : ι) |
| 172 | (hwi : f x i ≠ 0) (hDi : ∀ u : E, fderiv ℂ f x u i = 0) (u : E) (hu : u ≠ 0) : |
| 173 | 0 < (liftedFubiniStudyTwoForm f hf hn x ![u, Complex.I • u]).re := by |
| 174 | rw [liftedFubiniStudyTwoForm_apply] |
| 175 | simpa only [Matrix.cons_val_zero, Matrix.cons_val_one, Matrix.head_cons, map_smul, |
| 176 | smul_eq_mul, Complex.mul_im, Complex.I_re, Complex.I_im, zero_mul, one_mul, |
| 177 | zero_add, Complex.ofReal_re] using |
| 178 | Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.fubiniStudyForm_positive (f x) (fderiv ℂ f x).toLinearMap hD i hwi hDi u hu |
| 179 | |
| 180 | /-- Multiplying a homogeneous lift by a nonzero holomorphic scalar leaves |
| 181 | the actual pulled-back curvature unchanged. -/ |
| 182 | theorem liftedFubiniStudyTwoForm_gauge |
| 183 | (g : E → ι → ℂ) (hg : ContDiffOn ℂ ∞ g (U : Set E)) (hng : ∀ x ∈ U, g x ≠ 0) |
| 184 | (a : E → ℂ) (ha : ContDiffOn ℂ ∞ a (U : Set E)) (hna : ∀ x ∈ U, a x ≠ 0) |
| 185 | (hfg : ∀ x ∈ U, f x = a x • g x) : |
| 186 | liftedFubiniStudyTwoForm f hf hn = liftedFubiniStudyTwoForm g hg hng := by |
| 187 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 188 | intro x |
| 189 | ext v |
| 190 | rw [liftedFubiniStudyTwoForm_apply, liftedFubiniStudyTwoForm_apply] |
| 191 | have he : f =ᶠ[nhds (x : E)] fun y => a y • g y := by |
| 192 | filter_upwards [U.isOpen.mem_nhds x.property] with y hy |
| 193 | exact hfg y hy |
| 194 | have hda := (ha.contDiffAt (U.isOpen.mem_nhds x.property)).differentiableAt (by simp) |
| 195 | have hdg := (hg.contDiffAt (U.isOpen.mem_nhds x.property)).differentiableAt (by simp) |
| 196 | have hD : (fderiv ℂ f x).toLinearMap = a x • (fderiv ℂ g x).toLinearMap + |
| 197 | (fderiv ℂ a x).toLinearMap.smulRight (g x) := by |
| 198 | rw [he.fderiv_eq] |
| 199 | exact congrArg ContinuousLinearMap.toLinearMap (fderiv_smul hda hdg) |
| 200 | rw [hfg x x.property, hD, Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.fubiniStudyForm_gauge |
| 201 | (a x) (hna x x.property) (g x) (hng x x.property)] |
| 202 | |
| 203 | end |
| 204 | |
| 205 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HomogeneousMetric.CM.Construction |