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.RepresentationTheory.Weil.UnitarySplitting.DiagonalNormGaussian |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.ArchimedeanQuadraticCharacter |
| 3 | |
| 4 | /-! # Real Gaussian Phase -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.RealGaussianPhase.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The phase of the real-place norm Gaussian scales by the specified |
| 11 | quadratic character. -/ |
| 12 | |
| 13 | theorem gaussianPhase_div (z w : ℂ) : DiagonalNormGaussian.Construction.gaussianPhase (z / w) = DiagonalNormGaussian.Construction.gaussianPhase z / DiagonalNormGaussian.Construction.gaussianPhase w := by |
| 14 | unfold DiagonalNormGaussian.Construction.gaussianPhase |
| 15 | rw [norm_div, Complex.ofReal_div, div_div_div_comm] |
| 16 | |
| 17 | theorem gaussianPhase_real_ne_zero (a : ℝ) (ha : a ≠ 0) : |
| 18 | DiagonalNormGaussian.Construction.gaussianPhase (a : ℂ) = if 0 < a then 1 else -1 := by |
| 19 | unfold DiagonalNormGaussian.Construction.gaussianPhase |
| 20 | rw [Complex.norm_real, Real.norm_eq_abs] |
| 21 | by_cases hp : 0 < a |
| 22 | · rw [ite_eq_left hp, abs_of_pos hp, div_self (Complex.ofReal_ne_zero.mpr ha)] |
| 23 | · have hn : a < 0 := lt_of_le_of_ne (le_of_not_gt hp) ha |
| 24 | rw [ite_eq_right hp, abs_of_neg hn, Complex.ofReal_neg, div_neg, |
| 25 | div_self (Complex.ofReal_ne_zero.mpr ha)] |
| 26 | |
| 27 | theorem archimedean_gaussian_phase_scaling |
| 28 | {F E : Type} [NormedField F] [NormedField E] [Algebra F E] [FiniteDimensional F E] |
| 29 | (e : ℝ ≃+* F) (k : E ≃+* ℂ) |
| 30 | (hN : ∀ x : E, e.symm (Algebra.norm F x) = Complex.normSq (k x)) |
| 31 | (hQuadratic : Module.finrank F E = 2) |
| 32 | (ω : Fˣ →ₜ* Circle) (hω : Characters.Construction.IsExtensionQuadraticCharacter (E := E) ω) |
| 33 | (z : ℂ) (a : Fˣ) : |
| 34 | DiagonalNormGaussian.Construction.gaussianPhase (z / (e.symm (a : F) : ℂ)) = (ω a : ℂ) * DiagonalNormGaussian.Construction.gaussianPhase z := by |
| 35 | have ha : e.symm (a : F) ≠ 0 := (map_ne_zero e.symm).mpr a.ne_zero |
| 36 | rw [gaussianPhase_div, gaussianPhase_real_ne_zero _ ha] |
| 37 | by_cases hp : 0 < e.symm (a : F) |
| 38 | · rw [ite_eq_left hp, (ArchimedeanQuadraticCharacter.Construction.quadraticCharacter_real_positive_iff e k hN ω hω a).mpr hp, |
| 39 | Circle.coe_one, div_one, one_mul] |
| 40 | · have hωne : ω a ≠ 1 := fun h => hp ((ArchimedeanQuadraticCharacter.Construction.quadraticCharacter_real_positive_iff e k hN ω hω a).mp h) |
| 41 | have hs : (ω a : ℂ) ^ 2 = 1 := congrArg (fun u : Circle => (u : ℂ)) |
| 42 | (Characters.Construction.quadraticCharacter_square hQuadratic ω hω a) |
| 43 | have hm : (ω a : ℂ) = -1 := (sq_eq_one_iff.mp hs).resolve_left (fun h => hωne (Circle.ext h)) |
| 44 | rw [ite_eq_right hp, hm, div_neg, div_one, neg_one_mul] |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.RepresentationTheory.Weil.UnitarySplitting.RealGaussianPhase.Construction |