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.Isogenies.NeighborCounting.SubspaceCoordinates |
| 2 | |
| 3 | /-! # Coordinate Enumeration -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateEnumeration |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Compose exact finite parameter enumeration with linear coordinates |
| 12 | before specializing either construction to a chosen evaluation DVR. -/ |
| 13 | |
| 14 | def coordinateSubspaceEnumeration {F V W I : Type*} [Field F] |
| 15 | [AddCommGroup V] [Module F V] [AddCommGroup W] [Module F W] (r : ℕ) |
| 16 | (e : I ≃ {J : Submodule F V // Module.finrank F J = r}) (c : V ≃ₗ[F] W) : |
| 17 | I ≃ {J : Submodule F W // Module.finrank F J = r} := |
| 18 | e.trans (SubspaceCoordinates.dimensionSubspaceEquiv c r) |
| 19 | |
| 20 | end |
| 21 | |
| 22 | /-! The coordinate enumeration retains membership of each original |
| 23 | subspace; changing the linear coordinate system only changes its image. -/ |
| 24 | |
| 25 | variable {F V W I : Type*} [Field F] |
| 26 | [AddCommGroup V] [Module F V] [AddCommGroup W] [Module F W] |
| 27 | (r : ℕ) (e : I ≃ {J : Submodule F V // Module.finrank F J = r}) (c : V ≃ₗ[F] W) |
| 28 | |
| 29 | theorem coordinateSubspaceEnumeration_membership (i : I) (x : V) : |
| 30 | c x ∈ (coordinateSubspaceEnumeration r e c i).val ↔ x ∈ (e i).val := by |
| 31 | simpa only [coordinateSubspaceEnumeration, Equiv.trans_apply, LinearEquiv.symm_apply_apply] using |
| 32 | SubspaceCoordinates.dimensionSubspaceEquiv_membership c r (e i) (c x) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateEnumeration |