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.MixedTwoChartMetric |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ClosedOneMixedDerivatives |
| 3 | |
| 4 | /-! # Closed Two -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ClosedTwo.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The mixed component of the actual exterior derivative of a one-form |
| 13 | is the difference of the two Dolbeault coefficient derivatives. -/ |
| 14 | |
| 15 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 16 | |
| 17 | theorem oneForm_extDeriv_apply (f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 1) {x : E} |
| 18 | (hf : DifferentiableAt ℝ f x) (u v : E) : |
| 19 | KahlerDifferential.CM.Construction.twoFormBilinear (extDeriv f x) u v = |
| 20 | fderiv ℝ (fun y => f y (fun _ => v)) x u - |
| 21 | fderiv ℝ (fun y => f y (fun _ => u)) x v := by |
| 22 | rw [KahlerDifferential.CM.Construction.twoFormBilinear_apply, extDeriv_apply hf, Fin.sum_univ_two] |
| 23 | have h0 : (0 : Fin 2).removeNth ![u, v] = fun _ => v := by ext i; fin_cases i; rfl |
| 24 | have h1 : (1 : Fin 2).removeNth ![u, v] = fun _ => u := by ext i; fin_cases i; rfl |
| 25 | rw [h0, h1] |
| 26 | change (1 : ℤ) • fderiv ℝ (fun y => f y (fun _ => v)) x u + |
| 27 | (-1 : ℤ) • fderiv ℝ (fun y => f y (fun _ => u)) x v = _ |
| 28 | simp only [one_smul, neg_one_smul, sub_eq_add_neg] |
| 29 | |
| 30 | variable [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 31 | |
| 32 | theorem mixedTwoCoefficient_extDeriv (f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 1) {x : E} |
| 33 | (hf : DifferentiableAt ℝ f x) (u v : E) : |
| 34 | MixedTwoCoefficient.CM.Construction.mixedTwoCoefficient (extDeriv f x) u v = |
| 35 | AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative |
| 36 | (fun y => ComplexCovector.CM.Construction.holomorphicCovectorProjection (HolomorphicMixedChartPair.CM.Construction.oneCovectorCLM (f y)) v) x u - |
| 37 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative |
| 38 | (fun y => Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM E ℂ (HolomorphicMixedChartPair.CM.Construction.oneCovectorCLM (f y)) u) x v := by |
| 39 | rw [MixedTwoCoefficient.CM.Construction.mixedTwoCoefficient_apply] |
| 40 | simp only [oneForm_extDeriv_apply f hf] |
| 41 | rw [AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative, MetricDerivative.CM.Construction.holomorphicDirectionalDerivative, |
| 42 | ClosedOneMixedDerivatives.CM.Construction.holomorphic_projection_coefficient_derivative f hf, |
| 43 | ClosedOneMixedDerivatives.CM.Construction.holomorphic_projection_coefficient_derivative f hf, |
| 44 | ClosedOneMixedDerivatives.CM.Construction.antiholomorphic_projection_coefficient_derivative f hf, |
| 45 | ClosedOneMixedDerivatives.CM.Construction.antiholomorphic_projection_coefficient_derivative f hf] |
| 46 | ring_nf |
| 47 | simp only [Complex.I_sq] |
| 48 | ring |
| 49 | |
| 50 | end |
| 51 | |
| 52 | section |
| 53 | |
| 54 | /-! Closedness and type (1,1) force symmetry of the holomorphic |
| 55 | derivative of the actual mixed two-form coefficients. -/ |
| 56 | |
| 57 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 58 | |
| 59 | def holomorphicMixedTwoTensor (T : E →L[ℝ] E →L[ℝ] E →L[ℝ] ℂ) (u v w : E) : ℂ := |
| 60 | (1 / 4 : ℂ) * (T u v w - Complex.I * T u v (Complex.I • w) - |
| 61 | Complex.I * T (Complex.I • u) v w - T (Complex.I • u) v (Complex.I • w)) |
| 62 | |
| 63 | theorem closedTwoTensor_holomorphic_symmetric |
| 64 | (T : E →L[ℝ] E →L[ℝ] E →L[ℝ] ℂ) |
| 65 | (hS : ∀ a b c : E, T a b c = -T a c b) |
| 66 | (hJ : ∀ a b c : E, T a (Complex.I • b) c = -T a b (Complex.I • c)) |
| 67 | (hclosed : ∀ a b c : E, T a b c - T b a c + T c a b = 0) |
| 68 | (u v w : E) : holomorphicMixedTwoTensor T u v w = holomorphicMixedTwoTensor T w v u := by |
| 69 | have hJJ (a b c : E) : T a (Complex.I • b) (Complex.I • c) = T a b c := by |
| 70 | rw [hJ, smul_smul, Complex.I_mul_I, neg_one_smul, map_neg, neg_neg] |
| 71 | have hR₁ := hclosed u w v |
| 72 | rw [hS u w v, hS w u v] at hR₁ |
| 73 | have hR₂ := hclosed (Complex.I • u) (Complex.I • w) v |
| 74 | rw [hS (Complex.I • u) (Complex.I • w) v, |
| 75 | hS (Complex.I • w) (Complex.I • u) v, hJJ] at hR₂ |
| 76 | have hR : T u v w - T (Complex.I • u) v (Complex.I • w) = |
| 77 | T w v u - T (Complex.I • w) v (Complex.I • u) := by |
| 78 | linear_combination hR₂ - hR₁ |
| 79 | have hI₁ := hclosed u w (Complex.I • v) |
| 80 | rw [hS u w (Complex.I • v), hJ u v w, |
| 81 | hS w u (Complex.I • v), hJ w v u] at hI₁ |
| 82 | have hI₂ := hclosed (Complex.I • u) (Complex.I • w) (Complex.I • v) |
| 83 | rw [hJJ, hJJ, hJJ, hS (Complex.I • u) w v, hS (Complex.I • w) u v] at hI₂ |
| 84 | have hI : T u v (Complex.I • w) + T (Complex.I • u) v w = |
| 85 | T w v (Complex.I • u) + T (Complex.I • w) v u := by |
| 86 | linear_combination hI₁ - hI₂ |
| 87 | unfold holomorphicMixedTwoTensor |
| 88 | linear_combination (hR - Complex.I * hI) / 4 |
| 89 | |
| 90 | end |
| 91 | |
| 92 | /-! The tensor symmetry is the genuine holomorphic coefficient identity |
| 93 | for a smooth closed form of type (1,1), on any open chart domain. -/ |
| 94 | |
| 95 | open Filter |
| 96 | open scoped _root_.Topology |
| 97 | |
| 98 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 99 | |
| 100 | def twoFormFirstDerivative (f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) (x : E) : |
| 101 | E →L[ℝ] E →L[ℝ] E →L[ℝ] ℂ := KahlerDifferential.CM.Construction.twoFormBilinear.comp (fderiv ℝ f x) |
| 102 | |
| 103 | theorem twoFormFirstDerivative_apply (f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) {x : E} |
| 104 | (hf : DifferentiableAt ℝ f x) (u v w : E) : |
| 105 | twoFormFirstDerivative f x u v w = fderiv ℝ (fun y => f y ![v, w]) x u := by |
| 106 | rw [fderiv_continuousAlternatingMap_apply_const_apply hf] |
| 107 | exact KahlerDifferential.CM.Construction.twoFormBilinear_apply _ v w |
| 108 | |
| 109 | theorem twoFormFirstDerivative_skew (f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) (x u v w : E) : |
| 110 | twoFormFirstDerivative f x u v w = -twoFormFirstDerivative f x u w v := |
| 111 | MixedTwoCoefficient.CM.Construction.twoFormBilinear_skew _ w v |
| 112 | |
| 113 | theorem twoFormFirstDerivative_closed (f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) {x : E} |
| 114 | (hf : DifferentiableAt ℝ f x) (hc : extDeriv f x = 0) (u v w : E) : |
| 115 | twoFormFirstDerivative f x u v w - twoFormFirstDerivative f x v u w + |
| 116 | twoFormFirstDerivative f x w u v = 0 := by |
| 117 | simpa only [twoFormFirstDerivative_apply f hf] using KahlerDifferential.CM.Construction.closed_twoForm_derivative f hf hc u v w |
| 118 | |
| 119 | variable [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 120 | |
| 121 | omit [IsScalarTower ℝ ℂ E] in |
| 122 | theorem type11_fderiv (f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) {x : E} (hf : DifferentiableAt ℝ f x) |
| 123 | (ht : ∀ᶠ y in 𝓝 x, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 1 1 (f y)) (u : E) : |
| 124 | Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 1 1 (fderiv ℝ f x u) := by |
| 125 | intro z v |
| 126 | have heq : (fun y => f y (fun i => (z : ℂ) • v i)) =ᶠ[𝓝 x] |
| 127 | (fun y => Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter 1 1 z * f y v) := by |
| 128 | filter_upwards [ht] with y hy |
| 129 | exact hy z v |
| 130 | have h := congrArg (fun L : E →L[ℝ] ℂ => L u) heq.fderiv_eq |
| 131 | rw [fderiv_continuousAlternatingMap_apply_const_apply hf, |
| 132 | fderiv_const_mul (hf.continuousAlternatingMap_apply_const v)] at h |
| 133 | simpa only [smul_apply, smul_eq_mul, fderiv_continuousAlternatingMap_apply_const_apply hf] using h |
| 134 | |
| 135 | omit [IsScalarTower ℝ ℂ E] in |
| 136 | theorem twoFormFirstDerivative_J_left (f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) {x : E} |
| 137 | (hf : DifferentiableAt ℝ f x) (ht : ∀ᶠ y in 𝓝 x, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 1 1 (f y)) (u v w : E) : |
| 138 | twoFormFirstDerivative f x u (Complex.I • v) w = |
| 139 | -twoFormFirstDerivative f x u v (Complex.I • w) := |
| 140 | MixedTwoCoefficient.CM.Construction.twoFormBilinear_type11_J_left _ (type11_fderiv f hf ht u) v w |
| 141 | |
| 142 | theorem mixedTwoCoefficient_fderiv (f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) {x : E} |
| 143 | (hf : DifferentiableAt ℝ f x) (u v w : E) : |
| 144 | fderiv ℝ (fun y => MixedTwoCoefficient.CM.Construction.mixedTwoCoefficient (f y) v w) x u = |
| 145 | MixedTwoCoefficient.CM.Construction.mixedTwoCoefficient (fderiv ℝ f x u) v w := by |
| 146 | let C : Analysis.DifferentialForms.Manifold.Basic.FormValue E 2 →L[ℝ] ℂ := |
| 147 | (ContinuousAlternatingMap.apply ℝ E ℂ ![v, w] + |
| 148 | ContinuousAlternatingMap.apply ℝ E ℂ ![Complex.I • v, Complex.I • w] - |
| 149 | Complex.I • ContinuousAlternatingMap.apply ℝ E ℂ ![v, Complex.I • w] + |
| 150 | Complex.I • ContinuousAlternatingMap.apply ℝ E ℂ ![Complex.I • v, w]) |
| 151 | have hC (a : Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) : (1 / 4 : ℂ) * C a = MixedTwoCoefficient.CM.Construction.mixedTwoCoefficient a v w := by |
| 152 | rw [MixedTwoCoefficient.CM.Construction.mixedTwoCoefficient_apply] |
| 153 | simp only [KahlerDifferential.CM.Construction.twoFormBilinear_apply] |
| 154 | rfl |
| 155 | have hd := ((C.hasFDerivAt.comp x hf.hasFDerivAt).const_mul (1 / 4 : ℂ)).fderiv |
| 156 | have h := congrArg (fun L : E →L[ℝ] ℂ => L u) hd |
| 157 | change fderiv ℝ (fun y => (1 / 4 : ℂ) * C (f y)) x u = |
| 158 | (1 / 4 : ℂ) * C (fderiv ℝ f x u) at h |
| 159 | simpa only [hC] using h |
| 160 | |
| 161 | theorem holomorphicMixedTwoTensor_eq_derivative (f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) {x : E} |
| 162 | (hf : DifferentiableAt ℝ f x) (ht : ∀ᶠ y in 𝓝 x, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 1 1 (f y)) (u v w : E) : |
| 163 | holomorphicMixedTwoTensor (twoFormFirstDerivative f x) u v w = |
| 164 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative (fun y => MixedTwoCoefficient.CM.Construction.mixedTwoCoefficient (f y) v w) x u := by |
| 165 | rw [MetricDerivative.CM.Construction.holomorphicDirectionalDerivative, mixedTwoCoefficient_fderiv f hf, |
| 166 | mixedTwoCoefficient_fderiv f hf, MixedTwoCoefficient.CM.Construction.mixedTwoCoefficient_type11 _ (type11_fderiv f hf ht u), |
| 167 | MixedTwoCoefficient.CM.Construction.mixedTwoCoefficient_type11 _ (type11_fderiv f hf ht (Complex.I • u))] |
| 168 | change (1 / 4 : ℂ) * (KahlerDifferential.CM.Construction.twoFormBilinear (fderiv ℝ f x u) v w - |
| 169 | Complex.I * KahlerDifferential.CM.Construction.twoFormBilinear (fderiv ℝ f x u) v (Complex.I • w) - |
| 170 | Complex.I * KahlerDifferential.CM.Construction.twoFormBilinear (fderiv ℝ f x (Complex.I • u)) v w - |
| 171 | KahlerDifferential.CM.Construction.twoFormBilinear (fderiv ℝ f x (Complex.I • u)) v (Complex.I • w)) = _ |
| 172 | ring_nf |
| 173 | simp only [Complex.I_sq] |
| 174 | ring |
| 175 | |
| 176 | theorem closed_type11_holomorphic_derivative (f : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) {x : E} |
| 177 | (hf : DifferentiableAt ℝ f x) (ht : ∀ᶠ y in 𝓝 x, Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 1 1 (f y)) |
| 178 | (hc : extDeriv f x = 0) (u v w : E) : |
| 179 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative (fun y => MixedTwoCoefficient.CM.Construction.mixedTwoCoefficient (f y) v w) x u = |
| 180 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative (fun y => MixedTwoCoefficient.CM.Construction.mixedTwoCoefficient (f y) v u) x w := by |
| 181 | rw [← holomorphicMixedTwoTensor_eq_derivative f hf ht, |
| 182 | ← holomorphicMixedTwoTensor_eq_derivative f hf ht] |
| 183 | exact closedTwoTensor_holomorphic_symmetric _ (twoFormFirstDerivative_skew f x) |
| 184 | (twoFormFirstDerivative_J_left f hf ht) (twoFormFirstDerivative_closed f hf hc) u v w |
| 185 | |
| 186 | end |
| 187 | |
| 188 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ClosedTwo.CM.Construction |