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.HodgeConjecture.ThetaCycle.FourSplittings |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CoefficientPeriods |
| 3 | |
| 4 | /-! # Transport New -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TransportNew.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual line periods for the two new rational lines. Their Hermitian |
| 13 | coefficients and imaginary trace scalar come from the original space. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 17 | open _root_.Module |
| 18 | |
| 19 | variable (K : IntermediateField ℚ ℂ) |
| 20 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 21 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 22 | |
| 23 | omit [IsGalois ℚ K] in |
| 24 | theorem multiplicity_norm_fixed (a : Fin 2 → K) |
| 25 | (ha : ∀ i, ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K (a i) = a i) (x : Analysis.DifferentialForms.Coordinates.LocalApproximation.W K) : |
| 26 | ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K (Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a x x) = Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a x x := by |
| 27 | change NumberField.IsCMField.complexConj K (Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a x x) = _ |
| 28 | have ha' : ∀ i, NumberField.IsCMField.complexConj K (a i) = a i := ha |
| 29 | simp only [Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian, map_sum, map_mul, ha', |
| 30 | NumberField.IsCMField.complexConj_apply_apply] |
| 31 | apply Finset.sum_congr rfl |
| 32 | intro j _ |
| 33 | ring |
| 34 | |
| 35 | theorem new_line_periods_on_original_space |
| 36 | (dOld dNew : Fin 2 → Gal(K/ℚ) → Bool) |
| 37 | (P : Lagrangians.CM.LagrangianPair K B places (fun i τ => dOld i (places.representative τ))) |
| 38 | (hμ : ∀ i, dNew i 1 = true) |
| 39 | (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 40 | (hnd : ∀ i, Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian P.a (b i) (b i) ≠ 0) |
| 41 | (hs : ∀ i τ, 0 < (ComplexMultiplication.SignSwitch.CM.signValue (dNew i (places.representative τ)) : ℝ) * |
| 42 | (-(HeckeCycles.ReferenceDatum.CM.embeddings K places τ P.delta).im) * |
| 43 | (HeckeCycles.ReferenceDatum.CM.embeddings K places τ (Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian P.a (b i) (b i))).re) : |
| 44 | ∃ L : (i : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (dNew i), |
| 45 | ∀ i, (L i).coordinates.a = Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian P.a (b i) (b i) ∧ |
| 46 | (L i).coordinates.delta = P.delta := by |
| 47 | let a : Fin 2 → K := fun i => Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian P.a (b i) (b i) |
| 48 | have ha : ∀ i, ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K (a i) = a i := |
| 49 | fun i => multiplicity_norm_fixed K P.a (fun j => (P.a_sign j).2.1) (b i) |
| 50 | have hr (τ : Fin places.count) : (HeckeCycles.ReferenceDatum.CM.embeddings K places τ P.delta).re = 0 := by |
| 51 | simpa only [mul_one] using Geometry.ComplexBall.PrescribedSignsB.coefficient_real_zero |
| 52 | (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) P.delta 1 P.delta_imaginary (map_one _) |
| 53 | have hsign (i : Fin 2) (τ : Fin places.count) : |
| 54 | if τ = places.distinguished ∨ dNew i (places.representative τ) = true |
| 55 | then (HeckeCycles.ReferenceDatum.CM.embeddings K places τ (P.delta * a i)).im < 0 |
| 56 | else 0 < (HeckeCycles.ReferenceDatum.CM.embeddings K places τ (P.delta * a i)).im := by |
| 57 | have ht := hs i τ |
| 58 | change 0 < (ComplexMultiplication.SignSwitch.CM.signValue (dNew i (places.representative τ)) : ℝ) * |
| 59 | (-(HeckeCycles.ReferenceDatum.CM.embeddings K places τ P.delta).im) * (HeckeCycles.ReferenceDatum.CM.embeddings K places τ (a i)).re at ht |
| 60 | rw [map_mul, Complex.mul_im, hr, zero_mul, zero_add] |
| 61 | by_cases hd : dNew i (places.representative τ) = true |
| 62 | · simp only [hd, or_true, ite_true] |
| 63 | simp [hd, ComplexMultiplication.SignSwitch.CM.signValue] at ht |
| 64 | nlinarith |
| 65 | · have hτ : τ ≠ places.distinguished := by |
| 66 | intro he |
| 67 | apply hd |
| 68 | simpa only [he, places.identity] using hμ i |
| 69 | have hd' : dNew i (places.representative τ) = false := Bool.eq_false_iff.mpr hd |
| 70 | simp [hτ, hd] |
| 71 | simpa [hd', ComplexMultiplication.SignSwitch.CM.signValue] using ht |
| 72 | obtain ⟨Q, hδQ, haQ⟩ := CoefficientPeriods.CM.exists_lagrangian_pair_with_coefficients K B places |
| 73 | (fun i τ => dNew i (places.representative τ)) P.delta a P.delta_ne_zero |
| 74 | P.delta_imaginary hnd ha hsign |
| 75 | choose L hL using (fun i => LinePeriods.CM.exists_line_period K dNew Q i) |
| 76 | refine ⟨L, fun i => ?_⟩ |
| 77 | exact ⟨(hL i).1.trans (congrFun haQ i), (hL i).2.trans hδQ⟩ |
| 78 | |
| 79 | end |
| 80 | |
| 81 | section |
| 82 | |
| 83 | /-! The rational basis change is an isometry from the new diagonal |
| 84 | coefficients to the original Hermitian multiplicity space. -/ |
| 85 | |
| 86 | open scoped Classical |
| 87 | open _root_.Module |
| 88 | |
| 89 | variable (K : IntermediateField ℚ ℂ) |
| 90 | [NumberField K] [NumberField.IsCMField K] |
| 91 | |
| 92 | theorem multiplicity_hermitian_symm (a : Fin 2 → K) |
| 93 | (ha : ∀ i, ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K (a i) = a i) (x y : Analysis.DifferentialForms.Coordinates.LocalApproximation.W K) : |
| 94 | ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K (Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a x y) = Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a y x := by |
| 95 | change NumberField.IsCMField.complexConj K (Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a x y) = _ |
| 96 | have ha' : ∀ i, NumberField.IsCMField.complexConj K (a i) = a i := ha |
| 97 | simp only [Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian, map_sum, map_mul, ha', |
| 98 | NumberField.IsCMField.complexConj_apply_apply] |
| 99 | apply Finset.sum_congr rfl |
| 100 | intro j _ |
| 101 | ring |
| 102 | |
| 103 | theorem multiplicity_hermitian_add_left (a : Fin 2 → K) (x y z : Analysis.DifferentialForms.Coordinates.LocalApproximation.W K) : |
| 104 | Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (x + y) z = |
| 105 | Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a x z + Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a y z := by |
| 106 | simp [Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian, mul_add, add_mul, Finset.sum_add_distrib] |
| 107 | |
| 108 | theorem multiplicity_hermitian_smul_left (a : Fin 2 → K) (x y : Analysis.DifferentialForms.Coordinates.LocalApproximation.W K) (r : K) : |
| 109 | Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (r • x) y = r * Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a x y := by |
| 110 | simp only [Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian, Pi.smul_apply, smul_eq_mul, Finset.mul_sum] |
| 111 | apply Finset.sum_congr rfl |
| 112 | intro j _ |
| 113 | ring |
| 114 | |
| 115 | theorem multiplicity_basis_isometry (a : Fin 2 → K) |
| 116 | (ha : ∀ i, ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K (a i) = a i) |
| 117 | (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 118 | (horth : Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b 0) (b 1) = 0) |
| 119 | (x y : Analysis.DifferentialForms.Coordinates.LocalApproximation.W K) : |
| 120 | Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b.equivFun.symm x) (b.equivFun.symm y) = |
| 121 | Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian |
| 122 | (fun i => Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b i) (b i)) x y := by |
| 123 | have h10 : Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b 1) (b 0) = 0 := by |
| 124 | rw [← multiplicity_hermitian_symm K a ha, horth, map_zero] |
| 125 | rw [b.equivFun_symm_apply, b.equivFun_symm_apply] |
| 126 | simp only [Fin.sum_univ_two, multiplicity_hermitian_add_left, |
| 127 | Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian_add_right, multiplicity_hermitian_smul_left, |
| 128 | Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian_smul_right, horth, h10, mul_zero, add_zero, zero_add] |
| 129 | simp only [Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian, Fin.sum_univ_two] |
| 130 | ring |
| 131 | |
| 132 | end |
| 133 | |
| 134 | /-! The same rational Hermitian space V tensor W in the old and new |
| 135 | orthogonal coordinates, including its actual trace symplectic form. -/ |
| 136 | |
| 137 | open scoped Classical |
| 138 | open _root_.Module |
| 139 | |
| 140 | variable (K : IntermediateField ℚ ℂ) |
| 141 | [NumberField K] [NumberField.IsCMField K] |
| 142 | |
| 143 | abbrev TensorPositions := Fin 3 → Analysis.DifferentialForms.Coordinates.LocalApproximation.W K |
| 144 | |
| 145 | def tensorBasisChange (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) : |
| 146 | TensorPositions K ≃ₗ[K] TensorPositions K := |
| 147 | LinearEquiv.piCongrRight (fun _ : Fin 3 => b.equivFun.symm) |
| 148 | |
| 149 | def tensorHermitian (β : K) (a : Fin 2 → K) (x y : TensorPositions K) : K := |
| 150 | ∑ j : Fin 3, (if j = 2 then β else 1) * Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (x j) (y j) |
| 151 | |
| 152 | theorem tensor_hermitian_blocks (β : K) (a : Fin 2 → K) (x y : TensorPositions K) : |
| 153 | tensorHermitian K β a x y = |
| 154 | ∑ i : Fin 2, a i * HeckeCycles.GeometricSource.CM.hermitian K β (fun j => x j i) (fun j => y j i) := by |
| 155 | simp only [tensorHermitian, Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian, HeckeCycles.GeometricSource.CM.hermitian, |
| 156 | Finset.mul_sum] |
| 157 | rw [Finset.sum_comm] |
| 158 | apply Finset.sum_congr rfl |
| 159 | intro i _ |
| 160 | apply Finset.sum_congr rfl |
| 161 | intro j _ |
| 162 | change _ * (a i * x j i * NumberField.IsCMField.complexConj K (y j i)) = |
| 163 | a i * (_ * x j i * NumberField.IsCMField.complexConj K (y j i)) |
| 164 | ring |
| 165 | |
| 166 | theorem tensor_basis_isometry (β : K) (a : Fin 2 → K) |
| 167 | (ha : ∀ i, ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K (a i) = a i) |
| 168 | (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 169 | (horth : Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b 0) (b 1) = 0) |
| 170 | (x y : TensorPositions K) : |
| 171 | tensorHermitian K β a (tensorBasisChange K b x) (tensorBasisChange K b y) = |
| 172 | tensorHermitian K β (fun i => Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b i) (b i)) x y := by |
| 173 | apply Finset.sum_congr rfl |
| 174 | intro j _ |
| 175 | change _ * Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b.equivFun.symm (x j)) (b.equivFun.symm (y j)) = _ |
| 176 | rw [multiplicity_basis_isometry K a ha b horth] |
| 177 | |
| 178 | theorem tensor_trace_basis_isometry (β δ : K) (a : Fin 2 → K) |
| 179 | (ha : ∀ i, ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K (a i) = a i) |
| 180 | (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 181 | (horth : Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b 0) (b 1) = 0) |
| 182 | (x y : TensorPositions K) : |
| 183 | Algebra.trace ℚ K (δ * tensorHermitian K β a (tensorBasisChange K b x) (tensorBasisChange K b y)) = |
| 184 | Algebra.trace ℚ K (δ * tensorHermitian K β |
| 185 | (fun i => Analysis.DifferentialForms.Coordinates.LocalApproximation.hermitian a (b i) (b i)) x y) := by |
| 186 | rw [tensor_basis_isometry K β a ha b horth] |
| 187 | |
| 188 | end |
| 189 | |
| 190 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TransportNew.CM |