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.Local.OscillatoryTailTools |
| 2 | import OAI.RepresentationTheory.Weil.Local.ArchimedeanTestSpace |
| 3 | |
| 4 | /-! # Planar Quadratic Phase -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.PlanarQuadraticPhase.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The planar quadratic phase satisfies a radial Laplacian identity. -/ |
| 11 | |
| 12 | def planarQuadraticPhase (b : ℝ) (z : ℝ × ℝ) : ℂ := |
| 13 | Complex.exp ((b : ℂ) * Complex.I * ((z.1 : ℂ) ^ 2 - (z.2 : ℂ) ^ 2)) |
| 14 | |
| 15 | def planarQuadraticPhaseX (b : ℝ) (z : ℝ × ℝ) : ℂ := |
| 16 | (2 * b * Complex.I * z.1 : ℂ) * planarQuadraticPhase b z |
| 17 | |
| 18 | def planarQuadraticPhaseY (b : ℝ) (z : ℝ × ℝ) : ℂ := |
| 19 | (-2 * b * Complex.I * z.2 : ℂ) * planarQuadraticPhase b z |
| 20 | |
| 21 | def planarQuadraticPhaseXX (b : ℝ) (z : ℝ × ℝ) : ℂ := |
| 22 | ((2 * b * Complex.I : ℂ) + (2 * b * Complex.I * z.1 : ℂ) ^ 2) * planarQuadraticPhase b z |
| 23 | |
| 24 | def planarQuadraticPhaseYY (b : ℝ) (z : ℝ × ℝ) : ℂ := |
| 25 | ((-2 * b * Complex.I : ℂ) + (-2 * b * Complex.I * z.2 : ℂ) ^ 2) * planarQuadraticPhase b z |
| 26 | |
| 27 | theorem planarQuadraticPhase_norm (b : ℝ) (z : ℝ × ℝ) : ‖planarQuadraticPhase b z‖ = 1 := by |
| 28 | simp [planarQuadraticPhase, Complex.norm_exp, pow_two] |
| 29 | |
| 30 | theorem planarQuadraticPhase_continuous (b : ℝ) : Continuous (planarQuadraticPhase b) := by |
| 31 | unfold planarQuadraticPhase |
| 32 | fun_prop |
| 33 | |
| 34 | theorem planarQuadraticPhase_hasDerivAt_x (b x y : ℝ) : |
| 35 | HasDerivAt (fun t => planarQuadraticPhase b (t, y)) (planarQuadraticPhaseX b (x, y)) x := by |
| 36 | have hd := (((((hasDerivAt_id x).ofReal_comp).pow 2).sub_const ((y : ℂ) ^ 2)).const_mul |
| 37 | ((b : ℂ) * Complex.I)).cexp |
| 38 | dsimp only [id_eq, Pi.pow_apply] at hd |
| 39 | convert! hd using 1 |
| 40 | unfold planarQuadraticPhaseX planarQuadraticPhase |
| 41 | norm_num |
| 42 | ring |
| 43 | |
| 44 | theorem planarQuadraticPhase_hasDerivAt_y (b x y : ℝ) : |
| 45 | HasDerivAt (fun t => planarQuadraticPhase b (x, t)) (planarQuadraticPhaseY b (x, y)) y := by |
| 46 | have hd := (((((hasDerivAt_id y).ofReal_comp).pow 2).const_sub ((x : ℂ) ^ 2)).const_mul |
| 47 | ((b : ℂ) * Complex.I)).cexp |
| 48 | dsimp only [id_eq, Pi.pow_apply] at hd |
| 49 | convert! hd using 1 |
| 50 | unfold planarQuadraticPhaseY planarQuadraticPhase |
| 51 | norm_num |
| 52 | ring |
| 53 | |
| 54 | theorem planarQuadraticPhaseX_hasDerivAt_x (b x y : ℝ) : |
| 55 | HasDerivAt (fun t => planarQuadraticPhaseX b (t, y)) (planarQuadraticPhaseXX b (x, y)) x := by |
| 56 | have hd := (((hasDerivAt_id x).ofReal_comp).const_mul (2 * b * Complex.I : ℂ)).mul |
| 57 | (planarQuadraticPhase_hasDerivAt_x b x y) |
| 58 | dsimp only [id_eq] at hd |
| 59 | convert! hd using 1 |
| 60 | unfold planarQuadraticPhaseXX planarQuadraticPhaseX |
| 61 | norm_num |
| 62 | ring |
| 63 | |
| 64 | theorem planarQuadraticPhaseY_hasDerivAt_y (b x y : ℝ) : |
| 65 | HasDerivAt (fun t => planarQuadraticPhaseY b (x, t)) (planarQuadraticPhaseYY b (x, y)) y := by |
| 66 | have hd := (((hasDerivAt_id y).ofReal_comp).const_mul (-2 * b * Complex.I : ℂ)).mul |
| 67 | (planarQuadraticPhase_hasDerivAt_y b x y) |
| 68 | dsimp only [id_eq] at hd |
| 69 | convert! hd using 1 |
| 70 | unfold planarQuadraticPhaseYY planarQuadraticPhaseY |
| 71 | norm_num |
| 72 | ring |
| 73 | |
| 74 | theorem planarQuadraticPhase_laplacian (b : ℝ) (z : ℝ × ℝ) : |
| 75 | planarQuadraticPhaseXX b z + planarQuadraticPhaseYY b z = |
| 76 | (-4 * b ^ 2 * (z.1 ^ 2 + z.2 ^ 2) : ℝ) * planarQuadraticPhase b z := by |
| 77 | unfold planarQuadraticPhaseXX planarQuadraticPhaseYY |
| 78 | rw [← add_mul] |
| 79 | congr 1 |
| 80 | push_cast |
| 81 | ring_nf |
| 82 | rw [Complex.I_sq] |
| 83 | ring |
| 84 | |
| 85 | theorem planarQuadraticPhase_standard (z : ℂ) : |
| 86 | planarQuadraticPhase Real.pi (z.re, z.im) = ArchimedeanTestSpace.Construction.complexStandardCharacter (z ^ 2 / 2) := by |
| 87 | change Complex.exp _ = Gaussian.Construction.realCharacter 1 ((z ^ 2 / 2).re) |
| 88 | rw [Gaussian.Construction.realCharacter_apply] |
| 89 | congr 1 |
| 90 | simp only [Complex.div_ofNat_re, pow_two, Complex.mul_re] |
| 91 | push_cast |
| 92 | ring |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.RepresentationTheory.Weil.Local.PlanarQuadraticPhase.Construction |