Source context 7 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
universe u
open CategoryTheory AlgebraicGeometry
open scoped CategoryTheory.MonObj
namespace AlgebraicCurve
variable {K F : Type u} [Field K] [Field F] [Algebra K F]theorem centered_diagonal_tame_order
(t : F) (ht : Transcendental K t)
[FiniteDimensional (IntermediateField.adjoin K {t}) F]
[Algebra.IsSeparable (IntermediateField.adjoin K {t}) F]
(σ : F →ₐ[K] PowerSeries F)
(hσt : σ t = PowerSeries.C t + PowerSeries.X)
(hσ0 : PowerSeries.constantCoeff.comp σ.toRingHom = RingHom.id F)
(v : Place K F) (i : F →ₐ[K] LaurentSeries K)
(hi : ∀ f : F, (i f).order = v.ord f)
(ρ : F →ₐ[K] PowerSeries (LaurentSeries K))
(hρ0 : PowerSeries.constantCoeff.comp ρ.toRingHom = i.toRingHom)
(e d : ℕ)
(hρ : ∀ n, 0 < n →
PowerSeries.coeff n (ρ t - PowerSeries.C (i t)) ≠ 0 →
(e : ℤ) * n + v.ord t ≤
(PowerSeries.coeff n (ρ t - PowerSeries.C (i t))).order)
(z : Localization.AtPrime
(PowerSeries.diagonalPrime (K := K) (F := F)).asIdeal)
(hz : ∀ n, -((d * (n + 1) : ℕ) : ℤ) ≤
v.ord (PowerSeries.coeff n (PowerSeries.diagonalEvaluation σ hσ0 z))) :
let c : ℤ := max 1 (2 * (d : ℤ))
let b : ℤ := min (v.ord t) c
let Q := PowerSeries.diagonalEvaluationAlong i ρ hρ0 z
∀ n, PowerSeries.coeff n (Q - PowerSeries.C (PowerSeries.constantCoeff Q)) ≠ 0 →
((e : ℤ) + b - c) * n ≤
(PowerSeries.coeff n (Q - PowerSeries.C (PowerSeries.constantCoeff Q))).order := by
intro c b Q
let S := PowerSeries.diagonalEvaluation σ hσ0 z
let A := PowerSeries.map i.toRingHom (S - PowerSeries.C (PowerSeries.constantCoeff S))
let B := ρ t - PowerSeries.C (i t)
let w := LaurentSeries.orderPlace (K := K)
have hB0 : PowerSeries.constantCoeff B = 0 := by
have ht0 : PowerSeries.constantCoeff (ρ t) = i t := RingHom.congr_fun hρ0 t
change PowerSeries.constantCoeff (ρ t - PowerSeries.C (i t)) = 0
rw [map_sub, PowerSeries.constantCoeff_C, ht0, sub_self]
have hA : ∀ m, PowerSeries.coeff m A ≠ 0 →
0 - c * m ≤ w.ord (PowerSeries.coeff m A) := by
intro m hm
have hm0 : m ≠ 0 := by
intro h
subst m
apply hm
change PowerSeries.coeff 0 (PowerSeries.map i.toRingHom
(S - PowerSeries.C (PowerSeries.constantCoeff S))) = 0
rw [PowerSeries.coeff_map, PowerSeries.coeff_zero_eq_constantCoeff_apply,
map_sub, PowerSeries.constantCoeff_C, sub_self, map_zero]
have hm1 : (1 : ℤ) ≤ (m : ℤ) := by
exact_mod_cast Nat.one_le_iff_ne_zero.mpr hm0
change 0 - c * m ≤ w.ord
(PowerSeries.coeff m (PowerSeries.map i.toRingHom
(S - PowerSeries.C (PowerSeries.constantCoeff S))))
rw [PowerSeries.coeff_map, map_sub, PowerSeries.coeff_C_of_ne_zero hm0, sub_zero,
LaurentSeries.orderPlace_ord]
change 0 - c * m ≤ (i (PowerSeries.coeff m S)).order
rw [hi]
have hc : 2 * (d : ℤ) ≤ c := le_max_right _ _
have hcm := mul_le_mul_of_nonneg_right hc (Int.natCast_nonneg m)
have hdm := mul_le_mul_of_nonneg_left hm1 (Int.natCast_nonneg d)
calc
0 - c * (m : ℤ) ≤ -((d * (m + 1) : ℕ) : ℤ) := by
push_cast
nlinarith
_ ≤ v.ord (PowerSeries.coeff m S) := hz m
have hB : ∀ n, 0 < n → PowerSeries.coeff n B ≠ 0 →
(e : ℤ) * n + b ≤ w.ord (PowerSeries.coeff n B) := by
intro n hn hne
rw [LaurentSeries.orderPlace_ord]
exact (add_le_add_right (min_le_left (v.ord t) c) _).trans (hρ n hn hne)
have hQ : Q - PowerSeries.C (PowerSeries.constantCoeff Q) =
PowerSeries.subst B A :=
PowerSeries.diagonalEvaluationAlong_centered_substitution
t ht σ hσt hσ0 i ρ hρ0 z
intro n hne
rw [hQ] at hne ⊢
have h := w.powerSeries_subst_coeff_ord_affine A B 0 c e b
(min_le_right _ _) hB0 hA hB n hne
rw [LaurentSeries.orderPlace_ord] at h
simpa only [zero_add] using h