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.Local.MatrixPivot |
| 2 | |
| 3 | /-! # Subring Big Cell Determinant -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SubringBigCellDeterminant.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact determinant comparison between an integral symplectic matrix |
| 10 | and its image in the ambient field, including inverse integrality. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.MatrixPivot.CM.SymplecticBigCell |
| 14 | |
| 15 | variable {I K : Type*} [Fintype I] [CommRing K] |
| 16 | |
| 17 | theorem determinant_map (S : Subring K) (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I K) (hg : ∀ i j, g.val i j ∈ S) |
| 18 | (B : Matrix I I S) : |
| 19 | S.subtype (((Local.MatrixPivot.CM.SymplecticBigCell.subringSymplectic S g hg).val.toBlocks₁₁ + |
| 20 | B * (Local.MatrixPivot.CM.SymplecticBigCell.subringSymplectic S g hg).val.toBlocks₂₁).det) = |
| 21 | (g.val.toBlocks₁₁ + B.map S.subtype * g.val.toBlocks₂₁).det := by |
| 22 | rw [RingHom.map_det, map_add, map_mul] |
| 23 | rfl |
| 24 | |
| 25 | theorem inverse_mem {K : Type*} [Field K] (S : Subring K) (x : S) (hx : IsUnit x) : |
| 26 | (x.val)⁻¹ ∈ S := by |
| 27 | obtain ⟨u, rfl⟩ := hx |
| 28 | have he : ((u.val : S) : K)⁻¹ = (((u⁻¹).val : S) : K) := by |
| 29 | exact (Units.val_inv_eq_inv_val (Units.map S.subtype.toMonoidHom u)).symm |
| 30 | rw [he] |
| 31 | exact (u⁻¹).val.property |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SubringBigCellDeterminant.CM |