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.PullbackNormalization |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.SectionComplexPullback |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.SectionsTotal |
| 4 | |
| 5 | /-! # Section Pullback Total -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.SectionPullbackTotal.IntrinsicCechSectionPullbackTotal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual native section-total comparison commutes with geometric pullback and an actual cover refinement. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {R : Type} [CommRing R] {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 16 | {ι κ : Type} (U : ι → Y.left.Opens) (V : κ → X.left.Opens) |
| 17 | (r : κ → ι) (hr : ∀ i, V i ≤ f.left ⁻¹ᵁ U (r i)) |
| 18 | |
| 19 | local instance : HasCoproducts.{0} (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) := Instances.IntrinsicCechInstances.hasCoproducts R X.left |
| 20 | local instance : HasCoproducts.{0} (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y) := Instances.IntrinsicCechInstances.hasCoproducts R Y.left |
| 21 | local instance : (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)).Additive where |
| 22 | map_add := rfl |
| 23 | local instance : (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left)).Additive where |
| 24 | map_add := rfl |
| 25 | |
| 26 | def cochainMap {K : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y) ℕ} |
| 27 | {L : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) ℕ} |
| 28 | (b : ((DeRham.Int.inverseImage f).mapHomologicalComplex (.up ℕ)).obj K ⟶ L) : |
| 29 | SectionsTotal.IntrinsicCechSectionsTotal.integerTotal R Y.left U K ⟶ SectionsTotal.IntrinsicCechSectionsTotal.integerTotal R X.left V L := |
| 30 | TotalSection.TotalSectionPullbackNaturality.cochainMap (DeRham.Int.inverseImage f) |
| 31 | (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left)) (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)) |
| 32 | (Intrinsic.SectionCochainAdjoint.IntrinsicSectionPullback.map f) (PullbackNormalization.IntrinsicCechPullback.bicomplexMap f U V r hr b) |
| 33 | |
| 34 | theorem comparison_square {K : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R Y) ℕ} |
| 35 | {L : CochainComplex (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.Sheaves R X) ℕ} |
| 36 | (b : ((DeRham.Int.inverseImage f).mapHomologicalComplex (.up ℕ)).obj K ⟶ L) : |
| 37 | cochainMap f U V r hr b ≫ (SectionsTotal.IntrinsicCechSectionsTotal.iso R X.left V L).hom = |
| 38 | (SectionsTotal.IntrinsicCechSectionsTotal.iso R Y.left U K).hom ≫ |
| 39 | Intrinsic.SectionComplexPullback.IntrinsicSectionComplexPullback.map f (PullbackTotal.IntrinsicCechPullback.integerMap f U V r hr b) := by |
| 40 | have h := TotalSection.TotalSectionPullbackNaturality.comparison_square (DeRham.Int.inverseImage f) |
| 41 | (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of Y.left)) (Section.Hypercohomology.SectionHypercohomology.sections R (TopCat.of X.left)) |
| 42 | (Intrinsic.SectionCochainAdjoint.IntrinsicSectionPullback.map f) (PullbackNormalization.IntrinsicCechPullback.bicomplexMap f U V r hr b) |
| 43 | exact h.trans (congrArg (fun k => (SectionsTotal.IntrinsicCechSectionsTotal.iso R Y.left U K).hom ≫ |
| 44 | Intrinsic.SectionComplexPullback.IntrinsicSectionComplexPullback.map f k) (PullbackNormalization.IntrinsicCechPullback.integerMap_eq f U V r hr b).symm) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.SectionPullbackTotal.IntrinsicCechSectionPullbackTotal |