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.Theta.Adelic.BallNatural |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.AnnihilatorFrame |
| 3 | |
| 4 | /-! # Ball Frame Positivity -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace RepresentationTheory.Theta.Adelic.BallFramePositivity.RankThreeHodgeAction |
| 11 | |
| 12 | /-! The explicit rank-three Hodge-frame action: the tautological line |
| 13 | and its two annihilator columns, with determinant equal to the square |
| 14 | of the projective denominator. -/ |
| 15 | |
| 16 | open _root_.Matrix |
| 17 | open scoped Classical |
| 18 | |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.DeterminantCoordinates OAI.RepresentationTheory.Theta.Adelic.AnnihilatorFrame |
| 20 | |
| 21 | variable (g : BallNatural.BallGroup) (z : BallNatural.Ball) |
| 22 | |
| 23 | def hodgeFrameMatrix : Matrix (Fin 3) (Fin 3) ℂ := |
| 24 | !![DeterminantCoordinates.denominator (BallNatural.asSL g) z.val, 0, 0; |
| 25 | 0, DeterminantCoordinates.dualCoordinates (BallNatural.asSL g) z.val 0 0, DeterminantCoordinates.dualCoordinates (BallNatural.asSL g) z.val 0 1; |
| 26 | 0, DeterminantCoordinates.dualCoordinates (BallNatural.asSL g) z.val 1 0, DeterminantCoordinates.dualCoordinates (BallNatural.asSL g) z.val 1 1] |
| 27 | |
| 28 | theorem hodgeFrameMatrix_det : (hodgeFrameMatrix g z).det = DeterminantCoordinates.denominator (BallNatural.asSL g) z.val ^ 2 := by |
| 29 | calc |
| 30 | _ = DeterminantCoordinates.denominator (BallNatural.asSL g) z.val * (DeterminantCoordinates.dualCoordinates (BallNatural.asSL g) z.val).det := by |
| 31 | simp [hodgeFrameMatrix, Matrix.det_fin_three, Matrix.det_fin_two] |
| 32 | ring |
| 33 | _ = _ := by rw [DeterminantCoordinates.dualCoordinates_det, pow_two] |
| 34 | |
| 35 | def hodgeFrameUnit : (Matrix (Fin 3) (Fin 3) ℂ)ˣ := |
| 36 | Matrix.GeneralLinearGroup.mkOfDetNeZero (hodgeFrameMatrix g z) |
| 37 | (by rw [hodgeFrameMatrix_det]; exact pow_ne_zero _ (BallNatural.denominator_ne_zero g z)) |
| 38 | |
| 39 | def standardHodgeColumn (a : Fin 3 → ℂ) : Fin 3 → ℂ := |
| 40 | fun i => DeterminantCoordinates.lineVector z.val i * a 0 |
| 41 | |
| 42 | def dualHodgeColumn (a : Fin 3 → ℂ) : Fin 3 → ℂ := |
| 43 | fun i => DeterminantCoordinates.annihilatorVector z.val 0 i * a 1 + DeterminantCoordinates.annihilatorVector z.val 1 i * a 2 |
| 44 | |
| 45 | theorem standard_hodge_transform (a : Fin 3 → ℂ) : |
| 46 | (BallNatural.asSL g).val.mulVec (standardHodgeColumn z a) = |
| 47 | standardHodgeColumn (g • z) ((hodgeFrameMatrix g z).mulVec a) := by |
| 48 | have he : standardHodgeColumn z a = a 0 • DeterminantCoordinates.lineVector z.val := by |
| 49 | ext i |
| 50 | exact mul_comm _ _ |
| 51 | rw [he, Matrix.mulVec_smul, DeterminantCoordinates.lineVector_chartImage (BallNatural.asSL g) z.val (BallNatural.denominator_ne_zero g z)] |
| 52 | have hrow : (hodgeFrameMatrix g z).mulVec a 0 = DeterminantCoordinates.denominator (BallNatural.asSL g) z.val * a 0 := by |
| 53 | simp [hodgeFrameMatrix, Matrix.mulVec, dotProduct, Fin.sum_univ_succ] |
| 54 | ext i |
| 55 | change a 0 * (DeterminantCoordinates.denominator (BallNatural.asSL g) z.val * DeterminantCoordinates.lineVector (DeterminantCoordinates.chartImage (BallNatural.asSL g) z.val) i) = |
| 56 | DeterminantCoordinates.lineVector (g • z).val i * (hodgeFrameMatrix g z).mulVec a 0 |
| 57 | rw [hrow] |
| 58 | change _ = DeterminantCoordinates.lineVector (DeterminantCoordinates.chartImage (BallNatural.asSL g) z.val) i * (DeterminantCoordinates.denominator (BallNatural.asSL g) z.val * a 0) |
| 59 | ring |
| 60 | |
| 61 | theorem dual_hodge_transform (a : Fin 3 → ℂ) : |
| 62 | (BallNatural.asSL g)⁻¹.val.transpose.mulVec (dualHodgeColumn z a) = |
| 63 | dualHodgeColumn (g • z) ((hodgeFrameMatrix g z).mulVec a) := by |
| 64 | have he : dualHodgeColumn z a = a 1 • DeterminantCoordinates.annihilatorVector z.val 0 + a 2 • DeterminantCoordinates.annihilatorVector z.val 1 := by |
| 65 | ext i |
| 66 | change DeterminantCoordinates.annihilatorVector z.val 0 i * a 1 + DeterminantCoordinates.annihilatorVector z.val 1 i * a 2 = _ |
| 67 | simp only [Pi.add_apply, Pi.smul_apply, smul_eq_mul] |
| 68 | ring |
| 69 | rw [he, Matrix.mulVec_add, Matrix.mulVec_smul, Matrix.mulVec_smul] |
| 70 | change a 1 • DeterminantCoordinates.dualColumn (BallNatural.asSL g) z.val 0 + a 2 • DeterminantCoordinates.dualColumn (BallNatural.asSL g) z.val 1 = _ |
| 71 | rw [AnnihilatorFrame.dualColumn_frame (BallNatural.asSL g) z.val (BallNatural.denominator_ne_zero g z) 0, |
| 72 | AnnihilatorFrame.dualColumn_frame (BallNatural.asSL g) z.val (BallNatural.denominator_ne_zero g z) 1] |
| 73 | have hchart : (g • z).val = DeterminantCoordinates.chartImage (BallNatural.asSL g) z.val := rfl |
| 74 | ext i |
| 75 | fin_cases i <;> |
| 76 | simp [dualHodgeColumn, hodgeFrameMatrix, AnnihilatorFrame.frameVector, DeterminantCoordinates.annihilatorVector, |
| 77 | Matrix.mulVec, dotProduct, Fin.sum_univ_succ, hchart] <;> ring |
| 78 | |
| 79 | end RepresentationTheory.Theta.Adelic.BallFramePositivity.RankThreeHodgeAction |
| 80 | |
| 81 | namespace RepresentationTheory.Theta.Adelic.BallFramePositivity |
| 82 | |
| 83 | /-! Explicit positivity of the tautological line and annihilator |
| 84 | frame on the unit two-ball. -/ |
| 85 | |
| 86 | open scoped Classical ComplexConjugate |
| 87 | |
| 88 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallFramePositivity.RankThreeHodgeAction OAI.RepresentationTheory.Theta.Adelic.DeterminantCoordinates |
| 89 | |
| 90 | theorem complex_cauchy_two (z w a b : ℂ) : |
| 91 | (Complex.normSq z + Complex.normSq w) * (Complex.normSq a + Complex.normSq b) - |
| 92 | Complex.normSq (z * a + w * b) = |
| 93 | Complex.normSq (conj z * b - conj w * a) := by |
| 94 | simp only [Complex.normSq_apply, Complex.add_re, Complex.add_im, |
| 95 | Complex.sub_re, Complex.sub_im, Complex.mul_re, Complex.mul_im, |
| 96 | Complex.conj_re, Complex.conj_im] |
| 97 | ring |
| 98 | |
| 99 | def annihilatorEnergy (z : BallNatural.Ball) (a b : ℂ) : ℝ := |
| 100 | Complex.normSq a + Complex.normSq b - Complex.normSq (z.val 0 * a + z.val 1 * b) |
| 101 | |
| 102 | theorem annihilatorEnergy_nonneg (z : BallNatural.Ball) (a b : ℂ) : |
| 103 | 0 ≤ annihilatorEnergy z a b := by |
| 104 | have h := complex_cauchy_two (z.val 0) (z.val 1) a b |
| 105 | have hn := Complex.normSq_nonneg (conj (z.val 0) * b - conj (z.val 1) * a) |
| 106 | have hp := add_nonneg (Complex.normSq_nonneg a) (Complex.normSq_nonneg b) |
| 107 | have hz : Complex.normSq (z.val 0) + Complex.normSq (z.val 1) < 1 := z.property |
| 108 | dsimp [annihilatorEnergy] |
| 109 | nlinarith |
| 110 | |
| 111 | theorem annihilatorEnergy_pos (z : BallNatural.Ball) (a b : ℂ) (hab : a ≠ 0 ∨ b ≠ 0) : |
| 112 | 0 < annihilatorEnergy z a b := by |
| 113 | have h := complex_cauchy_two (z.val 0) (z.val 1) a b |
| 114 | have hn := Complex.normSq_nonneg (conj (z.val 0) * b - conj (z.val 1) * a) |
| 115 | have hp : 0 < Complex.normSq a + Complex.normSq b := by |
| 116 | rcases hab with ha | hb |
| 117 | · exact add_pos_of_pos_of_nonneg (Complex.normSq_pos.mpr ha) (Complex.normSq_nonneg b) |
| 118 | · exact add_pos_of_nonneg_of_pos (Complex.normSq_nonneg a) (Complex.normSq_pos.mpr hb) |
| 119 | have hz : Complex.normSq (z.val 0) + Complex.normSq (z.val 1) < 1 := z.property |
| 120 | dsimp [annihilatorEnergy] |
| 121 | nlinarith |
| 122 | |
| 123 | def ballFrameEnergy (z : BallNatural.Ball) (a : Fin 3 → ℂ) : ℝ := |
| 124 | (1 - (Complex.normSq (z.val 0) + Complex.normSq (z.val 1))) * Complex.normSq (a 0) + |
| 125 | annihilatorEnergy z (a 1) (a 2) |
| 126 | |
| 127 | theorem ballFrameEnergy_nonneg (z : BallNatural.Ball) (a : Fin 3 → ℂ) : 0 ≤ ballFrameEnergy z a := |
| 128 | add_nonneg (mul_nonneg (sub_nonneg.mpr z.property.le) (Complex.normSq_nonneg _)) |
| 129 | (annihilatorEnergy_nonneg z _ _) |
| 130 | |
| 131 | theorem ballFrameEnergy_pos (z : BallNatural.Ball) (a : Fin 3 → ℂ) (ha : a ≠ 0) : |
| 132 | 0 < ballFrameEnergy z a := by |
| 133 | by_cases ha0 : a 0 = 0 |
| 134 | · have hab : a 1 ≠ 0 ∨ a 2 ≠ 0 := by |
| 135 | by_contra h |
| 136 | push Not at h |
| 137 | apply ha |
| 138 | funext i |
| 139 | fin_cases i <;> simp [ha0, h] |
| 140 | exact add_pos_of_nonneg_of_pos |
| 141 | (mul_nonneg (sub_nonneg.mpr z.property.le) (Complex.normSq_nonneg _)) |
| 142 | (annihilatorEnergy_pos z _ _ hab) |
| 143 | · exact add_pos_of_pos_of_nonneg |
| 144 | (mul_pos (sub_pos.mpr z.property) (Complex.normSq_pos.mpr ha0)) |
| 145 | (annihilatorEnergy_nonneg z _ _) |
| 146 | |
| 147 | theorem ballFrameEnergy_formula (z : BallNatural.Ball) (a : Fin 3 → ℂ) : |
| 148 | ∑ i : Fin 3, (if i = 2 then (1 : ℝ) else -1) * |
| 149 | (Complex.normSq (RankThreeHodgeAction.standardHodgeColumn z a i) - Complex.normSq (RankThreeHodgeAction.dualHodgeColumn z a i)) = |
| 150 | ballFrameEnergy z a := by |
| 151 | simp [Fin.sum_univ_succ, RankThreeHodgeAction.standardHodgeColumn, RankThreeHodgeAction.dualHodgeColumn, |
| 152 | DeterminantCoordinates.lineVector, DeterminantCoordinates.annihilatorVector, ballFrameEnergy, annihilatorEnergy, map_mul] |
| 153 | rw [← neg_add, Complex.normSq_neg] |
| 154 | ring |
| 155 | |
| 156 | end RepresentationTheory.Theta.Adelic.BallFramePositivity |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI |