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.DeRham.ImageComposition |
| 2 | |
| 3 | /-! # Sheaf Composition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.SheafComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Composition of native differential-form and sheaf-complex pullbacks over an arbitrary base ring. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal |
| 14 | |
| 15 | variable {R : Type} [CommRing R] |
| 16 | {X Y Z : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 17 | |
| 18 | theorem sectionPullback_comp (U : Z.left.Opens) : |
| 19 | (Int.sectionPullback f (g.left ⁻¹ᵁ U)).comp (Int.sectionPullback g U) = Int.sectionPullback (f ≫ g) U := by |
| 20 | ext a |
| 21 | rfl |
| 22 | |
| 23 | theorem formsPullback_comp (n : ℕ) : |
| 24 | Int.formsPullback g n ≫ (Int.directImagePresheaf g).map (Int.formsPullback f n) = Int.formsPullback (f ≫ g) n := by |
| 25 | apply NatTrans.ext |
| 26 | funext U |
| 27 | apply ModuleCat.hom_ext |
| 28 | apply LinearMap.ext |
| 29 | intro ω |
| 30 | have he : CommAlgCat.ofHom (Int.sectionPullback g U.unop) ≫ |
| 31 | CommAlgCat.ofHom (Int.sectionPullback f (g.left ⁻¹ᵁ U.unop)) = |
| 32 | CommAlgCat.ofHom (Int.sectionPullback (f ≫ g) U.unop) := by |
| 33 | apply CommAlgCat.hom_ext |
| 34 | exact sectionPullback_comp f g U.unop |
| 35 | exact (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_comp (CommAlgCat.ofHom (Int.sectionPullback g U.unop)) |
| 36 | (CommAlgCat.ofHom (Int.sectionPullback f (g.left ⁻¹ᵁ U.unop))) n ω).symm.trans |
| 37 | (congrArg (fun a => AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap a n ω) he) |
| 38 | |
| 39 | theorem presheafPullback_comp : Int.presheafPullback g ≫ |
| 40 | ((Int.directImagePresheaf g).mapHomologicalComplex (ComplexShape.up ℕ)).map (Int.presheafPullback f) = |
| 41 | Int.presheafPullback (f ≫ g) := by |
| 42 | apply HomologicalComplex.Hom.ext |
| 43 | funext n |
| 44 | exact formsPullback_comp f g n |
| 45 | |
| 46 | theorem sheafDirectImage_unit {T V : Over (Spec (CommRingCat.of R))} (k : T ⟶ V) : |
| 47 | (Int.sheafificationComplexAdjunction V).unit.app (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R V) ≫ |
| 48 | ((sheafToPresheaf (Opens.grothendieckTopology V.left) (ModuleCat.{0} R)).mapHomologicalComplex |
| 49 | (ComplexShape.up ℕ)).map (Int.sheafDirectImage k) = |
| 50 | Int.presheafToDirectImageSheafComplex k := by |
| 51 | have h := ((Int.sheafificationComplexAdjunction V).homEquiv (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R V) |
| 52 | (((Int.directImage k).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 53 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R T))).apply_symm_apply (Int.presheafToDirectImageSheafComplex k) |
| 54 | exact h |
| 55 | |
| 56 | theorem sheafDirectImage_comp : |
| 57 | Int.sheafDirectImage g ≫ |
| 58 | ((Int.directImage g).mapHomologicalComplex (ComplexShape.up ℕ)).map (Int.sheafDirectImage f) = |
| 59 | Int.sheafDirectImage (f ≫ g) := by |
| 60 | let UZ := (sheafToPresheaf (Opens.grothendieckTopology Z.left) (ModuleCat.{0} R)).mapHomologicalComplex |
| 61 | (ComplexShape.up ℕ) |
| 62 | let UY := (sheafToPresheaf (Opens.grothendieckTopology Y.left) (ModuleCat.{0} R)).mapHomologicalComplex |
| 63 | (ComplexShape.up ℕ) |
| 64 | let Dg := (Int.directImagePresheaf g).mapHomologicalComplex (ComplexShape.up ℕ) |
| 65 | let Df := (Int.directImagePresheaf f).mapHomologicalComplex (ComplexShape.up ℕ) |
| 66 | let Gg := (Int.directImage g).mapHomologicalComplex (ComplexShape.up ℕ) |
| 67 | let ηX := (Int.sheafificationComplexAdjunction X).unit.app (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 68 | let ηY := (Int.sheafificationComplexAdjunction Y).unit.app (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R Y) |
| 69 | let ηZ := (Int.sheafificationComplexAdjunction Z).unit.app (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R Z) |
| 70 | let pg := Int.presheafPullback g |
| 71 | let pf := Int.presheafPullback f |
| 72 | let pfg := Int.presheafPullback (f ≫ g) |
| 73 | let dg := Int.sheafDirectImage g |
| 74 | let df := Int.sheafDirectImage f |
| 75 | let dfg := Int.sheafDirectImage (f ≫ g) |
| 76 | have hg : ηZ ≫ UZ.map dg = pg ≫ Dg.map ηY := sheafDirectImage_unit g |
| 77 | have hf : ηY ≫ UY.map df = pf ≫ Df.map ηX := sheafDirectImage_unit f |
| 78 | have hfg : ηZ ≫ UZ.map dfg = pfg ≫ Dg.map (Df.map ηX) := sheafDirectImage_unit (f ≫ g) |
| 79 | have hp : pg ≫ Dg.map pf = pfg := presheafPullback_comp f g |
| 80 | apply ((Int.sheafificationComplexAdjunction Z).homEquiv (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.presheafComplex R Z) |
| 81 | (((Int.directImage (f ≫ g)).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 82 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X))).injective |
| 83 | change ηZ ≫ UZ.map (dg ≫ Gg.map df) = ηZ ≫ UZ.map dfg |
| 84 | erw [UZ.map_comp dg (Gg.map df), ← Category.assoc, hg, hfg] |
| 85 | change (pg ≫ Dg.map ηY) ≫ Dg.map (UY.map df) = pfg ≫ Dg.map (Df.map ηX) |
| 86 | erw [Category.assoc, ← Dg.map_comp, hf, Dg.map_comp, ← Category.assoc, hp] |
| 87 | rfl |
| 88 | |
| 89 | theorem sheafPullback_normalization {T V : Over (Spec (CommRingCat.of R))} (k : T ⟶ V) : |
| 90 | (Int.imageComplexAdjunction k).homEquiv (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R V) |
| 91 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R T) (Int.sheafPullback k) = Int.sheafDirectImage k := |
| 92 | ((Int.imageComplexAdjunction k).homEquiv (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R V) |
| 93 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R T)).apply_symm_apply (Int.sheafDirectImage k) |
| 94 | |
| 95 | theorem sheafPullback_comp : |
| 96 | ((Int.inverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).map (Int.sheafPullback g) ≫ |
| 97 | Int.sheafPullback f = |
| 98 | (ImageComposition.inverseImageComplexCompIso f g).hom.app (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Z) ≫ |
| 99 | Int.sheafPullback (f ≫ g) := by |
| 100 | apply (((Int.imageComplexAdjunction g).comp (Int.imageComplexAdjunction f)).homEquiv |
| 101 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Z) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X)).injective |
| 102 | have hl := AlgebraicGeometry.Comparison.Betti.AdjunctionComplexUniqueness.comp_homEquiv_map_comp (Int.imageComplexAdjunction g) |
| 103 | (Int.imageComplexAdjunction f) (Int.sheafPullback g) (Int.sheafPullback f) |
| 104 | erw [sheafPullback_normalization g, sheafPullback_normalization f] at hl |
| 105 | have hr := AlgebraicGeometry.Comparison.Betti.AdjunctionComplexUniqueness.leftAdjointUniq_homEquiv |
| 106 | ((Int.imageComplexAdjunction g).comp (Int.imageComplexAdjunction f)) |
| 107 | (Int.imageComplexAdjunction (f ≫ g)) (Int.sheafPullback (f ≫ g)) |
| 108 | exact hl.trans ((sheafDirectImage_comp f g).trans |
| 109 | (hr.trans (sheafPullback_normalization (f ≫ g))).symm) |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.SheafComposition |