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.PELModuli.CMPoints.ScalarQuotientMk |
| 2 | import Mathlib.LinearAlgebra.Isomorphisms |
| 3 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 4 | |
| 5 | /-! # Scalar Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.ScalarCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coordinate reduction identifies the quotient of a free module by |
| 12 | a scalar with the free module over the corresponding quotient ring. -/ |
| 13 | |
| 14 | variable {R I : Type*} [CommRing R] |
| 15 | |
| 16 | def scalarCoordinateMap (a : R) : |
| 17 | (I → R) →ₗ[R] (I → R ⧸ Ideal.span ({a} : Set R)) := |
| 18 | LinearMap.pi (fun i => (Ideal.span ({a} : Set R)).mkQ.comp (LinearMap.proj i)) |
| 19 | |
| 20 | theorem scalarCoordinateMap_surjective (a : R) : Function.Surjective |
| 21 | (scalarCoordinateMap (I := I) a) := by |
| 22 | intro y |
| 23 | choose x hx using fun i => (Ideal.span ({a} : Set R)).mkQ_surjective (y i) |
| 24 | exact ⟨x, funext hx⟩ |
| 25 | |
| 26 | theorem scalarCoordinateMap_ker (a : R) : |
| 27 | (scalarCoordinateMap (I := I) a).ker = ScalarQuotientMk.scalarMultiples (M := I → R) a := by |
| 28 | ext x |
| 29 | constructor |
| 30 | · intro hx |
| 31 | have hx' : ∀ i, x i ∈ Ideal.span ({a} : Set R) := fun i => |
| 32 | (Submodule.Quotient.mk_eq_zero _).mp (congrFun hx i) |
| 33 | choose y hy using fun i => Ideal.mem_span_singleton.mp (hx' i) |
| 34 | exact ⟨y, funext (fun i => (hy i).symm)⟩ |
| 35 | · rintro ⟨y, rfl⟩ |
| 36 | apply funext |
| 37 | intro i |
| 38 | apply (Submodule.Quotient.mk_eq_zero _).mpr |
| 39 | exact Ideal.mem_span_singleton.mpr ⟨y i, rfl⟩ |
| 40 | |
| 41 | def scalarCoordinateEquiv (a : R) : |
| 42 | ScalarQuotientMk.ScalarQuotient R (I → R) a ≃ₗ[R] (I → R ⧸ Ideal.span ({a} : Set R)) := |
| 43 | (Submodule.quotEquivOfEq _ _ (scalarCoordinateMap_ker (I := I) a).symm).trans |
| 44 | ((scalarCoordinateMap a).quotKerEquivOfSurjective (scalarCoordinateMap_surjective a)) |
| 45 | |
| 46 | theorem scalarCoordinateEquiv_mk (a : R) (x : I → R) : |
| 47 | scalarCoordinateEquiv a (Submodule.Quotient.mk x) = |
| 48 | fun i => Ideal.Quotient.mk (Ideal.span ({a} : Set R)) (x i) := rfl |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.ScalarCoordinates |