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.GlobalPullback |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.SectionPullbackTotal |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.CoordinatePullback |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.SheafPullbackAdjoint |
| 5 | |
| 6 | /-! # Section Pullback Bicomplex -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.SectionPullbackBicomplex.IntrinsicCechSectionPullbackBicomplex |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The native section-bicomplex pullback is the original direct Čech pullback under the actual global-section isomorphism. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {R : Type} [CommRing R] {X Y : Over (Spec (CommRingCat.of R))} (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 | |
| 20 | local instance : HasCoproducts.{0} (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) := Instances.IntrinsicCechInstances.hasCoproducts R X.left |
| 21 | local instance : HasCoproducts.{0} (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y) := Instances.IntrinsicCechInstances.hasCoproducts R Y.left |
| 22 | local instance : (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)).Additive where |
| 23 | map_add := rfl |
| 24 | local instance : (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left)).Additive where |
| 25 | map_add := rfl |
| 26 | |
| 27 | def map {K : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y) ℕ} {L : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) ℕ} |
| 28 | (b : ((DeRham.Int.inverseImage f).mapHomologicalComplex (.up ℕ)).obj K ⟶ L) : |
| 29 | SectionsTotal.IntrinsicCechSectionsTotal.bicomplex R Y.left U K ⟶ SectionsTotal.IntrinsicCechSectionsTotal.bicomplex R X.left V L := |
| 30 | Finite.TotalTransformation.FiniteTotalTransformation.bicomplexMap (Intrinsic.SectionCochainAdjoint.IntrinsicSectionPullback.map f) (Bicomplex.IntrinsicCechBicomplex.bicomplex R Y.left U K) ≫ |
| 31 | Finite.TotalIso.FiniteTotalNaturality.map (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)) |
| 32 | (PullbackNormalization.IntrinsicCechPullback.bicomplexMap f U V r hr b) |
| 33 | |
| 34 | theorem row_map {K : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y) ℕ} {L : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) ℕ} |
| 35 | (b : ((DeRham.Int.inverseImage f).mapHomologicalComplex (.up ℕ)).obj K ⟶ L) (q : ℕ) : |
| 36 | (map f U V r hr b).f q = GlobalPullback.IntrinsicCechGlobalPullback.sectionsMap R f U V r hr (K.X q) (L.X q) (b.f q) := rfl |
| 37 | |
| 38 | theorem deRham_square : map f U V r hr (DeRham.Int.sheafPullback f) ≫ |
| 39 | (CechBicomplex.IntrinsicCechBicomplex.sectionIso R X V (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X)).hom = |
| 40 | (CechBicomplex.IntrinsicCechBicomplex.sectionIso R Y U (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y)).hom ≫ |
| 41 | CoordinatePullback.IntrinsicCechCoordinatePullback.sheafMap R f U V r hr := by |
| 42 | apply HomologicalComplex.Hom.ext |
| 43 | funext q |
| 44 | let P := (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y).X q |
| 45 | let Q := (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X q |
| 46 | have h := GlobalPullback.IntrinsicCechGlobalPullback.naturality R f U V r hr P Q ((DeRham.Int.sheafPullback f).f q) |
| 47 | have hc := congrArg (fun a => a.hom) (DeRham.SheafPullbackAdjoint.sheafPullback_adjoint f q) |
| 48 | exact h.trans (congrArg (fun a => (GlobalSectionFunctor.IntrinsicCechGlobalSectionFunctor.iso R Y U).hom.app P ≫ |
| 49 | Cech.CechPullback.map R f.left U V r hr a) hc) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.SectionPullbackBicomplex.IntrinsicCechSectionPullbackBicomplex |