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.GeometricComparison.IncomingSection |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.Resolution |
| 4 | |
| 5 | /-! # Open Section Level -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.OpenSectionLevel.BoundedOpenSectionLevel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Original bounded crystalline open-section functors restrict naturally |
| 12 | between levels, on the actual sheaf and cochain objects. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 17 | universe u |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) (n m : ℕ) (hnm : n ≤ m) |
| 20 | |
| 21 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 22 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.inclusion (p := p) (J := J) (δ := δ) f n m hnm |
| 23 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.restriction (p := p) (J := J) (δ := δ) f n m hnm |
| 24 | |
| 25 | def smallTransformation : IntegralComparison.BoundedOpen.SectionPresheaf.functor (p := p) (J := J) (δ := δ) f m ⟶ |
| 26 | T ⋙ IntegralComparison.BoundedOpen.SectionPresheaf.functor f n := |
| 27 | Functor.whiskerLeft (sheafToPresheaf (IntegralComparison.BoundedCrystalline.Site.topology f m) (ModuleCat.{u + 1} R)) |
| 28 | (IncomingSection.IncomingSectionFunctorRestriction.transformation R (ModuleCat.of R R) G |
| 29 | (IntegralComparison.BoundedOpen.SectionPresheaf.property f m) (IntegralComparison.BoundedOpen.SectionPresheaf.property f n) |
| 30 | (fun _ _ h => h) (IntegralComparison.BoundedOpen.SectionPresheaf.monotone f m) |
| 31 | (IntegralComparison.BoundedOpen.SectionPresheaf.monotone f n)) |
| 32 | |
| 33 | def transformation : IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) (J := J) (δ := δ) f m ⟶ |
| 34 | T ⋙ IntegralComparison.BoundedOpen.SectionComplex.functor f n := |
| 35 | Functor.whiskerRight (smallTransformation f n m hnm) |
| 36 | ((Functor.whiskeringRight Y.Opensᵒᵖ (ModuleCat.{u + 1} R) (ModuleCat.{u + 2} R)).obj |
| 37 | (ModuleCat.uliftFunctor.{u + 2, u + 1} R)) |
| 38 | |
| 39 | variable (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f)) |
| 40 | |
| 41 | def complexMap : |
| 42 | IntegralComparison.BoundedOpen.SectionComplex.complex f m (IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f m I) ⟶ |
| 43 | IntegralComparison.BoundedOpen.SectionComplex.complex f n (IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f n I) := |
| 44 | ((transformation f n m hnm).mapHomologicalComplex (.up ℕ)).app |
| 45 | (IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f m I).cocomplex |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.OpenSectionLevel.BoundedOpenSectionLevel |