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.CovectorTensorAlgebra |
| 2 | |
| 3 | /-! # Tensor Metric Re -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.TensorMetricRe |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Exact cancellation of line-frame transition factors in weighted covector and tensor pairings. -/ |
| 12 | |
| 13 | open scoped ComplexConjugate |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | attribute [local instance] Line.HessianBilinear.tensorConnection_formNormed Line.HessianBilinear.tensorConnection_formSpace |
| 19 | Line.HessianBilinear.tensorConnection_oneNormed Line.HessianBilinear.tensorConnection_oneSpace |
| 20 | |
| 21 | variable {E ι : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 22 | [Fintype ι] [LinearOrder ι] |
| 23 | |
| 24 | omit [FiniteDimensional ℝ E] in |
| 25 | theorem bilinearFormMetricPair_weighted_gauge (b : Module.Basis ι ℝ E) (n : ℕ) |
| 26 | (B : E →L[ℝ] E →L[ℝ] ℝ) (a c : Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (t wi wj : ℂ) |
| 27 | (hw : wi = (Complex.normSq t : ℂ) * wj) : |
| 28 | wj * Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n B (t • a) (t • c) = wi * Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n B a c := by |
| 29 | rw [Line.ConnectionOperator.bilinearFormMetricPair_complex_smul_left, Line.ConnectionOperator.bilinearFormMetricPair_complex_smul_right, |
| 30 | hw, Complex.normSq_eq_conj_mul_self] |
| 31 | ring |
| 32 | |
| 33 | theorem covectorTensorMetricPair_complex_smul (b : Module.Basis ι ℝ E) (n : ℕ) |
| 34 | (B : E →L[ℝ] E →L[ℝ] ℝ) (N P : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (t s : ℂ) : |
| 35 | CovectorTensorAlgebra.covectorTensorMetricPair b n B (t • N) (s • P) = conj t * s * CovectorTensorAlgebra.covectorTensorMetricPair b n B N P := by |
| 36 | unfold CovectorTensorAlgebra.covectorTensorMetricPair |
| 37 | simp only [_root_.smul_apply, Line.ConnectionOperator.bilinearFormMetricPair_complex_smul_left, |
| 38 | Line.ConnectionOperator.bilinearFormMetricPair_complex_smul_right, Finset.mul_sum] |
| 39 | apply Finset.sum_congr rfl |
| 40 | intro i _ |
| 41 | ring |
| 42 | |
| 43 | theorem covectorTensorMetricPair_weighted_gauge (b : Module.Basis ι ℝ E) (n : ℕ) |
| 44 | (B : E →L[ℝ] E →L[ℝ] ℝ) (N P : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (t wi wj : ℂ) |
| 45 | (hw : wi = (Complex.normSq t : ℂ) * wj) : |
| 46 | wj * CovectorTensorAlgebra.covectorTensorMetricPair b n B (t • N) (t • P) = wi * CovectorTensorAlgebra.covectorTensorMetricPair b n B N P := by |
| 47 | rw [covectorTensorMetricPair_complex_smul, hw, Complex.normSq_eq_conj_mul_self] |
| 48 | ring |
| 49 | |
| 50 | end |
| 51 | |
| 52 | section |
| 53 | |
| 54 | /-! Real pairing rules and symmetry for the original positive inverse-metric tensor contraction. -/ |
| 55 | |
| 56 | set_option backward.isDefEq.respectTransparency false |
| 57 | set_option backward.isDefEq.respectTransparency.types false |
| 58 | set_option backward.defeqAttrib.useBackward true |
| 59 | |
| 60 | attribute [local instance] Line.HessianBilinear.tensorConnection_formNormed Line.HessianBilinear.tensorConnection_formSpace |
| 61 | Line.HessianBilinear.tensorConnection_oneNormed Line.HessianBilinear.tensorConnection_oneSpace |
| 62 | |
| 63 | variable {E ι : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 64 | [Fintype ι] [LinearOrder ι] |
| 65 | |
| 66 | theorem covectorTensorMetricPair_re_add_left (b : Module.Basis ι ℝ E) (n : ℕ) |
| 67 | (B : E →L[ℝ] E →L[ℝ] ℝ) (N P Q : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : |
| 68 | (CovectorTensorAlgebra.covectorTensorMetricPair b n B (N + P) Q).re = |
| 69 | (CovectorTensorAlgebra.covectorTensorMetricPair b n B N Q).re + (CovectorTensorAlgebra.covectorTensorMetricPair b n B P Q).re := by |
| 70 | simp only [CovectorTensorAlgebra.covectorTensorMetricPair, _root_.add_apply, Analysis.HodgeTheory.Decomposition.BilinearPairAlgebra.Constructions.bilinearFormMetricPair_add_left, |
| 71 | Complex.re_sum, Complex.add_re, Finset.sum_add_distrib] |
| 72 | |
| 73 | theorem covectorTensorMetricPair_re_add_right (b : Module.Basis ι ℝ E) (n : ℕ) |
| 74 | (B : E →L[ℝ] E →L[ℝ] ℝ) (N P Q : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : |
| 75 | (CovectorTensorAlgebra.covectorTensorMetricPair b n B N (P + Q)).re = |
| 76 | (CovectorTensorAlgebra.covectorTensorMetricPair b n B N P).re + (CovectorTensorAlgebra.covectorTensorMetricPair b n B N Q).re := by |
| 77 | simp only [CovectorTensorAlgebra.covectorTensorMetricPair, _root_.add_apply, Line.ConnectionOperator.bilinearFormMetricPair_add_right, |
| 78 | Complex.re_sum, Complex.add_re, Finset.sum_add_distrib] |
| 79 | |
| 80 | theorem covectorTensorMetricPair_re_real_smul_left (b : Module.Basis ι ℝ E) (n : ℕ) |
| 81 | (B : E →L[ℝ] E →L[ℝ] ℝ) (N P : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (r : ℝ) : |
| 82 | (CovectorTensorAlgebra.covectorTensorMetricPair b n B (r • N) P).re = r * (CovectorTensorAlgebra.covectorTensorMetricPair b n B N P).re := by |
| 83 | simp only [CovectorTensorAlgebra.covectorTensorMetricPair, _root_.smul_apply, Line.TensorMetricTest.bilinearFormMetricPair_real_smul_left, |
| 84 | Complex.re_sum, Complex.smul_re, smul_eq_mul, Finset.mul_sum] |
| 85 | |
| 86 | theorem covectorTensorMetricPair_re_real_smul_right (b : Module.Basis ι ℝ E) (n : ℕ) |
| 87 | (B : E →L[ℝ] E →L[ℝ] ℝ) (N P : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (r : ℝ) : |
| 88 | (CovectorTensorAlgebra.covectorTensorMetricPair b n B N (r • P)).re = r * (CovectorTensorAlgebra.covectorTensorMetricPair b n B N P).re := by |
| 89 | simp only [CovectorTensorAlgebra.covectorTensorMetricPair, _root_.smul_apply, Analysis.HodgeTheory.Decomposition.BilinearPairAlgebra.Constructions.bilinearFormMetricPair_real_smul_right, |
| 90 | Complex.re_sum, Complex.smul_re, smul_eq_mul, Finset.mul_sum] |
| 91 | |
| 92 | theorem covectorTensorMetricPair_re_symm (b : Module.Basis ι ℝ E) (n : ℕ) |
| 93 | (B : E →L[ℝ] E →L[ℝ] ℝ) (hB : ∀ v w, B v w = B w v) |
| 94 | (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) (N P : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : |
| 95 | (CovectorTensorAlgebra.covectorTensorMetricPair b n B N P).re = (CovectorTensorAlgebra.covectorTensorMetricPair b n B P N).re := by |
| 96 | let F := Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.RealMetricFiber E (Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.positiveBilinearCore B hB hpos) |
| 97 | let L := Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.realMetricFiberContinuousEquiv (Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.positiveBilinearCore B hB hpos) |
| 98 | let o := stdOrthonormalBasis ℝ F |
| 99 | let c := o.toBasis.map L.toLinearEquiv |
| 100 | have hc (j k) : B (c j) (c k) = if j = k then 1 else 0 := o.inner_eq_ite j k |
| 101 | have hl := Positive.MetricTrace.bilinearMetric_trace_orthogonal B hpos b c hc (CovectorTensorAlgebra.covectorTensorRealBilinear b n B N P) |
| 102 | have hr := Positive.MetricTrace.bilinearMetric_trace_orthogonal B hpos b c hc (CovectorTensorAlgebra.covectorTensorRealBilinear b n B P N) |
| 103 | simp only [CovectorTensorAlgebra.covectorTensorRealBilinear, LinearMap.mk₂_apply] at hl hr |
| 104 | simp only [CovectorTensorAlgebra.covectorTensorMetricPair, Complex.re_sum] |
| 105 | rw [hl, hr] |
| 106 | apply Finset.sum_congr rfl |
| 107 | intro j _ |
| 108 | have hs := congrArg Complex.re (Analysis.HodgeTheory.Decomposition.BilinearPairAlgebra.Constructions.bilinearFormMetricPair_symm b n B hB hpos (N (c j)) (P (c j))) |
| 109 | simpa only [Complex.star_def, Complex.conj_re] using hs.symm |
| 110 | |
| 111 | end |
| 112 | |
| 113 | /-! Strict positivity of the original full covariant tensor metric. -/ |
| 114 | |
| 115 | set_option backward.isDefEq.respectTransparency false |
| 116 | set_option backward.isDefEq.respectTransparency.types false |
| 117 | set_option backward.defeqAttrib.useBackward true |
| 118 | |
| 119 | attribute [local instance] Line.HessianBilinear.tensorConnection_formNormed Line.HessianBilinear.tensorConnection_formSpace |
| 120 | Line.HessianBilinear.tensorConnection_oneNormed Line.HessianBilinear.tensorConnection_oneSpace |
| 121 | |
| 122 | variable {E ι : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 123 | [Fintype ι] [LinearOrder ι] |
| 124 | |
| 125 | theorem bilinearFormMetricPair_re_definite (b : Module.Basis ι ℝ E) (n : ℕ) |
| 126 | (B : E →L[ℝ] E →L[ℝ] ℝ) (hB : ∀ v w, B v w = B w v) |
| 127 | (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) (a : Analysis.DifferentialForms.Manifold.Basic.FormValue E n) |
| 128 | (ha : (Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n B a a).re = 0) : a = 0 := by |
| 129 | let F := Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.RealMetricFiber E (Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.positiveBilinearCore B hB hpos) |
| 130 | let L := Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.realMetricFiberContinuousEquiv (Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.positiveBilinearCore B hB hpos) |
| 131 | let p := Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.positiveMetricCoordinateForm B hB hpos n a |
| 132 | have hr : (Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.formMetricPair n p p).re = 0 := |
| 133 | (congrArg Complex.re (Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair_eq_intrinsic b n B hB hpos a a)).symm.trans ha |
| 134 | have hp : p = 0 := Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.formMetricPair_definite n p |
| 135 | ((Analysis.HodgeTheory.Decomposition.Form.Constructions.formMetricPair_self_re n p).symm.trans ((congrArg (fun r : ℝ => (r : ℂ)) hr).trans Complex.ofReal_zero)) |
| 136 | apply ContinuousAlternatingMap.ext |
| 137 | intro t |
| 138 | have ht := congrArg (fun q : Analysis.DifferentialForms.Manifold.Basic.FormValue F n => q (fun j => L.symm (t j))) hp |
| 139 | change a (fun j => L (L.symm (t j))) = 0 at ht |
| 140 | simp only [ContinuousLinearEquiv.apply_symm_apply] at ht |
| 141 | change a t = 0 |
| 142 | exact ht |
| 143 | |
| 144 | theorem covectorTensorMetricPair_re_definite (b : Module.Basis ι ℝ E) (n : ℕ) |
| 145 | (B : E →L[ℝ] E →L[ℝ] ℝ) (hB : ∀ v w, B v w = B w v) |
| 146 | (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) (N : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) |
| 147 | (hN : (CovectorTensorAlgebra.covectorTensorMetricPair b n B N N).re = 0) : N = 0 := by |
| 148 | let F := Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.RealMetricFiber E (Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.positiveBilinearCore B hB hpos) |
| 149 | let L := Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.realMetricFiberContinuousEquiv (Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.positiveBilinearCore B hB hpos) |
| 150 | let o := stdOrthonormalBasis ℝ F |
| 151 | let c := o.toBasis.map L.toLinearEquiv |
| 152 | have hc (j k) : B (c j) (c k) = if j = k then 1 else 0 := o.inner_eq_ite j k |
| 153 | have ht := Positive.MetricTrace.bilinearMetric_trace_orthogonal B hpos b c hc (CovectorTensorAlgebra.covectorTensorRealBilinear b n B N N) |
| 154 | have htt : (CovectorTensorAlgebra.covectorTensorMetricPair b n B N N).re = |
| 155 | ∑ j, (Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n B (N (c j)) (N (c j))).re := by |
| 156 | simpa only [CovectorTensorAlgebra.covectorTensorMetricPair, Complex.re_sum, CovectorTensorAlgebra.covectorTensorRealBilinear, LinearMap.mk₂_apply] using ht |
| 157 | have hp (j) : 0 ≤ (Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n B (N (c j)) (N (c j))).re := by |
| 158 | rw [Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair_eq_intrinsic b n B hB hpos] |
| 159 | exact Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.formMetricPair_nonneg n _ |
| 160 | have hz := (Finset.sum_eq_zero_iff_of_nonneg (fun j _ => hp j)).mp (htt.symm.trans hN) |
| 161 | have hn (j) : N (c j) = 0 := bilinearFormMetricPair_re_definite b n B hB hpos _ (hz j (Finset.mem_univ j)) |
| 162 | apply ContinuousLinearMap.ext |
| 163 | intro v |
| 164 | have hv := congrArg N (c.sum_repr v) |
| 165 | simpa only [map_sum, map_smul, hn, smul_zero, Finset.sum_const_zero, _root_.zero_apply] using hv.symm |
| 166 | |
| 167 | theorem covectorTensorMetricPair_re_pos (b : Module.Basis ι ℝ E) (n : ℕ) |
| 168 | (B : E →L[ℝ] E →L[ℝ] ℝ) (hB : ∀ v w, B v w = B w v) |
| 169 | (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) (N : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (hN : N ≠ 0) : |
| 170 | 0 < (CovectorTensorAlgebra.covectorTensorMetricPair b n B N N).re := |
| 171 | lt_of_le_of_ne (CovectorTensorAlgebra.covectorTensorMetricPair_nonneg b n B hB hpos N) |
| 172 | (fun hz => hN (covectorTensorMetricPair_re_definite b n B hB hpos N hz.symm)) |
| 173 | |
| 174 | end |
| 175 | |
| 176 | end OAI.AlgebraicGeometry.DivisorClass.Chern.TensorMetricRe |