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.BlockMatrixUnits |
| 2 | |
| 3 | /-! # Matrix Units Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.MatrixUnitsMap.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Map invertible matrices through coefficient homomorphisms and |
| 10 | coordinate equivalences, retaining both inverse matrices explicitly. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | open _root_.Matrix |
| 14 | variable {I J R S : Type*} [Fintype I] [Fintype J] [DecidableEq I] [DecidableEq J] |
| 15 | [CommRing R] [CommRing S] |
| 16 | |
| 17 | def map (e : I ≃ J) (f : R →+* S) : (Matrix I I R)ˣ →* (Matrix J J S)ˣ := |
| 18 | Units.map ((f.mapMatrix.comp (Matrix.reindexRingEquiv R e).toRingHom).toMonoidHom) |
| 19 | |
| 20 | theorem map_val (e : I ≃ J) (f : R →+* S) (A : (Matrix I I R)ˣ) (i j : J) : |
| 21 | (CM.map e f A).val i j = f (A.val (e.symm i) (e.symm j)) := rfl |
| 22 | |
| 23 | theorem map_inv_val (e : I ≃ J) (f : R →+* S) (A : (Matrix I I R)ˣ) (i j : J) : |
| 24 | ((CM.map e f A)⁻¹).val i j = f ((A⁻¹).val (e.symm i) (e.symm j)) := by |
| 25 | rw [← map_inv, map_val] |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.MatrixUnitsMap.CM |