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

Theorem nmfval 24962
Description: The value of the norm function as the distance to zero. (Contributed by Mario Carneiro, 2-Oct-2015.)
Hypotheses
Ref Expression
nmfval.n 𝑁 = (norm‘𝑊)
nmfval.x 𝑋 = (Base‘𝑊)
nmfval.z 0 = (0g‘𝑊)
nmfval.d 𝐷 = (dist‘𝑊)
Assertion
Ref Expression
nmfval 𝑁 = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
Distinct variable groups:   𝑥,𝐷   𝑥,𝑊   𝑥,𝑋   𝑥, 0
Allowed substitution hint:   𝑁(𝑥)

Proof of Theorem nmfval
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 nmfval.n . 2 𝑁 = (norm‘𝑊)
2 fveq2 6916 . . . . . 6 (𝑤 = 𝑊 → (Base‘𝑤) = (Base‘𝑊))
3 nmfval.x . . . . . 6 𝑋 = (Base‘𝑊)
42, 3eqtr4di 2816 . . . . 5 (𝑤 = 𝑊 → (Base‘𝑤) = 𝑋)
5 fveq2 6916 . . . . . . 7 (𝑤 = 𝑊 → (dist‘𝑤) = (dist‘𝑊))
6 nmfval.d . . . . . . 7 𝐷 = (dist‘𝑊)
75, 6eqtr4di 2816 . . . . . 6 (𝑤 = 𝑊 → (dist‘𝑤) = 𝐷)
8 eqidd 2764 . . . . . 6 (𝑤 = 𝑊 → 𝑥 = 𝑥)
9 fveq2 6916 . . . . . . 7 (𝑤 = 𝑊 → (0g‘𝑤) = (0g‘𝑊))
10 nmfval.z . . . . . . 7 0 = (0g‘𝑊)
119, 10eqtr4di 2816 . . . . . 6 (𝑤 = 𝑊 → (0g‘𝑤) = 0 )
127, 8, 11oveq123d 7472 . . . . 5 (𝑤 = 𝑊 → (𝑥(dist‘𝑤)(0g‘𝑤)) = (𝑥𝐷 0 ))
134, 12mpteq12dv 5198 . . . 4 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘𝑤) ↦ (𝑥(dist‘𝑤)(0g‘𝑤))) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
14 df-nm 24956 . . . 4 norm = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘𝑤) ↦ (𝑥(dist‘𝑤)(0g‘𝑤))))
15 eqid 2763 . . . . . 6 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
16 df-ov 7454 . . . . . . . 8 (𝑥𝐷 0 ) = (𝐷‘⟨𝑥, 0 ⟩)
17 fvrn0 6944 . . . . . . . 8 (𝐷‘⟨𝑥, 0 ⟩) ∈ (ran 𝐷 ∪ {∅})
1816, 17eqeltri 2860 . . . . . . 7 (𝑥𝐷 0 ) ∈ (ran 𝐷 ∪ {∅})
1918a1i 11 . . . . . 6 (𝑥 ∈ 𝑋 → (𝑥𝐷 0 ) ∈ (ran 𝐷 ∪ {∅}))
2015, 19fmpti 7144 . . . . 5 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )):𝑋⟶(ran 𝐷 ∪ {∅})
213fvexi 6930 . . . . 5 𝑋 ∈ V
226fvexi 6930 . . . . . . 7 𝐷 ∈ V
2322rnex 7956 . . . . . 6 ran 𝐷 ∈ V
24 p0ex 5353 . . . . . 6 {∅} ∈ V
2523, 24unex 7793 . . . . 5 (ran 𝐷 ∪ {∅}) ∈ V
26 fex2 7982 . . . . 5 (((𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )):𝑋⟶(ran 𝐷 ∪ {∅}) ∧ 𝑋 ∈ V ∧ (ran 𝐷 ∪ {∅}) ∈ V) → (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) ∈ V)
2720, 21, 25, 26mp3an 1491 . . . 4 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) ∈ V
2813, 14, 27fvmpt 7024 . . 3 (𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
29 fvprc 6908 . . . . 5 (¬ 𝑊 ∈ V → (norm‘𝑊) = ∅)
30 mpt0 6711 . . . . 5 (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )) = ∅
3129, 30eqtr4di 2816 . . . 4 (¬ 𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )))
32 fvprc 6908 . . . . . 6 (¬ 𝑊 ∈ V → (Base‘𝑊) = ∅)
333, 32eqtrid 2810 . . . . 5 (¬ 𝑊 ∈ V → 𝑋 = ∅)
3433mpteq1d 5201 . . . 4 (¬ 𝑊 ∈ V → (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) = (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )))
3531, 34eqtr4d 2801 . . 3 (¬ 𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
3628, 35pm2.61i 184 . 2 (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
371, 36eqtri 2786 1 𝑁 = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570   ∈ wcel 2147  Vcvv 3454   ∪ cun 4152  ∅c0 4281  {csn 4588  ⟨cop 4840   ↦ cmpt 5192  ran crn 5659  ⟶wf 6562  ‘cfv 6566  (class class class)co 7451  Basecbs 17431  distcds 17481  0gc0g 17660  normcnm 24950
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
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 2102  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 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fv 6574  df-ov 7454  df-nm 24956
This theorem is used by:  nmval  24963  nmfval0  24964  nmpropd  24968  subgnm  25007  tngnm  25025  cnfldnm  25152  nmcn  25219  ressnm  33621
  Copyright terms: Public domain W3C validator