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.IntegralFirst.ThreePullback |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralCech.Coordinate |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.SectionPullbackBicomplex |
| 4 | |
| 5 | /-! # Coordinate Pullback -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralCech.CoordinatePullback.IntegralCechCoordinatePullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Coordinate and native three-term integral Cech pullbacks agree under the |
| 14 | existing comparison, for actual geometric maps and cover refinements. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable (R : Type) [CommRing R] |
| 19 | {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 20 | {ι κ : Type} (U : ι → Y.left.Opens) (V : κ → X.left.Opens) |
| 21 | (r : κ → ι) (hr : ∀ i, V i ≤ f.left ⁻¹ᵁ U (r i)) |
| 22 | |
| 23 | local notation "KX" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X) |
| 24 | local notation "KY" => OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y) |
| 25 | |
| 26 | def coordinateMap : IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.bicomplex R Y U ⟶ |
| 27 | IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.bicomplex R X V := |
| 28 | Cech.ComplexPullback.CechPullback.bicomplexMap R f.left U V r hr (IntegralFirst.ThreePullback.IntegralFirstThreePullback.presheafMap f) |
| 29 | |
| 30 | def sheafMap : IntrinsicCech.CechBicomplex.IntrinsicCechBicomplex.bicomplex R Y U KY ⟶ |
| 31 | IntrinsicCech.CechBicomplex.IntrinsicCechBicomplex.bicomplex R X V KX := |
| 32 | Cech.ComplexPullback.CechPullback.bicomplexMap R f.left U V r hr (IntegralFirst.ThreePullback.IntegralFirstThreePullback.underlyingMap f) |
| 33 | |
| 34 | theorem unit_square : IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.map R Y U ≫ sheafMap R f U V r hr = |
| 35 | coordinateMap R f U V r hr ≫ IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.map R X V := |
| 36 | Cech.ComplexPullback.CechPullback.bicomplex_naturality R f.left U V r hr |
| 37 | (IntegralFirst.ThreePullback.IntegralFirstThreePullback.presheafMap f) (IntegralFirst.ThreePullback.IntegralFirstThreePullback.underlyingMap f) |
| 38 | (IntegralFirst.ThreeSheafUnit.IntegralFirstThreeSheafUnit.map R Y) (IntegralFirst.ThreeSheafUnit.IntegralFirstThreeSheafUnit.map R X) |
| 39 | (IntegralFirst.ThreePullback.IntegralFirstThreePullback.unit_square f).symm |
| 40 | |
| 41 | theorem section_square : |
| 42 | IntrinsicCech.SectionPullbackBicomplex.IntrinsicCechSectionPullbackBicomplex.map f U V r hr (IntegralFirst.ThreePullback.IntegralFirstThreePullback.sheafMap f) ≫ |
| 43 | (IntrinsicCech.CechBicomplex.IntrinsicCechBicomplex.sectionIso R X V KX).hom = |
| 44 | (IntrinsicCech.CechBicomplex.IntrinsicCechBicomplex.sectionIso R Y U KY).hom ≫ sheafMap R f U V r hr := by |
| 45 | apply HomologicalComplex.Hom.ext |
| 46 | funext q |
| 47 | let P := (KY).X q |
| 48 | let Q := (KX).X q |
| 49 | have h := IntrinsicCech.GlobalPullback.IntrinsicCechGlobalPullback.naturality R f U V r hr P Q |
| 50 | ((IntegralFirst.ThreePullback.IntegralFirstThreePullback.sheafMap f).f q) |
| 51 | have hc := congrArg (fun a => a.hom) (IntegralFirst.ThreePullback.IntegralFirstThreePullback.sheafMap_adjoint f q) |
| 52 | exact h.trans (congrArg (fun a => (IntrinsicCech.GlobalSectionFunctor.IntrinsicCechGlobalSectionFunctor.iso R Y U).hom.app P ≫ |
| 53 | Cech.CechPullback.map R f.left U V r hr a) hc) |
| 54 | |
| 55 | variable [IsSeparated X.hom] [IsSeparated Y.hom] |
| 56 | (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ i, IsAffineOpen (V i)) |
| 57 | |
| 58 | theorem bicomplex_square : coordinateMap R f U V r hr ≫ |
| 59 | (Coordinate.IntegralCechCoordinateHodge.bicomplexIso R X V hV).hom = |
| 60 | (Coordinate.IntegralCechCoordinateHodge.bicomplexIso R Y U hU).hom ≫ |
| 61 | IntrinsicCech.SectionPullbackBicomplex.IntrinsicCechSectionPullbackBicomplex.map f U V r hr (IntegralFirst.ThreePullback.IntegralFirstThreePullback.sheafMap f) := by |
| 62 | have h₁ := (unit_square R f U V r hr).symm |
| 63 | have h₂ := Section.Hypercohomology.SectionHypercohomology.inverse_square |
| 64 | (IntrinsicCech.CechBicomplex.IntrinsicCechBicomplex.sectionIso R Y U KY) |
| 65 | (IntrinsicCech.CechBicomplex.IntrinsicCechBicomplex.sectionIso R X V KX) _ _ (section_square R f U V r hr) |
| 66 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 67 | |
| 68 | def map : IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.integerTotal R Y U ⟶ |
| 69 | IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.integerTotal R X V := |
| 70 | (TotalFinite.IntegerTotalFunctor.functor (ModuleCat.{0} R)).map (coordinateMap R f U V r hr) |
| 71 | |
| 72 | def sectionsMap : IntrinsicCech.Terms.IntrinsicCechComparison.sections R Y.left U KY ⟶ |
| 73 | IntrinsicCech.Terms.IntrinsicCechComparison.sections R X.left V KX := |
| 74 | Intrinsic.SectionComplexPullback.IntrinsicSectionComplexPullback.map f |
| 75 | (IntrinsicCech.PullbackTotal.IntrinsicCechPullback.integerMap f U V r hr (IntegralFirst.ThreePullback.IntegralFirstThreePullback.sheafMap f)) |
| 76 | |
| 77 | theorem total_square : IntegralCechCoordinatePullback.map R f U V r hr ≫ (Coordinate.IntegralCechCoordinateHodge.totalIso R X V hV).hom = |
| 78 | (Coordinate.IntegralCechCoordinateHodge.totalIso R Y U hU).hom ≫ sectionsMap R f U V r hr := by |
| 79 | let T := TotalFinite.IntegerTotalFunctor.functor (ModuleCat.{0} R) |
| 80 | have h₁ : T.map (coordinateMap R f U V r hr) ≫ |
| 81 | T.map (Coordinate.IntegralCechCoordinateHodge.bicomplexIso R X V hV).hom = |
| 82 | T.map (Coordinate.IntegralCechCoordinateHodge.bicomplexIso R Y U hU).hom ≫ |
| 83 | T.map (IntrinsicCech.SectionPullbackBicomplex.IntrinsicCechSectionPullbackBicomplex.map f U V r hr (IntegralFirst.ThreePullback.IntegralFirstThreePullback.sheafMap f)) := |
| 84 | (T.map_comp _ _).symm.trans ((congrArg T.map (bicomplex_square R f U V r hr hU hV)).trans |
| 85 | (T.map_comp _ _)) |
| 86 | have h₂ := IntrinsicCech.SectionPullbackTotal.IntrinsicCechSectionPullbackTotal.comparison_square f U V r hr (IntegralFirst.ThreePullback.IntegralFirstThreePullback.sheafMap f) |
| 87 | rw [Coordinate.IntegralCechCoordinateHodge.totalIso_hom, Coordinate.IntegralCechCoordinateHodge.totalIso_hom] |
| 88 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 89 | |
| 90 | end |
| 91 | |
| 92 | /-! The retained rows of the integral Cech pullback are the original full |
| 93 | geometric pullback rows. -/ |
| 94 | |
| 95 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 96 | |
| 97 | variable (R : Type) [CommRing R] |
| 98 | {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 99 | {ι κ : Type} (U : ι → Y.left.Opens) (V : κ → X.left.Opens) |
| 100 | (r : κ → ι) (hr : ∀ i, V i ≤ f.left ⁻¹ᵁ U (r i)) |
| 101 | |
| 102 | theorem row_zero : (coordinateMap R f U V r hr).f 0 = |
| 103 | (IntrinsicCech.CoordinatePullback.IntrinsicCechCoordinatePullback.coordinateMap R f U V r hr).f 0 := |
| 104 | congrArg (Cech.CechPullback.map R f.left U V r hr) |
| 105 | (FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_zero (DeRham.Int.directImagePresheaf f) (DeRham.Int.presheafPullback f)) |
| 106 | |
| 107 | theorem row_one : (coordinateMap R f U V r hr).f 1 = |
| 108 | (IntrinsicCech.CoordinatePullback.IntrinsicCechCoordinatePullback.coordinateMap R f U V r hr).f 1 := |
| 109 | congrArg (Cech.CechPullback.map R f.left U V r hr) |
| 110 | (FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_one (DeRham.Int.directImagePresheaf f) (DeRham.Int.presheafPullback f)) |
| 111 | |
| 112 | theorem row_two : (coordinateMap R f U V r hr).f 2 = |
| 113 | (IntrinsicCech.CoordinatePullback.IntrinsicCechCoordinatePullback.coordinateMap R f U V r hr).f 2 := |
| 114 | congrArg (Cech.CechPullback.map R f.left U V r hr) |
| 115 | (FirstThree.FunctorialMap.FirstThreeFunctorialMap.direct_two (DeRham.Int.directImagePresheaf f) (DeRham.Int.presheafPullback f)) |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralCech.CoordinatePullback.IntegralCechCoordinatePullback |