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

Theorem nmfval0 24506
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 24507 proved from this theorem and grpidcl 18880) or more generally monoids (see mndidcl 18659), or pointed sets). (Contributed by Mario Carneiro, 2-Oct-2015.) Extract this result from the proof of nmfval2 24507. (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 24504 . 2 𝑁 = (𝑥𝑋 ↦ (𝑥𝐷 0 ))
6 nmfval0.e . . . . 5 𝐸 = (𝐷 ↾ (𝑋 × 𝑋))
76oveqi 7365 . . . 4 (𝑥𝐸 0 ) = (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 )
8 ovres 7518 . . . . 5 ((𝑥𝑋0𝑋) → (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 ) = (𝑥𝐷 0 ))
98ancoms 458 . . . 4 (( 0𝑋𝑥𝑋) → (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 ) = (𝑥𝐷 0 ))
107, 9eqtr2id 2781 . . 3 (( 0𝑋𝑥𝑋) → (𝑥𝐷 0 ) = (𝑥𝐸 0 ))
1110mpteq2dva 5186 . 2 ( 0𝑋 → (𝑥𝑋 ↦ (𝑥𝐷 0 )) = (𝑥𝑋 ↦ (𝑥𝐸 0 )))
125, 11eqtrid 2780 1 ( 0𝑋𝑁 = (𝑥𝑋 ↦ (𝑥𝐸 0 )))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wcel 2113  cmpt 5174   × cxp 5617  cres 5621  cfv 6486  (class class class)co 7352  Basecbs 17122  distcds 17172  0gc0g 17345  normcnm 24492
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2705  ax-sep 5236  ax-nul 5246  ax-pow 5305  ax-pr 5372  ax-un 7674
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2566  df-clab 2712  df-cleq 2725  df-clel 2808  df-nfc 2882  df-ne 2930  df-ral 3049  df-rex 3058  df-rab 3397  df-v 3439  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4283  df-if 4475  df-pw 4551  df-sn 4576  df-pr 4578  df-op 4582  df-uni 4859  df-br 5094  df-opab 5156  df-mpt 5175  df-id 5514  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-rn 5630  df-res 5631  df-ima 5632  df-iota 6442  df-fun 6488  df-fn 6489  df-f 6490  df-fv 6494  df-ov 7355  df-nm 24498
This theorem is referenced by:  nmfval2  24507
  Copyright terms: Public domain W3C validator