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.ScalarTotal |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.AffineCechCoordinateUnit |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.TruncatedSections |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.BaseChangeCover |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ScalarEquivTransportNaturality |
| 6 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.Coordinate |
| 7 | |
| 8 | /-! # Global De Rham Coordinate -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.GlobalDeRhamCoordinate.GlobalDeRhamScalarExtension |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Flat scalar extension of the original global derived de Rham cohomology, constructed from an actual finite affine cover. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | variable (R : Type) [CommRing R] [Algebra ℚ R] |
| 20 | (X : Over (Spec (CommRingCat.of R))) [IsSeparated X.hom] |
| 21 | {ι : Type} [Finite ι] (U : ι → X.left.Opens) (hU : ∀ i, IsAffineOpen (U i)) |
| 22 | (hcover : iSup U = ⊤) |
| 23 | |
| 24 | def coordinateEquiv (n : ℕ) : (IntrinsicCech.ScalarTotal.IntrinsicCechScalarTotal.complex R X U).homology (n : ℤ) ≃ₗ[R] |
| 25 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology R X n := |
| 26 | IntrinsicCech.Coordinate.IntrinsicCechCoordinateHodge.equiv R X U hU hcover n |
| 27 | |
| 28 | variable (S : Type) [CommRing S] [Algebra R S] [Algebra ℚ S] [Module.Flat R S] |
| 29 | (Y : Over (Spec (CommRingCat.of S))) (f : Y.left ⟶ X.left) |
| 30 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 31 | |
| 32 | def equiv (n : ℕ) : S ⊗[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology R X n ≃ₗ[S] AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology S Y n := by |
| 33 | letI : IsSeparated Y.hom := Affine.BaseChangeCover.AffineBaseChangeCover.separated (algebraMap R S) X Y f hp |
| 34 | exact ScalarEquivTransportNaturality.FilteredBaseChangeTransport.equiv S (coordinateEquiv R X U hU hcover n) |
| 35 | (IntrinsicCech.ScalarTotal.IntrinsicCechScalarTotal.cohomologyEquiv R S X Y f U hp hU (n : ℤ)) |
| 36 | (coordinateEquiv S Y (fun i => f ⁻¹ᵁ U i) |
| 37 | (fun i => Affine.BaseChangeCover.AffineBaseChangeCover.affine (algebraMap R S) X Y f hp (U i) (hU i)) |
| 38 | (Affine.BaseChangeCover.AffineBaseChangeCover.cover X Y f U hcover) n) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.NumberTheory.PadicHodge.GeometricComparison.GlobalDeRhamCoordinate.GlobalDeRhamScalarExtension |