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.WedgeCovariantDerivative |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricDerivative |
| 3 | import OAI.Analysis.HodgeTheory.Decomposition.ProjectiveCovectorConnection |
| 4 | |
| 5 | /-! # Kahler Form Parallel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.KahlerFormParallel.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual projective Kähler form is parallel for the metric |
| 12 | connection: the metric and complex structure determine its coefficients. -/ |
| 13 | |
| 14 | open OAI.Analysis.HodgeTheory.Decomposition.ProjectiveCovectorConnection.Constructions |
| 15 | open Filter |
| 16 | open scoped _root_.Topology ContDiff |
| 17 | |
| 18 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 19 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 20 | |
| 21 | theorem real_twoForm_metric_recover (f : Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) (u v : E) |
| 22 | (hr : (f ![u, v]).im = 0) : |
| 23 | f ![u, v] = -((KahlerDifferential.CM.Construction.metricFromTwoForm f u (Complex.I • v) : ℝ) : ℂ) := by |
| 24 | rw [KahlerDifferential.CM.Construction.metricFromTwoForm_J_right, Complex.ofReal_neg, neg_neg] |
| 25 | apply Complex.ext |
| 26 | · rfl |
| 27 | · exact hr |
| 28 | |
| 29 | theorem real_twoForm_derivative_metric {f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 2} {x : E} |
| 30 | (hf : DifferentiableAt ℝ f x) |
| 31 | (hr : ∀ᶠ y in 𝓝 x, ∀ v : Fin 2 → E, (f y v).im = 0) (u v w : E) : |
| 32 | (fderiv ℝ f x u) ![v, w] = |
| 33 | -((fderiv ℝ (fun y => KahlerDifferential.CM.Construction.metricFromTwoForm (f y)) x u v (Complex.I • w) : ℝ) : ℂ) := by |
| 34 | let B := fun y => KahlerDifferential.CM.Construction.metricFromTwoForm (f y) |
| 35 | have hB : DifferentiableAt ℝ B x := |
| 36 | ((KahlerDifferential.CM.Construction.metricFromTwoForm_smooth (E := E)).differentiable (by simp)).differentiableAt.comp x hf |
| 37 | have he : (fun y => f y ![v, w]) =ᶠ[𝓝 x] (fun y => -((B y v (Complex.I • w) : ℝ) : ℂ)) := by |
| 38 | filter_upwards [hr] with y hy |
| 39 | exact real_twoForm_metric_recover (f y) v w (hy _) |
| 40 | have hdB := (hB.clm_apply (differentiableAt_const v)).clm_apply |
| 41 | (differentiableAt_const (Complex.I • w)) |
| 42 | have hd := (Complex.ofRealCLM.hasFDerivAt.comp x hdB.hasFDerivAt).neg |
| 43 | change HasFDerivAt (fun y => -((B y v (Complex.I • w) : ℝ) : ℂ)) |
| 44 | ((-Complex.ofRealCLM).comp (fderiv ℝ (fun y => B y v (Complex.I • w)) x)) x at hd |
| 45 | rw [← fderiv_continuousAlternatingMap_apply_const_apply hf, he.fderiv_eq, hd.fderiv] |
| 46 | change -((fderiv ℝ (fun y => B y v (Complex.I • w)) x u : ℝ) : ℂ) = _ |
| 47 | rw [MetricDerivative.CM.Construction.bilinearDerivative_apply B hB] |
| 48 | |
| 49 | theorem metric_compatible_twoForm_parallel |
| 50 | (Γ : E → E →L[ℝ] E →L[ℝ] E) {f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 2} {x : E} |
| 51 | (hf : DifferentiableAt ℝ f x) |
| 52 | (hr : ∀ᶠ y in 𝓝 x, ∀ v : Fin 2 → E, (f y v).im = 0) |
| 53 | (hΓ : ∀ u v w, KahlerDifferential.CM.Construction.metricFromTwoForm (f x) (Γ x u v) w + |
| 54 | KahlerDifferential.CM.Construction.metricFromTwoForm (f x) v (Γ x u w) = |
| 55 | fderiv ℝ (fun y => KahlerDifferential.CM.Construction.metricFromTwoForm (f y)) x u v w) |
| 56 | (hJ : ∀ u v, Γ x u (Complex.I • v) = Complex.I • Γ x u v) : |
| 57 | Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorConnectionDerivative 2 Γ f x = 0 := by |
| 58 | have hrx := hr.self_of_nhds |
| 59 | apply ContinuousLinearMap.ext |
| 60 | intro u |
| 61 | apply ContinuousAlternatingMap.ext |
| 62 | intro v |
| 63 | have hv : v = ![v 0, v 1] := by ext i; fin_cases i <;> rfl |
| 64 | rw [Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorConnectionDerivative_apply] |
| 65 | change (fderiv ℝ f x u) v - Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorInfinitesimalAction 2 (Γ x u) (f x) v = 0 |
| 66 | rw [hv, real_twoForm_derivative_metric hf hr, ← hΓ, hJ, Complex.ofReal_add, neg_add_rev] |
| 67 | rw [← real_twoForm_metric_recover (f x) (Γ x u (v 0)) (v 1) (hrx _), |
| 68 | ← real_twoForm_metric_recover (f x) (v 0) (Γ x u (v 1)) (hrx _)] |
| 69 | rw [Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorInfinitesimalAction_apply, Fin.sum_univ_two] |
| 70 | have h₀ : Function.update ![v 0, v 1] 0 (Γ x u (v 0)) = ![Γ x u (v 0), v 1] := by |
| 71 | ext i; fin_cases i <;> simp |
| 72 | have h₁ : Function.update ![v 0, v 1] 1 (Γ x u (v 1)) = ![v 0, Γ x u (v 1)] := by |
| 73 | ext i; fin_cases i <;> simp |
| 74 | simp only [Matrix.cons_val_zero, Matrix.cons_val_one, h₀, h₁] |
| 75 | abel |
| 76 | |
| 77 | theorem fubiniStudyForm_parallel (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 78 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 79 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 80 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 81 | Analysis.HodgeTheory.Decomposition.ProjectiveCovectorConnection.Constructions.projectiveFormCovariantDerivative V e 2 (IntrinsicProjectiveCharts.CM.Construction.varietyFubiniStudyForm V) z = 0 := by |
| 82 | apply metric_compatible_twoForm_parallel (Analysis.HodgeTheory.Decomposition.ProjectiveConnection.Constructions.projectiveConnectionCoefficient V e) |
| 83 | (((Analysis.HodgeTheory.Decomposition.EuclideanForms.Constructions.euclideanChartForm_smooth V e he 2 (IntrinsicProjectiveCharts.CM.Construction.varietyFubiniStudyForm V)).contDiffAt |
| 84 | ((EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).differentiableAt (by simp)) |
| 85 | · filter_upwards [(EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz] with y hy |
| 86 | intro v |
| 87 | exact VarietyMetric.CM.Construction.varietyFubiniStudyForm_real_inChart V e he hy |
| 88 | (fun i => EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V (v i)) |
| 89 | · intro u v w |
| 90 | exact Analysis.HodgeTheory.Decomposition.ProjectiveConnection.Constructions.projectiveConnectionCoefficient_metric V e he hz u v w |
| 91 | · intro u v |
| 92 | exact Analysis.HodgeTheory.Decomposition.ProjectiveConnection.Constructions.projectiveConnectionCoefficient_J_right V e he hz u v |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.KahlerFormParallel.CM.Construction |