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.DeterminantCoordinates |
| 2 | |
| 3 | /-! # Annihilator Frame -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Adelic.AnnihilatorFrame |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The inverse-transpose action really maps the displayed annihilator |
| 10 | frames at z to the displayed frames at g z. Thus the determinant computed |
| 11 | in DeterminantCoordinates is the coordinate determinant of that map. -/ |
| 12 | |
| 13 | open _root_.Matrix |
| 14 | |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.DeterminantCoordinates |
| 16 | |
| 17 | variable {k : Type*} [Field k] |
| 18 | |
| 19 | def frameVector (z a : Fin 2 → k) : Fin 3 → k := |
| 20 | ![a 0, a 1, -(z 0 * a 0 + z 1 * a 1)] |
| 21 | |
| 22 | theorem line_dot_annihilator (z : Fin 2 → k) (j : Fin 2) : |
| 23 | dotProduct (DeterminantCoordinates.lineVector z) (DeterminantCoordinates.annihilatorVector z j) = 0 := by |
| 24 | fin_cases j <;> simp [DeterminantCoordinates.lineVector, DeterminantCoordinates.annihilatorVector, dotProduct, Fin.sum_univ_succ] |
| 25 | |
| 26 | theorem inverseTranspose_pairing (g : Matrix.SpecialLinearGroup (Fin 3) k) (x y : Fin 3 → k) : |
| 27 | dotProduct (g.val.mulVec x) ((g⁻¹).val.transpose.mulVec y) = dotProduct x y := by |
| 28 | rw [Matrix.dotProduct_transpose_mulVec, Matrix.mulVec_mulVec] |
| 29 | have hmul : (g⁻¹).val * g.val = 1 := congrArg Subtype.val (inv_mul_cancel g) |
| 30 | rw [hmul, Matrix.one_mulVec, dotProduct_comm] |
| 31 | |
| 32 | theorem line_dot_dualColumn (g : Matrix.SpecialLinearGroup (Fin 3) k) (z : Fin 2 → k) |
| 33 | (hd : DeterminantCoordinates.denominator g z ≠ 0) (j : Fin 2) : |
| 34 | dotProduct (DeterminantCoordinates.lineVector (DeterminantCoordinates.chartImage g z)) (DeterminantCoordinates.dualColumn g z j) = 0 := by |
| 35 | have h : dotProduct (g.val.mulVec (DeterminantCoordinates.lineVector z)) (DeterminantCoordinates.dualColumn g z j) = 0 := |
| 36 | (inverseTranspose_pairing g (DeterminantCoordinates.lineVector z) (DeterminantCoordinates.annihilatorVector z j)).trans (line_dot_annihilator z j) |
| 37 | rw [DeterminantCoordinates.lineVector_chartImage g z hd, smul_dotProduct] at h |
| 38 | exact (mul_eq_zero.mp h).resolve_left hd |
| 39 | |
| 40 | theorem annihilator_frame_coordinates (z : Fin 2 → k) (x : Fin 3 → k) |
| 41 | (hx : dotProduct (DeterminantCoordinates.lineVector z) x = 0) : |
| 42 | x = frameVector z (fun i : Fin 2 => x i.castSucc) := by |
| 43 | have hlast : x 2 = -(z 0 * x 0 + z 1 * x 1) := by |
| 44 | have hsum : z 0 * x 0 + z 1 * x 1 + x 2 = 0 := by |
| 45 | simpa [DeterminantCoordinates.lineVector, dotProduct, Fin.sum_univ_succ, add_assoc] using hx |
| 46 | exact eq_neg_of_add_eq_zero_right hsum |
| 47 | funext i |
| 48 | fin_cases i |
| 49 | · rfl |
| 50 | · rfl |
| 51 | · exact hlast |
| 52 | |
| 53 | theorem dualColumn_frame (g : Matrix.SpecialLinearGroup (Fin 3) k) (z : Fin 2 → k) |
| 54 | (hd : DeterminantCoordinates.denominator g z ≠ 0) (j : Fin 2) : |
| 55 | DeterminantCoordinates.dualColumn g z j = frameVector (DeterminantCoordinates.chartImage g z) (fun i => DeterminantCoordinates.dualCoordinates g z i j) := |
| 56 | annihilator_frame_coordinates (DeterminantCoordinates.chartImage g z) (DeterminantCoordinates.dualColumn g z j) (line_dot_dualColumn g z hd j) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.RepresentationTheory.Theta.Adelic.AnnihilatorFrame |