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.DivisorClass.Chern.Line.CovectorTypes |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.ProjectiveCovectorConnection |
| 3 | import OAI.Analysis.HodgeTheory.Decomposition.MetricCovariantInsertion |
| 4 | |
| 5 | /-! # Covector Neg -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.DivisorClass.Chern |
| 12 | |
| 13 | /-! Smoothness of the original bundle covariant coefficient fields on their exact frame-chart domains. -/ |
| 14 | |
| 15 | open scoped ContDiff |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | theorem Line.CovectorNeg.lineCovectorConnectionDerivative_smoothOn {E : Type*} |
| 21 | [NormedAddCommGroup E] [NormedSpace ℝ E] (n : ℕ) |
| 22 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) |
| 23 | {U : Set E} (hU : IsOpen U) (hG : ContDiffOn ℝ ∞ G U) (hA : ContDiffOn ℝ ∞ A U) |
| 24 | (ha : ContDiffOn ℝ ∞ a U) : |
| 25 | ContDiffOn ℝ ∞ (Line.ConnectionSymbols.lineCovectorConnectionDerivative n G A a) U := by |
| 26 | let L : Analysis.DifferentialForms.Manifold.Basic.FormValue E n →L[ℝ] ℂ →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n := (ContinuousLinearMap.lsmul ℝ ℂ).flip |
| 27 | have hL : ContDiff ℝ ∞ L := ContinuousLinearMap.contDiff |
| 28 | (𝕜 := ℝ) (E := Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (F := ℂ →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) L |
| 29 | exact (Analysis.HodgeTheory.Decomposition.ProjectiveCovectorConnection.Constructions.covectorConnectionDerivative_smoothOn n G a hU hG ha).add |
| 30 | ((hL.comp_contDiffOn ha).clm_comp hA) |
| 31 | |
| 32 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 33 | {u : Holomorphic.Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace} (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) |
| 34 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 35 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 36 | |
| 37 | include he |
| 38 | |
| 39 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.projectiveCovectorConnection_smooth |
| 40 | (U : TopologicalSpace.Opens V.analyticSpace) (n : ℕ) (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U n) (i : V.analyticSpace) : |
| 41 | ContDiffOn ℝ ∞ |
| 42 | (Line.ConnectionSymbols.lineCovectorConnectionDerivative n (Analysis.HodgeTheory.Decomposition.ProjectiveConnection.Constructions.projectiveConnectionCoefficient V e) (h.projectiveConnectionChart V e i) |
| 43 | (Analysis.HodgeTheory.Decomposition.EuclideanForms.Constructions.euclideanChartForm V e n (a.val i).extension)) |
| 44 | (ConnectionChartDerivative.projectiveOpenChartDomain V e (U ⊓ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain V.analyticModel V.analyticSpace u i) : Set _) := by |
| 45 | apply Line.CovectorNeg.lineCovectorConnectionDerivative_smoothOn n _ _ _ |
| 46 | (ConnectionChartDerivative.projectiveOpenChartDomain V e (U ⊓ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain V.analyticModel V.analyticSpace u i)).isOpen |
| 47 | · exact (Analysis.HodgeTheory.Decomposition.ProjectiveConnectionSmooth.Constructions.projectiveConnectionCoefficient_smooth V e he).mono (fun _ hz => hz.1) |
| 48 | · exact (h.projectiveConnectionChart_smooth V e he i).mono (fun _ hz => ⟨hz.1, hz.2.2⟩) |
| 49 | · exact ConnectionChartDerivative.projectiveOpenChartForm_smooth V e he _ n (a.val i) |
| 50 | |
| 51 | end AlgebraicGeometry.DivisorClass.Chern |
| 52 | |
| 53 | namespace AlgebraicGeometry.DivisorClass.Chern.Line.CovectorNeg |
| 54 | section |
| 55 | |
| 56 | /-! Differentiating contractions of the actual line covector connection, including the inverse-metric derivative. -/ |
| 57 | |
| 58 | open scoped ContDiff |
| 59 | set_option backward.isDefEq.respectTransparency false |
| 60 | set_option backward.isDefEq.respectTransparency.types false |
| 61 | set_option backward.defeqAttrib.useBackward true |
| 62 | |
| 63 | section Linear |
| 64 | |
| 65 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 66 | |
| 67 | theorem lineCovectorConnectionDerivative_contraction (n : ℕ) |
| 68 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 69 | (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E (n + 1)) (w : E → E) {x : E} |
| 70 | (ha : DifferentiableAt ℝ a x) (hw : DifferentiableAt ℝ w x) (v : E) : |
| 71 | ConnectionSymbols.lineCovectorConnectionDerivative n G A (fun y => Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorContraction n (w y) (a y)) x v = |
| 72 | Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorContraction n (fderiv ℝ w x v + G x v (w x)) (a x) + |
| 73 | Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorContraction n (w x) (ConnectionSymbols.lineCovectorConnectionDerivative (n + 1) G A a x v) := by |
| 74 | rw [ConnectionSymbols.lineCovectorConnectionDerivative_apply, ConnectionSymbols.lineCovectorConnectionDerivative_apply, |
| 75 | Analysis.HodgeTheory.Decomposition.CovariantInsertion.Constructions.covectorConnectionDerivative_contraction n G a w ha hw, map_add, ConnectionSymbols.exteriorContraction_complex_smul] |
| 76 | abel |
| 77 | |
| 78 | end Linear |
| 79 | |
| 80 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 81 | |
| 82 | theorem lineMetricCovariantInsertion (n : ℕ) |
| 83 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 84 | (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E (n + 1)) {U : Set E} (hU : IsOpen U) |
| 85 | (hB : ContDiffOn ℝ ∞ B U) (hpos : ∀ y ∈ U, ∀ v : E, v ≠ 0 → 0 < B y v v) |
| 86 | {x : E} (hx : x ∈ U) (ha : DifferentiableAt ℝ a x) (v : E) |
| 87 | (hG : ∀ p q, B x (G x v p) q + B x p (G x v q) = fderiv ℝ B x v p q) |
| 88 | (ξ : E →L[ℝ] ℝ) : |
| 89 | ConnectionSymbols.lineCovectorConnectionDerivative n G A (fun y => Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorContraction n (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B y) ξ) (a y)) x v = |
| 90 | -Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorContraction n (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B x) (ξ.comp (G x v))) (a x) + |
| 91 | Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorContraction n (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B x) ξ) (ConnectionSymbols.lineCovectorConnectionDerivative (n + 1) G A a x v) := by |
| 92 | rw [ConnectionSymbols.lineCovectorConnectionDerivative_apply, ConnectionSymbols.lineCovectorConnectionDerivative_apply, |
| 93 | Analysis.HodgeTheory.Decomposition.MetricCovariantInsertion.Constructions.metricCovariantInsertion n B G a hU hB hpos hx ha v hG ξ, map_add, ConnectionSymbols.exteriorContraction_complex_smul] |
| 94 | abel |
| 95 | |
| 96 | end |
| 97 | |
| 98 | /-! Differentiating the actual covariant metric trace, with every inverse-metric term retained. -/ |
| 99 | |
| 100 | open scoped ContDiff |
| 101 | set_option backward.isDefEq.respectTransparency false |
| 102 | set_option backward.isDefEq.respectTransparency.types false |
| 103 | set_option backward.defeqAttrib.useBackward true |
| 104 | |
| 105 | section Linear |
| 106 | |
| 107 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 108 | |
| 109 | theorem lineCovectorConnectionDerivative_neg (n : ℕ) |
| 110 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (x v : E) : |
| 111 | ConnectionSymbols.lineCovectorConnectionDerivative n G A (fun y => -a y) x v = |
| 112 | -ConnectionSymbols.lineCovectorConnectionDerivative n G A a x v := by |
| 113 | simp only [ConnectionSymbols.lineCovectorConnectionDerivative_apply, Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorConnectionDerivative_apply, |
| 114 | fderiv_fun_neg, _root_.neg_apply, map_neg, smul_neg] |
| 115 | abel |
| 116 | |
| 117 | theorem lineCovectorConnectionDerivative_sum {ι : Type*} (s : Finset ι) (n : ℕ) |
| 118 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) (a : ι → E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) |
| 119 | {x : E} (ha : ∀ i ∈ s, DifferentiableAt ℝ (a i) x) (v : E) : |
| 120 | ConnectionSymbols.lineCovectorConnectionDerivative n G A (fun y => ∑ i ∈ s, a i y) x v = |
| 121 | ∑ i ∈ s, ConnectionSymbols.lineCovectorConnectionDerivative n G A (a i) x v := by |
| 122 | simp only [ConnectionSymbols.lineCovectorConnectionDerivative_apply, Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorConnectionDerivative_apply, |
| 123 | fderiv_fun_sum ha, _root_.sum_apply, map_sum, Finset.smul_sum, |
| 124 | Finset.sum_sub_distrib, Finset.sum_add_distrib] |
| 125 | |
| 126 | end Linear |
| 127 | |
| 128 | variable {E ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 129 | [Fintype ι] |
| 130 | |
| 131 | theorem lineCovariantCodifferential_derivative (b : Module.Basis ι ℝ E) (n : ℕ) |
| 132 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 133 | (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E (n + 1)) {U : Set E} (hU : IsOpen U) |
| 134 | (hB : ContDiffOn ℝ ∞ B U) (hG : ContDiffOn ℝ ∞ G U) (hA : ContDiffOn ℝ ∞ A U) |
| 135 | (ha : ContDiffOn ℝ ∞ a U) (hpos : ∀ y ∈ U, ∀ v : E, v ≠ 0 → 0 < B y v v) |
| 136 | {x : E} (hx : x ∈ U) (v : E) |
| 137 | (hmetric : ∀ p q, B x (G x v p) q + B x p (G x v q) = fderiv ℝ B x v p q) : |
| 138 | ConnectionSymbols.lineCovectorConnectionDerivative n G A (ConnectionSymbols.lineCovariantCodifferential b n B G A a) x v = |
| 139 | (∑ i, Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorContraction n (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B x) ((b.coord i).toContinuousLinearMap.comp (G x v))) |
| 140 | (ConnectionSymbols.lineCovectorConnectionDerivative (n + 1) G A a x (b i))) - |
| 141 | ∑ i, Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorContraction n (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B x) (b.coord i).toContinuousLinearMap) |
| 142 | (ConnectionSymbols.lineCovectorConnectionDerivative (n + 1) G A |
| 143 | (fun y => ConnectionSymbols.lineCovectorConnectionDerivative (n + 1) G A a y (b i)) x v) := by |
| 144 | have hd (i : ι) : ContDiffOn ℝ ∞ |
| 145 | (fun y => ConnectionSymbols.lineCovectorConnectionDerivative (n + 1) G A a y (b i)) U := |
| 146 | (lineCovectorConnectionDerivative_smoothOn (n + 1) G A a hU hG hA ha).clm_apply contDiffOn_const |
| 147 | have hs (i : ι) : DifferentiableAt ℝ |
| 148 | (fun y => Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorContraction n (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B y) (b.coord i).toContinuousLinearMap) |
| 149 | (ConnectionSymbols.lineCovectorConnectionDerivative (n + 1) G A a y (b i))) x := |
| 150 | ((Analysis.HodgeTheory.Decomposition.CovariantInsertion.Constructions.exteriorContraction_smoothOn n _ _ (hd i) |
| 151 | ((Analysis.HodgeTheory.Decomposition.KoszulSmooth.Constructions.bilinearMetricSharp_smoothOn B hU hB hpos).clm_apply contDiffOn_const)).contDiffAt |
| 152 | (hU.mem_nhds hx)).differentiableAt (by simp) |
| 153 | change ConnectionSymbols.lineCovectorConnectionDerivative n G A |
| 154 | (fun y => -(∑ i, Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorContraction n (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp (B y) (b.coord i).toContinuousLinearMap) |
| 155 | (ConnectionSymbols.lineCovectorConnectionDerivative (n + 1) G A a y (b i)))) x v = _ |
| 156 | rw [lineCovectorConnectionDerivative_neg, lineCovectorConnectionDerivative_sum Finset.univ n G A _ (fun i _ => hs i)] |
| 157 | simp_rw [lineMetricCovariantInsertion n B G A _ hU hB hpos hx |
| 158 | (((hd _).contDiffAt (hU.mem_nhds hx)).differentiableAt (by simp)) v hmetric] |
| 159 | rw [Finset.sum_add_distrib, Finset.sum_neg_distrib] |
| 160 | abel |
| 161 | |
| 162 | end AlgebraicGeometry.DivisorClass.Chern.Line.CovectorNeg |
| 163 | |
| 164 | end |
| 165 | |
| 166 | end OAI |