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.IntegralComparison.TruncatedModel.PrincipalSheafValue |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SourceTransportedRefinement |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.IntrinsicSupport |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.ResidueRestriction |
| 5 | |
| 6 | /-! # Transported Principal Data -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TransportedPrincipalData.Fraction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The signed bounded fraction formula on the literal transported |
| 13 | geometric covers, with every refinement isomorphism derived. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalCover |
| 18 | |
| 19 | abbrev parameters {Y Z : Scheme.{0}} (π : Y ⟶ Z) (U : Z.Opens) |
| 20 | (V : Y.affineOpens) (hVU : V.val ≤ π ⁻¹ᵁ U) (g : ℕ) (t : Fin g → Γ(Z,U)) := |
| 21 | PrincipalResidue.ResidueRestriction.parameters π U V.val hVU t |
| 22 | abbrev geometric {Y Z : Scheme.{0}} (π : Y ⟶ Z) (U : Z.Opens) (hU : IsAffineOpen U) |
| 23 | (V : Y.affineOpens) := PrincipalSource.OpenReindex.geometricOpens π U hU V.val |
| 24 | abbrev native {Y : Scheme.{0}} (V : Y.affineOpens) := |
| 25 | Principal.AdditiveSections.opens V.val V.property |
| 26 | abbrev family {Y Z : Scheme.{0}} (π : Y ⟶ Z) (U : Z.Opens) |
| 27 | (V : Y.affineOpens) (hVU : V.val ≤ π ⁻¹ᵁ U) (g : ℕ) (t : Fin g → Γ(Z,U)) := |
| 28 | PrincipalPoint.Fraction.family V.val (parameters π U V hVU g t) |
| 29 | |
| 30 | local instance native_tuples {Y Z : Scheme.{0}} (π : Y ⟶ Z) (U : Z.Opens) |
| 31 | (V : Y.affineOpens) (hVU : V.val ≤ π ⁻¹ᵁ U) (g : ℕ) (t : Fin g → Γ(Z,U)) |
| 32 | (d : ℕ) (a : Fin (d+1) → ULift (Fin g)) : |
| 33 | PreservesLimit (Discrete.functor (family π U V hVU g t ∘ a)) (native V) := |
| 34 | AffinePrincipal.Products.preserves Y V.val V.property (family π U V hVU g t ∘ a) |
| 35 | |
| 36 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 37 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 38 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 39 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 40 | (hp : IsPullback f Y.hom X.hom |
| 41 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 42 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 43 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 44 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 45 | {Z : Scheme.{0}} (π : X.left ⟶ Z) (U : Z.Opens) (hU : IsAffineOpen U) |
| 46 | (V : X.left.affineOpens) (hVU : V.val ≤ π ⁻¹ᵁ U) |
| 47 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] (t : Fin g → Γ(Z,U)) |
| 48 | (O : X.left.Opens) |
| 49 | |
| 50 | abbrev original (c : ℕ) := PrincipalSheafValue.original p k n X g c |
| 51 | abbrev originalSource (c : ℕ) := AffinePrincipal.Injective.Comparison.source |
| 52 | (native V) (family π U V hVU g t) (TopCover.form p k n X g) c |
| 53 | |
| 54 | def leftRefinement := PrincipalSource.Intrinsic.IntrinsicComparison.localRefinement |
| 55 | π U hU V.val V.property hVU t |
| 56 | (Principal.CanonicalCover.localCover (geometric π U hU V) (PrincipalPoint.Fraction.family U t) O) |
| 57 | (Principal.CanonicalCover.localLeft (geometric π U hU V) (PrincipalPoint.Fraction.family U t) O) |
| 58 | |
| 59 | variable {μ : Type} [LinearOrder μ] (A : μ → X.left.Opens) |
| 60 | (hA : iSup A = ⊤) (haA : ∀ j, IsAffineOpen (A j)) |
| 61 | |
| 62 | def globalRefinement := PrincipalSource.Intrinsic.IntrinsicComparison.globalRefinement |
| 63 | π U hU V.val V.property hVU (Principal.CanonicalCover.complementary O) |
| 64 | (Principal.CanonicalCover.globalCover (geometric π U hU V) O A) |
| 65 | (Principal.CanonicalCover.globalLeft (geometric π U hU V) O A) |
| 66 | |
| 67 | variable |
| 68 | (hF : ∀ r, IsAffineOpen ((geometric π U hU V).obj r)) |
| 69 | (hpunct : ∀ j, (geometric π U hU V).obj (PrincipalPoint.Fraction.family U t j) ≤ O) |
| 70 | (hcover : (geometric π U hU V).obj (⊤_ (Principal.SectionPresheaf.Index U)) ⊓ O ≤ |
| 71 | ⨆ j, (geometric π U hU V).obj (PrincipalPoint.Fraction.family U t j)) |
| 72 | (hglobal : (geometric π U hU V).obj (⊤_ (Principal.SectionPresheaf.Index U)) ⊔ O = ⊤) |
| 73 | |
| 74 | abbrev native_punctured := PrincipalSource.IntrinsicSupport.Intrinsic.punctured π U hU V.val V.property hVU t O hpunct |
| 75 | abbrev native_cover := PrincipalSource.IntrinsicSupport.Intrinsic.cover π U hU V.val V.property hVU t O hcover |
| 76 | abbrev native_global := PrincipalSource.IntrinsicSupport.Intrinsic.global π U hU V.val V.property hVU O hglobal |
| 77 | |
| 78 | include hVU hF hpunct hcover in |
| 79 | omit [Fintype k] [CharP k p] [SmoothOfRelativeDimension g X.hom] in |
| 80 | theorem original_relative (c q : ℕ) : |
| 81 | IsIso (RelativeCech.Refinement.homology |
| 82 | ((native V).obj (⊤_ (Principal.SectionPresheaf.Index V.val))) |
| 83 | (Principal.CanonicalCover.complementary O) (Principal.CanonicalCover.localCover (geometric π U hU V) (PrincipalPoint.Fraction.family U t) O) |
| 84 | (Principal.CanonicalCover.localRight (geometric π U hU V) (PrincipalPoint.Fraction.family U t) O) |
| 85 | (original p k n X g c) q) := |
| 86 | SourceTransportedRefinement.relative_original p k n X π U hU V.val V.property hVU t O |
| 87 | hF hpunct hcover g c q |
| 88 | |
| 89 | include hF hglobal hA haA in |
| 90 | omit [Fintype k] [CharP k p] [SmoothOfRelativeDimension g X.hom] in |
| 91 | theorem original_ordered (c q : ℕ) : |
| 92 | IsIso (homologyMap (OrderedCech.Refinement.totalMap A |
| 93 | (Principal.CanonicalCover.globalCover (geometric π U hU V) O A) (Principal.CanonicalCover.globalRight (geometric π U hU V) O A) |
| 94 | (original p k n X g c)) q) := |
| 95 | SourceTransportedRefinement.ordered_original p k n X π U hU V.val O |
| 96 | hF hglobal A hA haA g c q |
| 97 | |
| 98 | include hVU hF hpunct hcover in |
| 99 | omit [Fintype k] [CharP k p] [SmoothOfRelativeDimension g X.hom] in |
| 100 | theorem source_relative (c q : ℕ) : |
| 101 | IsIso (RelativeCech.Refinement.homology |
| 102 | ((native V).obj (⊤_ (Principal.SectionPresheaf.Index V.val))) |
| 103 | (Principal.CanonicalCover.complementary O) (Principal.CanonicalCover.localCover (geometric π U hU V) (PrincipalPoint.Fraction.family U t) O) |
| 104 | (Principal.CanonicalCover.localRight (geometric π U hU V) (PrincipalPoint.Fraction.family U t) O) |
| 105 | (PrincipalTopDegree.source p k n X g c) q) := |
| 106 | SourceTransportedRefinement.relative_source p k n X π U hU V.val V.property hVU t O |
| 107 | hF hpunct hcover g c q |
| 108 | |
| 109 | include hF hglobal hA haA in |
| 110 | omit [Fintype k] [CharP k p] [SmoothOfRelativeDimension g X.hom] in |
| 111 | theorem source_ordered (c q : ℕ) : |
| 112 | IsIso (homologyMap (OrderedCech.Refinement.totalMap A |
| 113 | (Principal.CanonicalCover.globalCover (geometric π U hU V) O A) (Principal.CanonicalCover.globalRight (geometric π U hU V) O A) |
| 114 | (PrincipalTopDegree.source p k n X g c)) q) := |
| 115 | SourceTransportedRefinement.ordered_source p k n X π U hU V.val O |
| 116 | hF hglobal A hA haA g c q |
| 117 | |
| 118 | include hVU hpunct hcover in |
| 119 | omit [Fintype k] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] [SmoothOfRelativeDimension g X.hom] in |
| 120 | theorem linear_relative (q : ℕ) : |
| 121 | IsIso (RelativeCech.Refinement.homology |
| 122 | ((native V).obj (⊤_ (Principal.SectionPresheaf.Index V.val))) |
| 123 | (Principal.CanonicalCover.complementary O) (Principal.CanonicalCover.localCover (geometric π U hU V) (PrincipalPoint.Fraction.family U t) O) |
| 124 | (Principal.CanonicalCover.localRight (geometric π U hU V) (PrincipalPoint.Fraction.family U t) O) |
| 125 | (CechIso.ResolutionGlobal.presheaf p k n X Y f I) q) := |
| 126 | SourceTransportedRefinement.relative_linear p k n X Y f I π U hU V.val V.property hVU t O |
| 127 | hpunct hcover q |
| 128 | |
| 129 | include hglobal hA in |
| 130 | omit [Fintype k] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [IsSeparated Y.hom] in |
| 131 | theorem linear_ordered (q : ℕ) : |
| 132 | IsIso (homologyMap (OrderedCech.Refinement.totalMap A |
| 133 | (Principal.CanonicalCover.globalCover (geometric π U hU V) O A) (Principal.CanonicalCover.globalRight (geometric π U hU V) O A) |
| 134 | (CechIso.ResolutionGlobal.presheaf p k n X Y f I)) q) := |
| 135 | SourceTransportedRefinement.ordered_linear p k n X Y f I π U hU V.val O |
| 136 | hglobal A hA q |
| 137 | |
| 138 | include hF hpunct hcover hglobal hA haA in |
| 139 | def nativeComparison (c : ℕ) := by |
| 140 | letI := original_relative p k n X π U hU V hVU g t O hF hpunct hcover c (g+c) |
| 141 | letI := original_ordered p k n X π U hU V g O A hA haA hF hglobal c (g+c) |
| 142 | exact Principal.PresheafCover.Comparison.comparison |
| 143 | (native V) (family π U V hVU g t) (Principal.CanonicalCover.complementary O) |
| 144 | (Principal.CanonicalCover.localCover (geometric π U hU V) (PrincipalPoint.Fraction.family U t) O) |
| 145 | (leftRefinement (p := p) (k := k) (n := n) (X := X) π U hU V hVU g t O) |
| 146 | (Principal.CanonicalCover.localRight (geometric π U hU V) (PrincipalPoint.Fraction.family U t) O) |
| 147 | A (Principal.CanonicalCover.globalCover (geometric π U hU V) O A) (globalRefinement (p := p) (k := k) (n := n) (X := X) π U hU V hVU O A) |
| 148 | (Principal.CanonicalCover.globalRight (geometric π U hU V) O A) (original p k n X g c) (g+c) |
| 149 | |
| 150 | end |
| 151 | |
| 152 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TransportedPrincipalData.Fraction |