/-
Copyright (c) 2021 Aaron Anderson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Aaron Anderson
-/
module
public import Mathlib.RingTheory.HahnSeries.Multiplication
public import Mathlib.RingTheory.Valuation.Basic
/-!
# Valuations on Hahn Series rings
If `Γ` is a linearly ordered cancellative monoid and `R` is a domain, then the domain `R⟦Γ⟧`
admits an additive valuation given by `orderTop`.
## Main Definitions
* `HahnSeries.addVal Γ R` defines an `AddValuation` on `R⟦Γ⟧` when `Γ` is linearly
ordered.
## TODO
* Multiplicative valuations
* Add any API for Laurent series valuations that do not depend on `Γ = ℤ`.
## References
- [J. van der Hoeven, *Operators on Generalized Power Series*][van_der_hoeven]
-/
@[expose] public section
noncomputable section
variable {Γ R : Type*}
namespace HahnSeries
section Valuation
variable [AddCancelCommMonoid Γ] [LinearOrder Γ] [IsOrderedCancelAddMonoid Γ] [Ring R] [IsDomain R]
variable (Γ R) in
/-- The additive valuation on `R⟦Γ⟧` returning the smallest index at which
a Hahn Series has a nonzero coefficient, or `⊤` for the 0 series. -/
def addVal : AddValuation R⟦Γ⟧ (WithTop Γ) :=
AddValuation.of orderTop orderTop_zero (orderTop_one) (fun _ _ => min_orderTop_le_orderTop_add)
fun x y => by
by_cases hx : x = 0; · simp [hx]
by_cases hy : y = 0; · simp [hy]
rw [← order_eq_orderTop_of_ne_zero hx, ← order_eq_orderTop_of_ne_zero hy,
← order_eq_orderTop_of_ne_zero (mul_ne_zero hx hy), ← WithTop.coe_add, WithTop.coe_eq_coe,
order_mul hx hy]
theorem addVal_apply {x : R⟦Γ⟧} : addVal Γ R x = x.orderTop :=
AddValuation.of_apply _
@[simp]
theorem addVal_apply_of_ne {x : R⟦Γ⟧} (hx : x ≠ 0) : addVal Γ R x = x.order :=
addVal_apply.trans (order_eq_orderTop_of_ne_zero hx).symm
theorem addVal_le_of_coeff_ne_zero {x : R⟦Γ⟧} {g : Γ} (h : x.coeff g ≠ 0) : addVal Γ R x ≤ g :=
orderTop_le_of_coeff_ne_zero h
end Valuation
end HahnSeries
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland