The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V14. Topological algebra and infinite sums

Mathlib.Topology.Algebra.Valued.WithVal

158 declarations. Mathlib docs · Source

Ring topologised by a valuation

For a given valuation v : Valuation R Γ₀ on a ring R taking values in Γ₀, this file defines the type synonym WithVal v of R. By assigning a Valued (WithVal v) Γ₀ instance, WithVal v represents the ring R equipped with the topology coming from v. The type synonym WithVal v is in isomorphism to R as rings via WithVal.equiv v. This isomorphism should be used to explicitly map terms of WithVal v to terms of R.

The WithVal type synonym is used to define the completion of R with respect to v in Valuation.Completion. An example application of this is IsDedekindDomain.HeightOneSpectrum.adicCompletion, which is the completion of the field of fractions of a Dedekind domain with respect to a height-one prime ideal of the domain.

Main definitions

  • WithVal : type synonym for a ring equipped with the topology coming from a valuation.
  • WithVal.equiv : the canonical ring equivalence between WithValuation v and R.
  • Valuation.Completion : the uniform space completion of a field K according to the uniform structure defined by the specified valuation.

The completion of a field with respect to a valuation.

The uniform isomorphism between WithVal v and WithVal w when v and w are equivalent.

theorem Valuation.IsEquiv.uniformEquiv.congr_simp E1 #

∀ {R : Type u_4} {Γ₀ : Type u_5} {Γ₀' : Type u_6} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀]
  [inst_2 : LinearOrderedCommGroupWithZero Γ₀'] {v : Valuation R Γ₀} {w : Valuation R Γ₀'} (h : v.IsEquiv w),
  h.uniformEquiv = h.uniformEquiv

theorem IsIntegralClosure.equiv.congr_simp E1 #

∀ (R : Type u_1) (A : Type u_2) (B : Type u_3) [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [inst_5 : IsIntegralClosure A R B] (A' : Type u_4)
  [inst_6 : CommRing A'] [inst_7 : Algebra A' B] [inst_8 : IsIntegralClosure A' R B] [inst_9 : Algebra R A]
  [inst_10 : Algebra R A'] [inst_11 : IsScalarTower R A B] [inst_12 : IsScalarTower R A' B],
  IsIntegralClosure.equiv R A B A' = IsIntegralClosure.equiv R A B A'

theorem WithVal.toVal.inj E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} {inst : LinearOrderedCommGroupWithZero Γ₀} {inst_1 : Ring R} {v : Valuation R Γ₀}
  {ofVal ofVal_1 : R}, WithVal.toVal v ofVal = WithVal.toVal v ofVal_1 → ofVal = ofVal_1

theorem Valuation.IsEquiv.orderRingIso.congr_simp E1 #

∀ {R : Type u_4} {Γ₀ : Type u_5} {Γ₀' : Type u_6} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀]
  [inst_2 : LinearOrderedCommGroupWithZero Γ₀'] {v : Valuation R Γ₀} {w : Valuation R Γ₀'} (h : v.IsEquiv w),
  h.orderRingIso = h.orderRingIso

def WithVal.ctorIdx E1 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    {inst : LinearOrderedCommGroupWithZero Γ₀} → {inst_1 : Ring R} → {v : Valuation R Γ₀} → WithVal v → ℕ

theorem WithVal.toVal.injEq E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (ofVal ofVal_1 : R), (WithVal.toVal v ofVal = WithVal.toVal v ofVal_1) = (ofVal = ofVal_1)

structure WithVal E3 #

{R : Type u_1} →
  {Γ₀ : Type u_2} → [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → Valuation R Γ₀ → Type u_1

Type synonym for a ring equipped with the topology coming from a valuation.

ctor WithVal.toVal E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → R → WithVal v

Converts an element of R to an element of WithVal v.

abbrev WithVal.ofVal E1 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → {v : Valuation R Γ₀} → WithVal v → R

Converts an element of WithVal v to an element of R.

def WithVal.delabToVal E1 #

Lean.PrettyPrinter.Delaborator.Delab

This prevents toVal v x being printed as { ofAbs := x } by delabStructureInstance.

theorem WithVal.ofVal_toVal E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x : R), (WithVal.toVal v x).ofVal = x

theorem WithVal.toVal_ofVal E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x : WithVal v), WithVal.toVal v x.ofVal = x

theorem WithVal.ofVal_surjective E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  Function.Surjective WithVal.ofVal

theorem WithVal.toVal_surjective E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  Function.Surjective (WithVal.toVal v)

theorem WithVal.ofVal_injective E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  Function.Injective WithVal.ofVal

theorem WithVal.toVal_injective E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  Function.Injective (WithVal.toVal v)

theorem WithVal.ofVal_bijective E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  Function.Bijective WithVal.ofVal

theorem WithVal.toVal_bijective E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  Function.Bijective (WithVal.toVal v)

instance WithVal.instZero E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Zero (WithVal v)

instance WithVal.instOne E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → One (WithVal v)

instance WithVal.instAdd E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Add (WithVal v)

instance WithVal.instSub E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Sub (WithVal v)

instance WithVal.instNeg E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Neg (WithVal v)

instance WithVal.instMul E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Mul (WithVal v)

instance WithVal.instSMul E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      [inst_1 : Ring R] → (v : Valuation R Γ₀) → {S : Type u_3} → [SMul S R] → SMul S (WithVal v)

instance WithVal.instPowNat E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Pow (WithVal v) ℕ

instance WithVal.instNatCast E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → NatCast (WithVal v)

instance WithVal.instIntCast E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → IntCast (WithVal v)

theorem WithVal.toVal_zero E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  WithVal.toVal v 0 = 0

theorem WithVal.ofVal_zero E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  WithVal.ofVal 0 = 0

theorem WithVal.toVal_one E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  WithVal.toVal v 1 = 1

theorem WithVal.ofVal_one E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  WithVal.ofVal 1 = 1

theorem WithVal.toVal_add E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x y : R), WithVal.toVal v (x + y) = WithVal.toVal v x + WithVal.toVal v y

theorem WithVal.ofVal_add E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x y : WithVal v), (x + y).ofVal = x.ofVal + y.ofVal

theorem WithVal.toVal_sub E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x y : R), WithVal.toVal v (x - y) = WithVal.toVal v x - WithVal.toVal v y

theorem WithVal.ofVal_sub E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x y : WithVal v), (x - y).ofVal = x.ofVal - y.ofVal

theorem WithVal.toVal_mul E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x y : R), WithVal.toVal v (x * y) = WithVal.toVal v x * WithVal.toVal v y

theorem WithVal.ofVal_mul E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x y : WithVal v), (x * y).ofVal = x.ofVal * y.ofVal

theorem WithVal.toVal_neg E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x : R), WithVal.toVal v (-x) = -WithVal.toVal v x

theorem WithVal.ofVal_neg E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x : WithVal v), (-x).ofVal = -x.ofVal

theorem WithVal.toVal_pow E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x : R) (n : ℕ), WithVal.toVal v (x ^ n) = WithVal.toVal v x ^ n

theorem WithVal.ofVal_pow E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x : WithVal v) (n : ℕ), (x ^ n).ofVal = x.ofVal ^ n

theorem WithVal.toVal_smul E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : SMul S R] (s : S) (r : R), WithVal.toVal v (s • r) = s • WithVal.toVal v r

theorem WithVal.ofVal_smul E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : SMul S R] (s : S) (x : WithVal v), (s • x).ofVal = s • x.ofVal

theorem WithVal.toVal_natCast E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (n : ℕ), WithVal.toVal v ↑n = ↑n

theorem WithVal.ofVal_natCast E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (n : ℕ), (↑n).ofVal = ↑n

theorem WithVal.toVal_intCast E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (z : ℤ), WithVal.toVal v ↑z = ↑z

theorem WithVal.ofVal_intCast E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (z : ℤ), (↑z).ofVal = ↑z

instance WithVal.instRing E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Ring (WithVal v)

instance WithVal.instInhabited E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Inhabited (WithVal v)

instance WithVal.instPreorder E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Preorder (WithVal v)

theorem WithVal.le_def E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] {v : Valuation R Γ₀}
  {a b : WithVal v}, a ≤ b ↔ v a.ofVal ≤ v b.ofVal

theorem WithVal.lt_def E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] {v : Valuation R Γ₀}
  {a b : WithVal v}, a < b ↔ v a.ofVal < v b.ofVal

theorem WithVal.toVal_eq_zero E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x : R), WithVal.toVal v x = 0 ↔ x = 0

theorem WithVal.ofVal_eq_zero E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x : WithVal v), x.ofVal = 0 ↔ x = 0

def WithVal.equiv E3 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → WithVal v ≃+* R

The canonical ring equivalence between WithVal v and R.

theorem WithVal.equiv_symm_apply E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (ofVal : R), (WithVal.equiv v).symm ofVal = WithVal.toVal v ofVal

theorem WithVal.equiv_apply E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (self : WithVal v), (WithVal.equiv v) self = self.ofVal

def WithVal.map E1 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      [inst_1 : Ring R] →
        (v : Valuation R Γ₀) →
          {S : Type u_3} →
            [inst_2 : Ring S] →
              {Λ₀ : Type u_4} →
                [inst_3 : LinearOrderedCommGroupWithZero Λ₀] →
                  (w : Valuation S Λ₀) → (R →+* S) → WithVal v →+* WithVal w

Lift a ring hom to WithVal.

theorem WithVal.map_id E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  WithVal.map v v (RingHom.id R) = RingHom.id (WithVal v)

theorem WithVal.map_comp E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : Ring S] {Λ₀ : Type u_4} [inst_3 : LinearOrderedCommGroupWithZero Λ₀] (w : Valuation S Λ₀)
  {T : Type u_5} [inst_4 : Ring T] (u : Valuation T Γ₀) (f : S →+* T) (g : R →+* S),
  WithVal.map v u (f.comp g) = (WithVal.map w u f).comp (WithVal.map v w g)

theorem WithVal.map_apply E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : Ring S] {Λ₀ : Type u_4} [inst_3 : LinearOrderedCommGroupWithZero Λ₀] (w : Valuation S Λ₀)
  (f : R →+* S) (x : WithVal v), (WithVal.map v w f) x = WithVal.toVal w (f x.ofVal)

def WithVal.congr E1 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      [inst_1 : Ring R] →
        (v : Valuation R Γ₀) →
          {S : Type u_3} →
            [inst_2 : Ring S] →
              {Λ₀ : Type u_4} →
                [inst_3 : LinearOrderedCommGroupWithZero Λ₀] → (w : Valuation S Λ₀) → R ≃+* S → WithVal v ≃+* WithVal w

Lift a RingEquiv to WithVal.

theorem WithVal.congr_refl E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  WithVal.congr v v (RingEquiv.refl R) = RingEquiv.refl (WithVal v)

theorem WithVal.congr_symm E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : Ring S] {Λ₀ : Type u_4} [inst_3 : LinearOrderedCommGroupWithZero Λ₀] (w : Valuation S Λ₀)
  (f : R ≃+* S), (WithVal.congr v w f).symm = WithVal.congr w v f.symm

theorem WithVal.congr_trans E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : Ring S] {Λ₀ : Type u_4} [inst_3 : LinearOrderedCommGroupWithZero Λ₀] (w : Valuation S Λ₀)
  {T : Type u_5} [inst_4 : Ring T] (u : Valuation T Γ₀) (f : R ≃+* S) (g : S ≃+* T),
  WithVal.congr v u (f.trans g) = (WithVal.congr v w f).trans (WithVal.congr w u g)

theorem WithVal.congr_apply E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : Ring S] {Λ₀ : Type u_4} [inst_3 : LinearOrderedCommGroupWithZero Λ₀] (w : Valuation S Λ₀)
  (f : R ≃+* S) (x : WithVal v), (WithVal.congr v w f) x = WithVal.toVal w (f x.ofVal)

theorem WithVal.congr_symm_apply E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : Ring S] {Λ₀ : Type u_4} [inst_3 : LinearOrderedCommGroupWithZero Λ₀] (w : Valuation S Λ₀)
  (f : R ≃+* S) (x : WithVal w), (WithVal.congr v w f).symm x = WithVal.toVal v (f.symm x.ofVal)

def WithVal.valuation E1 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Valuation (WithVal v) Γ₀

Canonical valuation on the WithVal v type synonym.

theorem WithVal.valuation_toVal E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x : R), (WithVal.valuation v) (WithVal.toVal v x) = v x

theorem WithVal.valuation_apply_eq_ofVal E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (x : WithVal v), (WithVal.valuation v) x = v x.ofVal

instance WithVal.instValued E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Valued (WithVal v) Γ₀

theorem WithVal.apply_ofVal E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (r : WithVal v), v r.ofVal = Valued.v r

theorem WithVal.val_apply_equiv E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (r : WithVal v), v ((WithVal.equiv v) r) = Valued.v r

theorem WithVal.valued_toVal E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  (r : R), Valued.v (WithVal.toVal v r) = v r

instance WithVal.instCharZero E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  [CharZero R], CharZero (WithVal v)

instance WithVal.instValuativeRel E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Ring R] → (v : Valuation R Γ₀) → ValuativeRel (WithVal v)

instance WithVal.instCompatibleValuation E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  (WithVal.valuation v).Compatible

instance WithVal.instIsValuativeTopology E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀),
  IsValuativeTopology (WithVal v)

instance WithVal.instCommRing E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : CommRing R] → (v : Valuation R Γ₀) → CommRing (WithVal v)

instance WithVal.instSMul_1 E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      [inst_1 : Ring R] → (v : Valuation R Γ₀) → {S : Type u_3} → [SMul R S] → SMul (WithVal v) S

theorem WithVal.smul_left_def E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : SMul R S] (x : WithVal v) (s : S), x • s = x.ofVal • s

instance WithVal.instFaithfulSMul E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : SMul R S] [FaithfulSMul R S], FaithfulSMul (WithVal v) S

theorem WithVal.smul_right_def E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : SMul S R] (s : S) (x : WithVal v), s • x = WithVal.toVal v (s • x.ofVal)

instance WithVal.instFaithfulSMul_1 E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : SMul S R] [FaithfulSMul S R], FaithfulSMul S (WithVal v)

instance WithVal.instIsScalarTower E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] {S : Type u_3}
  {P : Type u_4} [inst_2 : SMul S P] [inst_3 : SMul R S] [inst_4 : SMul R P] [IsScalarTower R S P] (v : Valuation R Γ₀),
  IsScalarTower (WithVal v) S P

instance WithVal.instIsScalarTower_1 E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {S : Type u_3} {P : Type u_4}
  [inst_1 : Ring S] [inst_2 : SMul P S] [inst_3 : SMul R S] [inst_4 : SMul P R] [IsScalarTower P R S]
  (v : Valuation S Γ₀), IsScalarTower P R (WithVal v)

instance WithVal.instIsScalarTower_2 E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {S : Type u_3} {P : Type u_4}
  [inst_1 : Ring S] [inst_2 : SMul P R] [inst_3 : SMul S R] [inst_4 : SMul P S] [IsScalarTower P S R]
  (v : Valuation S Γ₀), IsScalarTower P (WithVal v) R

instance WithVal.instModule E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      [inst_1 : Ring R] →
        (v : Valuation R Γ₀) → {S : Type u_3} → [inst_2 : AddCommMonoid S] → [Module R S] → Module (WithVal v) S

instance WithVal.instFinite E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] (v : Valuation R Γ₀)
  {S : Type u_3} [inst_2 : AddCommMonoid S] [inst_3 : Module R S] [Module.Finite R S], Module.Finite (WithVal v) S

instance WithVal.instModule_1 E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      [inst_1 : Ring R] →
        (v : Valuation R Γ₀) → {S : Type u_3} → [inst_2 : Semiring S] → [Module S R] → Module S (WithVal v)

def WithVal.linearEquiv E1 #

(R : Type u_1) →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      [inst_1 : Ring R] →
        {S : Type u_3} → [inst_2 : Ring S] → [inst_3 : Module R S] → (v : Valuation S Γ₀) → WithVal v ≃ₗ[R] S

The canonical R-linear isomorphism between WithVal v and S, when v : Valuation S Γ₀.

theorem WithVal.linearEquiv_apply E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] {S : Type u_3}
  [inst_2 : Ring S] [inst_3 : Module R S] (v : Valuation S Γ₀) (x : WithVal v), (WithVal.linearEquiv R v) x = x.ofVal

theorem WithVal.linearEquiv_symm_apply E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] {S : Type u_3}
  [inst_2 : Ring S] [inst_3 : Module R S] (v : Valuation S Γ₀) (x : S),
  (WithVal.linearEquiv R v).symm x = WithVal.toVal v x

instance WithVal.instFinite_1 E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Ring R] {S : Type u_3}
  [inst_2 : Ring S] [inst_3 : Module R S] (v : Valuation S Γ₀) [Module.Finite R S], Module.Finite R (WithVal v)

instance WithVal.instAlgebra E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      {S : Type u_3} →
        [inst_1 : CommRing R] → (v : Valuation R Γ₀) → [inst_2 : Semiring S] → [Algebra R S] → Algebra (WithVal v) S

theorem WithVal.algebraMap_left_apply E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {S : Type u_3} [inst_1 : CommRing R]
  (v : Valuation R Γ₀) [inst_2 : Semiring S] [inst_3 : Algebra R S] (s : WithVal v),
  (algebraMap (WithVal v) S) s = (algebraMap R S) s.ofVal

instance WithVal.instIsFractionRing E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : CommRing R] (v : Valuation R Γ₀)
  {S : Type u_4} [inst_2 : CommSemiring S] [inst_3 : Algebra R S] [i : IsFractionRing R S], IsFractionRing (WithVal v) S

theorem WithVal.algebraMap_left_injective E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {S : Type u_3} [inst_1 : CommRing R]
  (v : Valuation R Γ₀) [inst_2 : Semiring S] [inst_3 : Algebra R S],
  Function.Injective ⇑(algebraMap R S) → Function.Injective ⇑(algebraMap (WithVal v) S)

instance WithVal.instAlgebra_1 E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      {S : Type u_3} →
        [inst_1 : CommSemiring R] → [inst_2 : Ring S] → [Algebra R S] → (v : Valuation S Γ₀) → Algebra R (WithVal v)

theorem WithVal.algebraMap_right_apply E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {S : Type u_3} [inst_1 : CommSemiring R]
  [inst_2 : Ring S] [inst_3 : Algebra R S] (v : Valuation S Γ₀) (r : R),
  (algebraMap R (WithVal v)) r = WithVal.toVal v ((algebraMap R S) r)

theorem WithVal.algebraMap_right_injective E1 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {S : Type u_3} [inst_1 : CommSemiring R]
  [inst_2 : Ring S] [inst_3 : Algebra R S] (v : Valuation S Γ₀),
  Function.Injective ⇑(algebraMap R S) → Function.Injective ⇑(algebraMap R (WithVal v))

def WithVal.algEquiv E1 #

(R : Type u_1) →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      {S : Type u_3} →
        [inst_1 : CommSemiring R] →
          [inst_2 : Ring S] → [inst_3 : Algebra R S] → (v : Valuation S Γ₀) → WithVal v ≃ₐ[R] S

The canonical R-algebra isomorphism between WithVal v and S, when v : Valuation S Γ₀.

theorem WithVal.algEquiv_apply E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {S : Type u_3} [inst_1 : CommSemiring R]
  [inst_2 : Ring S] [inst_3 : Algebra R S] (v : Valuation S Γ₀) (x : WithVal v), (WithVal.algEquiv R v) x = x.ofVal

theorem WithVal.algEquiv_symm_apply E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {S : Type u_3} [inst_1 : CommSemiring R]
  [inst_2 : Ring S] [inst_3 : Algebra R S] (v : Valuation S Γ₀) (x : S),
  (WithVal.algEquiv R v).symm x = WithVal.toVal v x

instance WithVal.instIsLocalization E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : CommSemiring R] {S : Type u_4}
  [inst_2 : CommRing S] [inst_3 : Algebra R S] (M : Submonoid R) [IsLocalization M S] (v : Valuation S Γ₀),
  IsLocalization M (WithVal v)

instance WithVal.instDiv E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : DivisionRing R] → (v : Valuation R Γ₀) → Div (WithVal v)

instance WithVal.instInv E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : DivisionRing R] → (v : Valuation R Γ₀) → Inv (WithVal v)

instance WithVal.instPowInt E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : DivisionRing R] → (v : Valuation R Γ₀) → Pow (WithVal v) ℤ

instance WithVal.instNNRatCast E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      [inst_1 : DivisionRing R] → (v : Valuation R Γ₀) → NNRatCast (WithVal v)

instance WithVal.instRatCast E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : DivisionRing R] → (v : Valuation R Γ₀) → RatCast (WithVal v)

theorem WithVal.toVal_div E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : DivisionRing R]
  (v : Valuation R Γ₀) (x y : R), WithVal.toVal v (x / y) = WithVal.toVal v x / WithVal.toVal v y

theorem WithVal.ofVal_div E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : DivisionRing R]
  (v : Valuation R Γ₀) (x y : WithVal v), (x / y).ofVal = x.ofVal / y.ofVal

theorem WithVal.toVal_inv E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : DivisionRing R]
  (v : Valuation R Γ₀) (x : R), WithVal.toVal v x⁻¹ = (WithVal.toVal v x)⁻¹

theorem WithVal.ofVal_inv E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : DivisionRing R]
  (v : Valuation R Γ₀) (x : WithVal v), x⁻¹.ofVal = x.ofVal⁻¹

theorem WithVal.toVal_zpow E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : DivisionRing R]
  (v : Valuation R Γ₀) (x : R) (z : ℤ), WithVal.toVal v (x ^ z) = WithVal.toVal v x ^ z

theorem WithVal.ofVal_zpow E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : DivisionRing R]
  (v : Valuation R Γ₀) (x : WithVal v) (z : ℤ), (x ^ z).ofVal = x.ofVal ^ z

theorem WithVal.toVal_nnratCast E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : DivisionRing R]
  (v : Valuation R Γ₀) (q : ℚ≥0), WithVal.toVal v ↑q = ↑q

theorem WithVal.ofVal_nnratCast E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : DivisionRing R]
  (v : Valuation R Γ₀) (q : ℚ≥0), (↑q).ofVal = ↑q

theorem WithVal.toVal_ratCast E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : DivisionRing R]
  (v : Valuation R Γ₀) (q : ℚ), WithVal.toVal v ↑q = ↑q

theorem WithVal.ofVal_ratCast E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : DivisionRing R]
  (v : Valuation R Γ₀) (q : ℚ), (↑q).ofVal = ↑q

instance WithVal.instDivisionRing E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] →
      [inst_1 : DivisionRing R] → (v : Valuation R Γ₀) → DivisionRing (WithVal v)

instance WithVal.instField E0 #

{R : Type u_1} →
  {Γ₀ : Type u_2} →
    [inst : LinearOrderedCommGroupWithZero Γ₀] → [inst_1 : Field R] → (v : Valuation R Γ₀) → Field (WithVal v)

instance WithVal.instNumberField E0 #

∀ {R : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] [inst_1 : Field R] (v : Valuation R Γ₀)
  [NumberField R], NumberField (WithVal v)

theorem WithVal.valueGroup_eq E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {R : Type u_3} [inst_1 : Ring R] (v : Valuation R Γ₀),
  (↑Valued.v).valueGroup = (↑v).valueGroup

def WithVal.valueGroupEquiv E1 #

{Γ₀ : Type u_2} →
  [inst : LinearOrderedCommGroupWithZero Γ₀] →
    {R : Type u_3} → [inst_1 : Ring R] → (v : Valuation R Γ₀) → ↥(↑Valued.v).valueGroup ≃* ↥(↑v).valueGroup

The multiplicative equivalence between the valueGroup of the valuation on WithVal v and the valuation v.

theorem WithVal.valueGroupEquiv_symm_apply E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {R : Type u_3} [inst_1 : Ring R] (v : Valuation R Γ₀)
  (b : { b // (fun x ↦ x ∈ ↑(↑v).valueGroup) b }), (WithVal.valueGroupEquiv v).symm b = ⟨↑b, ⋯⟩

theorem WithVal.valueGroupEquiv_apply E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {R : Type u_3} [inst_1 : Ring R] (v : Valuation R Γ₀)
  (a : { a // (fun x ↦ x ∈ ↑(↑Valued.v).valueGroup) a }), (WithVal.valueGroupEquiv v) a = ⟨↑a, ⋯⟩

theorem WithVal.strictMono_valueGroupEquiv E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {R : Type u_3} [inst_1 : Ring R] (v : Valuation R Γ₀),
  StrictMono ⇑(WithVal.valueGroupEquiv v)

theorem WithVal.strictMono_valueGroupEquiv_symm E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {R : Type u_3} [inst_1 : Ring R] (v : Valuation R Γ₀),
  StrictMono ⇑(WithVal.valueGroupEquiv v).symm

def WithVal.valueGroupOrderIso₀ E1 #

{Γ₀ : Type u_2} →
  [inst : LinearOrderedCommGroupWithZero Γ₀] →
    {R : Type u_3} → [inst_1 : Ring R] → (v : Valuation R Γ₀) → (↑Valued.v).ValueGroup₀ ≃*o (↑v).ValueGroup₀

The order-preserving, multiplicative equivalence between the ValueGroup₀ of the valuation on WithVal v and the valuation v.

theorem WithVal.valueGroupOrderIso₀_symm_apply E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {R : Type u_3} [inst_1 : Ring R] (v : Valuation R Γ₀)
  (a : WithZero ↥(↑v).valueGroup),
  (WithVal.valueGroupOrderIso₀ v).symm a = (WithZero.map' ↑(WithVal.valueGroupEquiv v).symm) a

theorem WithVal.valueGroupOrderIso₀_apply E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {R : Type u_3} [inst_1 : Ring R] (v : Valuation R Γ₀)
  (a : WithZero ↥(↑Valued.v).valueGroup),
  (WithVal.valueGroupOrderIso₀ v) a = (WithZero.map' ↑(WithVal.valueGroupEquiv v)) a

theorem WithVal.valueGroupOrderIso₀_restrict E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {R : Type u_3} [inst_1 : Ring R] (v : Valuation R Γ₀)
  (b : WithVal v), (WithVal.valueGroupOrderIso₀ v) ((WithVal.valuation v).restrict b) = v.restrict b.ofVal

theorem WithVal.valueGroupOrderIso₀_symm_restrict E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {R : Type u_3} [inst_1 : Ring R] (v : Valuation R Γ₀)
  (b : R), (WithVal.valueGroupOrderIso₀ v).symm (v.restrict b) = Valued.v.restrict (WithVal.toVal v b)

theorem WithVal.strictMono_valueGroupOrderIso₀ E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {R : Type u_3} [inst_1 : Ring R] (v : Valuation R Γ₀),
  StrictMono ⇑(WithVal.valueGroupOrderIso₀ v)

theorem WithVal.strictMono_valueGroupOrderIso₀_symm E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {R : Type u_3} [inst_1 : Ring R] (v : Valuation R Γ₀),
  StrictMono ⇑(WithVal.valueGroupOrderIso₀ v).symm

abbrev Valuation.Completion E3 #

{Γ₀ : Type u_2} →
  [inst : LinearOrderedCommGroupWithZero Γ₀] → {R : Type u_3} → [inst_1 : Ring R] → Valuation R Γ₀ → Type u_3

The completion of a field with respect to a valuation.

instance Valuation.instCoeCompletion E0 #

{Γ₀ : Type u_2} →
  [inst : LinearOrderedCommGroupWithZero Γ₀] →
    {R : Type u_3} → [inst_1 : Ring R] → (v : Valuation R Γ₀) → Coe R v.Completion

def Valuation.IsEquiv.orderRingIso E1 #

{R : Type u_4} →
  {Γ₀ : Type u_5} →
    {Γ₀' : Type u_6} →
      [inst : Ring R] →
        [inst_1 : LinearOrderedCommGroupWithZero Γ₀] →
          [inst_2 : LinearOrderedCommGroupWithZero Γ₀'] →
            {v : Valuation R Γ₀} → {w : Valuation R Γ₀'} → v.IsEquiv w → WithVal v ≃+*o WithVal w

If two valuations v and w are equivalent then WithVal v is order-isomorphic to WithVal w.

theorem Valuation.IsEquiv.orderRingIso_apply E0 #

∀ {R : Type u_4} {Γ₀ : Type u_5} {Γ₀' : Type u_6} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀]
  [inst_2 : LinearOrderedCommGroupWithZero Γ₀'] {v : Valuation R Γ₀} {w : Valuation R Γ₀'} (h : v.IsEquiv w)
  (x : WithVal v), h.orderRingIso x = WithVal.toVal w x.ofVal

theorem Valuation.IsEquiv.orderRingIso_symm_apply E0 #

∀ {R : Type u_4} {Γ₀ : Type u_5} {Γ₀' : Type u_6} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀]
  [inst_2 : LinearOrderedCommGroupWithZero Γ₀'] {v : Valuation R Γ₀} {w : Valuation R Γ₀'} (h : v.IsEquiv w)
  (x : WithVal w), h.orderRingIso.symm x = WithVal.toVal v x.ofVal

theorem Valuation.IsEquiv.uniformContinuous_equiv E1 #

∀ {R : Type u_4} {Γ₀ : Type u_5} {Γ₀' : Type u_6} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀]
  [inst_2 : LinearOrderedCommGroupWithZero Γ₀'] {v : Valuation R Γ₀} {w : Valuation R Γ₀'} [hval : Valued R Γ₀'],
  Valued.v = w → v.IsEquiv w → UniformContinuous ⇑(WithVal.equiv v)

theorem Valuation.IsEquiv.uniformContinuous_equiv_symm E1 #

∀ {R : Type u_4} {Γ₀ : Type u_5} {Γ₀' : Type u_6} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀]
  [inst_2 : LinearOrderedCommGroupWithZero Γ₀'] {v : Valuation R Γ₀} {w : Valuation R Γ₀'} [hval : Valued R Γ₀'],
  Valued.v = w → w.IsEquiv v → UniformContinuous ⇑(WithVal.equiv v).symm

theorem Valuation.IsEquiv.uniformContinuous E1 #

∀ {R : Type u_4} {Γ₀ : Type u_5} {Γ₀' : Type u_6} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀]
  [inst_2 : LinearOrderedCommGroupWithZero Γ₀'] {v : Valuation R Γ₀} {w : Valuation R Γ₀'},
  v.IsEquiv w → UniformContinuous ⇑(RingHom.id R)

theorem Valuation.IsEquiv.uniformContinuous_congr E1 #

∀ {R : Type u_4} {Γ₀ : Type u_5} {Γ₀' : Type u_6} [inst : Ring R] [inst_1 : LinearOrderedCommGroupWithZero Γ₀]
  [inst_2 : LinearOrderedCommGroupWithZero Γ₀'] {v : Valuation R Γ₀} {w : Valuation R Γ₀'},
  v.IsEquiv w → UniformContinuous ⇑(WithVal.congr v w (RingEquiv.refl R))

def Valuation.IsEquiv.uniformEquiv E1 #

{R : Type u_4} →
  {Γ₀ : Type u_5} →
    {Γ₀' : Type u_6} →
      [inst : Ring R] →
        [inst_1 : LinearOrderedCommGroupWithZero Γ₀] →
          [inst_2 : LinearOrderedCommGroupWithZero Γ₀'] →
            {v : Valuation R Γ₀} → {w : Valuation R Γ₀'} → v.IsEquiv w → WithVal v ≃ᵤ WithVal w

If two valuations v and w are equivalent then WithVal v and WithVal w are isomorphic as uniform spaces.

def WithVal.uniformEquiv E1 #

{R : Type u_4} →
  {Γ₀ : Type u_5} →
    {Γ₀' : Type u_6} →
      [inst : Ring R] →
        [inst_1 : LinearOrderedCommGroupWithZero Γ₀] →
          [inst_2 : LinearOrderedCommGroupWithZero Γ₀'] →
            {v : Valuation R Γ₀} →
              {w : Valuation R Γ₀'} → [inst_3 : Valued R Γ₀'] → Valued.v = w → v.IsEquiv w → WithVal v ≃ᵤ R

Let v : Valuation R Γ₀. If R has Valued R Γ₀' defined via construction through w : Valuation R Γ₀', with v equivalent to w, then WithVal.equiv defines a uniform space isomorphism WithVal v ≃ᵤ R.

theorem Valuation.exists_div_eq_of_surjective E1 #

∀ {K : Type u_7} [inst : DivisionRing K] {Γ₀ : Type u_8} [inst_1 : LinearOrderedCommGroupWithZero Γ₀]
  {v : Valuation K Γ₀}, Function.Surjective ⇑v → ∀ (γ : Γ₀ˣ), ∃ r s, 0 < v r ∧ 0 < v s ∧ v r / v s = ↑γ

theorem Valuation.restrict_exists_div_eq E0 #

∀ {K : Type u_7} [inst : DivisionRing K] {Γ₀ : Type u_8} [inst_1 : LinearOrderedCommGroupWithZero Γ₀]
  (v : Valuation K Γ₀) (γ : (↑v).ValueGroup₀ˣ), ∃ r s, 0 < v r ∧ 0 < v s ∧ v.restrict r / v.restrict s = ↑γ

theorem Valuation.IsEquiv.valuedCompletion_le_one_iff E0 #

∀ {Γ₀ : Type u_5} {Γ₀' : Type u_6} [inst : LinearOrderedCommGroupWithZero Γ₀]
  [inst_1 : LinearOrderedCommGroupWithZero Γ₀'] {K : Type u_7} [inst_2 : Field K] {v : Valuation K Γ₀}
  {w : Valuation K Γ₀'} (h : v.IsEquiv w) {x : v.Completion},
  Valued.v x ≤ 1 ↔ Valued.v ((UniformSpace.Completion.mapEquiv h.uniformEquiv) x) ≤ 1

instance NumberField.RingOfIntegers.instCoeHeadWithVal E0 #

{Γ₀ : Type u_2} →
  [inst : LinearOrderedCommGroupWithZero Γ₀] →
    {K : Type u_3} →
      [inst_1 : Field K] → (v : Valuation K Γ₀) → CoeHead (NumberField.RingOfIntegers (WithVal v)) (WithVal v)

instance NumberField.RingOfIntegers.instIsIntegralClosureIntWithVal E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {K : Type u_3} [inst_1 : Field K] (v : Valuation K Γ₀)
  (R : Type u_4) [inst_2 : CommRing R] [inst_3 : Algebra R K] [IsIntegralClosure R ℤ K],
  IsIntegralClosure R ℤ (WithVal v)

def NumberField.RingOfIntegers.withValEquiv E1 #

{Γ₀ : Type u_2} →
  [inst : LinearOrderedCommGroupWithZero Γ₀] →
    {K : Type u_3} →
      [inst_1 : Field K] →
        (v : Valuation K Γ₀) →
          (R : Type u_4) →
            [inst_2 : CommRing R] →
              [inst_3 : Algebra R K] → [IsIntegralClosure R ℤ K] → NumberField.RingOfIntegers (WithVal v) ≃+* R

The ring equivalence between 𝓞 (WithVal v) and an integral closure of ℤ in K.

theorem NumberField.RingOfIntegers.withValEquiv_symm_apply E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {K : Type u_3} [inst_1 : Field K] (v : Valuation K Γ₀)
  (R : Type u_4) [inst_2 : CommRing R] [inst_3 : Algebra R K] [inst_4 : IsIntegralClosure R ℤ K] (a : R),
  (NumberField.RingOfIntegers.withValEquiv v R).symm a =
    (IsIntegralClosure.equiv ℤ R (WithVal v) (NumberField.RingOfIntegers (WithVal v))) a

theorem NumberField.RingOfIntegers.withValEquiv_apply E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {K : Type u_3} [inst_1 : Field K] (v : Valuation K Γ₀)
  (R : Type u_4) [inst_2 : CommRing R] [inst_3 : Algebra R K] [inst_4 : IsIntegralClosure R ℤ K]
  (a : NumberField.RingOfIntegers (WithVal v)),
  (NumberField.RingOfIntegers.withValEquiv v R) a =
    { toEquiv := ↑(IsIntegralClosure.equiv ℤ R (WithVal v) (NumberField.RingOfIntegers (WithVal v))).symm,
        map_mul' := ⋯, map_add' := ⋯ }
      a

def Rat.ringOfIntegersWithValEquiv E1 #

{Γ₀ : Type u_2} →
  [inst : LinearOrderedCommGroupWithZero Γ₀] → (v : Valuation ℚ Γ₀) → NumberField.RingOfIntegers (WithVal v) ≃+* ℤ

The ring of integers of WithVal v, when v is a valuation on ℚ, is equivalent to ℤ.

theorem Rat.ringOfIntegersWithValEquiv_apply E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] (v : Valuation ℚ Γ₀)
  (a : NumberField.RingOfIntegers (WithVal v)),
  (Rat.ringOfIntegersWithValEquiv v) a =
    (IsIntegralClosure.equiv ℤ ℤ (WithVal v) (NumberField.RingOfIntegers (WithVal v))).symm a