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.IntrinsicPadic.GlobalCone |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.CechConeGlobal |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Cover |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairProducts |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ConeNaturality |
| 6 | |
| 7 | /-! # Common Global -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CommonGlobal.IntrinsicPadicGeometricCommonGlobal |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The genuine common source cover computes original bounded |
| 14 | crystalline cohomology, and the actual geometric map preserves its |
| 15 | canonical global edge. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] |
| 20 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 21 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 22 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 23 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 24 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 25 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 26 | (I₁ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 27 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 28 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁) n)) |
| 29 | (I₂ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 30 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 31 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n)) |
| 32 | |
| 33 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 34 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Cover.IntrinsicPadicGeometricCover.pairs p u |
| 35 | local notation "F₁" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.OpenPairs.IntrinsicPadicGeometricOpenPairs.source p u f₁ |
| 36 | local notation "F₂" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.OpenPairs.IntrinsicPadicGeometricOpenPairs.target p u f₂ |
| 37 | local notation "w₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁ |
| 38 | |
| 39 | instance source_products (q : ℕ) (t : Fin (q + 1) → Cover.IntrinsicPadicGeometricCover.Index p u) : |
| 40 | PreservesLimit (Discrete.functor (U ∘ t)) F₁ := |
| 41 | Semilattice.FiniteProductPreservation.SemilatticeFiniteProductPreservation.preserves F₁ (fun _ _ => rfl) (U ∘ t) |
| 42 | |
| 43 | instance target_products (q : ℕ) (t : Fin (q + 1) → Cover.IntrinsicPadicGeometricCover.Index p u) : |
| 44 | PreservesLimit (Discrete.functor (U ∘ t)) F₂ := |
| 45 | Semilattice.FiniteProductPreservation.SemilatticeFiniteProductPreservation.preserves F₂ (fun _ _ => rfl) (U ∘ t) |
| 46 | |
| 47 | omit [X₁.left.IsSeparated] [X₂.left.IsSeparated] [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 48 | theorem source_cover : iSup ((F₁).obj ∘ U) = ⊤ := by |
| 49 | apply top_unique |
| 50 | intro y _ |
| 51 | have hy : f₁ y ∈ ⨆ i, (Cover.IntrinsicPadicGeometricCover.opens p u i).val := by |
| 52 | rw [Cover.IntrinsicPadicGeometricCover.cover] |
| 53 | trivial |
| 54 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp hy |
| 55 | exact Opens.mem_iSup.mpr ⟨i, hi⟩ |
| 56 | |
| 57 | def sourceSections := ((SectionMap.IntrinsicPadicGeometricSectionMap.sourceSections p u f₁ n).mapHomologicalComplex (.up ℕ)).obj I₁.cocomplex |
| 58 | def targetSections := ((SectionMap.IntrinsicPadicGeometricSectionMap.targetSections p u f₂ n).mapHomologicalComplex (.up ℕ)).obj I₂.cocomplex |
| 59 | |
| 60 | def sourceEdge := CechPresheaf.ConeTotal.CechPresheafConeTotal.map U (sourceSections p u f₁ n I₁) |
| 61 | (GlobalCone.IntrinsicPadicGeometricGlobalCone.sourceGlobal p n I₁) (GlobalCone.IntrinsicPadicGeometricGlobalCone.sourceCone p u f₁ n I₁) |
| 62 | def targetEdge := CechPresheaf.ConeTotal.CechPresheafConeTotal.map U (targetSections p u f₂ n I₂) |
| 63 | (GlobalCone.IntrinsicPadicGeometricGlobalCone.targetGlobal p n I₂) (GlobalCone.IntrinsicPadicGeometricGlobalCone.targetCone p u f₂ n I₂) |
| 64 | |
| 65 | def geometricMap := CechPresheaf.ConeNaturality.CechPresheafConeNaturality.totalMap U |
| 66 | (SectionHomotopy.IntrinsicPadicGeometricSectionHomotopy.injectiveMap p u v f₁ f₂ hsquare n I₁ I₂) |
| 67 | |
| 68 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 69 | theorem naturality : targetEdge p u f₂ n I₂ ≫ geometricMap p u v f₁ f₂ hsquare n I₁ I₂ = |
| 70 | GlobalCone.IntrinsicPadicGeometricGlobalCone.globalMap p v n I₁ I₂ ≫ sourceEdge p u f₁ n I₁ := |
| 71 | CechPresheaf.ConeNaturality.CechPresheafConeNaturality.naturality U |
| 72 | (GlobalCone.IntrinsicPadicGeometricGlobalCone.targetCone p u f₂ n I₂) |
| 73 | (GlobalCone.IntrinsicPadicGeometricGlobalCone.sourceCone p u f₁ n I₁) |
| 74 | (SectionHomotopy.IntrinsicPadicGeometricSectionHomotopy.injectiveMap p u v f₁ f₂ hsquare n I₁ I₂) |
| 75 | (GlobalCone.IntrinsicPadicGeometricGlobalCone.globalMap p v n I₁ I₂) |
| 76 | (GlobalCone.IntrinsicPadicGeometricGlobalCone.naturality p u v f₁ f₂ hsquare n I₁ I₂) |
| 77 | |
| 78 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 79 | theorem source_quasiIso : QuasiIso (sourceEdge p u f₁ n I₁) := |
| 80 | Bounded.CechConeGlobal.BoundedCechConeGlobalComparison.quasiIso w₁ n I₁ F₁ U (source_cover p u f₁) |
| 81 | |
| 82 | def sourceHomologyIso (i : ℕ) := |
| 83 | Bounded.CechConeGlobal.BoundedCechConeGlobalComparison.homologyIso w₁ n I₁ F₁ U (source_cover p u f₁) i |
| 84 | |
| 85 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 86 | theorem source_homology (i : ℕ) : HomologicalComplex.homologyMap (sourceEdge p u f₁ n I₁) i ≫ |
| 87 | (sourceHomologyIso p u f₁ n I₁ i).hom = (IntegralComparison.BoundedOpen.SectionGlobal.homologyIso w₁ n I₁ i).hom := |
| 88 | Bounded.CechConeGlobal.BoundedCechConeGlobalComparison.homology w₁ n I₁ F₁ U (source_cover p u f₁) i |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CommonGlobal.IntrinsicPadicGeometricCommonGlobal |