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.Hecke.RadialDilation.IndexedPrimeBareLift |
| 2 | import OAI.RepresentationTheory.Weil.Local.SpecialLinearCommutators |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.SphericalGU |
| 4 | |
| 5 | /-! # Active Block Matrices -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ActiveBlockMatrices.Local |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Embed the active SL3 into the actual full local position coordinates, |
| 12 | with identity on every other place and determinant exactly one. -/ |
| 13 | |
| 14 | open OAI.RepresentationTheory.Weil.Local.SpecialLinearCommutators.Construction |
| 15 | open scoped Classical _root_.Matrix |
| 16 | |
| 17 | variable {k : Type} [Field k] {Place : Type} [Fintype Place] [DecidableEq Place] |
| 18 | {n : ℕ} (e : (Place × Fin 3) ≃ Fin n) (μ : Place) |
| 19 | |
| 20 | def activeBlockMatrix (g : Matrix.SpecialLinearGroup (Fin 3) k) : Matrix (Fin n) (Fin n) k := |
| 21 | Matrix.reindex ((Equiv.prodComm (Fin 3) Place).trans e) |
| 22 | ((Equiv.prodComm (Fin 3) Place).trans e) |
| 23 | (Matrix.blockDiagonal (fun τ : Place => if τ = μ then g.val else 1)) |
| 24 | |
| 25 | theorem activeBlockMatrix_one : activeBlockMatrix e μ (1 : Matrix.SpecialLinearGroup (Fin 3) k) = 1 := by |
| 26 | unfold activeBlockMatrix |
| 27 | simp only [Matrix.SpecialLinearGroup.coe_one, ite_self] |
| 28 | let R := Matrix.reindexRingEquiv k ((Equiv.prodComm (Fin 3) Place).trans e) |
| 29 | change R (Matrix.blockDiagonal (1 : Place → Matrix (Fin 3) (Fin 3) k)) = 1 |
| 30 | rw [Matrix.blockDiagonal_one, map_one] |
| 31 | |
| 32 | theorem activeBlockMatrix_mul (g h : Matrix.SpecialLinearGroup (Fin 3) k) : |
| 33 | activeBlockMatrix e μ (g * h) = activeBlockMatrix e μ g * activeBlockMatrix e μ h := by |
| 34 | let R := Matrix.reindexRingEquiv k ((Equiv.prodComm (Fin 3) Place).trans e) |
| 35 | change R (Matrix.blockDiagonal (fun τ : Place => if τ = μ then (g * h).val else 1)) = |
| 36 | R (Matrix.blockDiagonal (fun τ : Place => if τ = μ then g.val else 1)) * |
| 37 | R (Matrix.blockDiagonal (fun τ : Place => if τ = μ then h.val else 1)) |
| 38 | rw [← map_mul] |
| 39 | apply congrArg R |
| 40 | rw [← Matrix.blockDiagonal_mul] |
| 41 | congr 1 |
| 42 | funext τ |
| 43 | by_cases ht : τ = μ <;> simp [ht] |
| 44 | |
| 45 | theorem activeBlockMatrix_det (g : Matrix.SpecialLinearGroup (Fin 3) k) : |
| 46 | (activeBlockMatrix e μ g).det = 1 := by |
| 47 | rw [activeBlockMatrix, Matrix.det_reindex_self, Matrix.det_blockDiagonal] |
| 48 | apply Finset.prod_eq_one |
| 49 | intro τ _ |
| 50 | split_ifs |
| 51 | · exact g.property |
| 52 | · exact Matrix.det_one |
| 53 | |
| 54 | def activeBlockGL : Matrix.SpecialLinearGroup (Fin 3) k →* RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.GeneralLinear k n where |
| 55 | toFun g := |
| 56 | { val := activeBlockMatrix e μ g |
| 57 | inv := activeBlockMatrix e μ g⁻¹ |
| 58 | val_inv := by rw [← activeBlockMatrix_mul, mul_inv_cancel, activeBlockMatrix_one] |
| 59 | inv_val := by rw [← activeBlockMatrix_mul, inv_mul_cancel, activeBlockMatrix_one] } |
| 60 | map_one' := Units.ext (activeBlockMatrix_one e μ) |
| 61 | map_mul' g h := Units.ext (activeBlockMatrix_mul e μ g h) |
| 62 | |
| 63 | theorem activeBlockGL_det (g : Matrix.SpecialLinearGroup (Fin 3) k) : |
| 64 | (activeBlockGL e μ g).val.det = 1 := activeBlockMatrix_det e μ g |
| 65 | |
| 66 | omit [Fintype Place] in |
| 67 | theorem activeBlockMatrix_entry (g : Matrix.SpecialLinearGroup (Fin 3) k) |
| 68 | (τ υ : Place) (i j : Fin 3) : |
| 69 | activeBlockMatrix e μ g (e (τ, i)) (e (υ, j)) = |
| 70 | if τ = υ then (if τ = μ then g.val i j else (1 : Matrix (Fin 3) (Fin 3) k) i j) else 0 := by |
| 71 | simp only [activeBlockMatrix, Matrix.reindex_apply, Matrix.submatrix_apply] |
| 72 | change (if (e.symm (e (τ, i))).1 = (e.symm (e (υ, j))).1 then |
| 73 | (if (e.symm (e (τ, i))).1 = μ then g.val else 1) |
| 74 | (e.symm (e (τ, i))).2 (e.symm (e (υ, j))).2 else 0) = _ |
| 75 | simp only [Equiv.symm_apply_apply] |
| 76 | split_ifs <;> rfl |
| 77 | |
| 78 | theorem activeBlockMatrix_mulVec (g : Matrix.SpecialLinearGroup (Fin 3) k) |
| 79 | (x : Fin n → k) (τ : Place) (i : Fin 3) : |
| 80 | (activeBlockMatrix e μ g *ᵥ x) (e (τ, i)) = |
| 81 | if τ = μ then (g.val *ᵥ (fun j => x (e (μ, j)))) i else x (e (τ, i)) := by |
| 82 | change (∑ j : Fin n, activeBlockMatrix e μ g (e (τ, i)) j * x j) = _ |
| 83 | rw [← e.sum_comp] |
| 84 | simp only [Fintype.sum_prod_type, activeBlockMatrix_entry] |
| 85 | by_cases ht : τ = μ |
| 86 | · subst τ |
| 87 | simp [Matrix.mulVec, dotProduct] |
| 88 | · simp [ht, Matrix.one_apply] |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ActiveBlockMatrices.Local |