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.IntrinsicCech.SectionPullbackBicomplex |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.Coordinate |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.Naturality |
| 4 | |
| 5 | /-! # Coordinate Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.CoordinateNaturality.IntrinsicCechCoordinateGeometricNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual coordinate Čech–de Rham comparison commutes with geometric pullback and actual cover refinement. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable (R : Type) [CommRing R] [Algebra ℚ R] |
| 16 | {X Y : Over (Spec (CommRingCat.of R))} [IsSeparated X.hom] [IsSeparated Y.hom] (f : X ⟶ Y) |
| 17 | {ι κ : Type} (U : ι → Y.left.Opens) (V : κ → X.left.Opens) |
| 18 | (r : κ → ι) (hr : ∀ i, V i ≤ f.left ⁻¹ᵁ U (r i)) |
| 19 | (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ i, IsAffineOpen (V i)) |
| 20 | |
| 21 | theorem bicomplex_square : CoordinatePullback.IntrinsicCechCoordinatePullback.coordinateMap R f U V r hr ≫ |
| 22 | (Coordinate.IntrinsicCechCoordinateHodge.bicomplexIso R X V hV).hom = |
| 23 | (Coordinate.IntrinsicCechCoordinateHodge.bicomplexIso R Y U hU).hom ≫ |
| 24 | SectionPullbackBicomplex.IntrinsicCechSectionPullbackBicomplex.map f U V r hr (DeRham.Int.sheafPullback f) := by |
| 25 | have h₁ := (CoordinatePullback.IntrinsicCechCoordinatePullback.unit_square R f U V r hr).symm |
| 26 | have h₂ := Section.Hypercohomology.SectionHypercohomology.inverse_square |
| 27 | (CechBicomplex.IntrinsicCechBicomplex.sectionIso R Y U (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y)) |
| 28 | (CechBicomplex.IntrinsicCechBicomplex.sectionIso R X V (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X)) _ _ |
| 29 | (SectionPullbackBicomplex.IntrinsicCechSectionPullbackBicomplex.deRham_square f U V r hr) |
| 30 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 31 | |
| 32 | def map : ScalarTotal.IntrinsicCechScalarTotal.complex R Y U ⟶ ScalarTotal.IntrinsicCechScalarTotal.complex R X V := |
| 33 | (TotalFinite.IntegerTotalFunctor.functor (ModuleCat.{0} R)).map (CoordinatePullback.IntrinsicCechCoordinatePullback.coordinateMap R f U V r hr) |
| 34 | |
| 35 | theorem total_square : IntrinsicCechCoordinateGeometricNaturality.map R f U V r hr ≫ (Coordinate.IntrinsicCechCoordinateHodge.totalIso R X V hV).hom = |
| 36 | (Coordinate.IntrinsicCechCoordinateHodge.totalIso R Y U hU).hom ≫ |
| 37 | Naturality.IntrinsicCechGeometricNaturality.sectionsMap R f U V r hr := by |
| 38 | let I := TotalFinite.IntegerTotalFunctor.functor (ModuleCat.{0} R) |
| 39 | have h₁ : I.map (CoordinatePullback.IntrinsicCechCoordinatePullback.coordinateMap R f U V r hr) ≫ |
| 40 | I.map (Coordinate.IntrinsicCechCoordinateHodge.bicomplexIso R X V hV).hom = |
| 41 | I.map (Coordinate.IntrinsicCechCoordinateHodge.bicomplexIso R Y U hU).hom ≫ |
| 42 | I.map (SectionPullbackBicomplex.IntrinsicCechSectionPullbackBicomplex.map f U V r hr (DeRham.Int.sheafPullback f)) := |
| 43 | (I.map_comp _ _).symm.trans ((congrArg I.map (bicomplex_square R f U V r hr hU hV)).trans (I.map_comp _ _)) |
| 44 | have h₂ := SectionPullbackTotal.IntrinsicCechSectionPullbackTotal.comparison_square f U V r hr (DeRham.Int.sheafPullback f) |
| 45 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 46 | |
| 47 | variable [Finite ι] [Finite κ] (hcoverU : iSup U = ⊤) (hcoverV : iSup V = ⊤) |
| 48 | |
| 49 | theorem naturality (n : ℕ) (x : (ScalarTotal.IntrinsicCechScalarTotal.complex R Y U).homology (n : ℤ)) : |
| 50 | Coordinate.IntrinsicCechCoordinateHodge.equiv R X V hV hcoverV n |
| 51 | (HomologicalComplex.homologyMap (IntrinsicCechCoordinateGeometricNaturality.map R f U V r hr) (n : ℤ) x) = |
| 52 | DeRham.Int.pullback f n (Coordinate.IntrinsicCechCoordinateHodge.equiv R Y U hU hcoverU n x) := by |
| 53 | let H := HomologicalComplex.homologyFunctor (ModuleCat.{0} R) (.up ℤ) (n : ℤ) |
| 54 | have hs := (H.map_comp (IntrinsicCechCoordinateGeometricNaturality.map R f U V r hr) (Coordinate.IntrinsicCechCoordinateHodge.totalIso R X V hV).hom).symm.trans |
| 55 | ((congrArg H.map (total_square R f U V r hr hU hV)).trans |
| 56 | (H.map_comp (Coordinate.IntrinsicCechCoordinateHodge.totalIso R Y U hU).hom |
| 57 | (Naturality.IntrinsicCechGeometricNaturality.sectionsMap R f U V r hr))) |
| 58 | have hx := ConcreteCategory.congr_hom hs x |
| 59 | exact (congrArg (TruncatedSections.IntrinsicCechHodgeComparison.equiv R X V hV hcoverV n) hx).trans |
| 60 | (Naturality.IntrinsicCechGeometricNaturality.naturality R f U V r hr hU hcoverU hV hcoverV n |
| 61 | ((H.mapIso (Coordinate.IntrinsicCechCoordinateHodge.totalIso R Y U hU)).toLinearEquiv x)) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.CoordinateNaturality.IntrinsicCechCoordinateGeometricNaturality |