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.InverseMetric |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.GlobalLp |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Metric |
| 4 | |
| 5 | /-! # Covector Metric -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CovectorMetric.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The inverse metric pairs genuine covectors independently of an |
| 14 | invertible change of coordinates. -/ |
| 15 | |
| 16 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 17 | [CompleteSpace E] [ProperSpace E] |
| 18 | |
| 19 | def metricDualVector (B : E →L[ℝ] E →L[ℝ] ℝ) (q : E →L[ℝ] ℝ) : E := |
| 20 | (InverseMetric.CM.Construction.realBilinearOperator B).inverse ((InnerProductSpace.toDual ℝ E).symm q) |
| 21 | |
| 22 | theorem metricDualVector_spec (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 23 | (hB : ∀ u : E, u ≠ 0 → 0 < B u u) (q : E →L[ℝ] ℝ) (v : E) : |
| 24 | B (metricDualVector B q) v = q v := by |
| 25 | rw [← InverseMetric.CM.Construction.realBilinearOperator_apply] |
| 26 | change inner ℝ ((InverseMetric.CM.Construction.realBilinearOperator B) ((InverseMetric.CM.Construction.realBilinearOperator B).inverse |
| 27 | ((InnerProductSpace.toDual ℝ E).symm q))) v = _ |
| 28 | rw [(InverseMetric.CM.Construction.positive_bilinear_operator_isInvertible B hB).self_apply_inverse] |
| 29 | exact InnerProductSpace.toDual_symm_apply |
| 30 | |
| 31 | theorem metricDualVector_unique (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 32 | (hB : ∀ u : E, u ≠ 0 → 0 < B u u) (q : E →L[ℝ] ℝ) |
| 33 | (v : E) (hv : ∀ w : E, B v w = q w) : v = metricDualVector B q := by |
| 34 | by_contra hne |
| 35 | have hpos := hB (v - metricDualVector B q) (sub_ne_zero.mpr hne) |
| 36 | have hzero : B (v - metricDualVector B q) (v - metricDualVector B q) = 0 := by |
| 37 | rw [B.map_sub v (metricDualVector B q), sub_apply, hv, metricDualVector_spec B hB, sub_self] |
| 38 | rw [hzero] at hpos |
| 39 | exact (lt_irrefl (0 : ℝ)) hpos |
| 40 | |
| 41 | def covectorMetric (B : E →L[ℝ] E →L[ℝ] ℝ) (q r : E →L[ℝ] ℝ) : ℝ := |
| 42 | r (metricDualVector B q) |
| 43 | |
| 44 | omit [ProperSpace E] in |
| 45 | theorem inverseBilinearForm_covectors (B : E →L[ℝ] E →L[ℝ] ℝ) (q r : E →L[ℝ] ℝ) : |
| 46 | InverseMetric.CM.Construction.inverseBilinearForm B ((InnerProductSpace.toDual ℝ E).symm q) |
| 47 | ((InnerProductSpace.toDual ℝ E).symm r) = covectorMetric B q r := by |
| 48 | rw [InverseMetric.CM.Construction.inverseBilinearForm_apply, real_inner_comm, InnerProductSpace.toDual_symm_apply] |
| 49 | rfl |
| 50 | |
| 51 | theorem metricDualVector_transition (B D : E →L[ℝ] E →L[ℝ] ℝ) |
| 52 | (hB : ∀ u : E, u ≠ 0 → 0 < B u u) (hD : ∀ u : E, u ≠ 0 → 0 < D u u) |
| 53 | (T : E →L[ℝ] E) (hT : Function.Surjective T) |
| 54 | (hBD : ∀ u v : E, B u v = D (T u) (T v)) (q : E →L[ℝ] ℝ) : |
| 55 | T (metricDualVector B (q.comp T)) = metricDualVector D q := by |
| 56 | apply metricDualVector_unique D hD q |
| 57 | intro w |
| 58 | obtain ⟨v, rfl⟩ := hT w |
| 59 | rw [← hBD, metricDualVector_spec B hB] |
| 60 | rfl |
| 61 | |
| 62 | theorem covectorMetric_transition (B D : E →L[ℝ] E →L[ℝ] ℝ) |
| 63 | (hB : ∀ u : E, u ≠ 0 → 0 < B u u) (hD : ∀ u : E, u ≠ 0 → 0 < D u u) |
| 64 | (T : E →L[ℝ] E) (hT : Function.Surjective T) |
| 65 | (hBD : ∀ u v : E, B u v = D (T u) (T v)) (q r : E →L[ℝ] ℝ) : |
| 66 | covectorMetric B (q.comp T) (r.comp T) = covectorMetric D q r := by |
| 67 | change r (T (metricDualVector B (q.comp T))) = _ |
| 68 | rw [metricDualVector_transition B D hB hD T hT hBD] |
| 69 | rfl |
| 70 | |
| 71 | end |
| 72 | |
| 73 | /-! Coordinate invariance of the inverse-metric energy on complex-valued |
| 74 | covectors, using their actual real and imaginary components. -/ |
| 75 | |
| 76 | variable {E ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [Fintype ι] |
| 77 | |
| 78 | theorem complexGradientComponent_inner_synthesis (b : OrthonormalBasis ι ℝ E) |
| 79 | (P : ℂ →L[ℝ] ℝ) (z : EuclideanSpace ℂ ι) (u : E) : |
| 80 | inner ℝ (Metric.CM.Construction.complexGradientComponent b P z) u = P (GlobalLp.CM.Construction.complexCovectorSynthesis b z u) := by |
| 81 | rw [Metric.CM.Construction.complexGradientComponent_apply, sum_inner, GlobalLp.CM.Construction.complexCovectorSynthesis_apply, map_sum] |
| 82 | simp only [real_inner_smul_left, map_smul, smul_eq_mul] |
| 83 | apply Finset.sum_congr rfl |
| 84 | intro i _ |
| 85 | ring |
| 86 | |
| 87 | variable [CompleteSpace E] |
| 88 | |
| 89 | theorem complexGradientComponent_eq_riesz (b : OrthonormalBasis ι ℝ E) |
| 90 | (P : ℂ →L[ℝ] ℝ) (z : EuclideanSpace ℂ ι) : |
| 91 | Metric.CM.Construction.complexGradientComponent b P z = |
| 92 | (InnerProductSpace.toDual ℝ E).symm (P.comp (GlobalLp.CM.Construction.complexCovectorSynthesis b z)) := by |
| 93 | apply ext_inner_right ℝ |
| 94 | intro u |
| 95 | rw [complexGradientComponent_inner_synthesis, InnerProductSpace.toDual_symm_apply] |
| 96 | rfl |
| 97 | |
| 98 | theorem complexGradientMetric_inverse_covectors (b : OrthonormalBasis ι ℝ E) |
| 99 | (B : E →L[ℝ] E →L[ℝ] ℝ) (z w : EuclideanSpace ℂ ι) : |
| 100 | Metric.CM.Construction.complexGradientMetric b (InverseMetric.CM.Construction.inverseBilinearForm B) z w = |
| 101 | covectorMetric B (Complex.reCLM.comp (GlobalLp.CM.Construction.complexCovectorSynthesis b z)) |
| 102 | (Complex.reCLM.comp (GlobalLp.CM.Construction.complexCovectorSynthesis b w)) + |
| 103 | covectorMetric B (Complex.imCLM.comp (GlobalLp.CM.Construction.complexCovectorSynthesis b z)) |
| 104 | (Complex.imCLM.comp (GlobalLp.CM.Construction.complexCovectorSynthesis b w)) := by |
| 105 | simp only [Metric.CM.Construction.complexGradientMetric_apply, complexGradientComponent_eq_riesz, inverseBilinearForm_covectors] |
| 106 | |
| 107 | omit [CompleteSpace E] in |
| 108 | theorem complexCovectorSynthesis_pullback (b : OrthonormalBasis ι ℝ E) |
| 109 | (T : E →L[ℝ] E) (z : EuclideanSpace ℂ ι) : |
| 110 | GlobalLp.CM.Construction.complexCovectorSynthesis b (GlobalLp.CM.Construction.complexCovectorPullback b T z) = (GlobalLp.CM.Construction.complexCovectorSynthesis b z).comp T := by |
| 111 | change GlobalLp.CM.Construction.complexCovectorSynthesis b (GlobalLp.CM.Construction.complexCovectorComponents b ((GlobalLp.CM.Construction.complexCovectorSynthesis b z).comp T)) = _ |
| 112 | exact GlobalLp.CM.Construction.complexCovectorSynthesis_components b _ |
| 113 | |
| 114 | variable [ProperSpace E] |
| 115 | |
| 116 | theorem complexInverseMetric_transition (b : OrthonormalBasis ι ℝ E) |
| 117 | (B D : E →L[ℝ] E →L[ℝ] ℝ) |
| 118 | (hB : ∀ u : E, u ≠ 0 → 0 < B u u) (hD : ∀ u : E, u ≠ 0 → 0 < D u u) |
| 119 | (T : E →L[ℝ] E) (hT : Function.Surjective T) |
| 120 | (hBD : ∀ u v : E, B u v = D (T u) (T v)) (z w : EuclideanSpace ℂ ι) : |
| 121 | Metric.CM.Construction.complexGradientMetric b (InverseMetric.CM.Construction.inverseBilinearForm B) (GlobalLp.CM.Construction.complexCovectorPullback b T z) (GlobalLp.CM.Construction.complexCovectorPullback b T w) = |
| 122 | Metric.CM.Construction.complexGradientMetric b (InverseMetric.CM.Construction.inverseBilinearForm D) z w := by |
| 123 | simp only [complexGradientMetric_inverse_covectors, complexCovectorSynthesis_pullback, |
| 124 | ← ContinuousLinearMap.comp_assoc] |
| 125 | rw [covectorMetric_transition B D hB hD T hT hBD, |
| 126 | covectorMetric_transition B D hB hD T hT hBD] |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.CovectorMetric.CM.Construction |