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.PositiveDimensionHas |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.IncidenceTraceExponents |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.MonomialProgramNaturality |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.MonomialProgram |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.TraceCompanionResidualDrop |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.TraceResidualTransport |
| 7 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.ResidualNeighborhoodBoundary |
| 8 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.DifferentialOrderBound |
| 9 | |
| 10 | /-! # Residual Finite -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Dimension.ResidualFinite.Construction |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! Residual-order schedules share every coefficient level, incidence trace, and monomial exponent. -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | |
| 22 | inductive DimensionResidualSchedule {d : ℕ} (𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d) (b : ℕ) : |
| 23 | (m : ℕ) → (β : Type) → [Fintype β] → [DecidableEq β] → (β → ℕ) → Type 1 |
| 24 | | monomial {β : Type} [Fintype β] [DecidableEq β] (a : β → ℕ) |
| 25 | (S : Boundary.MonomialSchedule.Construction.BoundaryMonomialSchedule b β a [Finset.univ]) : DimensionResidualSchedule 𝒮 b 0 β a |
| 26 | | higher {m : ℕ} {β : Type} [Fintype β] [DecidableEq β] (a : β → ℕ) (hle : b ≤ m + 1) |
| 27 | (S : HistoryProgramAuxiliary.Construction.DimensionHistorySchedule 𝒮 m (Function.Embedding.ofIsEmpty : Fin 0 ↪ β)) |
| 28 | (tail : DimensionResidualSchedule 𝒮 b m (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels S.incidenceTrace.length β) |
| 29 | (S.incidenceTrace.residualExponents a (m + 1) b)) : DimensionResidualSchedule 𝒮 b (m + 1) β a |
| 30 | | companion {m : ℕ} {β : Type} [Fintype β] [DecidableEq β] (a : β → ℕ) (hlt : m + 1 < b) |
| 31 | (S : HistoryProgramAuxiliary.Construction.DimensionHistorySchedule 𝒮 ((m + 1) * (b - (m + 1)) - 1) |
| 32 | (Function.Embedding.ofIsEmpty : Fin 0 ↪ β)) |
| 33 | (tail : DimensionResidualSchedule 𝒮 b m (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels S.incidenceTrace.length β) |
| 34 | (S.incidenceTrace.companionExponents a (m + 1) b)) : DimensionResidualSchedule 𝒮 b (m + 1) β a |
| 35 | |
| 36 | def DimensionResidualSchedule.incidenceTrace {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {b m : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 37 | {a : β → ℕ} (S : Construction.DimensionResidualSchedule 𝒮 b m β a) : Boundary.IncidenceTrace.Construction.BoundaryIncidenceTrace β := by |
| 38 | induction S with |
| 39 | | monomial a S => exact S.incidenceTrace |
| 40 | | higher a hle S tail ih => exact S.incidenceTrace.append ih |
| 41 | | companion a hlt S tail ih => exact S.incidenceTrace.append ih |
| 42 | |
| 43 | end |
| 44 | |
| 45 | section |
| 46 | |
| 47 | /-! Recorded residual programs combine exact changes of control with continuation on a residual-order neighborhood. -/ |
| 48 | |
| 49 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 50 | |
| 51 | inductive DimensionResidualProgram {d : ℕ} (𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d) (b : ℕ) : |
| 52 | {m : ℕ} → {β : Type} → [Fintype β] → [DecidableEq β] → {a : β → ℕ} → |
| 53 | Construction.DimensionResidualSchedule 𝒮 b m β a → |
| 54 | (X : Scheme) → (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) → (J I : X.IdealSheafData) → (β → X.IdealSheafData) → |
| 55 | (Y : Scheme) → (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) → (K : Y.IdealSheafData) → |
| 56 | Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f I Y g K → Prop |
| 57 | | monomial {β : Type} [Fintype β] [DecidableEq β] (a : β → ℕ) |
| 58 | (S : Boundary.MonomialSchedule.Construction.BoundaryMonomialSchedule b β a [Finset.univ]) |
| 59 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 60 | {J I : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 61 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f I Y g K} |
| 62 | (H : Boundary.MonomialProgram.Construction.BoundaryMonomialProgram b β a [Finset.univ] S X f I D Y g K P) : |
| 63 | DimensionResidualProgram 𝒮 b (.monomial a S) X f J I D Y g K P |
| 64 | | higher {m : ℕ} {β : Type} [Fintype β] [DecidableEq β] (a : β → ℕ) (hle : b ≤ m + 1) |
| 65 | (S : HistoryProgramAuxiliary.Construction.DimensionHistorySchedule 𝒮 m (Function.Embedding.ofIsEmpty : Fin 0 ↪ β)) |
| 66 | (schedule : Construction.DimensionResidualSchedule 𝒮 b m (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels S.incidenceTrace.length β) |
| 67 | (S.incidenceTrace.residualExponents a (m + 1) b)) |
| 68 | {X Y Z : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {h : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 69 | {J I : X.IdealSheafData} {J' I' : Y.IdealSheafData} {K : Z.IdealSheafData} {D : β → X.IdealSheafData} |
| 70 | (A : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (m + 1) X f J Y g J') |
| 71 | (order : PositiveDimensionHas.Construction.PositiveDimensionOrderProgram 𝒮 (m + 1) β S X f J D Y g J' A) |
| 72 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f I Y g I') (same : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups (m + 1) b A P) |
| 73 | (R : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b Y g I' Z h K) |
| 74 | (tail : DimensionResidualProgram 𝒮 b schedule Y g J' I' |
| 75 | (A.boundaryAtLength D S.incidenceTrace.length (order.hasIncidenceTrace.stepCount A D S.incidenceTrace)) Z h K R) : |
| 76 | DimensionResidualProgram 𝒮 b (.higher a hle S schedule) X f J I D Z h K (P.append R) |
| 77 | | companion {m : ℕ} {β : Type} [Fintype β] [DecidableEq β] (a : β → ℕ) (hlt : m + 1 < b) |
| 78 | (S : HistoryProgramAuxiliary.Construction.DimensionHistorySchedule 𝒮 ((m + 1) * (b - (m + 1)) - 1) |
| 79 | (Function.Embedding.ofIsEmpty : Fin 0 ↪ β)) |
| 80 | (schedule : Construction.DimensionResidualSchedule 𝒮 b m (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels S.incidenceTrace.length β) |
| 81 | (S.incidenceTrace.companionExponents a (m + 1) b)) |
| 82 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth g] |
| 83 | {J I : X.IdealSheafData} {C J' I' : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 84 | (A : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix ((m + 1) * (b - (m + 1))) X f |
| 85 | (Global.CompanionIdeal.Construction.globalCompanionIdeal J (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a) (m + 1) b) Y g C) |
| 86 | (order : PositiveDimensionHas.Construction.PositiveDimensionOrderProgram 𝒮 ((m + 1) * (b - (m + 1))) β S X f |
| 87 | (Global.CompanionIdeal.Construction.globalCompanionIdeal J (Global.MixedBoundary.Construction.boundaryMonomialSheaf D a) (m + 1) b) D Y g C A) |
| 88 | (B : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (m + 1) X f J Y g J') |
| 89 | (sameB : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups ((m + 1) * (b - (m + 1))) (m + 1) A B) |
| 90 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f I Y g I') |
| 91 | (same : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.SameBlowups ((m + 1) * (b - (m + 1))) b A P) |
| 92 | {V Z : Scheme} {h : V ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {k : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {L : V.IdealSheafData} {M : Z.IdealSheafData} |
| 93 | (T : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (Global.ResidualNeighborhood.Construction.residualOrderDropOpen g J' (m + 1)) |
| 94 | ((Global.ResidualNeighborhood.Construction.residualOrderDropOpen g J' (m + 1)).ι ≫ g) (I'.comap (Global.ResidualNeighborhood.Construction.residualOrderDropOpen g J' (m + 1)).ι) V h L) |
| 95 | (tail : DimensionResidualProgram 𝒮 b schedule (Global.ResidualNeighborhood.Construction.residualOrderDropOpen g J' (m + 1)) |
| 96 | ((Global.ResidualNeighborhood.Construction.residualOrderDropOpen g J' (m + 1)).ι ≫ g) |
| 97 | (J'.comap (Global.ResidualNeighborhood.Construction.residualOrderDropOpen g J' (m + 1)).ι) (I'.comap (Global.ResidualNeighborhood.Construction.residualOrderDropOpen g J' (m + 1)).ι) |
| 98 | (fun l => (A.boundaryAtLength D S.incidenceTrace.length |
| 99 | (order.hasIncidenceTrace.stepCount A D S.incidenceTrace) l).comap (Global.ResidualNeighborhood.Construction.residualOrderDropOpen g J' (m + 1)).ι) V h L T) |
| 100 | (R : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b Y g I' Z k M) (r : V ⟶ Z) |
| 101 | (comparison : R.EtaleComparison T (Global.ResidualNeighborhood.Construction.residualOrderDropOpen g J' (m + 1)).ι r) |
| 102 | (hstart : ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g I' (b - 1)).support : Set Y) ⊆ |
| 103 | Set.range (Global.ResidualNeighborhood.Construction.residualOrderDropOpen g J' (m + 1)).ι) |
| 104 | (hcover : letI : Smooth k := R.endpoint_smooth |
| 105 | ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf k M (b - 1)).support : Set Z) ⊆ Set.range r) : |
| 106 | DimensionResidualProgram 𝒮 b (.companion a hlt S schedule) X f J I D Z k M (P.append R) |
| 107 | |
| 108 | namespace DimensionResidualProgram |
| 109 | |
| 110 | theorem terminal_order {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {b : ℕ} (hb : 0 < b) {m : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 111 | {a : β → ℕ} {schedule : Construction.DimensionResidualSchedule 𝒮 b m β a} |
| 112 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 113 | {J I : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 114 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f I Y g K} |
| 115 | (H : Construction.DimensionResidualProgram 𝒮 b schedule X f J I D Y g K P) : |
| 116 | letI : Smooth g := P.endpoint_smooth |
| 117 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g K (b - 1) = ⊤ := by |
| 118 | induction H with |
| 119 | | monomial a S H => exact H.terminal_order hb |
| 120 | | higher a hle S schedule A order P same R tail ih => exact ih |
| 121 | | companion a hlt S schedule A order B sameB P same T tail R r comparison hstart hcover ih => |
| 122 | exact comparison.terminal_order_of_endpoint_cover R T _ r (b - 1) hcover ih |
| 123 | |
| 124 | theorem hasIncidenceTrace {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {b m : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 125 | {a : β → ℕ} {schedule : Construction.DimensionResidualSchedule 𝒮 b m β a} |
| 126 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 127 | {J I : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 128 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f I Y g K} |
| 129 | (H : Construction.DimensionResidualProgram 𝒮 b schedule X f J I D Y g K P) : |
| 130 | P.HasIncidenceTrace β D schedule.incidenceTrace := by |
| 131 | induction H with |
| 132 | | monomial a S H => exact H.hasIncidenceTrace |
| 133 | | higher a hle S schedule A order P same R tail ih => |
| 134 | exact same.append_traceAtLength A P R _ _ order.hasIncidenceTrace _ rfl _ ih |
| 135 | | companion a hlt S schedule A order B sameB P same T tail R r comparison hstart hcover ih => |
| 136 | have hA := order.hasIncidenceTrace |
| 137 | have hAB := Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.uniformBoundaryCompatible.boundaryCompatible A _ (hA.uniformBoundaryCompatible A _ _) |
| 138 | obtain ⟨EA⟩ := A.boundaryAtLength_atlas _ hAB _ (hA.stepCount A _ _) |
| 139 | have hR := R.hasIncidenceTrace_of_order_neighborhood T _ r comparison hstart _ _ EA _ ih |
| 140 | exact same.append_traceAtLength A P R _ _ hA _ rfl _ hR |
| 141 | |
| 142 | theorem uniformBoundaryCompatible {d : ℕ} {𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d} {b m : ℕ} {β : Type} [Fintype β] [DecidableEq β] |
| 143 | {a : β → ℕ} {schedule : Construction.DimensionResidualSchedule 𝒮 b m β a} |
| 144 | {X Y : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 145 | {J I : X.IdealSheafData} {K : Y.IdealSheafData} {D : β → X.IdealSheafData} |
| 146 | {P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b X f I Y g K} |
| 147 | (H : Construction.DimensionResidualProgram 𝒮 b schedule X f J I D Y g K P) : P.uniformBoundaryCompatible β D := |
| 148 | H.hasIncidenceTrace.uniformBoundaryCompatible P D schedule.incidenceTrace |
| 149 | |
| 150 | end DimensionResidualProgram |
| 151 | |
| 152 | end |
| 153 | |
| 154 | section |
| 155 | |
| 156 | /-! Residual-order induction constructs one schedule for a finite family of problems in the next dimension at any positive control. -/ |
| 157 | |
| 158 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 159 | |
| 160 | theorem exists_finite_dimension_residual_programs {d : ℕ} (𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d) (b : ℕ) (hb : 0 < b) (m : ℕ) : |
| 161 | ∀ {β ι : Type} [Fintype β] [DecidableEq β] [Fintype ι] (a : β → ℕ) |
| 162 | (X : ι → Scheme) [∀ i, IsIntegral (X i)] [∀ i, IsLocallyNoetherian (X i)] [∀ i, CompactSpace (X i)] |
| 163 | (f : ∀ i, X i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [∀ i, Smooth (f i)] (J I : ∀ i, (X i).IdealSheafData), |
| 164 | (∀ i, J i ≠ ⊥) → (∀ i, topologicalKrullDim (X i) ≤ (d + 1 : ℕ)) → |
| 165 | ∀ (D : ∀ i, β → (X i).IdealSheafData) (_E : ∀ i, Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (f i) (D i) [Finset.univ]), |
| 166 | (∀ i, I i = Global.MixedBoundary.Construction.boundaryMonomialSheaf (D i) a * J i) → |
| 167 | (∀ i, Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (f i) (J i) m = ⊤) → |
| 168 | ∃ schedule : Construction.DimensionResidualSchedule 𝒮 b m β a, ∀ i, |
| 169 | ∃ (Y : Scheme) (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : Y.IdealSheafData) |
| 170 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (X i) (f i) (I i) Y g K), |
| 171 | Construction.DimensionResidualProgram 𝒮 b schedule (X i) (f i) (J i) (I i) (D i) Y g K P := by |
| 172 | classical |
| 173 | induction m with |
| 174 | | zero => |
| 175 | intro β ι _ _ _ a X _ _ _ f _ J I hJ hd D E hI hbound |
| 176 | obtain ⟨S⟩ := Boundary.MonomialSchedule.Construction.exists_boundary_monomial_schedule b hb (Fintype.card β) β a [Finset.univ] |
| 177 | (by intro S hS; exact List.mem_singleton.mp hS ▸ le_rfl) |
| 178 | refine ⟨.monomial a S, ?_⟩ |
| 179 | intro i |
| 180 | have hmono : I i = Global.MixedBoundary.Construction.boundaryMonomialSheaf (D i) a := by |
| 181 | have ht : J i = ⊤ := by simpa only [Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf_zero] using hbound i |
| 182 | rw [hI i, ht, ← Scheme.IdealSheafData.one_eq_top, mul_one] |
| 183 | obtain ⟨Y, g, K, P, hP⟩ := S.exists_program hb (X i) (f i) (D i) (I i) hmono (E i).component_ne_bot (E i) |
| 184 | exact ⟨Y, g, K, P, .monomial a S hP⟩ |
| 185 | | succ m ih => |
| 186 | intro β ι _ _ _ a X _ _ _ f _ J I hJ hd D E hI hbound |
| 187 | have hIfun : I = fun i => Global.MixedBoundary.Construction.boundaryMonomialSheaf (D i) a * J i := funext hI |
| 188 | subst I |
| 189 | by_cases hlt : m + 1 < b |
| 190 | · let c := (m + 1) * (b - (m + 1)) |
| 191 | have hc : 0 < c := Nat.mul_pos (Nat.succ_pos m) (by omega) |
| 192 | let C (i : ι) := Global.CompanionIdeal.Construction.globalCompanionIdeal (J i) (Global.MixedBoundary.Construction.boundaryMonomialSheaf (D i) a) (m + 1) b |
| 193 | have hC (i : ι) : C i ≠ ⊥ := by |
| 194 | intro hz |
| 195 | have hle : J i ^ (b - (m + 1)) ≤ C i := le_sup_left |
| 196 | rw [hz] at hle |
| 197 | exact Integral.IdealSheafProducts.Construction.idealSheaf_pow_ne_bot (J i) (hJ i) _ (le_bot_iff.mp hle) |
| 198 | have hCb (i : ι) : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (f i) (C i) c = ⊤ := |
| 199 | Global.CompanionIdeal.Construction.globalCompanionIdeal_differential_bound (f i) (J i) (Global.MixedBoundary.Construction.boundaryMonomialSheaf (D i) a) (m + 1) b hlt (hbound i) |
| 200 | obtain ⟨S, hex⟩ := PositiveDimensionHas.Construction.exists_finite_positive_dimension_order_programs 𝒮 c hc X f C hC hd D E hCb |
| 201 | choose Y g K A order using hex |
| 202 | have hA (i : ι) := (order i).hasIncidenceTrace |
| 203 | let N := S.incidenceTrace.length |
| 204 | let D' (i : ι) := (A i).boundaryAtLength (D i) N ((hA i).stepCount (A i) (D i) S.incidenceTrace) |
| 205 | let a' := S.incidenceTrace.companionExponents a (m + 1) b |
| 206 | let J' (i : ι) := (A i).transformIdeal (J i) (m + 1) |
| 207 | let I' (i : ι) := Global.MixedBoundary.Construction.boundaryMonomialSheaf (D' i) a' * J' i |
| 208 | choose B P sameB same using fun i => |
| 209 | (hA i).exists_companion_prefix (Nat.succ_pos m) hlt (A i) (D i) S.incidenceTrace (J i) a rfl |
| 210 | let : ∀ i, Smooth (g i) := fun i => (A i).endpoint_smooth |
| 211 | let : ∀ i, IsIntegral (Y i) := fun i => (A i).endpoint_integral |
| 212 | let : ∀ i, IsLocallyNoetherian (Y i) := fun i => LocallyOfFiniteType.isLocallyNoetherian (g i) |
| 213 | let : ∀ i, CompactSpace (Y i) := fun i => QuasiCompact.compactSpace_of_compactSpace (A i).toBase |
| 214 | let : ∀ i, IsNoetherian (Y i) := fun _ => ⟨⟩ |
| 215 | have hJ' (i : ι) : J' i ≠ ⊥ := (B i).endpoint_ideal_ne_bot (hJ i) |
| 216 | have hI' (i : ι) : I' i ≠ ⊥ := (P i).endpoint_ideal_ne_bot |
| 217 | (Integral.IdealSheafProducts.Construction.idealSheaf_mul_ne_bot _ _ (Integral.CenterSequenceReplacement.Construction.boundaryMonomialSheaf_ne_bot (D i) a (E i).component_ne_bot) (hJ i)) |
| 218 | let U (i : ι) := Global.ResidualNeighborhood.Construction.residualOrderDropOpen (g i) (J' i) (m + 1) |
| 219 | let : ∀ i, IsIntegral (U i) := fun i => Global.ResidualNeighborhood.Construction.residualOrderDropOpen_integral (g i) (J' i) (hJ' i) (m + 1) |
| 220 | let : ∀ i, IsLocallyNoetherian (U i) := fun i => LocallyOfFiniteType.isLocallyNoetherian (U i).ι |
| 221 | let : ∀ i, NoetherianSpace (U i) := fun i => (U i).ι.isOpenEmbedding.isInducing.noetherianSpace |
| 222 | let DU (i : ι) (l : ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) := (D' i l).comap (U i).ι |
| 223 | let EA (i : ι) := Classical.choice ((A i).boundaryAtLength_atlas (D i) |
| 224 | (Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.uniformBoundaryCompatible.boundaryCompatible (A i) (D i) |
| 225 | ((hA i).uniformBoundaryCompatible (A i) (D i) S.incidenceTrace)) N |
| 226 | ((hA i).stepCount (A i) (D i) S.incidenceTrace)) |
| 227 | let EU (i : ι) := (EA i).comapOpen (g i) (U i).ι |
| 228 | have hJU (i : ι) : (J' i).comap (U i).ι ≠ ⊥ := Global.ResidualNeighborhoodBoundary.Construction.idealSheaf_comap_nonempty_open_ne_bot (U i).ι _ (hJ' i) |
| 229 | have hdU (i : ι) : topologicalKrullDim (U i) ≤ (d + 1 : ℕ) := |
| 230 | (U i).ι.isOpenEmbedding.isInducing.topologicalKrullDim_le.trans ((A i).endpoint_dimension_le (d + 1) (hd i)) |
| 231 | have hIU (i : ι) : (I' i).comap (U i).ι = Global.MixedBoundary.Construction.boundaryMonomialSheaf (DU i) a' * (J' i).comap (U i).ι := by |
| 232 | rw [IdealSheaf.ProductPullback.Construction.idealSheaf_comap_mul, Global.MixedBoundary.Construction.boundaryMonomialSheaf_comap_open] |
| 233 | have hboundU (i : ι) : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf ((U i).ι ≫ g i) ((J' i).comap (U i).ι) m = ⊤ := by |
| 234 | simpa only [Nat.add_sub_cancel] using Global.ResidualNeighborhood.Construction.residualOrderDropOpen_residual_bound (g i) (J' i) (m + 1) |
| 235 | obtain ⟨schedule, htail⟩ := ih a' (fun i => (U i).toScheme) (fun i => (U i).ι ≫ g i) |
| 236 | (fun i => (J' i).comap (U i).ι) (fun i => (I' i).comap (U i).ι) hJU hdU DU EU hIU hboundU |
| 237 | choose V h L T tail using htail |
| 238 | have hstart (i : ι) : ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (g i) (I' i) (b - 1)).support : Set (Y i)) ⊆ Set.range (U i).ι := by |
| 239 | have hdrop := ((hA i).companion_residual_drop (Nat.succ_pos m) hlt (A i) (D i) S.incidenceTrace |
| 240 | (J i) a rfl (hbound i) (order i).terminal_order).2 |
| 241 | exact Global.ResidualNeighborhood.Construction.residualOrderDropOpen_contains_order_support (g i) (Global.MixedBoundary.Construction.boundaryMonomialSheaf (D' i) a') (J' i) (m + 1) b hdrop |
| 242 | choose Z k M R r hR comparison hopen hremaining using fun i => |
| 243 | (T i).exists_uniform_extension_from_order_neighborhood (Y i) (g i) (I' i) (hI' i) (U i).ι rfl rfl |
| 244 | (hstart i) (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) (D' i) (EA i) (tail i).uniformBoundaryCompatible |
| 245 | exact ⟨.companion a hlt S schedule, fun i => ⟨Z i, k i, M i, (P i).append (R i), |
| 246 | .companion a hlt S schedule (A i) (order i) (B i) (sameB i) (P i) (same i) |
| 247 | (T i) (tail i) (R i) (r i) (comparison i) (hstart i) (hremaining i)⟩⟩ |
| 248 | · have hle : b ≤ m + 1 := Nat.le_of_not_gt hlt |
| 249 | obtain ⟨S, hex⟩ := PositiveDimensionHas.Construction.exists_finite_positive_dimension_order_programs 𝒮 (m + 1) (Nat.succ_pos m) X f J hJ hd D E hbound |
| 250 | choose Y g J' A order using hex |
| 251 | have hA (i : ι) := (order i).hasIncidenceTrace |
| 252 | let N := S.incidenceTrace.length |
| 253 | let D' (i : ι) := (A i).boundaryAtLength (D i) N ((hA i).stepCount (A i) (D i) S.incidenceTrace) |
| 254 | let a' := S.incidenceTrace.residualExponents a (m + 1) b |
| 255 | let I' (i : ι) := Global.MixedBoundary.Construction.boundaryMonomialSheaf (D' i) a' * J' i |
| 256 | choose P same using fun i => (hA i).exists_lower_control_prefix (A i) b hb hle (D i) S.incidenceTrace a |
| 257 | let : ∀ i, Smooth (g i) := fun i => (A i).endpoint_smooth |
| 258 | let : ∀ i, IsIntegral (Y i) := fun i => (A i).endpoint_integral |
| 259 | let : ∀ i, IsLocallyNoetherian (Y i) := fun i => LocallyOfFiniteType.isLocallyNoetherian (g i) |
| 260 | let : ∀ i, CompactSpace (Y i) := fun i => QuasiCompact.compactSpace_of_compactSpace (A i).toBase |
| 261 | let EA (i : ι) := Classical.choice ((A i).boundaryAtLength_atlas (D i) |
| 262 | (Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.uniformBoundaryCompatible.boundaryCompatible (A i) (D i) |
| 263 | ((hA i).uniformBoundaryCompatible (A i) (D i) S.incidenceTrace)) N |
| 264 | ((hA i).stepCount (A i) (D i) S.incidenceTrace)) |
| 265 | have hJ' (i : ι) : J' i ≠ ⊥ := (A i).endpoint_ideal_ne_bot (hJ i) |
| 266 | have hdY (i : ι) : topologicalKrullDim (Y i) ≤ (d + 1 : ℕ) := (A i).endpoint_dimension_le (d + 1) (hd i) |
| 267 | have hbound' (i : ι) : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (g i) (J' i) m = ⊤ := by |
| 268 | simpa only [Nat.add_sub_cancel] using (order i).terminal_order |
| 269 | obtain ⟨schedule, htail⟩ := ih a' Y g J' I' hJ' hdY D' EA (fun _ => rfl) hbound' |
| 270 | choose Z h K R tail using htail |
| 271 | exact ⟨.higher a hle S schedule, fun i => ⟨Z i, h i, K i, (P i).append (R i), |
| 272 | .higher a hle S schedule (A i) (order i) (P i) (same i) (R i) (tail i)⟩⟩ |
| 273 | |
| 274 | end |
| 275 | |
| 276 | /-! Every finite family of nonzero ideals in the next dimension has common full-boundary programs at an arbitrary positive control. -/ |
| 277 | |
| 278 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 279 | |
| 280 | theorem exists_finite_dimension_control_programs {d : ℕ} (𝒮 : Uniform.ControlProgramSystem.Construction.UniformControlProgramSystem d) |
| 281 | (b : ℕ) (hb : 0 < b) {β ι : Type} [Fintype β] [DecidableEq β] [Fintype ι] |
| 282 | (X : ι → Scheme) [∀ i, IsIntegral (X i)] [∀ i, IsLocallyNoetherian (X i)] [∀ i, CompactSpace (X i)] |
| 283 | (f : ∀ i, X i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [∀ i, Smooth (f i)] (J : ∀ i, (X i).IdealSheafData) |
| 284 | (hJ : ∀ i, J i ≠ ⊥) (hd : ∀ i, topologicalKrullDim (X i) ≤ (d + 1 : ℕ)) |
| 285 | (D : ∀ i, β → (X i).IdealSheafData) |
| 286 | (E : ∀ i, Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (f i) (D i) [Finset.univ]) : |
| 287 | ∃ (m : ℕ) (schedule : Construction.DimensionResidualSchedule 𝒮 b m β (fun _ => 0)), ∀ i, |
| 288 | ∃ (Y : Scheme) (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : Y.IdealSheafData) (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix b (X i) (f i) (J i) Y g K), |
| 289 | Construction.DimensionResidualProgram 𝒮 b schedule (X i) (f i) (J i) (J i) (D i) Y g K P := by |
| 290 | classical |
| 291 | choose bounds hbounds using fun i => Global.DifferentialOrderBound.Construction.exists_global_complex_differential_order_bound (f i) (J i) (hJ i) |
| 292 | let m := Finset.univ.sup bounds |
| 293 | have hbound (i : ι) : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (f i) (J i) m = ⊤ := |
| 294 | Global.DifferentialFiltration.Construction.smoothDifferentialIdealSheaf_top_of_le (f i) (J i) (Finset.le_sup (Finset.mem_univ i)) (hbounds i) |
| 295 | obtain ⟨schedule, hprogram⟩ := exists_finite_dimension_residual_programs 𝒮 b hb m (fun _ : β => 0) |
| 296 | X f J J hJ hd D E (fun i => by simp only [Global.MixedBoundary.Construction.boundaryMonomialSheaf, pow_zero, Finset.prod_const_one, one_mul]) hbound |
| 297 | exact ⟨m, schedule, hprogram⟩ |
| 298 | |
| 299 | end |
| 300 | |
| 301 | end OAI.AlgebraicGeometry.Resolution.Blowups.Dimension.ResidualFinite.Construction |