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.AlgebraicGeometry.Comparison.Betti.Algebraic.Sheaves |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Complex.Adjunction |
| 3 | |
| 4 | /-! # Cochain Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Sheaf.CochainPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Construction of pullback on algebraic de Rham sheaf complexes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) |
| 15 | |
| 16 | abbrev ComplexPresheaves (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) := X.left.Opensᵒᵖ ⥤ ModuleCat.{0} ℂ |
| 17 | |
| 18 | def directImagePresheaf : ComplexPresheaves X ⥤ ComplexPresheaves Y := |
| 19 | (Functor.whiskeringLeft _ _ _).obj (Opens.map f.left.base).op |
| 20 | |
| 21 | instance directImagePresheafAdditive : (directImagePresheaf f).Additive := |
| 22 | inferInstanceAs (((Functor.whiskeringLeft _ _ _).obj (Opens.map f.left.base).op).Additive) |
| 23 | |
| 24 | instance directImageIsRightAdjoint : (Algebraic.Sheaves.directImage f).IsRightAdjoint := |
| 25 | (Algebraic.Sheaves.imageAdjunction f).isRightAdjoint |
| 26 | |
| 27 | instance directImageAdditive : (Algebraic.Sheaves.directImage f).Additive := by |
| 28 | let := preservesBinaryBiproducts_of_preservesBinaryProducts (Algebraic.Sheaves.directImage f) |
| 29 | exact (Algebraic.Sheaves.directImage f).additive_of_preservesBinaryBiproducts |
| 30 | |
| 31 | def presheafComplexPullback : Algebraic.Sheaves.deRhamPresheafComplex Y ⟶ |
| 32 | ((directImagePresheaf f).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 33 | (Algebraic.Sheaves.deRhamPresheafComplex X) := |
| 34 | CochainComplex.ofHom |
| 35 | (fun n => |
| 36 | { app := fun U => ((Algebraic.Sheaves.deRhamPresheafPullback f).app U).f n |
| 37 | naturality := fun U V i => |
| 38 | congrArg (fun φ => φ.f n) ((Algebraic.Sheaves.deRhamPresheafPullback f).naturality i) }) |
| 39 | (fun n => by |
| 40 | change _ ≫ (directImagePresheaf f).map ((Algebraic.Sheaves.deRhamPresheafComplex X).d n (n + 1)) = |
| 41 | (Algebraic.Sheaves.deRhamPresheafComplex Y).d n (n + 1) ≫ _ |
| 42 | rw [Algebraic.Sheaves.deRhamPresheafComplex_d, Algebraic.Sheaves.deRhamPresheafComplex_d] |
| 43 | apply NatTrans.ext |
| 44 | funext U |
| 45 | exact ((Algebraic.Sheaves.deRhamPresheafPullback f).app U).comm n (n + 1)) |
| 46 | |
| 47 | def sheafificationComplexAdjunction (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 48 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 49 | (ComplexShape.up ℕ) ⊣ |
| 50 | (sheafToPresheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 51 | (ComplexShape.up ℕ) := |
| 52 | Complex.Adjunction.onComplexes |
| 53 | (sheafificationAdjunction (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)) |
| 54 | (ComplexShape.up ℕ) |
| 55 | |
| 56 | def imageComplexAdjunction : |
| 57 | (Algebraic.Sheaves.inverseImage f).mapHomologicalComplex (ComplexShape.up ℕ) ⊣ |
| 58 | (Algebraic.Sheaves.directImage f).mapHomologicalComplex (ComplexShape.up ℕ) := |
| 59 | Complex.Adjunction.onComplexes (Algebraic.Sheaves.imageAdjunction f) (ComplexShape.up ℕ) |
| 60 | |
| 61 | /-- Compose the genuine presheaf pullback with the sheafification unit. -/ |
| 62 | def presheafToDirectImageSheafComplex : Algebraic.Sheaves.deRhamPresheafComplex Y ⟶ |
| 63 | ((sheafToPresheaf (Opens.grothendieckTopology Y.left) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 64 | (ComplexShape.up ℕ)).obj |
| 65 | (((Algebraic.Sheaves.directImage f).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 66 | (Algebraic.Sheaves.algebraicDeRhamSheafComplex X)) := |
| 67 | presheafComplexPullback f ≫ |
| 68 | ((directImagePresheaf f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 69 | ((sheafificationComplexAdjunction X).unit.app (Algebraic.Sheaves.deRhamPresheafComplex X)) |
| 70 | |
| 71 | /-- The universal property of sheafification descends the presheaf map. -/ |
| 72 | def deRhamSheafDirectImage : Algebraic.Sheaves.algebraicDeRhamSheafComplex Y ⟶ |
| 73 | ((Algebraic.Sheaves.directImage f).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 74 | (Algebraic.Sheaves.algebraicDeRhamSheafComplex X) := |
| 75 | ((sheafificationComplexAdjunction Y).homEquiv (Algebraic.Sheaves.deRhamPresheafComplex Y) |
| 76 | (((Algebraic.Sheaves.directImage f).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 77 | (Algebraic.Sheaves.algebraicDeRhamSheafComplex X))).symm (presheafToDirectImageSheafComplex f) |
| 78 | |
| 79 | /-- Pullback of the algebraic de Rham complex as a morphism of sheaf complexes. -/ |
| 80 | def deRhamSheafPullback : |
| 81 | ((Algebraic.Sheaves.inverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 82 | (Algebraic.Sheaves.algebraicDeRhamSheafComplex Y) ⟶ |
| 83 | Algebraic.Sheaves.algebraicDeRhamSheafComplex X := |
| 84 | ((imageComplexAdjunction f).homEquiv (Algebraic.Sheaves.algebraicDeRhamSheafComplex Y) |
| 85 | (Algebraic.Sheaves.algebraicDeRhamSheafComplex X)).symm (deRhamSheafDirectImage f) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.Comparison.Betti.Sheaf.CochainPullback |