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.ScalarNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.CoordinateNaturality |
| 3 | |
| 4 | /-! # Scalar Total Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.ScalarTotalNaturality.IntrinsicCechScalarTotalNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual scalar equivalences on total Čech complexes and their cohomology commute with geometric pullback. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | variable (R S : Type) [CommRing R] [CommRing S] [Algebra R S] |
| 16 | [Algebra ℚ R] [Algebra ℚ S] [Module.Flat R S] |
| 17 | {X₁ X₂ : Over (Spec (CommRingCat.of R))} [IsSeparated X₁.hom] [IsSeparated X₂.hom] |
| 18 | {Y₁ Y₂ : Over (Spec (CommRingCat.of S))} |
| 19 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 20 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 21 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 22 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) |
| 23 | {ι κ : Type} [Finite ι] [Finite κ] (U : ι → X₂.left.Opens) (V : κ → X₁.left.Opens) |
| 24 | (r : κ → ι) (hr : ∀ i, V i ≤ u.left ⁻¹ᵁ U (r i)) |
| 25 | (hv : ∀ i, f₁ ⁻¹ᵁ V i ≤ v.left ⁻¹ᵁ (f₂ ⁻¹ᵁ U (r i))) |
| 26 | (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ i, IsAffineOpen (V i)) |
| 27 | |
| 28 | include hsquare in |
| 29 | theorem naturality : |
| 30 | ((FlatScalar.FlatScalarExtension.moduleFunctor R S).mapHomologicalComplex (.up ℤ)).map |
| 31 | (CoordinateNaturality.IntrinsicCechCoordinateGeometricNaturality.map R u U V r hr) ≫ |
| 32 | (ScalarTotal.IntrinsicCechScalarTotal.iso R S X₁ Y₁ f₁ V hp₁ hV).hom = |
| 33 | (ScalarTotal.IntrinsicCechScalarTotal.iso R S X₂ Y₂ f₂ U hp₂ hU).hom ≫ |
| 34 | CoordinateNaturality.IntrinsicCechCoordinateGeometricNaturality.map S v (fun i => f₂ ⁻¹ᵁ U i) (fun i => f₁ ⁻¹ᵁ V i) r hv := by |
| 35 | let F := FlatScalar.FlatScalarExtension.moduleFunctor R S |
| 36 | let I := TotalFinite.IntegerTotalFunctor.functor (ModuleCat.{0} S) |
| 37 | let b := CoordinatePullback.IntrinsicCechCoordinatePullback.coordinateMap R u U V r hr |
| 38 | have h₁ := InverseHom.InverseHomCongr.inverse_square |
| 39 | (GeometricComparison.Finite.TotalIso.FiniteTotalExtension.iso F (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.bicomplex R X₂ U)) |
| 40 | (GeometricComparison.Finite.TotalIso.FiniteTotalExtension.iso F (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.bicomplex R X₁ V)) _ _ |
| 41 | (TotalFinite.FiniteTotalExtensionNaturality.naturality F b).symm |
| 42 | have hs := ScalarNaturality.IntrinsicCechScalarGeometricNaturality.naturality R S u v f₁ f₂ hp₁.w hp₂.w hsquare U V r hr hv |
| 43 | have h₂ := (I.map_comp _ _).symm.trans ((congrArg I.map hs).trans (I.map_comp _ _)) |
| 44 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 45 | |
| 46 | include hsquare in |
| 47 | theorem cohomology_naturality (n : ℤ) |
| 48 | (x : S ⊗[R] (ScalarTotal.IntrinsicCechScalarTotal.complex R X₂ U).homology n) : |
| 49 | ScalarTotal.IntrinsicCechScalarTotal.cohomologyEquiv R S X₁ Y₁ f₁ V hp₁ hV n |
| 50 | ((HomologicalComplex.homologyMap (CoordinateNaturality.IntrinsicCechCoordinateGeometricNaturality.map R u U V r hr) n).hom.baseChange S x) = |
| 51 | HomologicalComplex.homologyMap |
| 52 | (CoordinateNaturality.IntrinsicCechCoordinateGeometricNaturality.map S v (fun i => f₂ ⁻¹ᵁ U i) (fun i => f₁ ⁻¹ᵁ V i) r hv) n |
| 53 | (ScalarTotal.IntrinsicCechScalarTotal.cohomologyEquiv R S X₂ Y₂ f₂ U hp₂ hU n x) := by |
| 54 | have h := ExactHomology.ExactHomologyComparison.naturality (FlatScalar.FlatScalarExtension.moduleFunctor R S) (.up ℤ) |
| 55 | (ScalarTotal.IntrinsicCechScalarTotal.iso R S X₂ Y₂ f₂ U hp₂ hU) |
| 56 | (ScalarTotal.IntrinsicCechScalarTotal.iso R S X₁ Y₁ f₁ V hp₁ hV) |
| 57 | (CoordinateNaturality.IntrinsicCechCoordinateGeometricNaturality.map R u U V r hr) |
| 58 | (CoordinateNaturality.IntrinsicCechCoordinateGeometricNaturality.map S v (fun i => f₂ ⁻¹ᵁ U i) (fun i => f₁ ⁻¹ᵁ V i) r hv) |
| 59 | (naturality R S u v f₁ f₂ hp₁ hp₂ hsquare U V r hr hv hU hV) n |
| 60 | exact ConcreteCategory.congr_hom h x |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicCech.ScalarTotalNaturality.IntrinsicCechScalarTotalNaturality |