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 Mathlib.RingTheory.Ideal.Quotient.Operations |
| 2 | import Mathlib.RingTheory.IsTensorProduct |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Quotient |
| 4 | |
| 5 | /-! # Base Change Quotient -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BaseChangeQuotient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Quotient scalar extension with the original map and its exact kernel. -/ |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] (I : Ideal R) (M : Type v) (N : Type w) |
| 16 | [AddCommGroup M] [AddCommGroup N] [Module R M] [Module R N] |
| 17 | [Module (R ⧸ I) N] [IsScalarTower R (R ⧸ I) N] |
| 18 | (f : M →ₗ[R] N) (hf : IsBaseChange (R ⧸ I) f) |
| 19 | |
| 20 | def equiv : (M ⧸ (I • ⊤ : Submodule R M)) ≃ₗ[R] N := |
| 21 | (TensorProduct.quotTensorEquivQuotSMul M I).symm.trans (hf.equiv.restrictScalars R) |
| 22 | |
| 23 | theorem equiv_mk (x : M) : BaseChangeQuotient.equiv R I M N f hf (Submodule.Quotient.mk x) = f x := by |
| 24 | change hf.equiv ((TensorProduct.quotTensorEquivQuotSMul M I).symm (Submodule.Quotient.mk x)) = f x |
| 25 | rw [TensorProduct.quotTensorEquivQuotSMul_symm_mk, IsBaseChange.equiv_tmul, one_smul] |
| 26 | |
| 27 | include hf in |
| 28 | theorem surjective : Function.Surjective f := by |
| 29 | intro y |
| 30 | obtain ⟨a, rfl⟩ := (BaseChangeQuotient.equiv R I M N f hf).surjective y |
| 31 | obtain ⟨x, rfl⟩ := (I • ⊤ : Submodule R M).mkQ_surjective a |
| 32 | exact ⟨x, (equiv_mk R I M N f hf x).symm⟩ |
| 33 | |
| 34 | include hf in |
| 35 | theorem kernel : LinearMap.ker f = I • ⊤ := by |
| 36 | ext x |
| 37 | change f x = 0 ↔ x ∈ (I • ⊤ : Submodule R M) |
| 38 | rw [← equiv_mk R I M N f hf x, ← (BaseChangeQuotient.equiv R I M N f hf).map_zero, |
| 39 | (BaseChangeQuotient.equiv R I M N f hf).injective.eq_iff] |
| 40 | exact Submodule.Quotient.mk_eq_zero (p := I • ⊤) (x := x) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BaseChangeQuotient |