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.LinearHomBaseChange |
| 2 | |
| 3 | /-! # Linear Purity Base Change -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.LinearPurityBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original linear Hom purity map has its exact quotient-coordinate |
| 10 | restriction formula under flat scalar extension. -/ |
| 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] [Module.Flat R S] |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.OrientedTopCohomology OAI.NumberTheory.PadicHodge.IntegralComparison.DualBaseChangeNaturality |
| 22 | Koszul.AugmentationBaseChange |
| 23 | |
| 24 | variable {n : ℕ} (s : Fin n → R) |
| 25 | (hreg : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn s)) |
| 26 | (P : ProjectiveResolution (ModuleCat.of R (R ⧸ Koszul.OrientedTopCohomology.ideal R s))) |
| 27 | (P' : ProjectiveResolution (ModuleCat.of S (S ⧸ Koszul.OrientedTopCohomology.ideal S (algebraMap R S ∘ s)))) |
| 28 | [∀ i, Module.Free R (P.complex.X i)] [∀ i, Module.Finite R (P.complex.X i)] |
| 29 | (eP : (DualBaseChangeNaturality.tensorComplex R S).obj P.complex ≅ P'.complex) |
| 30 | (hP : eP.hom.f 0 ≫ P'.π.f 0 = (DualBaseChangeNaturality.tensorFunctor R S).map (P.π.f 0) ≫ |
| 31 | ModuleCat.ofHom (Koszul.AugmentationBaseChange.tensorQuotient R S s)) |
| 32 | (N : ModuleCat.{u} R) (N' : ModuleCat.{u} S) |
| 33 | (e : N ≅ ModuleCat.of R R) (e' : N' ≅ ModuleCat.of S S) |
| 34 | |
| 35 | include hP in |
| 36 | theorem purity (a : S) (x : (LinearHomBaseChange.homComplex R P.complex N).homology n) : |
| 37 | (LinearHomOrientedPurity.iso S (Koszul.OrientedTopCohomology.ideal S (algebraMap R S ∘ s)) |
| 38 | (algebraMap R S ∘ s) rfl (Koszul.AugmentationBaseChange.regular R S s hreg) P' N' e').hom |
| 39 | ((LinearHomBaseChange.homologyIso R S P.complex P'.complex eP N N' e e' n).hom |
| 40 | (a ⊗ₜ[R] x)) = |
| 41 | a • Koszul.PurityLocalization.quotientMap R S s |
| 42 | ((LinearHomOrientedPurity.iso R (Koszul.OrientedTopCohomology.ideal R s) s rfl hreg P N e).hom x) := by |
| 43 | change (Koszul.ResolutionOrientation.purityIso S _ _ rfl _ P').hom |
| 44 | ((LinearHomDualPurity.targetHomologyIso S P'.complex N' e' n).hom _) = |
| 45 | a • Koszul.PurityLocalization.quotientMap R S s |
| 46 | ((Koszul.ResolutionOrientation.purityIso R _ s rfl hreg P).hom |
| 47 | ((LinearHomDualPurity.targetHomologyIso R P.complex N e n).hom x)) |
| 48 | rw [LinearHomBaseChange.homologyIso_frame] |
| 49 | exact OrientedPurityBaseChange.purity R S s hreg P P' eP hP a _ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.LinearPurityBaseChange |