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.AlgebraicGeometry.Resolution.Blowups.Global.LogarithmicAffineBounds |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.LogarithmicFiltration |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.DifferentialSheafRestriction |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.DifferentialUnitGluing |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.ModelRestriction |
| 6 | |
| 7 | /-! # Logarithmic Le -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! Global logarithmic filtration laws and exact étale functoriality. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | variable {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {β : Type} {D : β → X.IdealSheafData} |
| 20 | |
| 21 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.logarithmicIdeal_comap_etale (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) |
| 22 | {Y : Scheme} (g : Y ⟶ X) [Etale g] |
| 23 | (B : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas (g ≫ f) (fun l => (D l).comap g)) |
| 24 | (J : X.IdealSheafData) (n : ℕ) : |
| 25 | (A.logarithmicIdeal J n).comap g = B.logarithmicIdeal (J.comap g) n := by |
| 26 | let : IsLocallyNoetherian Y := B.locallyNoetherian |
| 27 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover _ _ B.openCover |
| 28 | intro i |
| 29 | change B.indices at i |
| 30 | change ((A.logarithmicIdeal J n).comap g).comap (B.map i) = |
| 31 | (B.logarithmicIdeal (J.comap g) n).comap (B.map i) |
| 32 | rw [← Scheme.IdealSheafData.comap_comp, B.logarithmicIdeal_restrict] |
| 33 | apply A.logarithmicIdeal_restrict_etale J n (B.rings i) (B.map i ≫ g) |
| 34 | (by rw [Category.assoc]; exact B.ground i) (B.equations i) |
| 35 | (fun l => by rw [Scheme.IdealSheafData.comap_comp]; exact B.component i l) |
| 36 | (B.model i) (B.affineIdeal (J.comap g) i) |
| 37 | rw [Scheme.IdealSheafData.comap_comp] |
| 38 | exact B.affineIdeal_eq (J.comap g) i |
| 39 | |
| 40 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.logarithmicIdeal_zero (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) (J : X.IdealSheafData) : |
| 41 | A.logarithmicIdeal J 0 = J := by |
| 42 | apply ((A.existsUnique_logarithmicIdeal J 0).choose_spec.2 J _).symm |
| 43 | intro i |
| 44 | exact A.affineIdeal_eq J i |
| 45 | |
| 46 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.logarithmicIdeal_mono (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) |
| 47 | {J K : X.IdealSheafData} (hJK : J ≤ K) (n : ℕ) : |
| 48 | A.logarithmicIdeal J n ≤ A.logarithmicIdeal K n := by |
| 49 | let : IsLocallyNoetherian X := A.locallyNoetherian |
| 50 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_le_of_openCover _ _ A.openCover |
| 51 | intro i |
| 52 | change A.indices at i |
| 53 | change (A.logarithmicIdeal J n).comap (A.map i) ≤ (A.logarithmicIdeal K n).comap (A.map i) |
| 54 | rw [A.logarithmicIdeal_restrict, A.logarithmicIdeal_restrict] |
| 55 | apply Global.DifferentialTransform.Construction.affineQuotientKernel_mono |
| 56 | apply Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal_mono |
| 57 | apply (Affine.KernelOrderEquiv.Construction.affineQuotientKernel_le_iff _ _).mp |
| 58 | rw [← A.affineIdeal_eq J i, ← A.affineIdeal_eq K i] |
| 59 | exact Scheme.IdealSheafData.comap_mono (A.map i) hJK |
| 60 | |
| 61 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.logarithmicIdeal_monotone_order (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) |
| 62 | (J : X.IdealSheafData) {n m : ℕ} (hnm : n ≤ m) : |
| 63 | A.logarithmicIdeal J n ≤ A.logarithmicIdeal J m := by |
| 64 | let : IsLocallyNoetherian X := A.locallyNoetherian |
| 65 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_le_of_openCover _ _ A.openCover |
| 66 | intro i |
| 67 | change A.indices at i |
| 68 | change (A.logarithmicIdeal J n).comap (A.map i) ≤ (A.logarithmicIdeal J m).comap (A.map i) |
| 69 | rw [A.logarithmicIdeal_restrict, A.logarithmicIdeal_restrict] |
| 70 | exact Global.DifferentialTransform.Construction.affineQuotientKernel_mono |
| 71 | (LogarithmicFiltration.Construction.iteratedRelativeLogarithmicDifferentialIdeal_monotone_order ℂ (A.equations i) (A.affineIdeal J i) hnm) |
| 72 | |
| 73 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.le_logarithmicIdeal (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) (J : X.IdealSheafData) (n : ℕ) : |
| 74 | J ≤ A.logarithmicIdeal J n := by |
| 75 | have h := A.logarithmicIdeal_monotone_order J (Nat.zero_le n) |
| 76 | rwa [A.logarithmicIdeal_zero] at h |
| 77 | |
| 78 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.logarithmicIdeal_top (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) (n : ℕ) : |
| 79 | A.logarithmicIdeal ⊤ n = ⊤ := top_le_iff.mp (A.le_logarithmicIdeal ⊤ n) |
| 80 | |
| 81 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.logarithmicIdeal_component (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) (l : β) (n : ℕ) : |
| 82 | A.logarithmicIdeal (D l) n = D l := by |
| 83 | let : IsLocallyNoetherian X := A.locallyNoetherian |
| 84 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover _ _ A.openCover |
| 85 | intro i |
| 86 | change A.indices at i |
| 87 | change (A.logarithmicIdeal (D l) n).comap (A.map i) = (D l).comap (A.map i) |
| 88 | rw [A.logarithmicIdeal_restrict, A.component] |
| 89 | have he : A.affineIdeal (D l) i = Ideal.span {A.equations i l} := by |
| 90 | apply (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp |
| 91 | rw [← A.affineIdeal_eq, A.component] |
| 92 | rw [he, LogarithmicFiltration.Construction.iteratedRelativeLogarithmicDifferentialIdeal_component] |
| 93 | |
| 94 | end |
| 95 | |
| 96 | section |
| 97 | |
| 98 | /-! The global logarithmic filtration lies in the ordinary filtration and equals it for an empty boundary. -/ |
| 99 | |
| 100 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 101 | |
| 102 | variable {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {β : Type} {D : β → X.IdealSheafData} |
| 103 | |
| 104 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.ambient_smooth (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) : Smooth f := by |
| 105 | let : IsZariskiLocalAtSource @AlgebraicGeometry.Smooth := |
| 106 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := @RingHom.Smooth) |
| 107 | apply IsZariskiLocalAtSource.of_openCover (P := @Smooth) A.openCover |
| 108 | intro i |
| 109 | change A.indices at i |
| 110 | change Smooth (A.map i ≫ f) |
| 111 | rw [A.ground i] |
| 112 | let : Algebra.Smooth ℂ (A.rings i) := (A.model i).smooth |
| 113 | exact inferInstanceAs (Smooth (ComplexAffineDifferentialIdeal.Construction.complexSpecStructure (A.rings i))) |
| 114 | |
| 115 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.ordinaryIdeal_restrict [Smooth f] (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) |
| 116 | (J : X.IdealSheafData) (n : ℕ) (i : A.indices) : |
| 117 | (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).comap (A.map i) = |
| 118 | Affine.QuotientKernel.Construction.affineQuotientKernel (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ (A.affineIdeal J i) n) := by |
| 119 | let : Algebra.Smooth ℂ (A.rings i) := (A.model i).smooth |
| 120 | rw [Blowups.Smooth.DifferentialSheafRestriction.Construction.smoothDifferentialIdealSheaf_comap_open, A.affineIdeal_eq] |
| 121 | exact (DifferentialUnitGluing.Construction.smoothDifferentialIdealSheaf_structure_congr (A.map i ≫ f) _ (A.ground i) _ n).trans |
| 122 | (ComplexAffineDifferentialIdeal.Construction.smoothDifferentialIdealSheaf_affineQuotientKernel (A.rings i) (A.affineIdeal J i) n) |
| 123 | |
| 124 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.logarithmicIdeal_le_ordinary [Smooth f] (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) |
| 125 | (J : X.IdealSheafData) (n : ℕ) : A.logarithmicIdeal J n ≤ Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n := by |
| 126 | let : IsLocallyNoetherian X := A.locallyNoetherian |
| 127 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_le_of_openCover _ _ A.openCover |
| 128 | intro i |
| 129 | change A.indices at i |
| 130 | change (A.logarithmicIdeal J n).comap (A.map i) ≤ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).comap (A.map i) |
| 131 | rw [A.logarithmicIdeal_restrict, A.ordinaryIdeal_restrict] |
| 132 | exact Global.DifferentialTransform.Construction.affineQuotientKernel_mono |
| 133 | (Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal_le_relative ℂ (A.equations i) (A.affineIdeal J i) n) |
| 134 | |
| 135 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.logarithmicIdeal_empty [Smooth f] [IsEmpty β] (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) |
| 136 | (J : X.IdealSheafData) (n : ℕ) : A.logarithmicIdeal J n = Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n := by |
| 137 | let : IsLocallyNoetherian X := A.locallyNoetherian |
| 138 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover _ _ A.openCover |
| 139 | intro i |
| 140 | change A.indices at i |
| 141 | change (A.logarithmicIdeal J n).comap (A.map i) = (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).comap (A.map i) |
| 142 | rw [A.logarithmicIdeal_restrict, A.ordinaryIdeal_restrict, Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal_empty] |
| 143 | |
| 144 | end |
| 145 | |
| 146 | /-! Finite selected boundary histories retain their original global affine coordinate models. -/ |
| 147 | |
| 148 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 149 | |
| 150 | variable {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {β γ : Type} {D : β → X.IdealSheafData} |
| 151 | |
| 152 | def GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.reindex (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) (e : γ ↪ β) : |
| 153 | GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f (fun j => D (e j)) where |
| 154 | indices := A.indices |
| 155 | finite := A.finite |
| 156 | rings := A.rings |
| 157 | algebra := A.algebra |
| 158 | map := A.map |
| 159 | isOpenImmersion := A.isOpenImmersion |
| 160 | quasiCompact := A.quasiCompact |
| 161 | ground := A.ground |
| 162 | cover := A.cover |
| 163 | equations i j := A.equations i (e j) |
| 164 | component i j := A.component i (e j) |
| 165 | model i := (A.model i).reindex e |
| 166 | |
| 167 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.reindex_affineIdeal (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) (e : γ ↪ β) |
| 168 | (J : X.IdealSheafData) (i : A.indices) : (A.reindex e).affineIdeal J i = A.affineIdeal J i := rfl |
| 169 | |
| 170 | theorem GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas.reindex_logarithmicIdeal_restrict (A : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) (e : γ ↪ β) |
| 171 | (J : X.IdealSheafData) (n : ℕ) (i : A.indices) : |
| 172 | ((A.reindex e).logarithmicIdeal J n).comap (A.map i) = Affine.QuotientKernel.Construction.affineQuotientKernel |
| 173 | (Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal ℂ (fun j => A.equations i (e j)) (A.affineIdeal J i) n) := |
| 174 | (A.reindex e).logarithmicIdeal_restrict J n i |
| 175 | |
| 176 | end |
| 177 | |
| 178 | end OAI.AlgebraicGeometry.Resolution.Blowups |