topology.algebra.valuation
⟷
Mathlib.Topology.Algebra.Valuation
The following section lists changes to this file in mathlib3 and mathlib4 that occured after the initial port. Most recent changes are shown first. Hovering over a commit will show all commits associated with the same mathlib3 commit.
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(last sync)
mathlib commit https://github.com/leanprover-community/mathlib/commit/65a1391a0106c9204fe45bc73a039f056558cb83
@@ -176,7 +176,7 @@ theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : {y : R | v y = v x} ∈
instance (priority := 100) : TopologicalRing R :=
(toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.isTopologicalRing
-/- ./././Mathport/Syntax/Translate/Basic.lean:641:2: warning: expanding binder collection (x y «expr ∈ » M) -/
+/- ./././Mathport/Syntax/Translate/Basic.lean:642:2: warning: expanding binder collection (x y «expr ∈ » M) -/
#print Valued.cauchy_iff /-
theorem cauchy_iff {F : Filter R} :
Cauchy F ↔
mathlib commit https://github.com/leanprover-community/mathlib/commit/65a1391a0106c9204fe45bc73a039f056558cb83
@@ -64,7 +64,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
rintro y (vy_lt : v y < ↑(γx⁻¹ * γ))
change (v (x * y) : Γ₀) < γ
rw [Valuation.map_mul, Hx, mul_comm]
- rw [Units.val_mul, mul_comm] at vy_lt
+ rw [Units.val_mul, mul_comm] at vy_lt
simpa using mul_inv_lt_of_lt_mul₀ vy_lt
rightMul := by
rintro x γ
@@ -78,7 +78,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
rintro y (vy_lt : v y < ↑(γx⁻¹ * γ))
change (v (y * x) : Γ₀) < γ
rw [Valuation.map_mul, Hx]
- rw [Units.val_mul, mul_comm] at vy_lt
+ rw [Units.val_mul, mul_comm] at vy_lt
simpa using mul_inv_lt_of_lt_mul₀ vy_lt }
#align valuation.subgroups_basis Valuation.subgroups_basis
-/
mathlib commit https://github.com/leanprover-community/mathlib/commit/ce64cd319bb6b3e82f31c2d38e79080d377be451
@@ -3,9 +3,9 @@ Copyright (c) 2021 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot
-/
-import Mathbin.Topology.Algebra.Nonarchimedean.Bases
-import Mathbin.Topology.Algebra.UniformFilterBasis
-import Mathbin.RingTheory.Valuation.Basic
+import Topology.Algebra.Nonarchimedean.Bases
+import Topology.Algebra.UniformFilterBasis
+import RingTheory.Valuation.Basic
#align_import topology.algebra.valuation from "leanprover-community/mathlib"@"8eb9c42d4d34c77f6ee84ea766ae4070233a973c"
@@ -176,7 +176,7 @@ theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : {y : R | v y = v x} ∈
instance (priority := 100) : TopologicalRing R :=
(toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.isTopologicalRing
-/- ./././Mathport/Syntax/Translate/Basic.lean:635:2: warning: expanding binder collection (x y «expr ∈ » M) -/
+/- ./././Mathport/Syntax/Translate/Basic.lean:641:2: warning: expanding binder collection (x y «expr ∈ » M) -/
#print Valued.cauchy_iff /-
theorem cauchy_iff {F : Filter R} :
Cauchy F ↔
mathlib commit https://github.com/leanprover-community/mathlib/commit/32a7e535287f9c73f2e4d2aef306a39190f0b504
@@ -141,7 +141,7 @@ theorem hasBasis_uniformity :
#print Valued.toUniformSpace_eq /-
theorem toUniformSpace_eq :
toUniformSpace = @TopologicalAddGroup.toUniformSpace R _ v.subgroups_basis.topology _ :=
- uniformSpace_eq
+ UniformSpace.ext
((hasBasis_uniformity R Γ₀).eq_of_same_basis <| v.subgroups_basis.hasBasis_nhds_zero.comap _)
#align valued.to_uniform_space_eq Valued.toUniformSpace_eq
-/
mathlib commit https://github.com/leanprover-community/mathlib/commit/63721b2c3eba6c325ecf8ae8cca27155a4f6306f
@@ -54,7 +54,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
leftMul := by
rintro x γ
rcases GroupWithZero.eq_zero_or_unit (v x) with (Hx | ⟨γx, Hx⟩)
- · use (1 : Γ₀ˣ)
+ · use(1 : Γ₀ˣ)
rintro y (y_in : (v y : Γ₀) < 1)
change v (x * y) < _
rw [Valuation.map_mul, Hx, MulZeroClass.zero_mul]
mathlib commit https://github.com/leanprover-community/mathlib/commit/8ea5598db6caeddde6cb734aa179cc2408dbd345
@@ -2,16 +2,13 @@
Copyright (c) 2021 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot
-
-! This file was ported from Lean 3 source module topology.algebra.valuation
-! leanprover-community/mathlib commit 8eb9c42d4d34c77f6ee84ea766ae4070233a973c
-! Please do not edit these lines, except to modify the commit id
-! if you have ported upstream changes.
-/
import Mathbin.Topology.Algebra.Nonarchimedean.Bases
import Mathbin.Topology.Algebra.UniformFilterBasis
import Mathbin.RingTheory.Valuation.Basic
+#align_import topology.algebra.valuation from "leanprover-community/mathlib"@"8eb9c42d4d34c77f6ee84ea766ae4070233a973c"
+
/-!
# The topology on a valued ring
@@ -179,7 +176,7 @@ theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : {y : R | v y = v x} ∈
instance (priority := 100) : TopologicalRing R :=
(toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.isTopologicalRing
-/- ./././Mathport/Syntax/Translate/Basic.lean:638:2: warning: expanding binder collection (x y «expr ∈ » M) -/
+/- ./././Mathport/Syntax/Translate/Basic.lean:635:2: warning: expanding binder collection (x y «expr ∈ » M) -/
#print Valued.cauchy_iff /-
theorem cauchy_iff {F : Filter R} :
Cauchy F ↔
mathlib commit https://github.com/leanprover-community/mathlib/commit/9fb8964792b4237dac6200193a0d533f1b3f7423
@@ -125,37 +125,46 @@ def mk' (v : Valuation R Γ₀) : Valued R Γ₀ :=
variable (R Γ₀) [_i : Valued R Γ₀]
-include _i
-
+#print Valued.hasBasis_nhds_zero /-
theorem hasBasis_nhds_zero :
(𝓝 (0 : R)).HasBasis (fun _ => True) fun γ : Γ₀ˣ => {x | v x < (γ : Γ₀)} := by
simp [Filter.hasBasis_iff, is_topological_valuation]
#align valued.has_basis_nhds_zero Valued.hasBasis_nhds_zero
+-/
+#print Valued.hasBasis_uniformity /-
theorem hasBasis_uniformity :
(𝓤 R).HasBasis (fun _ => True) fun γ : Γ₀ˣ => {p : R × R | v (p.2 - p.1) < (γ : Γ₀)} :=
by
rw [uniformity_eq_comap_nhds_zero]
exact (has_basis_nhds_zero R Γ₀).comap _
#align valued.has_basis_uniformity Valued.hasBasis_uniformity
+-/
+#print Valued.toUniformSpace_eq /-
theorem toUniformSpace_eq :
toUniformSpace = @TopologicalAddGroup.toUniformSpace R _ v.subgroups_basis.topology _ :=
uniformSpace_eq
((hasBasis_uniformity R Γ₀).eq_of_same_basis <| v.subgroups_basis.hasBasis_nhds_zero.comap _)
#align valued.to_uniform_space_eq Valued.toUniformSpace_eq
+-/
variable {R Γ₀}
+#print Valued.mem_nhds /-
theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, {y | (v (y - x) : Γ₀) < γ} ⊆ s := by
simp only [← nhds_translation_add_neg x, ← sub_eq_add_neg, preimage_set_of_eq, exists_true_left,
((has_basis_nhds_zero R Γ₀).comap fun y => y - x).mem_iff]
#align valued.mem_nhds Valued.mem_nhds
+-/
+#print Valued.mem_nhds_zero /-
theorem mem_nhds_zero {s : Set R} : s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, {x | v x < (γ : Γ₀)} ⊆ s := by
simp only [mem_nhds, sub_zero]
#align valued.mem_nhds_zero Valued.mem_nhds_zero
+-/
+#print Valued.loc_const /-
theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : {y : R | v y = v x} ∈ 𝓝 x :=
by
rw [mem_nhds]
@@ -165,11 +174,13 @@ theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : {y : R | v y = v x} ∈
intro y y_in
exact Valuation.map_eq_of_sub_lt _ y_in
#align valued.loc_const Valued.loc_const
+-/
instance (priority := 100) : TopologicalRing R :=
(toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.isTopologicalRing
/- ./././Mathport/Syntax/Translate/Basic.lean:638:2: warning: expanding binder collection (x y «expr ∈ » M) -/
+#print Valued.cauchy_iff /-
theorem cauchy_iff {F : Filter R} :
Cauchy F ↔
F.ne_bot ∧ ∀ γ : Γ₀ˣ, ∃ M ∈ F, ∀ (x) (_ : x ∈ M) (y) (_ : y ∈ M), (v (y - x) : Γ₀) < γ :=
@@ -183,6 +194,7 @@ theorem cauchy_iff {F : Filter R} :
· rintro h - ⟨γ, rfl⟩
exact h γ
#align valued.cauchy_iff Valued.cauchy_iff
+-/
end Valued
mathlib commit https://github.com/leanprover-community/mathlib/commit/7e5137f579de09a059a5ce98f364a04e221aabf0
@@ -54,7 +54,6 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
(v (r * s) : Γ₀) = v r * v s := Valuation.map_mul _ _ _
_ < γ₀ * γ₀ := (mul_lt_mul₀ r_in s_in)
_ ≤ γ := by exact_mod_cast h
-
leftMul := by
rintro x γ
rcases GroupWithZero.eq_zero_or_unit (v x) with (Hx | ⟨γx, Hx⟩)
mathlib commit https://github.com/leanprover-community/mathlib/commit/31c24aa72e7b3e5ed97a8412470e904f82b81004
@@ -170,7 +170,7 @@ theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : {y : R | v y = v x} ∈
instance (priority := 100) : TopologicalRing R :=
(toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.isTopologicalRing
-/- ./././Mathport/Syntax/Translate/Basic.lean:635:2: warning: expanding binder collection (x y «expr ∈ » M) -/
+/- ./././Mathport/Syntax/Translate/Basic.lean:638:2: warning: expanding binder collection (x y «expr ∈ » M) -/
theorem cauchy_iff {F : Filter R} :
Cauchy F ↔
F.ne_bot ∧ ∀ γ : Γ₀ˣ, ∃ M ∈ F, ∀ (x) (_ : x ∈ M) (y) (_ : y ∈ M), (v (y - x) : Γ₀) < γ :=
mathlib commit https://github.com/leanprover-community/mathlib/commit/5f25c089cb34db4db112556f23c50d12da81b297
@@ -100,7 +100,7 @@ See Note [forgetful inheritance] for why we extend `uniform_space`, `uniform_add
class Valued (R : Type u) [Ring R] (Γ₀ : outParam (Type v))
[LinearOrderedCommGroupWithZero Γ₀] extends UniformSpace R, UniformAddGroup R where
V : Valuation R Γ₀
- is_topological_valuation : ∀ s, s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x : R | v x < γ } ⊆ s
+ is_topological_valuation : ∀ s, s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, {x : R | v x < γ} ⊆ s
#align valued Valued
-/
@@ -129,12 +129,12 @@ variable (R Γ₀) [_i : Valued R Γ₀]
include _i
theorem hasBasis_nhds_zero :
- (𝓝 (0 : R)).HasBasis (fun _ => True) fun γ : Γ₀ˣ => { x | v x < (γ : Γ₀) } := by
+ (𝓝 (0 : R)).HasBasis (fun _ => True) fun γ : Γ₀ˣ => {x | v x < (γ : Γ₀)} := by
simp [Filter.hasBasis_iff, is_topological_valuation]
#align valued.has_basis_nhds_zero Valued.hasBasis_nhds_zero
theorem hasBasis_uniformity :
- (𝓤 R).HasBasis (fun _ => True) fun γ : Γ₀ˣ => { p : R × R | v (p.2 - p.1) < (γ : Γ₀) } :=
+ (𝓤 R).HasBasis (fun _ => True) fun γ : Γ₀ˣ => {p : R × R | v (p.2 - p.1) < (γ : Γ₀)} :=
by
rw [uniformity_eq_comap_nhds_zero]
exact (has_basis_nhds_zero R Γ₀).comap _
@@ -148,16 +148,16 @@ theorem toUniformSpace_eq :
variable {R Γ₀}
-theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, { y | (v (y - x) : Γ₀) < γ } ⊆ s := by
+theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, {y | (v (y - x) : Γ₀) < γ} ⊆ s := by
simp only [← nhds_translation_add_neg x, ← sub_eq_add_neg, preimage_set_of_eq, exists_true_left,
((has_basis_nhds_zero R Γ₀).comap fun y => y - x).mem_iff]
#align valued.mem_nhds Valued.mem_nhds
-theorem mem_nhds_zero {s : Set R} : s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x | v x < (γ : Γ₀) } ⊆ s := by
+theorem mem_nhds_zero {s : Set R} : s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, {x | v x < (γ : Γ₀)} ⊆ s := by
simp only [mem_nhds, sub_zero]
#align valued.mem_nhds_zero Valued.mem_nhds_zero
-theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : { y : R | v y = v x } ∈ 𝓝 x :=
+theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : {y : R | v y = v x} ∈ 𝓝 x :=
by
rw [mem_nhds]
rcases units.exists_iff_ne_zero.mpr h with ⟨γ, hx⟩
mathlib commit https://github.com/leanprover-community/mathlib/commit/cca40788df1b8755d5baf17ab2f27dacc2e17acb
@@ -68,7 +68,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
rintro y (vy_lt : v y < ↑(γx⁻¹ * γ))
change (v (x * y) : Γ₀) < γ
rw [Valuation.map_mul, Hx, mul_comm]
- rw [Units.val_mul, mul_comm] at vy_lt
+ rw [Units.val_mul, mul_comm] at vy_lt
simpa using mul_inv_lt_of_lt_mul₀ vy_lt
rightMul := by
rintro x γ
@@ -82,7 +82,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
rintro y (vy_lt : v y < ↑(γx⁻¹ * γ))
change (v (y * x) : Γ₀) < γ
rw [Valuation.map_mul, Hx]
- rw [Units.val_mul, mul_comm] at vy_lt
+ rw [Units.val_mul, mul_comm] at vy_lt
simpa using mul_inv_lt_of_lt_mul₀ vy_lt }
#align valuation.subgroups_basis Valuation.subgroups_basis
-/
@@ -98,7 +98,7 @@ the same universe as the ring.
See Note [forgetful inheritance] for why we extend `uniform_space`, `uniform_add_group`. -/
class Valued (R : Type u) [Ring R] (Γ₀ : outParam (Type v))
- [LinearOrderedCommGroupWithZero Γ₀] extends UniformSpace R, UniformAddGroup R where
+ [LinearOrderedCommGroupWithZero Γ₀] extends UniformSpace R, UniformAddGroup R where
V : Valuation R Γ₀
is_topological_valuation : ∀ s, s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x : R | v x < γ } ⊆ s
#align valued Valued
mathlib commit https://github.com/leanprover-community/mathlib/commit/917c3c072e487b3cccdbfeff17e75b40e45f66cb
@@ -24,7 +24,7 @@ values in a group with zero. Other instances are then deduced from this.
-/
-open Classical Topology uniformity
+open scoped Classical Topology uniformity
open Set Valuation
mathlib commit https://github.com/leanprover-community/mathlib/commit/917c3c072e487b3cccdbfeff17e75b40e45f66cb
@@ -128,23 +128,11 @@ variable (R Γ₀) [_i : Valued R Γ₀]
include _i
-/- warning: valued.has_basis_nhds_zero -> Valued.hasBasis_nhds_zero is a dubious translation:
-lean 3 declaration is
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
-but is expected to have type
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1)))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
-Case conversion may be inaccurate. Consider using '#align valued.has_basis_nhds_zero Valued.hasBasis_nhds_zeroₓ'. -/
theorem hasBasis_nhds_zero :
(𝓝 (0 : R)).HasBasis (fun _ => True) fun γ : Γ₀ˣ => { x | v x < (γ : Γ₀) } := by
simp [Filter.hasBasis_iff, is_topological_valuation]
#align valued.has_basis_nhds_zero Valued.hasBasis_nhds_zero
-/- warning: valued.has_basis_uniformity -> Valued.hasBasis_uniformity is a dubious translation:
-lean 3 declaration is
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
-but is expected to have type
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
-Case conversion may be inaccurate. Consider using '#align valued.has_basis_uniformity Valued.hasBasis_uniformityₓ'. -/
theorem hasBasis_uniformity :
(𝓤 R).HasBasis (fun _ => True) fun γ : Γ₀ˣ => { p : R × R | v (p.2 - p.1) < (γ : Γ₀) } :=
by
@@ -152,12 +140,6 @@ theorem hasBasis_uniformity :
exact (has_basis_nhds_zero R Γ₀).comap _
#align valued.has_basis_uniformity Valued.hasBasis_uniformity
-/- warning: valued.to_uniform_space_eq -> Valued.toUniformSpace_eq is a dubious translation:
-lean 3 declaration is
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Eq.{succ u2} (UniformSpace.{u2} R) (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (TopologicalAddGroup.toUniformSpace.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1))) (RingSubgroupsBasis.topology.{u2, u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) _inst_1 (instNonempty.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (Units.inhabited.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => Valuation.ltAddSubgroup.{u2, u1} R Γ₀ _inst_1 _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) γ) (Valuation.subgroups_basis.{u1, u2} R _inst_1 Γ₀ _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i))) (AddGroupFilterBasis.isTopologicalAddGroup.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1))) (RingFilterBasis.toAddGroupFilterBasis.{u2} R _inst_1 (RingSubgroupsBasis.toRingFilterBasis.{u2, u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) _inst_1 (instNonempty.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (Units.inhabited.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => Valuation.ltAddSubgroup.{u2, u1} R Γ₀ _inst_1 _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) γ) (Valuation.subgroups_basis.{u1, u2} R _inst_1 Γ₀ _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i))))))
-but is expected to have type
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Eq.{succ u2} (UniformSpace.{u2} R) (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (TopologicalAddGroup.toUniformSpace.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (Ring.toAddGroupWithOne.{u2} R _inst_1)) (RingSubgroupsBasis.topology.{u2, u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) _inst_1 (instNonempty.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (Units.instInhabitedUnits.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => Valuation.ltAddSubgroup.{u2, u1} R Γ₀ _inst_1 _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) γ) (Valuation.subgroups_basis.{u1, u2} R _inst_1 Γ₀ _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i))) (AddGroupFilterBasis.isTopologicalAddGroup.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (Ring.toAddGroupWithOne.{u2} R _inst_1)) (RingFilterBasis.toAddGroupFilterBasis.{u2} R _inst_1 (RingSubgroupsBasis.toRingFilterBasis.{u2, u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) _inst_1 (instNonempty.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (Units.instInhabitedUnits.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => Valuation.ltAddSubgroup.{u2, u1} R Γ₀ _inst_1 _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) γ) (Valuation.subgroups_basis.{u1, u2} R _inst_1 Γ₀ _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i))))))
-Case conversion may be inaccurate. Consider using '#align valued.to_uniform_space_eq Valued.toUniformSpace_eqₓ'. -/
theorem toUniformSpace_eq :
toUniformSpace = @TopologicalAddGroup.toUniformSpace R _ v.subgroups_basis.topology _ :=
uniformSpace_eq
@@ -166,24 +148,15 @@ theorem toUniformSpace_eq :
variable {R Γ₀}
-/- warning: valued.mem_nhds -> Valued.mem_nhds is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align valued.mem_nhds Valued.mem_nhdsₓ'. -/
theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, { y | (v (y - x) : Γ₀) < γ } ⊆ s := by
simp only [← nhds_translation_add_neg x, ← sub_eq_add_neg, preimage_set_of_eq, exists_true_left,
((has_basis_nhds_zero R Γ₀).comap fun y => y - x).mem_iff]
#align valued.mem_nhds Valued.mem_nhds
-/- warning: valued.mem_nhds_zero -> Valued.mem_nhds_zero is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align valued.mem_nhds_zero Valued.mem_nhds_zeroₓ'. -/
theorem mem_nhds_zero {s : Set R} : s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x | v x < (γ : Γ₀) } ⊆ s := by
simp only [mem_nhds, sub_zero]
#align valued.mem_nhds_zero Valued.mem_nhds_zero
-/- warning: valued.loc_const -> Valued.loc_const is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align valued.loc_const Valued.loc_constₓ'. -/
theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : { y : R | v y = v x } ∈ 𝓝 x :=
by
rw [mem_nhds]
@@ -197,9 +170,6 @@ theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : { y : R | v y = v x } ∈
instance (priority := 100) : TopologicalRing R :=
(toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.isTopologicalRing
-/- warning: valued.cauchy_iff -> Valued.cauchy_iff is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align valued.cauchy_iff Valued.cauchy_iffₓ'. -/
/- ./././Mathport/Syntax/Translate/Basic.lean:635:2: warning: expanding binder collection (x y «expr ∈ » M) -/
theorem cauchy_iff {F : Filter R} :
Cauchy F ↔
mathlib commit https://github.com/leanprover-community/mathlib/commit/917c3c072e487b3cccdbfeff17e75b40e45f66cb
@@ -167,10 +167,7 @@ theorem toUniformSpace_eq :
variable {R Γ₀}
/- warning: valued.mem_nhds -> Valued.mem_nhds is a dubious translation:
-lean 3 declaration is
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
-but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
+<too large>
Case conversion may be inaccurate. Consider using '#align valued.mem_nhds Valued.mem_nhdsₓ'. -/
theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, { y | (v (y - x) : Γ₀) < γ } ⊆ s := by
simp only [← nhds_translation_add_neg x, ← sub_eq_add_neg, preimage_set_of_eq, exists_true_left,
@@ -178,20 +175,14 @@ theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, { y |
#align valued.mem_nhds Valued.mem_nhds
/- warning: valued.mem_nhds_zero -> Valued.mem_nhds_zero is a dubious translation:
-lean 3 declaration is
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
-but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
+<too large>
Case conversion may be inaccurate. Consider using '#align valued.mem_nhds_zero Valued.mem_nhds_zeroₓ'. -/
theorem mem_nhds_zero {s : Set R} : s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x | v x < (γ : Γ₀) } ⊆ s := by
simp only [mem_nhds, sub_zero]
#align valued.mem_nhds_zero Valued.mem_nhds_zero
/- warning: valued.loc_const -> Valued.loc_const is a dubious translation:
-lean 3 declaration is
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {x : R}, (Ne.{succ u1} Γ₀ (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (OfNat.ofNat.{u1} Γ₀ 0 (OfNat.mk.{u1} Γ₀ 0 (Zero.zero.{u1} Γ₀ (MulZeroClass.toHasZero.{u1} Γ₀ (MulZeroOneClass.toMulZeroClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))))) -> (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) (setOf.{u2} R (fun (y : R) => Eq.{succ u1} Γ₀ (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) y) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x))
-but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {x : R}, (Ne.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (OfNat.ofNat.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) 0 (Zero.toOfNat0.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) _inst_2))))) -> (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) (setOf.{u2} R (fun (y : R) => Eq.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x))
+<too large>
Case conversion may be inaccurate. Consider using '#align valued.loc_const Valued.loc_constₓ'. -/
theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : { y : R | v y = v x } ∈ 𝓝 x :=
by
@@ -207,10 +198,7 @@ instance (priority := 100) : TopologicalRing R :=
(toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.isTopologicalRing
/- warning: valued.cauchy_iff -> Valued.cauchy_iff is a dubious translation:
-lean 3 declaration is
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => Exists.{0} (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) (fun (H : Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) => forall (x : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) x M) -> (forall (y : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) y M) -> (LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))))))
-but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => And (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) M F) (forall (x : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) x M) -> (forall (y : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) y M) -> (LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (a : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) a) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))))))
+<too large>
Case conversion may be inaccurate. Consider using '#align valued.cauchy_iff Valued.cauchy_iffₓ'. -/
/- ./././Mathport/Syntax/Translate/Basic.lean:635:2: warning: expanding binder collection (x y «expr ∈ » M) -/
theorem cauchy_iff {F : Filter R} :
mathlib commit https://github.com/leanprover-community/mathlib/commit/95a87616d63b3cb49d3fe678d416fbe9c4217bf4
@@ -132,7 +132,7 @@ include _i
lean 3 declaration is
forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
but is expected to have type
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1)))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1)))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
Case conversion may be inaccurate. Consider using '#align valued.has_basis_nhds_zero Valued.hasBasis_nhds_zeroₓ'. -/
theorem hasBasis_nhds_zero :
(𝓝 (0 : R)).HasBasis (fun _ => True) fun γ : Γ₀ˣ => { x | v x < (γ : Γ₀) } := by
@@ -143,7 +143,7 @@ theorem hasBasis_nhds_zero :
lean 3 declaration is
forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
but is expected to have type
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
Case conversion may be inaccurate. Consider using '#align valued.has_basis_uniformity Valued.hasBasis_uniformityₓ'. -/
theorem hasBasis_uniformity :
(𝓤 R).HasBasis (fun _ => True) fun γ : Γ₀ˣ => { p : R × R | v (p.2 - p.1) < (γ : Γ₀) } :=
@@ -170,7 +170,7 @@ variable {R Γ₀}
lean 3 declaration is
forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
Case conversion may be inaccurate. Consider using '#align valued.mem_nhds Valued.mem_nhdsₓ'. -/
theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, { y | (v (y - x) : Γ₀) < γ } ⊆ s := by
simp only [← nhds_translation_add_neg x, ← sub_eq_add_neg, preimage_set_of_eq, exists_true_left,
@@ -181,7 +181,7 @@ theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, { y |
lean 3 declaration is
forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
Case conversion may be inaccurate. Consider using '#align valued.mem_nhds_zero Valued.mem_nhds_zeroₓ'. -/
theorem mem_nhds_zero {s : Set R} : s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x | v x < (γ : Γ₀) } ⊆ s := by
simp only [mem_nhds, sub_zero]
@@ -191,7 +191,7 @@ theorem mem_nhds_zero {s : Set R} : s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x
lean 3 declaration is
forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {x : R}, (Ne.{succ u1} Γ₀ (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (OfNat.ofNat.{u1} Γ₀ 0 (OfNat.mk.{u1} Γ₀ 0 (Zero.zero.{u1} Γ₀ (MulZeroClass.toHasZero.{u1} Γ₀ (MulZeroOneClass.toMulZeroClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))))) -> (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) (setOf.{u2} R (fun (y : R) => Eq.{succ u1} Γ₀ (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) y) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x))
but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {x : R}, (Ne.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (OfNat.ofNat.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) 0 (Zero.toOfNat0.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2))))) -> (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) (setOf.{u2} R (fun (y : R) => Eq.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x))
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {x : R}, (Ne.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (OfNat.ofNat.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) 0 (Zero.toOfNat0.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) x) _inst_2))))) -> (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) (setOf.{u2} R (fun (y : R) => Eq.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x))
Case conversion may be inaccurate. Consider using '#align valued.loc_const Valued.loc_constₓ'. -/
theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : { y : R | v y = v x } ∈ 𝓝 x :=
by
@@ -210,7 +210,7 @@ instance (priority := 100) : TopologicalRing R :=
lean 3 declaration is
forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => Exists.{0} (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) (fun (H : Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) => forall (x : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) x M) -> (forall (y : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) y M) -> (LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))))))
but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => And (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) M F) (forall (x : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) x M) -> (forall (y : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) y M) -> (LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (a : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) a) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))))))
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => And (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) M F) (forall (x : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) x M) -> (forall (y : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) y M) -> (LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (a : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2397 : R) => Γ₀) a) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))))))
Case conversion may be inaccurate. Consider using '#align valued.cauchy_iff Valued.cauchy_iffₓ'. -/
/- ./././Mathport/Syntax/Translate/Basic.lean:635:2: warning: expanding binder collection (x y «expr ∈ » M) -/
theorem cauchy_iff {F : Filter R} :
mathlib commit https://github.com/leanprover-community/mathlib/commit/0b9eaaa7686280fad8cce467f5c3c57ee6ce77f8
@@ -130,7 +130,7 @@ include _i
/- warning: valued.has_basis_nhds_zero -> Valued.hasBasis_nhds_zero is a dubious translation:
lean 3 declaration is
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
but is expected to have type
forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1)))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
Case conversion may be inaccurate. Consider using '#align valued.has_basis_nhds_zero Valued.hasBasis_nhds_zeroₓ'. -/
@@ -141,7 +141,7 @@ theorem hasBasis_nhds_zero :
/- warning: valued.has_basis_uniformity -> Valued.hasBasis_uniformity is a dubious translation:
lean 3 declaration is
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
but is expected to have type
forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
Case conversion may be inaccurate. Consider using '#align valued.has_basis_uniformity Valued.hasBasis_uniformityₓ'. -/
@@ -168,7 +168,7 @@ variable {R Γ₀}
/- warning: valued.mem_nhds -> Valued.mem_nhds is a dubious translation:
lean 3 declaration is
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
but is expected to have type
forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
Case conversion may be inaccurate. Consider using '#align valued.mem_nhds Valued.mem_nhdsₓ'. -/
@@ -179,7 +179,7 @@ theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, { y |
/- warning: valued.mem_nhds_zero -> Valued.mem_nhds_zero is a dubious translation:
lean 3 declaration is
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
but is expected to have type
forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
Case conversion may be inaccurate. Consider using '#align valued.mem_nhds_zero Valued.mem_nhds_zeroₓ'. -/
@@ -208,7 +208,7 @@ instance (priority := 100) : TopologicalRing R :=
/- warning: valued.cauchy_iff -> Valued.cauchy_iff is a dubious translation:
lean 3 declaration is
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => Exists.{0} (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) (fun (H : Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) => forall (x : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) x M) -> (forall (y : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) y M) -> (LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))))))
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => Exists.{0} (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) (fun (H : Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) => forall (x : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) x M) -> (forall (y : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) y M) -> (LT.lt.{u1} Γ₀ (Preorder.toHasLt.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))))))
but is expected to have type
forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => And (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) M F) (forall (x : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) x M) -> (forall (y : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) y M) -> (LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (a : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) a) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))))))
Case conversion may be inaccurate. Consider using '#align valued.cauchy_iff Valued.cauchy_iffₓ'. -/
mathlib commit https://github.com/leanprover-community/mathlib/commit/08e1d8d4d989df3a6df86f385e9053ec8a372cc1
@@ -132,7 +132,7 @@ include _i
lean 3 declaration is
forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
but is expected to have type
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1)))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1)))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
Case conversion may be inaccurate. Consider using '#align valued.has_basis_nhds_zero Valued.hasBasis_nhds_zeroₓ'. -/
theorem hasBasis_nhds_zero :
(𝓝 (0 : R)).HasBasis (fun _ => True) fun γ : Γ₀ˣ => { x | v x < (γ : Γ₀) } := by
@@ -143,7 +143,7 @@ theorem hasBasis_nhds_zero :
lean 3 declaration is
forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
but is expected to have type
- forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
Case conversion may be inaccurate. Consider using '#align valued.has_basis_uniformity Valued.hasBasis_uniformityₓ'. -/
theorem hasBasis_uniformity :
(𝓤 R).HasBasis (fun _ => True) fun γ : Γ₀ˣ => { p : R × R | v (p.2 - p.1) < (γ : Γ₀) } :=
@@ -170,7 +170,7 @@ variable {R Γ₀}
lean 3 declaration is
forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
Case conversion may be inaccurate. Consider using '#align valued.mem_nhds Valued.mem_nhdsₓ'. -/
theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, { y | (v (y - x) : Γ₀) < γ } ⊆ s := by
simp only [← nhds_translation_add_neg x, ← sub_eq_add_neg, preimage_set_of_eq, exists_true_left,
@@ -181,7 +181,7 @@ theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, { y |
lean 3 declaration is
forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
Case conversion may be inaccurate. Consider using '#align valued.mem_nhds_zero Valued.mem_nhds_zeroₓ'. -/
theorem mem_nhds_zero {s : Set R} : s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x | v x < (γ : Γ₀) } ⊆ s := by
simp only [mem_nhds, sub_zero]
@@ -191,7 +191,7 @@ theorem mem_nhds_zero {s : Set R} : s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x
lean 3 declaration is
forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {x : R}, (Ne.{succ u1} Γ₀ (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (OfNat.ofNat.{u1} Γ₀ 0 (OfNat.mk.{u1} Γ₀ 0 (Zero.zero.{u1} Γ₀ (MulZeroClass.toHasZero.{u1} Γ₀ (MulZeroOneClass.toMulZeroClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))))) -> (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) (setOf.{u2} R (fun (y : R) => Eq.{succ u1} Γ₀ (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) y) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x))
but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {x : R}, (Ne.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (OfNat.ofNat.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) 0 (Zero.toOfNat0.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2))))) -> (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) (setOf.{u2} R (fun (y : R) => Eq.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x))
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {x : R}, (Ne.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (OfNat.ofNat.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) 0 (Zero.toOfNat0.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2))))) -> (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) (setOf.{u2} R (fun (y : R) => Eq.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x))
Case conversion may be inaccurate. Consider using '#align valued.loc_const Valued.loc_constₓ'. -/
theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : { y : R | v y = v x } ∈ 𝓝 x :=
by
@@ -210,7 +210,7 @@ instance (priority := 100) : TopologicalRing R :=
lean 3 declaration is
forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => Exists.{0} (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) (fun (H : Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) => forall (x : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) x M) -> (forall (y : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) y M) -> (LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))))))
but is expected to have type
- forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => And (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) M F) (forall (x : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) x M) -> (forall (y : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) y M) -> (LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (a : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) a) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))))))
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => And (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) M F) (forall (x : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) x M) -> (forall (y : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) y M) -> (LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (a : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) a) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (Semiring.toNonAssocSemiring.{u2} R (Ring.toSemiring.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))))))
Case conversion may be inaccurate. Consider using '#align valued.cauchy_iff Valued.cauchy_iffₓ'. -/
/- ./././Mathport/Syntax/Translate/Basic.lean:635:2: warning: expanding binder collection (x y «expr ∈ » M) -/
theorem cauchy_iff {F : Filter R} :
mathlib commit https://github.com/leanprover-community/mathlib/commit/730c6d4cab72b9d84fcfb9e95e8796e9cd8f40ba
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot
! This file was ported from Lean 3 source module topology.algebra.valuation
-! leanprover-community/mathlib commit f2ce6086713c78a7f880485f7917ea547a215982
+! leanprover-community/mathlib commit 8eb9c42d4d34c77f6ee84ea766ae4070233a973c
! Please do not edit these lines, except to modify the commit id
! if you have ported upstream changes.
-/
@@ -15,6 +15,9 @@ import Mathbin.RingTheory.Valuation.Basic
/-!
# The topology on a valued ring
+> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
+> Any changes to this file require a corresponding PR to mathlib4.
+
In this file, we define the non archimedean topology induced by a valuation on a ring.
The main definition is a `valued` type class which equips a ring with a valuation taking
values in a group with zero. Other instances are then deduced from this.
mathlib commit https://github.com/leanprover-community/mathlib/commit/cd8fafa2fac98e1a67097e8a91ad9901cfde48af
@@ -35,6 +35,7 @@ namespace Valuation
variable (v : Valuation R Γ₀)
+#print Valuation.subgroups_basis /-
/-- The basis of open subgroups for the topology on a ring determined by a valuation. -/
theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgroup γ : AddSubgroup R) :=
{ inter := by
@@ -81,9 +82,11 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
rw [Units.val_mul, mul_comm] at vy_lt
simpa using mul_inv_lt_of_lt_mul₀ vy_lt }
#align valuation.subgroups_basis Valuation.subgroups_basis
+-/
end Valuation
+#print Valued /-
/-- A valued ring is a ring that comes equipped with a distinguished valuation. The class `valued`
is designed for the situation that there is a canonical valuation on the ring.
@@ -96,11 +99,13 @@ class Valued (R : Type u) [Ring R] (Γ₀ : outParam (Type v))
V : Valuation R Γ₀
is_topological_valuation : ∀ s, s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x : R | v x < γ } ⊆ s
#align valued Valued
+-/
attribute [nolint dangerous_instance] Valued.toUniformSpace
namespace Valued
+#print Valued.mk' /-
/-- Alternative `valued` constructor for use when there is no preferred `uniform_space`
structure. -/
def mk' (v : Valuation R Γ₀) : Valued R Γ₀ :=
@@ -114,16 +119,29 @@ def mk' (v : Valuation R Γ₀) : Valued R Γ₀ :=
rw [filter.has_basis_iff.mp v.subgroups_basis.has_basis_nhds_zero s]
exact exists_congr fun γ => by simpa }
#align valued.mk' Valued.mk'
+-/
variable (R Γ₀) [_i : Valued R Γ₀]
include _i
+/- warning: valued.has_basis_nhds_zero -> Valued.hasBasis_nhds_zero is a dubious translation:
+lean 3 declaration is
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
+but is expected to have type
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1)))))) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
+Case conversion may be inaccurate. Consider using '#align valued.has_basis_nhds_zero Valued.hasBasis_nhds_zeroₓ'. -/
theorem hasBasis_nhds_zero :
(𝓝 (0 : R)).HasBasis (fun _ => True) fun γ : Γ₀ˣ => { x | v x < (γ : Γ₀) } := by
simp [Filter.hasBasis_iff, is_topological_valuation]
#align valued.has_basis_nhds_zero Valued.hasBasis_nhds_zero
+/- warning: valued.has_basis_uniformity -> Valued.hasBasis_uniformity is a dubious translation:
+lean 3 declaration is
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))
+but is expected to have type
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Filter.HasBasis.{u2, succ u1} (Prod.{u2, u2} R R) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (uniformity.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (fun (_x : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => True) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => setOf.{u2} (Prod.{u2, u2} R R) (fun (p : Prod.{u2, u2} R R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) (Prod.snd.{u2, u2} R R p) (Prod.fst.{u2, u2} R R p))) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))
+Case conversion may be inaccurate. Consider using '#align valued.has_basis_uniformity Valued.hasBasis_uniformityₓ'. -/
theorem hasBasis_uniformity :
(𝓤 R).HasBasis (fun _ => True) fun γ : Γ₀ˣ => { p : R × R | v (p.2 - p.1) < (γ : Γ₀) } :=
by
@@ -131,6 +149,12 @@ theorem hasBasis_uniformity :
exact (has_basis_nhds_zero R Γ₀).comap _
#align valued.has_basis_uniformity Valued.hasBasis_uniformity
+/- warning: valued.to_uniform_space_eq -> Valued.toUniformSpace_eq is a dubious translation:
+lean 3 declaration is
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Eq.{succ u2} (UniformSpace.{u2} R) (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (TopologicalAddGroup.toUniformSpace.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1))) (RingSubgroupsBasis.topology.{u2, u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) _inst_1 (instNonempty.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (Units.inhabited.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => Valuation.ltAddSubgroup.{u2, u1} R Γ₀ _inst_1 _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) γ) (Valuation.subgroups_basis.{u1, u2} R _inst_1 Γ₀ _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i))) (AddGroupFilterBasis.isTopologicalAddGroup.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1))) (RingFilterBasis.toAddGroupFilterBasis.{u2} R _inst_1 (RingSubgroupsBasis.toRingFilterBasis.{u2, u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) _inst_1 (instNonempty.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (Units.inhabited.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => Valuation.ltAddSubgroup.{u2, u1} R Γ₀ _inst_1 _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) γ) (Valuation.subgroups_basis.{u1, u2} R _inst_1 Γ₀ _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i))))))
+but is expected to have type
+ forall (R : Type.{u2}) [_inst_1 : Ring.{u2} R] (Γ₀ : Type.{u1}) [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2], Eq.{succ u2} (UniformSpace.{u2} R) (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (TopologicalAddGroup.toUniformSpace.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (Ring.toAddGroupWithOne.{u2} R _inst_1)) (RingSubgroupsBasis.topology.{u2, u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) _inst_1 (instNonempty.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (Units.instInhabitedUnits.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => Valuation.ltAddSubgroup.{u2, u1} R Γ₀ _inst_1 _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) γ) (Valuation.subgroups_basis.{u1, u2} R _inst_1 Γ₀ _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i))) (AddGroupFilterBasis.isTopologicalAddGroup.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (Ring.toAddGroupWithOne.{u2} R _inst_1)) (RingFilterBasis.toAddGroupFilterBasis.{u2} R _inst_1 (RingSubgroupsBasis.toRingFilterBasis.{u2, u1} R (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) _inst_1 (instNonempty.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (Units.instInhabitedUnits.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => Valuation.ltAddSubgroup.{u2, u1} R Γ₀ _inst_1 _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) γ) (Valuation.subgroups_basis.{u1, u2} R _inst_1 Γ₀ _inst_2 (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i))))))
+Case conversion may be inaccurate. Consider using '#align valued.to_uniform_space_eq Valued.toUniformSpace_eqₓ'. -/
theorem toUniformSpace_eq :
toUniformSpace = @TopologicalAddGroup.toUniformSpace R _ v.subgroups_basis.topology _ :=
uniformSpace_eq
@@ -139,15 +163,33 @@ theorem toUniformSpace_eq :
variable {R Γ₀}
+/- warning: valued.mem_nhds -> Valued.mem_nhds is a dubious translation:
+lean 3 declaration is
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
+but is expected to have type
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R} {x : R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x)) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (y : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
+Case conversion may be inaccurate. Consider using '#align valued.mem_nhds Valued.mem_nhdsₓ'. -/
theorem mem_nhds {s : Set R} {x : R} : s ∈ 𝓝 x ↔ ∃ γ : Γ₀ˣ, { y | (v (y - x) : Γ₀) < γ } ⊆ s := by
simp only [← nhds_translation_add_neg x, ← sub_eq_add_neg, preimage_set_of_eq, exists_true_left,
((has_basis_nhds_zero R Γ₀).comap fun y => y - x).mem_iff]
#align valued.mem_nhds Valued.mem_nhds
+/- warning: valued.mem_nhds_zero -> Valued.mem_nhds_zero is a dubious translation:
+lean 3 declaration is
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (OfNat.mk.{u2} R 0 (Zero.zero.{u2} R (MulZeroClass.toHasZero.{u2} R (NonUnitalNonAssocSemiring.toMulZeroClass.{u2} R (NonUnitalNonAssocRing.toNonUnitalNonAssocSemiring.{u2} R (NonAssocRing.toNonUnitalNonAssocRing.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.hasSubset.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ))) s))
+but is expected to have type
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {s : Set.{u2} R}, Iff (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) s (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) (OfNat.ofNat.{u2} R 0 (Zero.toOfNat0.{u2} R (MonoidWithZero.toZero.{u2} R (Semiring.toMonoidWithZero.{u2} R (Ring.toSemiring.{u2} R _inst_1))))))) (Exists.{succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) (fun (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) => HasSubset.Subset.{u2} (Set.{u2} R) (Set.instHasSubsetSet.{u2} R) (setOf.{u2} R (fun (x : R) => LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ))) s))
+Case conversion may be inaccurate. Consider using '#align valued.mem_nhds_zero Valued.mem_nhds_zeroₓ'. -/
theorem mem_nhds_zero {s : Set R} : s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x | v x < (γ : Γ₀) } ⊆ s := by
simp only [mem_nhds, sub_zero]
#align valued.mem_nhds_zero Valued.mem_nhds_zero
+/- warning: valued.loc_const -> Valued.loc_const is a dubious translation:
+lean 3 declaration is
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {x : R}, (Ne.{succ u1} Γ₀ (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (OfNat.ofNat.{u1} Γ₀ 0 (OfNat.mk.{u1} Γ₀ 0 (Zero.zero.{u1} Γ₀ (MulZeroClass.toHasZero.{u1} Γ₀ (MulZeroOneClass.toMulZeroClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))))) -> (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) (setOf.{u2} R (fun (y : R) => Eq.{succ u1} Γ₀ (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) y) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x))
+but is expected to have type
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {x : R}, (Ne.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x) (OfNat.ofNat.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) 0 (Zero.toOfNat0.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommMonoidWithZero.toZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) x) _inst_2))))) -> (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) (setOf.{u2} R (fun (y : R) => Eq.{succ u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) y) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (_x : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) _x) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) x))) (nhds.{u2} R (UniformSpace.toTopologicalSpace.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i)) x))
+Case conversion may be inaccurate. Consider using '#align valued.loc_const Valued.loc_constₓ'. -/
theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : { y : R | v y = v x } ∈ 𝓝 x :=
by
rw [mem_nhds]
@@ -161,6 +203,12 @@ theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : { y : R | v y = v x } ∈
instance (priority := 100) : TopologicalRing R :=
(toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.isTopologicalRing
+/- warning: valued.cauchy_iff -> Valued.cauchy_iff is a dubious translation:
+lean 3 declaration is
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => Exists.{0} (Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) (fun (H : Membership.Mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (Filter.hasMem.{u2} R) M F) => forall (x : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) x M) -> (forall (y : R), (Membership.Mem.{u2, u2} R (Set.{u2} R) (Set.hasMem.{u2} R) y M) -> (LT.lt.{u1} Γ₀ (Preorder.toLT.{u1} Γ₀ (PartialOrder.toPreorder.{u1} Γ₀ (OrderedCommMonoid.toPartialOrder.{u1} Γ₀ (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (coeFn.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) (fun (_x : Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) => R -> Γ₀) (Valuation.hasCoeToFun.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (SubNegMonoid.toHasSub.{u2} R (AddGroup.toSubNegMonoid.{u2} R (AddGroupWithOne.toAddGroup.{u2} R (AddCommGroupWithOne.toAddGroupWithOne.{u2} R (Ring.toAddCommGroupWithOne.{u2} R _inst_1)))))) y x)) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (HasLiftT.mk.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (CoeTCₓ.coe.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (coeBase.{succ u1, succ u1} (Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))) Γ₀ (Units.hasCoe.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))))))) γ)))))))
+but is expected to have type
+ forall {R : Type.{u2}} [_inst_1 : Ring.{u2} R] {Γ₀ : Type.{u1}} [_inst_2 : LinearOrderedCommGroupWithZero.{u1} Γ₀] [_i : Valued.{u1, u2} R _inst_1 Γ₀ _inst_2] {F : Filter.{u2} R}, Iff (Cauchy.{u2} R (Valued.toUniformSpace.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) F) (And (Filter.NeBot.{u2} R F) (forall (γ : Units.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2))))), Exists.{succ u2} (Set.{u2} R) (fun (M : Set.{u2} R) => And (Membership.mem.{u2, u2} (Set.{u2} R) (Filter.{u2} R) (instMembershipSetFilter.{u2} R) M F) (forall (x : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) x M) -> (forall (y : R), (Membership.mem.{u2, u2} R (Set.{u2} R) (Set.instMembershipSet.{u2} R) y M) -> (LT.lt.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Preorder.toLT.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (PartialOrder.toPreorder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (OrderedCommMonoid.toPartialOrder.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoid.toOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommMonoidWithZero.toLinearOrderedCommMonoid.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} ((fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) _inst_2)))))) (FunLike.coe.{max (succ u2) (succ u1), succ u2, succ u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R (fun (a : R) => (fun (x._@.Mathlib.Algebra.Hom.Group._hyg.2391 : R) => Γ₀) a) (MulHomClass.toFunLike.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulOneClass.toMul.{u2} R (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))))) (MulOneClass.toMul.{u1} Γ₀ (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (MonoidHomClass.toMulHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (MulZeroOneClass.toMulOneClass.{u2} R (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1)))) (MulZeroOneClass.toMulOneClass.{u1} Γ₀ (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2))))) (MonoidWithZeroHomClass.toMonoidHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (NonAssocSemiring.toMulZeroOneClass.{u2} R (NonAssocRing.toNonAssocSemiring.{u2} R (Ring.toNonAssocRing.{u2} R _inst_1))) (MonoidWithZero.toMulZeroOneClass.{u1} Γ₀ (CommMonoidWithZero.toMonoidWithZero.{u1} Γ₀ (LinearOrderedCommMonoidWithZero.toCommMonoidWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))) (ValuationClass.toMonoidWithZeroHomClass.{max u2 u1, u2, u1} (Valuation.{u2, u1} R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1) R Γ₀ (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2) _inst_1 (Valuation.instValuationClassValuation.{u2, u1} R Γ₀ _inst_1 (LinearOrderedCommGroupWithZero.toLinearOrderedCommMonoidWithZero.{u1} Γ₀ _inst_2)))))) (Valued.v.{u1, u2} R _inst_1 Γ₀ _inst_2 _i) (HSub.hSub.{u2, u2, u2} R R R (instHSub.{u2} R (Ring.toSub.{u2} R _inst_1)) y x)) (Units.val.{u1} Γ₀ (MonoidWithZero.toMonoid.{u1} Γ₀ (GroupWithZero.toMonoidWithZero.{u1} Γ₀ (CommGroupWithZero.toGroupWithZero.{u1} Γ₀ (LinearOrderedCommGroupWithZero.toCommGroupWithZero.{u1} Γ₀ _inst_2)))) γ)))))))
+Case conversion may be inaccurate. Consider using '#align valued.cauchy_iff Valued.cauchy_iffₓ'. -/
/- ./././Mathport/Syntax/Translate/Basic.lean:635:2: warning: expanding binder collection (x y «expr ∈ » M) -/
theorem cauchy_iff {F : Filter R} :
Cauchy F ↔
mathlib commit https://github.com/leanprover-community/mathlib/commit/06a655b5fcfbda03502f9158bbf6c0f1400886f9
@@ -159,7 +159,7 @@ theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : { y : R | v y = v x } ∈
#align valued.loc_const Valued.loc_const
instance (priority := 100) : TopologicalRing R :=
- (toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.is_topologicalRing
+ (toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.isTopologicalRing
/- ./././Mathport/Syntax/Translate/Basic.lean:635:2: warning: expanding binder collection (x y «expr ∈ » M) -/
theorem cauchy_iff {F : Filter R} :
mathlib commit https://github.com/leanprover-community/mathlib/commit/3180fab693e2cee3bff62675571264cb8778b212
@@ -57,7 +57,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
· use (1 : Γ₀ˣ)
rintro y (y_in : (v y : Γ₀) < 1)
change v (x * y) < _
- rw [Valuation.map_mul, Hx, zero_mul]
+ rw [Valuation.map_mul, Hx, MulZeroClass.zero_mul]
exact Units.zero_lt γ
· simp only [image_subset_iff, set_of_subset_set_of, preimage_set_of_eq, Valuation.map_mul]
use γx⁻¹ * γ
@@ -72,7 +72,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
· use 1
rintro y (y_in : (v y : Γ₀) < 1)
change v (y * x) < _
- rw [Valuation.map_mul, Hx, mul_zero]
+ rw [Valuation.map_mul, Hx, MulZeroClass.mul_zero]
exact Units.zero_lt γ
· use γx⁻¹ * γ
rintro y (vy_lt : v y < ↑(γx⁻¹ * γ))
mathlib commit https://github.com/leanprover-community/mathlib/commit/4c586d291f189eecb9d00581aeb3dd998ac34442
@@ -48,7 +48,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
rintro - ⟨r, s, r_in, s_in, rfl⟩
calc
(v (r * s) : Γ₀) = v r * v s := Valuation.map_mul _ _ _
- _ < γ₀ * γ₀ := mul_lt_mul₀ r_in s_in
+ _ < γ₀ * γ₀ := (mul_lt_mul₀ r_in s_in)
_ ≤ γ := by exact_mod_cast h
leftMul := by
@@ -161,7 +161,7 @@ theorem loc_const {x : R} (h : (v x : Γ₀) ≠ 0) : { y : R | v y = v x } ∈
instance (priority := 100) : TopologicalRing R :=
(toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.is_topologicalRing
-/- ./././Mathport/Syntax/Translate/Basic.lean:628:2: warning: expanding binder collection (x y «expr ∈ » M) -/
+/- ./././Mathport/Syntax/Translate/Basic.lean:635:2: warning: expanding binder collection (x y «expr ∈ » M) -/
theorem cauchy_iff {F : Filter R} :
Cauchy F ↔
F.ne_bot ∧ ∀ γ : Γ₀ˣ, ∃ M ∈ F, ∀ (x) (_ : x ∈ M) (y) (_ : y ∈ M), (v (y - x) : Γ₀) < γ :=
mathlib commit https://github.com/leanprover-community/mathlib/commit/eb0cb4511aaef0da2462207b67358a0e1fe1e2ee
@@ -106,7 +106,7 @@ structure. -/
def mk' (v : Valuation R Γ₀) : Valued R Γ₀ :=
{ V
toUniformSpace := @TopologicalAddGroup.toUniformSpace R _ v.subgroups_basis.topology _
- to_uniformAddGroup := @topological_add_commGroup_is_uniform _ _ v.subgroups_basis.topology _
+ to_uniformAddGroup := @comm_topologicalAddGroup_is_uniform _ _ v.subgroups_basis.topology _
is_topological_valuation :=
by
letI := @TopologicalAddGroup.toUniformSpace R _ v.subgroups_basis.topology _
mathlib commit https://github.com/leanprover-community/mathlib/commit/bd9851ca476957ea4549eb19b40e7b5ade9428cc
@@ -49,7 +49,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
rintro - ⟨r, r_in, s, s_in, rfl⟩
calc
(v (r * s) : Γ₀) = v r * v s := Valuation.map_mul _ _ _
- _ < γ₀ * γ₀ := (mul_lt_mul₀ r_in s_in)
+ _ < γ₀ * γ₀ := mul_lt_mul₀ r_in s_in
_ ≤ γ := mod_cast h
leftMul := by
rintro x γ
@@ -96,7 +96,7 @@ class Valued (R : Type u) [Ring R] (Γ₀ : outParam (Type v))
is_topological_valuation : ∀ s, s ∈ 𝓝 (0 : R) ↔ ∃ γ : Γ₀ˣ, { x : R | v x < γ } ⊆ s
#align valued Valued
--- Porting note: removed
+-- Porting note(#12094): removed nolint; dangerous_instance linter not ported yet
--attribute [nolint dangerous_instance] Valued.toUniformSpace
namespace Valued
open Classical
(#11199)
We remove all but one open Classical
s, instead preferring to use open scoped Classical
. The only real side-effect this led to is moving a couple declarations to use Exists.choose
instead of Classical.choose
.
The first few commits are explicitly labelled regex replaces for ease of review.
@@ -18,7 +18,8 @@ values in a group with zero. Other instances are then deduced from this.
-/
-open Classical Topology uniformity
+open scoped Classical
+open Topology uniformity
open Set Valuation
The unit ball in a valued ring is open.
@@ -5,7 +5,7 @@ Authors: Patrick Massot
-/
import Mathlib.Topology.Algebra.Nonarchimedean.Bases
import Mathlib.Topology.Algebra.UniformFilterBasis
-import Mathlib.RingTheory.Valuation.Basic
+import Mathlib.RingTheory.Valuation.ValuationSubring
#align_import topology.algebra.valuation from "leanprover-community/mathlib"@"f2ce6086713c78a7f880485f7917ea547a215982"
@@ -168,4 +168,19 @@ theorem cauchy_iff {F : Filter R} : Cauchy F ↔
exact h γ
#align valued.cauchy_iff Valued.cauchy_iff
+variable (R)
+
+/-- The unit ball of a valued ring is open. -/
+theorem integer_isOpen : IsOpen (_i.v.integer : Set R) := by
+ rw [isOpen_iff_mem_nhds]
+ intro x hx
+ rw [mem_nhds]
+ exact ⟨1,
+ fun y hy => (sub_add_cancel y x).symm ▸ le_trans (map_add _ _ _) (max_le (le_of_lt hy) hx)⟩
+
+/-- The valuation subring of a valued field is open. -/
+theorem valuationSubring_isOpen (K : Type u) [Field K] [hv : Valued K Γ₀] :
+ IsOpen (hv.v.valuationSubring : Set K) :=
+ integer_isOpen K
+
end Valued
Set.image2
etc (#9275)
Set.image2
to use ∃ a ∈ s, ∃ b ∈ t, f a b = c
instead of ∃ a b, a ∈ s ∧ b ∈ t ∧ f a b = c
.Set.seq
as Set.image2
. The new definition is equal to the old one but rw [Set.seq]
gives a different result.Filter.map₂
to use ∃ u ∈ f, ∃ v ∈ g, image2 m u v ⊆ s
instead of ∃ u v, u ∈ f ∧ v ∈ g ∧ ...
Set.mem_image2
, Finset.mem_image₂
, Set.mem_mul
, Finset.mem_div
etcThe two reasons to make the change are:
∃ a ∈ s, ∃ b ∈ t, _
is a simp
-normal form, and@@ -45,7 +45,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
rintro γ
cases' exists_square_le γ with γ₀ h
use γ₀
- rintro - ⟨r, s, r_in, s_in, rfl⟩
+ rintro - ⟨r, r_in, s, s_in, rfl⟩
calc
(v (r * s) : Γ₀) = v r * v s := Valuation.map_mul _ _ _
_ < γ₀ * γ₀ := (mul_lt_mul₀ r_in s_in)
∃ x ∈ s, _
instead of ∃ (x) (_ : x ∈ s), _
(#9184)
Search for [∀∃].*(_
and manually replace some occurrences with more readable versions.
In case of ∀
, the new expressions are defeq to the old ones.
In case of ∃
, they differ by exists_prop
.
In some rare cases, golf proofs that needed fixing.
@@ -157,7 +157,7 @@ instance (priority := 100) : TopologicalRing R :=
(toUniformSpace_eq R Γ₀).symm ▸ v.subgroups_basis.toRingFilterBasis.isTopologicalRing
theorem cauchy_iff {F : Filter R} : Cauchy F ↔
- F.NeBot ∧ ∀ γ : Γ₀ˣ, ∃ M ∈ F, ∀ (x) (_ : x ∈ M) (y) (_ : y ∈ M), (v (y - x) : Γ₀) < γ := by
+ F.NeBot ∧ ∀ γ : Γ₀ˣ, ∃ M ∈ F, ∀ᵉ (x ∈ M) (y ∈ M), (v (y - x) : Γ₀) < γ := by
rw [toUniformSpace_eq, AddGroupFilterBasis.cauchy_iff]
apply and_congr Iff.rfl
simp_rw [Valued.v.subgroups_basis.mem_addGroupFilterBasis_iff]
exact_mod_cast
tactic with mod_cast
elaborator where possible (#8404)
We still have the exact_mod_cast
tactic, used in a few places, which somehow (?) works a little bit harder to prevent the expected type influencing the elaboration of the term. I would like to get to the bottom of this, and it will be easier once the only usages of exact_mod_cast
are the ones that don't work using the term elaborator by itself.
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@@ -49,7 +49,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
calc
(v (r * s) : Γ₀) = v r * v s := Valuation.map_mul _ _ _
_ < γ₀ * γ₀ := (mul_lt_mul₀ r_in s_in)
- _ ≤ γ := by exact_mod_cast h
+ _ ≤ γ := mod_cast h
leftMul := by
rintro x γ
rcases GroupWithZero.eq_zero_or_unit (v x) with (Hx | ⟨γx, Hx⟩)
Removes nonterminal simps on lines looking like simp [...]
@@ -37,7 +37,9 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
{ inter := by
rintro γ₀ γ₁
use min γ₀ γ₁
- simp [Valuation.ltAddSubgroup]
+ simp only [ltAddSubgroup, ge_iff_le, Units.min_val, Units.val_le_val, lt_min_iff,
+ AddSubgroup.mk_le_mk, setOf_subset_setOf, le_inf_iff, and_imp, imp_self, implies_true,
+ forall_const, and_true]
tauto
mul := by
rintro γ
@@ -127,7 +127,7 @@ theorem hasBasis_uniformity : (uniformity R).HasBasis (fun _ => True)
theorem toUniformSpace_eq :
toUniformSpace = @TopologicalAddGroup.toUniformSpace R _ v.subgroups_basis.topology _ :=
- uniformSpace_eq
+ UniformSpace.ext
((hasBasis_uniformity R Γ₀).eq_of_same_basis <| v.subgroups_basis.hasBasis_nhds_zero.comap _)
#align valued.to_uniform_space_eq Valued.toUniformSpace_eq
MulZeroClass.
in mul_zero
/zero_mul
(#6682)
Search&replace MulZeroClass.mul_zero
-> mul_zero
, MulZeroClass.zero_mul
-> zero_mul
.
These were introduced by Mathport, as the full name of mul_zero
is actually MulZeroClass.mul_zero
(it's exported with the short name).
@@ -54,7 +54,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
· use (1 : Γ₀ˣ)
rintro y _
change v (x * y) < _
- rw [Valuation.map_mul, Hx, MulZeroClass.zero_mul]
+ rw [Valuation.map_mul, Hx, zero_mul]
exact Units.zero_lt γ
· use γx⁻¹ * γ
rintro y (vy_lt : v y < ↑(γx⁻¹ * γ))
@@ -68,7 +68,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
· use 1
rintro y _
change v (y * x) < _
- rw [Valuation.map_mul, Hx, MulZeroClass.mul_zero]
+ rw [Valuation.map_mul, Hx, mul_zero]
exact Units.zero_lt γ
· use γx⁻¹ * γ
rintro y (vy_lt : v y < ↑(γx⁻¹ * γ))
@@ -56,8 +56,7 @@ theorem subgroups_basis : RingSubgroupsBasis fun γ : Γ₀ˣ => (v.ltAddSubgrou
change v (x * y) < _
rw [Valuation.map_mul, Hx, MulZeroClass.zero_mul]
exact Units.zero_lt γ
- · simp only [image_subset_iff, setOf_subset_setOf, preimage_setOf_eq, Valuation.map_mul]
- use γx⁻¹ * γ
+ · use γx⁻¹ * γ
rintro y (vy_lt : v y < ↑(γx⁻¹ * γ))
change (v (x * y) : Γ₀) < γ
rw [Valuation.map_mul, Hx, mul_comm]
@@ -2,16 +2,13 @@
Copyright (c) 2021 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot
-
-! This file was ported from Lean 3 source module topology.algebra.valuation
-! leanprover-community/mathlib commit f2ce6086713c78a7f880485f7917ea547a215982
-! Please do not edit these lines, except to modify the commit id
-! if you have ported upstream changes.
-/
import Mathlib.Topology.Algebra.Nonarchimedean.Bases
import Mathlib.Topology.Algebra.UniformFilterBasis
import Mathlib.RingTheory.Valuation.Basic
+#align_import topology.algebra.valuation from "leanprover-community/mathlib"@"f2ce6086713c78a7f880485f7917ea547a215982"
+
/-!
# The topology on a valued ring
The unported dependencies are