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.HeckeCycles.MatrixUnitsMap |
| 2 | import OAI.RepresentationTheory.Hecke.RadialDilation.PositionReindex |
| 3 | |
| 4 | /-! # Reindex Matrix -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReindexMatrix.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Matrix identities for actual finite coordinate changes. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | open _root_.Matrix |
| 14 | open OAI.RepresentationTheory.Hecke.RadialDilation.PositionReindex.Realization |
| 15 | variable {I J K L : Type*} [Fintype I] [Fintype J] [CommRing K] [CommRing L] |
| 16 | (e : I ≃ J) |
| 17 | |
| 18 | def matrix (A : Matrix I I K) : Matrix J J K := Matrix.reindex e e A |
| 19 | |
| 20 | omit [Fintype I] [Fintype J] [CommRing K] in |
| 21 | theorem apply (A : Matrix I I K) (i j : J) : matrix e A i j = A (e.symm i) (e.symm j) := rfl |
| 22 | |
| 23 | omit [Fintype I] [Fintype J] [CommRing K] in |
| 24 | theorem transpose (A : Matrix I I K) : matrix e A.transpose = (matrix e A).transpose := rfl |
| 25 | |
| 26 | omit [Fintype I] [Fintype J] in |
| 27 | theorem map (A : Matrix I I K) (f : K →+* L) : matrix e (A.map f) = (matrix e A).map f := rfl |
| 28 | |
| 29 | omit [Fintype I] [Fintype J] in |
| 30 | theorem add (A B : Matrix I I K) : matrix e (A + B) = matrix e A + matrix e B := rfl |
| 31 | |
| 32 | theorem mul (A B : Matrix I I K) : matrix e (A * B) = matrix e A * matrix e B := |
| 33 | (Matrix.reindexRingEquiv K e).map_mul A B |
| 34 | |
| 35 | omit [Fintype I] [Fintype J] [CommRing K] in |
| 36 | theorem isSymm (A : Matrix I I K) (hA : A.IsSymm) : (matrix e A).IsSymm := by |
| 37 | change (matrix e A).transpose = matrix e A |
| 38 | rw [← CM.transpose, hA] |
| 39 | |
| 40 | omit [Fintype I] [Fintype J] [CommRing K] in |
| 41 | theorem fromBlocks (A B C D : Matrix I I K) : |
| 42 | Matrix.reindex (e.sumCongr e) (e.sumCongr e) (Matrix.fromBlocks A B C D) = |
| 43 | Matrix.fromBlocks (matrix e A) (matrix e B) (matrix e C) (matrix e D) := by |
| 44 | apply Matrix.ext |
| 45 | intro i j |
| 46 | cases i <;> cases j <;> rfl |
| 47 | |
| 48 | theorem mulVec [TopologicalSpace K] (A : Matrix I I K) (x : I → K) : |
| 49 | matrix e A *ᵥ RepresentationTheory.Hecke.RadialDilation.PositionReindex.Realization.positionReindex e x = RepresentationTheory.Hecke.RadialDilation.PositionReindex.Realization.positionReindex e (A *ᵥ x) := by |
| 50 | have h := Matrix.submatrix_mulVec_equiv A (fun j => x (e.symm j)) e.symm e.symm |
| 51 | change A.submatrix e.symm e.symm *ᵥ (fun j => x (e.symm j)) = fun j => (A *ᵥ x) (e.symm j) |
| 52 | simpa only [Function.comp_def, Equiv.symm_symm, Equiv.symm_apply_apply] using h |
| 53 | |
| 54 | variable [DecidableEq I] [DecidableEq J] |
| 55 | |
| 56 | theorem one : matrix e (1 : Matrix I I K) = 1 := (Matrix.reindexRingEquiv K e).map_one |
| 57 | |
| 58 | omit [Fintype I] [Fintype J] [DecidableEq I] [DecidableEq J] in |
| 59 | theorem zero : matrix e (0 : Matrix I I K) = 0 := rfl |
| 60 | |
| 61 | omit [Fintype I] [Fintype J] [DecidableEq I] [DecidableEq J] in |
| 62 | theorem neg (A : Matrix I I K) : matrix e (-A) = -matrix e A := rfl |
| 63 | |
| 64 | theorem unit_val (A : (Matrix I I K)ˣ) : |
| 65 | (MatrixUnitsMap.CM.map e (RingHom.id K) A).val = matrix e A.val := rfl |
| 66 | |
| 67 | theorem unit_inv_val (A : (Matrix I I K)ˣ) : |
| 68 | ((MatrixUnitsMap.CM.map e (RingHom.id K) A)⁻¹).val = matrix e (A⁻¹).val := by |
| 69 | rw [← map_inv, unit_val] |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReindexMatrix.CM |