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.Additive.OrderedCechQuasiIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.InjectiveIntegerCoordinates |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.Cochains |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.SupportedExtension |
| 5 | |
| 6 | /-! # Ordered Injective -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.OrderedInjective.Comparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual augmentation from a single quasicoherent sheaf to its |
| 13 | chosen shifted injective resolution is an isomorphism on affine ordered |
| 14 | Cech cohomology. Its inverse returns to the original global Cech group. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Injective.Comparison |
| 20 | variable {X : Scheme.{u}} (N : X.Modules) (c : ℕ) |
| 21 | |
| 22 | def sourcePresheaf : CochainComplex (X.Opensᵒᵖ ⥤ AddCommGrpCat.{u}) ℕ := |
| 23 | ((sheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}).mapHomologicalComplex |
| 24 | (.up ℕ)).obj ((single _ (.up ℕ) c).obj (AffinePrincipal.Injective.Comparison.sheaf N)) |
| 25 | |
| 26 | def targetPresheaf : CochainComplex (X.Opensᵒᵖ ⥤ AddCommGrpCat.{u}) ℕ := |
| 27 | ((sheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}).mapHomologicalComplex |
| 28 | (.up ℕ)).obj (ShiftedOpenInjectiveResolution.complex (AffinePrincipal.Injective.Comparison.sheaf N) c) |
| 29 | |
| 30 | def augmentation : sourcePresheaf N c ⟶ targetPresheaf N c := |
| 31 | ((sheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}).mapHomologicalComplex |
| 32 | (.up ℕ)).map (ShiftedOpenInjectiveResolution.augmentation (AffinePrincipal.Injective.Comparison.sheaf N) c) |
| 33 | |
| 34 | variable {ι : Type u} [LinearOrder ι] (V : ι → X.Opens) |
| 35 | |
| 36 | abbrev source := (Presheaf.OrderedCover.Comparison.totalFunctor V).obj (sourcePresheaf N c) |
| 37 | abbrev target := (Presheaf.OrderedCover.Comparison.totalFunctor V).obj (targetPresheaf N c) |
| 38 | def comparison : source N c V ⟶ target N c V := |
| 39 | (Presheaf.OrderedCover.Comparison.totalFunctor V).map (augmentation N c) |
| 40 | |
| 41 | theorem quasiIso [X.IsSeparated] [N.IsQuasicoherent] (hV : ∀ j, IsAffineOpen (V j)) : |
| 42 | QuasiIso (comparison N c V) := by |
| 43 | apply Additive.OrderedCechQuasiIso.quasiIso_of_evaluation |
| 44 | intro p j |
| 45 | change QuasiIso |
| 46 | (((Acyclic.OpenInjectiveResolution.sections |
| 47 | ((AugmentedOrdered.Cech.formal V (p+1)).obj j)).mapHomologicalComplex (.up ℕ)).map |
| 48 | (ShiftedOpenInjectiveResolution.augmentation (AffinePrincipal.Injective.Comparison.sheaf N) c)) |
| 49 | exact ShiftedOpenInjectiveResolution.sections_quasiIso (AffinePrincipal.Injective.Comparison.sheaf N) c _ |
| 50 | (fun q => AffinePrincipal.Injective.Comparison.affine_acyclic N _ (AlgebraicGeometry.SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection V hV p j.val) q) |
| 51 | |
| 52 | def homologyIso [X.IsSeparated] [N.IsQuasicoherent] (hV : ∀ j, IsAffineOpen (V j)) (q : ℕ) : |
| 53 | (source N c V).homology q ≅ (target N c V).homology q := |
| 54 | letI := quasiIso N c V hV |
| 55 | isoOfQuasiIsoAt (comparison N c V) q |
| 56 | |
| 57 | def integerPresheaf : CochainComplex (X.Opensᵒᵖ ⥤ ModuleCat.{u} ℤ) ℕ := |
| 58 | Relative.SupportedExtension.underlying.{0,u,u} ℤ X (Principal.InjectiveIntegerCoordinates.complex N c) |
| 59 | |
| 60 | def coefficientIso (q : ℕ) : |
| 61 | Principal.InjectiveIntegerCoordinates.forget.obj |
| 62 | (((Presheaf.OrderedCover.Comparison.totalFunctor V).obj (integerPresheaf N c)).homology q) ≅ |
| 63 | (target N c V).homology q := |
| 64 | OrderedCech.CoefficientTotal.homologyIso V Principal.InjectiveIntegerCoordinates.forget |
| 65 | (integerPresheaf N c) q |
| 66 | |
| 67 | def bridge [X.IsSeparated] [N.IsQuasicoherent] (hV : ∀ j, IsAffineOpen (V j)) (q : ℕ) := |
| 68 | coefficientIso N c V q ≪≫ (homologyIso N c V hV q).symm |
| 69 | |
| 70 | def coverOutput [X.IsSeparated] [N.IsQuasicoherent] (hV : ∀ j, IsAffineOpen (V j)) (q : ℕ) : |
| 71 | (Principal.InjectiveIntegerCoordinates.additiveGlobalComplex N c).homology q ⟶ |
| 72 | (source N c V).homology q := |
| 73 | (Principal.InjectiveIntegerCoordinates.globalIso N c q).inv ≫ |
| 74 | Principal.InjectiveIntegerCoordinates.forget.map |
| 75 | (homologyMap (Presheaf.OrderedCechEdge.edge V (integerPresheaf N c)) q) ≫ |
| 76 | (bridge N c V hV q).hom |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.OrderedInjective.Comparison |