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.LinearPurityBaseChange |
| 2 | |
| 3 | /-! # Purity Base Change Ideals -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PurityBaseChangeIdeals.Linear |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Normalized purity restriction for fixed actual ideals and their |
| 10 | literal quotient map, independently of the chosen generator presentation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 20 | (I : Ideal R) (J : Ideal S) (hIJ : I ≤ J.comap (algebraMap R S)) |
| 21 | |
| 22 | def quotientMap : R ⧸ I →+* S ⧸ J := Ideal.quotientMap J (algebraMap R S) hIJ |
| 23 | |
| 24 | def quotientLinear : (R ⧸ I) →ₗ[R] (S ⧸ J) where |
| 25 | toAddHom := (Linear.quotientMap R S I J hIJ).toAddMonoidHom |
| 26 | map_smul' r x := by |
| 27 | change Linear.quotientMap R S I J hIJ (r • x) = r • Linear.quotientMap R S I J hIJ x |
| 28 | simp only [Algebra.smul_def, map_mul] |
| 29 | congr 1 |
| 30 | |
| 31 | def tensorQuotient : S ⊗[R] (R ⧸ I) →ₗ[S] (S ⧸ J) := |
| 32 | TensorProduct.AlgebraTensorModule.lift |
| 33 | ((LinearMap.id : S →ₗ[S] S).smulRight (quotientLinear R S I J hIJ)) |
| 34 | |
| 35 | theorem tensorQuotient_tmul (a : S) (x : R ⧸ I) : |
| 36 | tensorQuotient R S I J hIJ (a ⊗ₜ[R] x) = a • Linear.quotientMap R S I J hIJ x := rfl |
| 37 | |
| 38 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.OrientedTopCohomology OAI.NumberTheory.PadicHodge.IntegralComparison.DualBaseChangeNaturality |
| 39 | |
| 40 | variable [Module.Flat R S] {n : ℕ} (s : Fin n → R) |
| 41 | (hs : Koszul.OrientedTopCohomology.ideal R s = I) (ht : Koszul.OrientedTopCohomology.ideal S (algebraMap R S ∘ s) = J) |
| 42 | (hreg : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn s)) |
| 43 | (P : ProjectiveResolution (ModuleCat.of R (R ⧸ I))) |
| 44 | (P' : ProjectiveResolution (ModuleCat.of S (S ⧸ J))) |
| 45 | [∀ i, Module.Free R (P.complex.X i)] [∀ i, Module.Finite R (P.complex.X i)] |
| 46 | (eP : (DualBaseChangeNaturality.tensorComplex R S).obj P.complex ≅ P'.complex) |
| 47 | (hP : eP.hom.f 0 ≫ P'.π.f 0 = (DualBaseChangeNaturality.tensorFunctor R S).map (P.π.f 0) ≫ |
| 48 | ModuleCat.ofHom (tensorQuotient R S I J hIJ)) |
| 49 | (N : ModuleCat.{u} R) (N' : ModuleCat.{u} S) |
| 50 | (e : N ≅ ModuleCat.of R R) (e' : N' ≅ ModuleCat.of S S) |
| 51 | |
| 52 | include hP in |
| 53 | theorem purity (a : S) (x : (LinearHomBaseChange.homComplex R P.complex N).homology n) : |
| 54 | (LinearHomOrientedPurity.iso S J (algebraMap R S ∘ s) ht |
| 55 | (Koszul.AugmentationBaseChange.regular R S s hreg) P' N' e').hom |
| 56 | ((LinearHomBaseChange.homologyIso R S P.complex P'.complex eP N N' e e' n).hom |
| 57 | (a ⊗ₜ[R] x)) = |
| 58 | a • Linear.quotientMap R S I J hIJ |
| 59 | ((LinearHomOrientedPurity.iso R I s hs hreg P N e).hom x) := by |
| 60 | subst I |
| 61 | subst J |
| 62 | exact LinearPurityBaseChange.purity R S s hreg P P' eP hP N N' e e' a x |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PurityBaseChangeIdeals.Linear |