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 OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.TorsionCongruence |
| 3 | import Mathlib.LinearAlgebra.Isomorphisms |
| 4 | |
| 5 | /-! # Lattice Division -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.LatticeDivision |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Division by N identifies an actual lattice modulo N with the |
| 12 | N-torsion in its ambient rational-vector-space quotient. The equivalence |
| 13 | retains every commuting coefficient action. -/ |
| 14 | |
| 15 | variable {R V : Type*} [CommRing R] [AddCommGroup V] [Module R V] |
| 16 | [Module ℚ V] |
| 17 | (Λ : Submodule R V) (N : ℕ) [NeZero N] |
| 18 | |
| 19 | def moduleTorsion : Submodule R (V ⧸ Λ) := |
| 20 | LinearMap.ker (N • (LinearMap.id : (V ⧸ Λ) →ₗ[R] V ⧸ Λ)) |
| 21 | |
| 22 | def latticeDivisionMap : Λ →ₗ[R] moduleTorsion Λ N where |
| 23 | toFun x := ⟨Λ.mkQ ((N : ℚ)⁻¹ • x.val), by |
| 24 | change N • Λ.mkQ ((N : ℚ)⁻¹ • x.val) = 0 |
| 25 | rw [← map_nsmul, AbelianModuli.ReferenceFamily.TorsionCongruence.TorusTorsion.nat_smul_inverse] |
| 26 | exact (Submodule.Quotient.mk_eq_zero _).mpr x.property⟩ |
| 27 | map_add' x y := by |
| 28 | apply Subtype.ext |
| 29 | exact (congrArg Λ.mkQ (smul_add (N : ℚ)⁻¹ x.val y.val)).trans (Λ.mkQ.map_add _ _) |
| 30 | map_smul' a x := by |
| 31 | apply Subtype.ext |
| 32 | exact (congrArg Λ.mkQ (smul_comm (N : ℚ)⁻¹ a x.val)).trans (Λ.mkQ.map_smul a _) |
| 33 | |
| 34 | theorem latticeDivisionMap_surjective : Function.Surjective (latticeDivisionMap Λ N) := by |
| 35 | intro x |
| 36 | obtain ⟨v, hv⟩ := Λ.mkQ_surjective x.val |
| 37 | have hNv : N • v ∈ Λ := by |
| 38 | apply (Submodule.Quotient.mk_eq_zero _).mp |
| 39 | change Λ.mkQ (N • v) = 0 |
| 40 | rw [map_nsmul, hv] |
| 41 | exact x.property |
| 42 | refine ⟨⟨N • v, hNv⟩, Subtype.ext ?_⟩ |
| 43 | change Λ.mkQ ((N : ℚ)⁻¹ • (N • v)) = x.val |
| 44 | rw [AbelianModuli.ReferenceFamily.TorsionCongruence.TorusTorsion.inverse_smul_nat, hv] |
| 45 | |
| 46 | theorem latticeDivisionMap_ker : |
| 47 | (latticeDivisionMap Λ N).ker = ScalarQuotientMk.scalarMultiples (M := Λ) (N : R) := by |
| 48 | ext x |
| 49 | constructor |
| 50 | · intro hx |
| 51 | have hx' : (N : ℚ)⁻¹ • x.val ∈ Λ := |
| 52 | (Submodule.Quotient.mk_eq_zero _).mp (congrArg Subtype.val hx) |
| 53 | refine ⟨⟨(N : ℚ)⁻¹ • x.val, hx'⟩, Subtype.ext ?_⟩ |
| 54 | change (N : R) • ((N : ℚ)⁻¹ • x.val) = x.val |
| 55 | rw [Nat.cast_smul_eq_nsmul] |
| 56 | exact AbelianModuli.ReferenceFamily.TorsionCongruence.TorusTorsion.nat_smul_inverse N x.val |
| 57 | · rintro ⟨y, rfl⟩ |
| 58 | apply Subtype.ext |
| 59 | change Λ.mkQ ((N : ℚ)⁻¹ • ((N : R) • y.val)) = 0 |
| 60 | rw [Nat.cast_smul_eq_nsmul, AbelianModuli.ReferenceFamily.TorsionCongruence.TorusTorsion.inverse_smul_nat] |
| 61 | exact (Submodule.Quotient.mk_eq_zero _).mpr y.property |
| 62 | |
| 63 | def latticeDivisionEquiv : ScalarQuotientMk.ScalarQuotient R Λ (N : R) ≃ₗ[R] moduleTorsion Λ N := |
| 64 | (Submodule.quotEquivOfEq _ _ (latticeDivisionMap_ker Λ N).symm).trans |
| 65 | ((latticeDivisionMap Λ N).quotKerEquivOfSurjective (latticeDivisionMap_surjective Λ N)) |
| 66 | |
| 67 | theorem latticeDivisionEquiv_mk (x : Λ) : |
| 68 | (latticeDivisionEquiv Λ N (Submodule.Quotient.mk x)).val = |
| 69 | Λ.mkQ ((N : ℚ)⁻¹ • x.val) := rfl |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.LatticeDivision |