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.Bounded.OpenSectionLevelGlobal |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.FlasqueCechGlobal |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FlasqueCechTotal |
| 4 | |
| 5 | /-! # Flasque Cech Level -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.FlasqueCechLevel.BoundedFlasqueCechLevel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original flasque Cech/global crystalline comparison commutes with |
| 12 | the actual bounded-level transition on global crystalline cohomology. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 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 "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.restriction (p := p) (J := J) (δ := δ) f n m hnm |
| 23 | |
| 24 | def transformation : IntegralComparison.BoundedOpen.FlasqueComplex.functor (p := p) (J := J) (δ := δ) f m ⟶ |
| 25 | T ⋙ IntegralComparison.BoundedOpen.FlasqueComplex.functor f n where |
| 26 | app F := ObjectProperty.homMk ((OpenSectionLevel.BoundedOpenSectionLevel.transformation f n m hnm).app F) |
| 27 | naturality F G α := by |
| 28 | apply ObjectProperty.hom_ext |
| 29 | exact (OpenSectionLevel.BoundedOpenSectionLevel.transformation f n m hnm).naturality α |
| 30 | |
| 31 | variable (I : InjectiveResolution (IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f)) |
| 32 | |
| 33 | local notation "In" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f n I |
| 34 | local notation "Im" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f m I |
| 35 | |
| 36 | def complexMap : IntegralComparison.BoundedOpen.FlasqueComplex.complex f m Im ⟶ IntegralComparison.BoundedOpen.FlasqueComplex.complex f n In := |
| 37 | ((transformation f n m hnm).mapHomologicalComplex (.up ℕ)).app (Im).cocomplex |
| 38 | |
| 39 | def totalMap {ι : Type} (U : ι → Y.Opens) := |
| 40 | FlasqueCechTotal.FlasqueCechGlobalNaturality.totalMap.{u + 1, u, u + 2} R Y.carrier U (complexMap f n m hnm I) |
| 41 | |
| 42 | theorem natural {ι : Type} (U : ι → Y.Opens) : FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.map f m Im U ≫ |
| 43 | totalMap f n m hnm I U = OpenSectionLevelGlobal.BoundedOpenSectionLevelGlobal.map f n m hnm I ≫ |
| 44 | FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.map f n In U := |
| 45 | FlasqueCechTotal.FlasqueCechGlobalNaturality.natural.{u + 1, u, u + 2} R Y.carrier U (complexMap f n m hnm I) |
| 46 | |
| 47 | theorem homology {ι : Type} (U : ι → Y.Opens) (hU : iSup U = ⊤) (i : ℕ) : |
| 48 | HomologicalComplex.homologyMap (totalMap f n m hnm I U) i ≫ |
| 49 | (FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.homologyIso f n In U hU i).hom = |
| 50 | (FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.homologyIso f m Im U hU i).hom ≫ |
| 51 | ModuleCat.ofHom (IntegralComparison.Bounded.CohomologyTransition.map f n m hnm i) := by |
| 52 | let := FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.quasiIso f m Im U hU |
| 53 | let := FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.quasiIso f n In U hU |
| 54 | have h := (HomologicalComplex.homologyMap_comp (FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.map f m Im U) |
| 55 | (totalMap f n m hnm I U) i).symm.trans |
| 56 | ((congrArg (fun a => HomologicalComplex.homologyMap a i) (natural f n m hnm I U)).trans |
| 57 | (HomologicalComplex.homologyMap_comp (OpenSectionLevelGlobal.BoundedOpenSectionLevelGlobal.map f n m hnm I) |
| 58 | (FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.map f n In U) i)) |
| 59 | have h₁ := IntegralComparison.InverseCoordinateHomology.inverse |
| 60 | (asIso (HomologicalComplex.homologyMap (FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.map f m Im U) i)) |
| 61 | (asIso (HomologicalComplex.homologyMap (FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.map f n In U) i)) |
| 62 | (HomologicalComplex.homologyMap (OpenSectionLevelGlobal.BoundedOpenSectionLevelGlobal.map f n m hnm I) i) |
| 63 | (HomologicalComplex.homologyMap (totalMap f n m hnm I U) i) h.symm |
| 64 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ (OpenSectionLevelGlobal.BoundedOpenSectionLevelGlobal.homology f n m hnm I i) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.FlasqueCechLevel.BoundedFlasqueCechLevel |