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 Mathlib |
| 2 | |
| 3 | /-! # Matrix Calculus -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.MatrixCalculus.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Holomorphic dependence of the actual finite period matrices, in the |
| 10 | elementwise matrix topology used by the theta constructions. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix.Norms.Elementwise |
| 13 | |
| 14 | variable {V ι : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 15 | [Fintype ι] [DecidableEq ι] {s : Set V} |
| 16 | |
| 17 | theorem matrix_determinant_holomorphic (M : V → Matrix ι ι ℂ) |
| 18 | (hM : DifferentiableOn ℂ M s) : DifferentiableOn ℂ (fun z => (M z).det) s := by |
| 19 | simp only [Matrix.det_apply'] |
| 20 | apply DifferentiableOn.fun_sum |
| 21 | intro σ _ |
| 22 | apply DifferentiableOn.mul (differentiableOn_const _) |
| 23 | have hp (t : Finset ι) : DifferentiableOn ℂ (fun z => ∏ i ∈ t, M z (σ i) i) s := by |
| 24 | induction t using Finset.induction_on with |
| 25 | | empty => simpa only [Finset.prod_empty] using (differentiableOn_const (1 : ℂ)) |
| 26 | | @insert a t hat ih => |
| 27 | simp only [Finset.prod_insert hat] |
| 28 | exact ((differentiable_apply a).comp_differentiableOn |
| 29 | ((differentiable_apply (σ a)).comp_differentiableOn hM)).mul ih |
| 30 | exact hp Finset.univ |
| 31 | |
| 32 | theorem matrix_inverse_holomorphic (M : V → Matrix ι ι ℂ) |
| 33 | (hM : DifferentiableOn ℂ M s) (hdet : ∀ z ∈ s, (M z).det ≠ 0) : |
| 34 | DifferentiableOn ℂ (fun z => (M z)⁻¹) s := by |
| 35 | apply differentiableOn_pi.mpr |
| 36 | intro i |
| 37 | apply differentiableOn_pi.mpr |
| 38 | intro j |
| 39 | simp only [Matrix.inv_def, Ring.inverse_eq_inv, Matrix.smul_apply, smul_eq_mul, |
| 40 | Matrix.adjugate_apply] |
| 41 | apply DifferentiableOn.mul |
| 42 | · exact (matrix_determinant_holomorphic M hM).inv hdet |
| 43 | · apply matrix_determinant_holomorphic |
| 44 | apply differentiableOn_pi.mpr |
| 45 | intro k |
| 46 | apply differentiableOn_pi.mpr |
| 47 | intro l |
| 48 | simp only [Matrix.updateRow_apply] |
| 49 | split_ifs |
| 50 | · exact differentiableOn_const _ |
| 51 | · fun_prop |
| 52 | |
| 53 | omit [DecidableEq ι] in |
| 54 | theorem matrix_product_holomorphic (M N : V → Matrix ι ι ℂ) |
| 55 | (hM : DifferentiableOn ℂ M s) (hN : DifferentiableOn ℂ N s) : |
| 56 | DifferentiableOn ℂ (fun z => M z * N z) s := by |
| 57 | apply differentiableOn_pi.mpr |
| 58 | intro i |
| 59 | apply differentiableOn_pi.mpr |
| 60 | intro j |
| 61 | simp only [Matrix.mul_apply] |
| 62 | fun_prop |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.MatrixCalculus.CM |