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.NumberTheory.PadicHodge.IntegralComparison.Module.IdealQuotient |
| 2 | |
| 3 | /-! # Ideal Quotient Transition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Module.IdealQuotientTransition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Canonical transitions between coefficient-ideal quotients of the original module complexes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] (I J : Ideal R) (hIJ : I ≤ J) |
| 16 | |
| 17 | def component (M : ModuleCat.{v} R) : (IdealQuotient.functor R I).obj M ⟶ |
| 18 | (IdealQuotient.functor R J).obj M := |
| 19 | ModuleCat.ofHom (Submodule.mapQ (I • ⊤) (J • ⊤) (LinearMap.id : M →ₗ[R] M) (by |
| 20 | simpa only [Submodule.comap_id] using (Submodule.smul_mono hIJ (le_refl (⊤ : Submodule R M))))) |
| 21 | |
| 22 | theorem component_mk (M : ModuleCat.{v} R) (x : M) : component R I J hIJ M (Submodule.Quotient.mk x) = |
| 23 | Submodule.Quotient.mk x := rfl |
| 24 | |
| 25 | def transformation : IdealQuotient.functor.{u, v} R I ⟶ IdealQuotient.functor R J where |
| 26 | app := component R I J hIJ |
| 27 | naturality M N f := by |
| 28 | apply ModuleCat.hom_ext |
| 29 | apply LinearMap.ext |
| 30 | intro x |
| 31 | obtain ⟨y, rfl⟩ := (I • ⊤ : Submodule R M).mkQ_surjective x |
| 32 | rfl |
| 33 | |
| 34 | theorem projection : IdealQuotient.projection.{u, v} R I ≫ transformation R I J hIJ = |
| 35 | IdealQuotient.projection R J := by |
| 36 | apply NatTrans.ext |
| 37 | funext M |
| 38 | apply ModuleCat.hom_ext |
| 39 | apply LinearMap.ext |
| 40 | intro x |
| 41 | rfl |
| 42 | |
| 43 | def complexMap (K : CochainComplex (ModuleCat.{v} R) ℕ) : |
| 44 | IdealQuotient.complex R I K ⟶ IdealQuotient.complex R J K := |
| 45 | ((transformation R I J hIJ).mapHomologicalComplex (ComplexShape.up ℕ)).app K |
| 46 | |
| 47 | theorem complexProjection (K : CochainComplex (ModuleCat.{v} R) ℕ) : |
| 48 | IdealQuotient.complexProjection R I K ≫ complexMap R I J hIJ K = |
| 49 | IdealQuotient.complexProjection R J K := by |
| 50 | apply HomologicalComplex.Hom.ext |
| 51 | funext n |
| 52 | apply ModuleCat.hom_ext |
| 53 | apply LinearMap.ext |
| 54 | intro x |
| 55 | rfl |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Module.IdealQuotientTransition |