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.DataTheta |
| 2 | |
| 3 | /-! # Intrinsic Block Siegel -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicBlockSiegel.Intrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual block Siegel matrices and determinant frames. The period |
| 10 | positivity and determinant products are proved, not postulated. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | open _root_.Matrix |
| 14 | |
| 15 | variable {I J : Type} [Fintype I] [Fintype J] [DecidableEq I] [DecidableEq J] |
| 16 | |
| 17 | omit [DecidableEq I] [DecidableEq J] in |
| 18 | theorem positive_blocks {A : Matrix I I ℝ} {B : Matrix J J ℝ} |
| 19 | (hA : A.PosDef) (hB : B.PosDef) : (Matrix.fromBlocks A 0 0 B).PosDef := by |
| 20 | apply Matrix.PosDef.of_dotProduct_mulVec_pos (hA.1.fromBlocks (by simp) hB.1) |
| 21 | intro x hx |
| 22 | let x₁ : I → ℝ := fun i => x (.inl i) |
| 23 | let x₂ : J → ℝ := fun j => x (.inr j) |
| 24 | have he : star x ⬝ᵥ ((Matrix.fromBlocks A 0 0 B).mulVec x) = |
| 25 | star x₁ ⬝ᵥ (A.mulVec x₁) + star x₂ ⬝ᵥ (B.mulVec x₂) := by |
| 26 | simp [dotProduct, Matrix.mulVec, Fintype.sum_sum_type, Matrix.fromBlocks, x₁, x₂] |
| 27 | rw [he] |
| 28 | by_cases h₁ : x₁ = 0 |
| 29 | · have h₂ : x₂ ≠ 0 := by |
| 30 | intro h₂ |
| 31 | apply hx |
| 32 | funext i |
| 33 | rcases i with i | i |
| 34 | · exact congrFun h₁ i |
| 35 | · exact congrFun h₂ i |
| 36 | have hpos := hB.dotProduct_mulVec_pos h₂ |
| 37 | simpa [h₁] using hpos |
| 38 | · exact add_pos_of_pos_of_nonneg (hA.dotProduct_mulVec_pos h₁) |
| 39 | (hB.posSemidef.dotProduct_mulVec_nonneg x₂) |
| 40 | |
| 41 | def blockPeriod (Z₁ : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix I) (Z₂ : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix J) : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (I ⊕ J) where |
| 42 | matrix := Matrix.fromBlocks Z₁.matrix 0 0 Z₂.matrix |
| 43 | symmetric := by |
| 44 | unfold Matrix.IsSymm |
| 45 | simp only [Matrix.fromBlocks_transpose, Z₁.symmetric.eq, Z₂.symmetric.eq, Matrix.transpose_zero] |
| 46 | imaginary_posDef := by |
| 47 | have he : (fun i j => (Matrix.fromBlocks Z₁.matrix 0 0 Z₂.matrix i j).im) = |
| 48 | Matrix.fromBlocks (fun i j => (Z₁.matrix i j).im) 0 0 |
| 49 | (fun i j => (Z₂.matrix i j).im) := by |
| 50 | funext i j |
| 51 | rcases i with i | i <;> rcases j with j | j <;> rfl |
| 52 | rw [he] |
| 53 | exact positive_blocks Z₁.imaginary_posDef Z₂.imaginary_posDef |
| 54 | |
| 55 | def blockFrame (a : (Matrix I I ℂ)ˣ) (b : (Matrix J J ℂ)ˣ) : |
| 56 | (Matrix (I ⊕ J) (I ⊕ J) ℂ)ˣ where |
| 57 | val := Matrix.fromBlocks a.val 0 0 b.val |
| 58 | inv := Matrix.fromBlocks a.inv 0 0 b.inv |
| 59 | val_inv := by simp [Matrix.fromBlocks_multiply] |
| 60 | inv_val := by simp [Matrix.fromBlocks_multiply] |
| 61 | |
| 62 | theorem blockFrame_invTranspose_mulVec (a : (Matrix I I ℂ)ˣ) (b : (Matrix J J ℂ)ˣ) |
| 63 | (u : I → ℂ) (v : J → ℂ) : |
| 64 | (blockFrame a b).invᵀ.mulVec (Sum.elim u v) = |
| 65 | Sum.elim (a.invᵀ.mulVec u) (b.invᵀ.mulVec v) := by |
| 66 | funext q |
| 67 | rcases q with q | q <;> |
| 68 | simp [blockFrame, Matrix.mulVec, dotProduct, |
| 69 | Fintype.sum_sum_type] |
| 70 | |
| 71 | theorem blockFrame_det (a : (Matrix I I ℂ)ˣ) (b : (Matrix J J ℂ)ˣ) : |
| 72 | (blockFrame a b).val.det = a.val.det * b.val.det := |
| 73 | Matrix.det_fromBlocks_zero₂₁ _ _ _ |
| 74 | |
| 75 | theorem blockHalfFrame (a : (Matrix I I ℂ)ˣ) (b : (Matrix J J ℂ)ˣ) |
| 76 | (s t : ℂ) (hs : s ≠ 0 ∧ s ^ 2 = a.val.det) (ht : t ≠ 0 ∧ t ^ 2 = b.val.det) : |
| 77 | s * t ≠ 0 ∧ (s * t) ^ 2 = (blockFrame a b).val.det := by |
| 78 | exact ⟨mul_ne_zero hs.1 ht.1, by rw [mul_pow, hs.2, ht.2, blockFrame_det]⟩ |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicBlockSiegel.Intrinsic |