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.Int |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.Hypercohomology |
| 3 | |
| 4 | /-! # Section Cochain Adjoint -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.GeometricComparison.Intrinsic.SectionCochainAdjoint.IntrinsicSectionPullback |
| 11 | |
| 12 | /-! The native rank-one coefficient identification agrees with actual pullback of global sections. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable {R : Type} [CommRing R] {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 17 | |
| 18 | def map : Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left) ⟶ |
| 19 | DeRham.Int.inverseImage f ⋙ Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left) where |
| 20 | app F := ((DeRham.Int.imageAdjunction f).unit.app F).hom.app (op ⊤) |
| 21 | naturality _ _ α := congrArg (fun k => k.hom.app (op ⊤)) ((DeRham.Int.imageAdjunction f).unit.naturality α) |
| 22 | |
| 23 | theorem coefficient_homEquiv (F : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) |
| 24 | (g : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R X ⟶ F) : |
| 25 | (constantSheafAdj (Opens.grothendieckTopology Y.left) (ModuleCat.{0} R) isTerminalTop).homEquiv |
| 26 | (ModuleCat.of R R) ((DeRham.Int.directImage f).obj F) |
| 27 | ((DeRham.Int.imageAdjunction f).homEquiv _ _ ((DeRham.Int.inverseImageConstantIso f).hom ≫ g)) = |
| 28 | (constantSheafAdj (Opens.grothendieckTopology X.left) (ModuleCat.{0} R) isTerminalTop).homEquiv |
| 29 | (ModuleCat.of R R) F g := by |
| 30 | let a := constantSheafAdj (Opens.grothendieckTopology Y.left) (ModuleCat.{0} R) isTerminalTop |
| 31 | let b := DeRham.Int.imageAdjunction f |
| 32 | let c := constantSheafAdj (Opens.grothendieckTopology X.left) (ModuleCat.{0} R) isTerminalTop |
| 33 | change (a.comp b).homEquiv _ _ ((DeRham.Int.inverseImageConstantIso f).hom ≫ g) = c.homEquiv _ _ g |
| 34 | have h : (a.comp b).homEquiv _ _ (DeRham.Int.inverseImageConstantIso f).hom = c.unit.app (ModuleCat.of R R) := |
| 35 | Adjunction.homEquiv_leftAdjointUniq_hom_app (a.comp b) c (ModuleCat.of R R) |
| 36 | have hu : c.homEquiv (ModuleCat.of R R) F g = c.unit.app (ModuleCat.of R R) ≫ |
| 37 | (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)).map g := c.homEquiv_unit _ _ g |
| 38 | exact ((a.comp b).homEquiv_naturality_right (DeRham.Int.inverseImageConstantIso f).hom g).trans |
| 39 | ((congrArg (fun k => k ≫ (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)).map g) h).trans hu.symm) |
| 40 | |
| 41 | theorem coefficient_sections (F : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y) |
| 42 | (g : AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.coefficientSheaf R Y ⟶ F) : |
| 43 | ConstantSheaf.ConstantSheafSections.linearEquiv R (TopCat.of X.left) ((DeRham.Int.inverseImage f).obj F) |
| 44 | ((DeRham.Int.inverseImageConstantIso f).inv ≫ (DeRham.Int.inverseImage f).map g) = |
| 45 | (IntrinsicSectionPullback.map f).app F (ConstantSheaf.ConstantSheafSections.linearEquiv R (TopCat.of Y.left) F g) := by |
| 46 | let a := constantSheafAdj (Opens.grothendieckTopology Y.left) (ModuleCat.{0} R) isTerminalTop |
| 47 | let b := DeRham.Int.imageAdjunction f |
| 48 | let g' := (DeRham.Int.inverseImageConstantIso f).inv ≫ (DeRham.Int.inverseImage f).map g |
| 49 | have h := coefficient_homEquiv f ((DeRham.Int.inverseImage f).obj F) g' |
| 50 | have hc : (DeRham.Int.inverseImageConstantIso f).hom ≫ g' = (DeRham.Int.inverseImage f).map g := |
| 51 | (DeRham.Int.inverseImageConstantIso f).hom_inv_id_assoc _ |
| 52 | have hb : b.homEquiv _ _ ((DeRham.Int.inverseImage f).map g) = g ≫ b.unit.app F := by |
| 53 | simpa only [Category.comp_id, b.homEquiv_id] using |
| 54 | b.homEquiv_naturality_left g (𝟙 ((DeRham.Int.inverseImage f).obj F)) |
| 55 | erw [hc, hb, a.homEquiv_naturality_right g (b.unit.app F)] at h |
| 56 | exact (congrArg (fun k => k 1) h).symm |
| 57 | |
| 58 | end NumberTheory.PadicHodge.GeometricComparison.Intrinsic.SectionCochainAdjoint.IntrinsicSectionPullback |
| 59 | |
| 60 | namespace NumberTheory.PadicHodge.GeometricComparison.Intrinsic.SectionCochainAdjoint.IntrinsicSectionCochainPullback |
| 61 | |
| 62 | /-! The actual section pullback on nonnegative cochains is the global-section map of its direct-image adjoint. -/ |
| 63 | |
| 64 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 65 | |
| 66 | variable {R : Type} [CommRing R] {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 67 | |
| 68 | local instance : (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)).Additive where |
| 69 | map_add := rfl |
| 70 | local instance : (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left)).Additive where |
| 71 | map_add := rfl |
| 72 | |
| 73 | def map {K : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y) ℕ} {L : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) ℕ} |
| 74 | (a : ((DeRham.Int.inverseImage f).mapHomologicalComplex (.up ℕ)).obj K ⟶ L) : |
| 75 | ((Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left)).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 76 | ((Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)).mapHomologicalComplex (.up ℕ)).obj L := |
| 77 | (NatTrans.mapHomologicalComplex (IntrinsicSectionPullback.map f) (.up ℕ)).app K ≫ |
| 78 | ((Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)).mapHomologicalComplex (.up ℕ)).map a |
| 79 | |
| 80 | theorem map_eq_adjoint {K : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y) ℕ} |
| 81 | {L : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) ℕ} |
| 82 | (a : ((DeRham.Int.inverseImage f).mapHomologicalComplex (.up ℕ)).obj K ⟶ L) : |
| 83 | IntrinsicSectionCochainPullback.map f a = ((Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left)).mapHomologicalComplex (.up ℕ)).map |
| 84 | ((DeRham.Int.imageComplexAdjunction f).homEquiv K L a) := by |
| 85 | have h := (DeRham.Int.imageComplexAdjunction f).homEquiv_unit K L a |
| 86 | apply HomologicalComplex.Hom.ext |
| 87 | funext n |
| 88 | exact (congrArg (fun k => (k.f n).hom.app (op ⊤)) h).symm |
| 89 | |
| 90 | end NumberTheory.PadicHodge.GeometricComparison.Intrinsic.SectionCochainAdjoint.IntrinsicSectionCochainPullback |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI |