MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nmfval0 Structured version   Visualization version   GIF version

Theorem nmfval0 24909
Description: The value of the norm function on a structure containing a zero as the distance restricted to the elements of the base set to zero. Examples of structures containing a "zero" are groups (see nmfval2 24910 proved from this theorem and grpidcl 19176) or more generally monoids (see mndidcl 18939), or pointed sets). (Contributed by Mario Carneiro, 2-Oct-2015.) Extract this result from the proof of nmfval2 24910. (Revised by BJ, 27-Aug-2024.)
Hypotheses
Ref Expression
nmfval0.n 𝑁 = (norm‘𝑊)
nmfval0.x 𝑋 = (Base‘𝑊)
nmfval0.z 0 = (0g‘𝑊)
nmfval0.d 𝐷 = (dist‘𝑊)
nmfval0.e 𝐸 = (𝐷 ↾ (𝑋 × 𝑋))
Assertion
Ref Expression
nmfval0 ( 0 ∈ 𝑋 → 𝑁 = (𝑥 ∈ 𝑋 ↦ (𝑥𝐸 0 )))
Distinct variable groups:   𝑥,𝐷   𝑥,𝑊   𝑥,𝑋   𝑥, 0
Allowed substitution hints:   𝐸(𝑥)   𝑁(𝑥)

Proof of Theorem nmfval0
StepHypRef Expression
1 nmfval0.n . . 3 𝑁 = (norm‘𝑊)
2 nmfval0.x . . 3 𝑋 = (Base‘𝑊)
3 nmfval0.z . . 3 0 = (0g‘𝑊)
4 nmfval0.d . . 3 𝐷 = (dist‘𝑊)
51, 2, 3, 4nmfval 24907 . 2 𝑁 = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
6 nmfval0.e . . . . 5 𝐸 = (𝐷 ↾ (𝑋 × 𝑋))
76oveqi 7433 . . . 4 (𝑥𝐸 0 ) = (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 )
8 ovres 7586 . . . . 5 ((𝑥 ∈ 𝑋 ∧ 0 ∈ 𝑋) → (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 ) = (𝑥𝐷 0 ))
98ancoms 464 . . . 4 (( 0 ∈ 𝑋 ∧ 𝑥 ∈ 𝑋) → (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 ) = (𝑥𝐷 0 ))
107, 9eqtr2id 2809 . . 3 (( 0 ∈ 𝑋 ∧ 𝑥 ∈ 𝑋) → (𝑥𝐷 0 ) = (𝑥𝐸 0 ))
1110mpteq2dva 5198 . 2 ( 0 ∈ 𝑋 → (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐸 0 )))
125, 11eqtrid 2808 1 ( 0 ∈ 𝑋 → 𝑁 = (𝑥 ∈ 𝑋 ↦ (𝑥𝐸 0 )))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145   ↦ cmpt 5186   × cxp 5649   ↾ cres 5653  ‘cfv 6538  (class class class)co 7420  Basecbs 17387  distcds 17437  0gc0g 17610  normcnm 24895
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-fv 6546  df-ov 7423  df-nm 24901
This theorem is used by:  nmfval2  24910
  Copyright terms: Public domain W3C validator