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

Theorem nmfval0 24555
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 24556 proved from this theorem and grpidcl 18941) or more generally monoids (see mndidcl 18717), or pointed sets). (Contributed by Mario Carneiro, 2-Oct-2015.) Extract this result from the proof of nmfval2 24556. (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 24553 . 2 𝑁 = (𝑥𝑋 ↦ (𝑥𝐷 0 ))
6 nmfval0.e . . . . 5 𝐸 = (𝐷 ↾ (𝑋 × 𝑋))
76oveqi 7380 . . . 4 (𝑥𝐸 0 ) = (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 )
8 ovres 7533 . . . . 5 ((𝑥𝑋0𝑋) → (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 ) = (𝑥𝐷 0 ))
98ancoms 458 . . . 4 (( 0𝑋𝑥𝑋) → (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 ) = (𝑥𝐷 0 ))
107, 9eqtr2id 2784 . . 3 (( 0𝑋𝑥𝑋) → (𝑥𝐷 0 ) = (𝑥𝐸 0 ))
1110mpteq2dva 5178 . 2 ( 0𝑋 → (𝑥𝑋 ↦ (𝑥𝐷 0 )) = (𝑥𝑋 ↦ (𝑥𝐸 0 )))
125, 11eqtrid 2783 1 ( 0𝑋𝑁 = (𝑥𝑋 ↦ (𝑥𝐸 0 )))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wcel 2114  cmpt 5166   × cxp 5629  cres 5633  cfv 6498  (class class class)co 7367  Basecbs 17179  distcds 17229  0gc0g 17402  normcnm 24541
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2708  ax-sep 5231  ax-nul 5241  ax-pow 5307  ax-pr 5375  ax-un 7689
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2539  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2811  df-nfc 2885  df-ne 2933  df-ral 3052  df-rex 3062  df-rab 3390  df-v 3431  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-nul 4274  df-if 4467  df-pw 4543  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4851  df-br 5086  df-opab 5148  df-mpt 5167  df-id 5526  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-iota 6454  df-fun 6500  df-fn 6501  df-f 6502  df-fv 6506  df-ov 7370  df-nm 24547
This theorem is referenced by:  nmfval2  24556
  Copyright terms: Public domain W3C validator