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.Integral.GlobalOneNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.Functor |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.AffineMapRefinement |
| 4 | |
| 5 | /-! # Chosen Cover Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.ChosenCoverNaturality.IntegralGlobalHOneBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The existing integral H-one scalar comparison is independent of affine |
| 12 | refinements and natural for independently chosen finite affine covers. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable (R S : Type) [CommRing R] [CommRing S] [Algebra R S] |
| 18 | [Module.Flat ℤ R] [Module.Flat ℤ S] [Module.Flat R S] |
| 19 | |
| 20 | section Refinement |
| 21 | variable (X : Over (Spec (CommRingCat.of R))) [IsSeparated X.hom] |
| 22 | (Y : Over (Spec (CommRingCat.of S))) (f : Y.left ⟶ X.left) |
| 23 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 24 | {ι κ : Type} [Finite ι] [Finite κ] (U : ι → X.left.Opens) (V : κ → X.left.Opens) |
| 25 | (r : κ → ι) (hr : ∀ i, V i ≤ U (r i)) |
| 26 | (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ i, IsAffineOpen (V i)) |
| 27 | (hcoverU : iSup U = ⊤) (hcoverV : iSup V = ⊤) |
| 28 | |
| 29 | include hr in |
| 30 | theorem refinement_invariance (x : S ⊗[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology R X 1) : |
| 31 | GlobalOneBaseChange.IntegralGlobalHOneBaseChange.equiv R X V hV hcoverV S Y f hp x = GlobalOneBaseChange.IntegralGlobalHOneBaseChange.equiv R X U hU hcoverU S Y f hp x := by |
| 32 | have hs : f ≫ 𝟙 X.left = 𝟙 Y.left ≫ f := (Category.comp_id f).trans (Category.id_comp f).symm |
| 33 | have h := GlobalOneNaturality.IntegralGlobalHOneBaseChange.naturality R S (𝟙 X) (𝟙 Y) f f hp hp hs U V r hr hU hV hcoverU hcoverV x |
| 34 | simpa only [DeRham.Functor.pullback_id, LinearMap.baseChange_id, LinearMap.id_apply] using h |
| 35 | end Refinement |
| 36 | |
| 37 | variable {X₁ X₂ : Over (Spec (CommRingCat.of R))} [IsSeparated X₁.hom] [IsSeparated X₂.hom] |
| 38 | {Y₁ Y₂ : Over (Spec (CommRingCat.of S))} |
| 39 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 40 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 41 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 42 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) |
| 43 | |
| 44 | include hsquare in |
| 45 | theorem chosen_cover_naturality [CompactSpace X₁.left] |
| 46 | {ι κ : Type} [Finite ι] [Finite κ] (U : ι → X₂.left.Opens) (V : κ → X₁.left.Opens) |
| 47 | (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ i, IsAffineOpen (V i)) |
| 48 | (hcoverU : iSup U = ⊤) (hcoverV : iSup V = ⊤) |
| 49 | (x : S ⊗[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology R X₂ 1) : |
| 50 | GlobalOneBaseChange.IntegralGlobalHOneBaseChange.equiv R X₁ V hV hcoverV S Y₁ f₁ hp₁ ((DeRham.Int.pullback u 1).baseChange S x) = |
| 51 | DeRham.Int.pullback v 1 (GlobalOneBaseChange.IntegralGlobalHOneBaseChange.equiv R X₂ U hU hcoverU S Y₂ f₂ hp₂ x) := by |
| 52 | let W := GeometricComparison.Finite.AffineMapRefinement.FiniteAffineMapRefinement.ofCompact u.left U V hcoverU hcoverV |
| 53 | let : Fintype W.Index := W.finite |
| 54 | have hmap := GlobalOneNaturality.IntegralGlobalHOneBaseChange.naturality R S u v f₁ f₂ hp₁ hp₂ hsquare U W.opens |
| 55 | (fun i => (W.index i).1) (GeometricComparison.Finite.AffineMapRefinement.FiniteAffineMapRefinement.le_source u.left U V hcoverU hcoverV) |
| 56 | hU W.affine hcoverU W.cover x |
| 57 | have href := refinement_invariance R S X₁ Y₁ f₁ hp₁ V W.opens |
| 58 | (fun i => (W.index i).2) (GeometricComparison.Finite.AffineMapRefinement.FiniteAffineMapRefinement.le_target u.left U V hcoverU hcoverV) |
| 59 | hV W.affine hcoverV W.cover ((DeRham.Int.pullback u 1).baseChange S x) |
| 60 | exact href.symm.trans hmap |
| 61 | |
| 62 | include hsquare in |
| 63 | theorem quasiCompactEquiv_naturality [QuasiCompact X₁.hom] [QuasiCompact X₂.hom] |
| 64 | (x : S ⊗[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology R X₂ 1) : |
| 65 | GlobalOneBaseChange.IntegralGlobalHOneBaseChange.quasiCompactEquiv R X₁ S Y₁ f₁ hp₁ ((DeRham.Int.pullback u 1).baseChange S x) = |
| 66 | DeRham.Int.pullback v 1 (GlobalOneBaseChange.IntegralGlobalHOneBaseChange.quasiCompactEquiv R X₂ S Y₂ f₂ hp₂ x) := by |
| 67 | let : CompactSpace X₁.left := QuasiCompact.compactSpace_of_compactSpace X₁.hom |
| 68 | exact chosen_cover_naturality R S u v f₁ f₂ hp₁ hp₂ hsquare |
| 69 | (GeometricComparison.Finite.AffineCover.FiniteAffineCover.finiteAlgebraicAffineOpens R X₂) (GeometricComparison.Finite.AffineCover.FiniteAffineCover.finiteAlgebraicAffineOpens R X₁) |
| 70 | (GeometricComparison.Finite.AffineCover.FiniteAffineCover.finiteAlgebraicAffineOpens_affine R X₂) (GeometricComparison.Finite.AffineCover.FiniteAffineCover.finiteAlgebraicAffineOpens_affine R X₁) |
| 71 | (GeometricComparison.Finite.AffineCover.FiniteAffineCover.finiteAlgebraicAffineOpens_cover R X₂) (GeometricComparison.Finite.AffineCover.FiniteAffineCover.finiteAlgebraicAffineOpens_cover R X₁) x |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.ChosenCoverNaturality.IntegralGlobalHOneBaseChange |