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.AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodFrameFamilies |
| 2 | |
| 3 | /-! # Period Matrix Families -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodMatrixFamilies.Multiplicity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Holomorphic matrix operations used to turn actual positive frames |
| 10 | into a period family. Invertibility is required only on the chart domain. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | |
| 14 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 15 | {O : Set Geometry.ComplexBall.PrescribedSignsB.BallChart} {A B : Geometry.ComplexBall.PrescribedSignsB.BallChart → Matrix ι ι ℂ} |
| 16 | |
| 17 | theorem matrix_family_det_differentiable (hA : DifferentiableOn ℂ A O) : |
| 18 | DifferentiableOn ℂ (fun z => (A z).det) O := by |
| 19 | have hentry (i j : ι) : DifferentiableOn ℂ (fun z => A z i j) O := |
| 20 | differentiableOn_pi.mp (differentiableOn_pi.mp hA i) j |
| 21 | simp only [Matrix.det_apply'] |
| 22 | have ht (σ : Equiv.Perm ι) : DifferentiableOn ℂ |
| 23 | (fun z => ((Equiv.Perm.sign σ : ℤ) : ℂ) * ∏ i, A z (σ i) i) O := by |
| 24 | have hp (t : Finset ι) : DifferentiableOn ℂ (fun z => ∏ i ∈ t, A z (σ i) i) O := by |
| 25 | induction t using Finset.induction_on with |
| 26 | | empty => simpa only [Finset.prod_empty] using (differentiableOn_const (1 : ℂ) (s := O)) |
| 27 | | @insert i t hi ih => |
| 28 | simp only [Finset.prod_insert hi] |
| 29 | exact (hentry (σ i) i).mul ih |
| 30 | exact (differentiableOn_const _ : DifferentiableOn ℂ |
| 31 | (fun _ : Geometry.ComplexBall.PrescribedSignsB.BallChart => ((Equiv.Perm.sign σ : ℤ) : ℂ)) O).mul |
| 32 | (hp Finset.univ) |
| 33 | have he : (fun z : Geometry.ComplexBall.PrescribedSignsB.BallChart => ∑ σ : Equiv.Perm ι, |
| 34 | ((Equiv.Perm.sign σ : ℤ) : ℂ) * ∏ i, A z (σ i) i) = |
| 35 | ∑ σ : Equiv.Perm ι, (fun z : Geometry.ComplexBall.PrescribedSignsB.BallChart => ((Equiv.Perm.sign σ : ℤ) : ℂ) * ∏ i, A z (σ i) i) := by |
| 36 | funext z |
| 37 | rw [Finset.sum_apply] |
| 38 | rw [he] |
| 39 | exact DifferentiableOn.sum (u := Finset.univ) (fun σ _ => ht σ) |
| 40 | |
| 41 | theorem matrix_family_adjugate_differentiable (hA : DifferentiableOn ℂ A O) : |
| 42 | DifferentiableOn ℂ (fun z => (A z).adjugate) O := by |
| 43 | apply differentiableOn_pi.mpr |
| 44 | intro i |
| 45 | apply differentiableOn_pi.mpr |
| 46 | intro j |
| 47 | simp only [Matrix.adjugate_apply] |
| 48 | apply matrix_family_det_differentiable |
| 49 | apply differentiableOn_pi.mpr |
| 50 | intro k |
| 51 | apply differentiableOn_pi.mpr |
| 52 | intro l |
| 53 | simp only [Matrix.updateRow_apply] |
| 54 | split_ifs |
| 55 | · exact differentiableOn_const _ |
| 56 | · exact differentiableOn_pi.mp (differentiableOn_pi.mp hA k) l |
| 57 | |
| 58 | theorem matrix_family_inverse_differentiable (hA : DifferentiableOn ℂ A O) |
| 59 | (hdet : ∀ z ∈ O, (A z).det ≠ 0) : DifferentiableOn ℂ (fun z => (A z)⁻¹) O := by |
| 60 | simp only [Matrix.inv_def, Ring.inverse_eq_inv] |
| 61 | apply differentiableOn_pi.mpr |
| 62 | intro i |
| 63 | apply differentiableOn_pi.mpr |
| 64 | intro j |
| 65 | exact ((matrix_family_det_differentiable hA).inv hdet).mul |
| 66 | (differentiableOn_pi.mp (differentiableOn_pi.mp (matrix_family_adjugate_differentiable hA) i) j) |
| 67 | |
| 68 | omit [DecidableEq ι] in |
| 69 | theorem matrix_family_mul_differentiable (hA : DifferentiableOn ℂ A O) |
| 70 | (hB : DifferentiableOn ℂ B O) : DifferentiableOn ℂ (fun z => A z * B z) O := by |
| 71 | have ha (i j : ι) : DifferentiableOn ℂ (fun z => A z i j) O := |
| 72 | differentiableOn_pi.mp (differentiableOn_pi.mp hA i) j |
| 73 | have hb (i j : ι) : DifferentiableOn ℂ (fun z => B z i j) O := |
| 74 | differentiableOn_pi.mp (differentiableOn_pi.mp hB i) j |
| 75 | apply differentiableOn_pi.mpr |
| 76 | intro i |
| 77 | apply differentiableOn_pi.mpr |
| 78 | intro j |
| 79 | simp only [Matrix.mul_apply] |
| 80 | fun_prop |
| 81 | |
| 82 | theorem frame_graph_differentiable (hA : DifferentiableOn ℂ A O) |
| 83 | (hB : DifferentiableOn ℂ B O) (hdet : ∀ z ∈ O, (B z).det ≠ 0) : |
| 84 | DifferentiableOn ℂ (fun z => A z * (B z)⁻¹) O := |
| 85 | matrix_family_mul_differentiable hA (matrix_family_inverse_differentiable hB hdet) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodMatrixFamilies.Multiplicity |