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.PolarizationFromPositiveForm |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.RationalPositiveApproximation |
| 3 | import Mathlib.Topology.Algebra.Module.FiniteDimensionBilinear |
| 4 | |
| 5 | /-! # Bilinear Rational -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.BilinearRational.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Real continuous Hodge pairings and scalar extension of finite |
| 14 | rational combinations of bilinear forms. -/ |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable {U : Type*} [AddCommGroup U] [Module ℚ U] |
| 19 | |
| 20 | theorem coefficientConjugation_complex_smul (z : ℂ) (u : WeightOne.CM.Complexification U) : |
| 21 | WeightOne.CM.coefficientConjugation U (z • u) = star z • WeightOne.CM.coefficientConjugation U u := by |
| 22 | induction u using TensorProduct.inductionOn with |
| 23 | | tmul w x => |
| 24 | simp only [TensorProduct.smul_tmul', smul_eq_mul, WeightOne.CM.coefficientConjugation_tmul, star_mul] |
| 25 | rw [mul_comm] |
| 26 | | add u v hu hv => simp [smul_add, hu, hv] |
| 27 | |
| 28 | theorem coefficientConjugation_real_smul (r : ℝ) (u : WeightOne.CM.Complexification U) : |
| 29 | WeightOne.CM.coefficientConjugation U (r • u) = r • WeightOne.CM.coefficientConjugation U u := by |
| 30 | have h := coefficientConjugation_complex_smul (r : ℂ) u |
| 31 | rw [Complex.star_def, Complex.conj_ofReal] at h |
| 32 | have hs (v : WeightOne.CM.Complexification U) : (r : ℂ) • v = r • v := |
| 33 | IsScalarTower.algebraMap_smul ℂ r v |
| 34 | rw [hs, hs] at h |
| 35 | exact h |
| 36 | |
| 37 | theorem rationalBilinear_combination_baseChange {ι : Type*} [Fintype ι] |
| 38 | (B : ι → LinearMap.BilinForm ℚ U) (q : ι → ℚ) (u v : WeightOne.CM.Complexification U) : |
| 39 | (∑ i, q i • B i).baseChange ℂ u v = ∑ i, (q i : ℂ) * (B i).baseChange ℂ u v := by |
| 40 | classical |
| 41 | induction u using TensorProduct.inductionOn with |
| 42 | | tmul z x => |
| 43 | induction v using TensorProduct.inductionOn with |
| 44 | | tmul w y => |
| 45 | simp only [LinearMap.BilinForm.baseChange_tmul, LinearMap.sum_apply, |
| 46 | LinearMap.smul_apply, smul_eq_mul] |
| 47 | rw [Finset.sum_smul] |
| 48 | apply Finset.sum_congr rfl |
| 49 | intro i _ |
| 50 | simp only [Rat.smul_def, Rat.cast_mul, mul_assoc] |
| 51 | | add v w hv hw => simp [hv, hw, mul_add, Finset.sum_add_distrib] |
| 52 | | add u v hu hv => simp [hu, hv, mul_add, Finset.sum_add_distrib] |
| 53 | |
| 54 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 55 | |
| 56 | def rationalFormHodgePair (B : LinearMap.BilinForm ℚ U) (j : E →ₗ[ℝ] WeightOne.CM.Complexification U) : |
| 57 | E →ₗ[ℝ] E →ₗ[ℝ] ℝ := |
| 58 | LinearMap.mk₂ ℝ (fun u v => (Complex.I * B.baseChange ℂ (j u) |
| 59 | (WeightOne.CM.coefficientConjugation U (j v))).re) |
| 60 | (by intro u v w; simp [mul_add]) |
| 61 | (by |
| 62 | intro r u v |
| 63 | rw [map_smul, LinearMap.map_smul_of_tower, LinearMap.smul_apply, Complex.real_smul, mul_left_comm, |
| 64 | Complex.re_ofReal_mul] |
| 65 | rfl) |
| 66 | (by intro u v w; simp [mul_add]) |
| 67 | (by |
| 68 | intro r u v |
| 69 | rw [map_smul, coefficientConjugation_real_smul, LinearMap.map_smul_of_tower, Complex.real_smul, |
| 70 | mul_left_comm, Complex.re_ofReal_mul] |
| 71 | rfl) |
| 72 | |
| 73 | def rationalFormHodgeContinuousPair (B : LinearMap.BilinForm ℚ U) |
| 74 | (j : E →ₗ[ℝ] WeightOne.CM.Complexification U) : E →L[ℝ] E →L[ℝ] ℝ := |
| 75 | (rationalFormHodgePair B j).toContinuousBilinearMap |
| 76 | |
| 77 | theorem rationalFormHodgeContinuousPair_apply (B : LinearMap.BilinForm ℚ U) |
| 78 | (j : E →ₗ[ℝ] WeightOne.CM.Complexification U) (u v : E) : |
| 79 | rationalFormHodgeContinuousPair B j u v = |
| 80 | (Complex.I * B.baseChange ℂ (j u) (WeightOne.CM.coefficientConjugation U (j v))).re := rfl |
| 81 | |
| 82 | end |
| 83 | |
| 84 | section |
| 85 | |
| 86 | /-! Coordinates of a rational vector-valued bilinear pairing and |
| 87 | reconstruction of a complex functional from its rational-basis values. -/ |
| 88 | |
| 89 | open scoped TensorProduct |
| 90 | |
| 91 | variable {U W : Type*} [AddCommGroup U] [Module ℚ U] |
| 92 | [AddCommGroup W] [Module ℚ W] {ι : Type*} [Fintype ι] |
| 93 | |
| 94 | def rationalBilinearCoordinate (F : U →ₗ[ℚ] U →ₗ[ℚ] W) (b : Module.Basis ι ℚ W) |
| 95 | (i : ι) : LinearMap.BilinForm ℚ U := F.compr₂ (b.coord i) |
| 96 | |
| 97 | omit [Fintype ι] in |
| 98 | theorem rationalBilinearCoordinate_baseChange (F : U →ₗ[ℚ] U →ₗ[ℚ] W) |
| 99 | (b : Module.Basis ι ℚ W) (i : ι) (u v : WeightOne.CM.Complexification U) : |
| 100 | (rationalBilinearCoordinate F b i).baseChange ℂ u v = |
| 101 | (b.baseChange ℂ).repr (LinearMap.BilinMap.baseChange ℂ F u v) i := by |
| 102 | induction u using TensorProduct.inductionOn with |
| 103 | | tmul z x => |
| 104 | induction v using TensorProduct.inductionOn with |
| 105 | | tmul w y => |
| 106 | rw [LinearMap.BilinForm.baseChange_tmul, LinearMap.BilinMap.baseChange_tmul, |
| 107 | Module.Basis.baseChange_repr_tmul] |
| 108 | rfl |
| 109 | | add v w hv hw => simp [hv, hw] |
| 110 | | add u v hu hv => simp [hu, hv] |
| 111 | |
| 112 | theorem rationalBilinear_functional_expansion (F : U →ₗ[ℚ] U →ₗ[ℚ] W) |
| 113 | (b : Module.Basis ι ℚ W) (T : WeightOne.CM.Complexification W →ₗ[ℂ] ℂ) |
| 114 | (u v : WeightOne.CM.Complexification U) : |
| 115 | T (LinearMap.BilinMap.baseChange ℂ F u v) = |
| 116 | ∑ i, T ((1 : ℂ) ⊗ₜ[ℚ] b i) * (rationalBilinearCoordinate F b i).baseChange ℂ u v := by |
| 117 | classical |
| 118 | let z := LinearMap.BilinMap.baseChange ℂ F u v |
| 119 | have h := congrArg T ((b.baseChange ℂ).sum_repr z) |
| 120 | rw [map_sum] at h |
| 121 | simp only [map_smul, smul_eq_mul, Module.Basis.baseChange_apply] at h |
| 122 | rw [← h] |
| 123 | apply Finset.sum_congr rfl |
| 124 | intro i _ |
| 125 | rw [rationalBilinearCoordinate_baseChange, mul_comm] |
| 126 | |
| 127 | theorem rationalBilinear_real_functional_expansion (F : U →ₗ[ℚ] U →ₗ[ℚ] W) |
| 128 | (b : Module.Basis ι ℚ W) (T : WeightOne.CM.Complexification W →ₗ[ℂ] ℂ) |
| 129 | (hT : ∀ w : W, (T ((1 : ℂ) ⊗ₜ[ℚ] w)).im = 0) |
| 130 | (u v : WeightOne.CM.Complexification U) : |
| 131 | T (LinearMap.BilinMap.baseChange ℂ F u v) = |
| 132 | ∑ i, ((T ((1 : ℂ) ⊗ₜ[ℚ] b i)).re : ℂ) * |
| 133 | (rationalBilinearCoordinate F b i).baseChange ℂ u v := by |
| 134 | rw [rationalBilinear_functional_expansion F b T u v] |
| 135 | apply Finset.sum_congr rfl |
| 136 | intro i _ |
| 137 | congr 1 |
| 138 | apply Complex.ext |
| 139 | · rfl |
| 140 | · exact hT (b i) |
| 141 | |
| 142 | end |
| 143 | |
| 144 | /-! Comparing a vector-valued rational bilinear map with an actual |
| 145 | complex bilinear map only requires comparison on rational simple tensors. -/ |
| 146 | |
| 147 | open scoped TensorProduct |
| 148 | |
| 149 | variable {U W C D : Type*} [AddCommGroup U] [Module ℚ U] |
| 150 | [AddCommGroup W] [Module ℚ W] [AddCommGroup C] [Module ℂ C] |
| 151 | [AddCommGroup D] [Module ℂ D] |
| 152 | |
| 153 | theorem complexLinearMap_tmul (f : WeightOne.CM.Complexification U →ₗ[ℂ] C) (z : ℂ) (x : U) : |
| 154 | f (z ⊗ₜ[ℚ] x) = z • f ((1 : ℂ) ⊗ₜ[ℚ] x) := by |
| 155 | rw [← map_smul, TensorProduct.smul_tmul', smul_eq_mul, mul_one] |
| 156 | |
| 157 | theorem bilinearScalarExtension_comparison (F : U →ₗ[ℚ] U →ₗ[ℚ] W) |
| 158 | (G : C →ₗ[ℂ] C →ₗ[ℂ] D) |
| 159 | (eU : WeightOne.CM.Complexification U →ₗ[ℂ] C) (eW : WeightOne.CM.Complexification W →ₗ[ℂ] D) |
| 160 | (h : ∀ x y, G (eU ((1 : ℂ) ⊗ₜ[ℚ] x)) (eU ((1 : ℂ) ⊗ₜ[ℚ] y)) = |
| 161 | eW ((1 : ℂ) ⊗ₜ[ℚ] F x y)) |
| 162 | (u v : WeightOne.CM.Complexification U) : |
| 163 | G (eU u) (eU v) = eW (LinearMap.BilinMap.baseChange ℂ F u v) := by |
| 164 | induction u using TensorProduct.inductionOn with |
| 165 | | tmul z x => |
| 166 | induction v using TensorProduct.inductionOn with |
| 167 | | tmul w y => |
| 168 | rw [LinearMap.BilinMap.baseChange_tmul, complexLinearMap_tmul eU z x, |
| 169 | complexLinearMap_tmul eU w y] |
| 170 | simp only [map_smul, LinearMap.smul_apply] |
| 171 | rw [h, complexLinearMap_tmul eW (z * w) (F x y)] |
| 172 | simp only [smul_smul, mul_comm] |
| 173 | | add v w hv hw => simp [hv, hw] |
| 174 | | add u v hu hv => simp [hu, hv] |
| 175 | |
| 176 | end |
| 177 | |
| 178 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.BilinearRational.CM.Construction |