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.BoundedFrame.Change |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Subsite |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ExactInjectiveResolution |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionHomotopy |
| 5 | |
| 6 | /-! # Frame Homotopy -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.FrameHomotopy.Comparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Changing a genuine resolving frame on a fixed incoming subsite |
| 13 | preserves every augmentation-compatible injective comparison up to |
| 14 | one sheaf-complex homotopy. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 23 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) [IsSeparated fY] (n : ℕ) |
| 24 | (V : Y.Opens) |
| 25 | |
| 26 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Subsite.restriction (p := p) (J := J) (δ := δ) fY V.ι n |
| 27 | |
| 28 | variable (F : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) |
| 29 | |
| 30 | def complex := ((R).mapHomologicalComplex (.up ℕ)).obj (Bounded.RelativeSheafComplex.complex fY n F) |
| 31 | |
| 32 | def augmentation := (ExactInjectiveResolution.sourceIso R).inv ≫ |
| 33 | ((R).mapHomologicalComplex (.up ℕ)).map (Bounded.RelativeSheafComplex.augmentation fY n F) |
| 34 | |
| 35 | variable (G : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) (a : G ⟶ F) |
| 36 | |
| 37 | def map : complex fY n V F ⟶ complex fY n V G := |
| 38 | ((R).mapHomologicalComplex (.up ℕ)).map (BoundedFrame.Change.sheafMap a) |
| 39 | |
| 40 | theorem map_augmentation : augmentation fY n V F ≫ Comparison.map fY n V F G a = augmentation fY n V G := |
| 41 | (Category.assoc _ _ _).trans |
| 42 | (congrArg (fun b => (ExactInjectiveResolution.sourceIso R).inv ≫ b) |
| 43 | ((((R).mapHomologicalComplex (.up ℕ)).map_comp |
| 44 | (Bounded.RelativeSheafComplex.augmentation fY n F) (BoundedFrame.Change.sheafMap a)).symm.trans |
| 45 | (congrArg ((R).mapHomologicalComplex (.up ℕ)).map (BoundedFrame.Change.sheaf_augmentation a)))) |
| 46 | |
| 47 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 48 | (p := p) (J := J) (δ := δ) fY n)) |
| 49 | [QuasiIso (augmentation fY n V F)] |
| 50 | (bF : complex fY n V F ⟶ (ExactInjectiveResolution.map |
| 51 | (BoundedOpen.Subsite.restriction (p := p) (J := J) (δ := δ) fY V.ι n) I).cocomplex) |
| 52 | (bG : complex fY n V G ⟶ (ExactInjectiveResolution.map |
| 53 | (BoundedOpen.Subsite.restriction (p := p) (J := J) (δ := δ) fY V.ι n) I).cocomplex) |
| 54 | (hF : augmentation fY n V F ≫ bF = (ExactInjectiveResolution.map |
| 55 | (BoundedOpen.Subsite.restriction (p := p) (J := J) (δ := δ) fY V.ι n) I).ι) |
| 56 | (hG : augmentation fY n V G ≫ bG = (ExactInjectiveResolution.map |
| 57 | (BoundedOpen.Subsite.restriction (p := p) (J := J) (δ := δ) fY V.ι n) I).ι) |
| 58 | |
| 59 | def homotopy : Homotopy bF (Comparison.map fY n V F G a ≫ bG) := |
| 60 | Augmented.ResolutionHomotopy.homotopy _ (augmentation fY n V F) |
| 61 | (ExactInjectiveResolution.map R I) bF _ |
| 62 | (hF.trans (((Category.assoc _ _ _).symm.trans |
| 63 | ((congrArg (fun b => b ≫ bG) (map_augmentation fY n V F G a)).trans hG)).symm)) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.FrameHomotopy.Comparison |