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

Theorem nmfval0 24924
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 24925 proved from this theorem and grpidcl 19191) or more generally monoids (see mndidcl 18954), or pointed sets). (Contributed by Mario Carneiro, 2-Oct-2015.) Extract this result from the proof of nmfval2 24925. (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 24922 . 2 𝑁 = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
6 nmfval0.e . . . . 5 𝐸 = (𝐷 ↾ (𝑋 × 𝑋))
76oveqi 7443 . . . 4 (𝑥𝐸 0 ) = (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 )
8 ovres 7596 . . . . 5 ((𝑥 ∈ 𝑋 ∧ 0 ∈ 𝑋) → (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 ) = (𝑥𝐷 0 ))
98ancoms 464 . . . 4 (( 0 ∈ 𝑋 ∧ 𝑥 ∈ 𝑋) → (𝑥(𝐷 ↾ (𝑋 × 𝑋)) 0 ) = (𝑥𝐷 0 ))
107, 9eqtr2id 2811 . . 3 (( 0 ∈ 𝑋 ∧ 𝑥 ∈ 𝑋) → (𝑥𝐷 0 ) = (𝑥𝐸 0 ))
1110mpteq2dva 5201 . 2 ( 0 ∈ 𝑋 → (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐸 0 )))
125, 11eqtrid 2810 1 ( 0 ∈ 𝑋 → 𝑁 = (𝑥 ∈ 𝑋 ↦ (𝑥𝐸 0 )))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2146   ↦ cmpt 5189   × cxp 5653   ↾ cres 5657  ‘cfv 6547  (class class class)co 7430  Basecbs 17402  distcds 17452  0gc0g 17625  normcnm 24910
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7761
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-fv 6555  df-ov 7433  df-nm 24916
This theorem is used by:  nmfval2  24925
  Copyright terms: Public domain W3C validator