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

Theorem nmfval 24900
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 6883 . . . . . 6 (𝑤 = 𝑊 → (Base‘𝑤) = (Base‘𝑊))
3 nmfval.x . . . . . 6 𝑋 = (Base‘𝑊)
42, 3eqtr4di 2814 . . . . 5 (𝑤 = 𝑊 → (Base‘𝑤) = 𝑋)
5 fveq2 6883 . . . . . . 7 (𝑤 = 𝑊 → (dist‘𝑤) = (dist‘𝑊))
6 nmfval.d . . . . . . 7 𝐷 = (dist‘𝑊)
75, 6eqtr4di 2814 . . . . . 6 (𝑤 = 𝑊 → (dist‘𝑤) = 𝐷)
8 eqidd 2762 . . . . . 6 (𝑤 = 𝑊 → 𝑥 = 𝑥)
9 fveq2 6883 . . . . . . 7 (𝑤 = 𝑊 → (0g‘𝑤) = (0g‘𝑊))
10 nmfval.z . . . . . . 7 0 = (0g‘𝑊)
119, 10eqtr4di 2814 . . . . . 6 (𝑤 = 𝑊 → (0g‘𝑤) = 0 )
127, 8, 11oveq123d 7439 . . . . 5 (𝑤 = 𝑊 → (𝑥(dist‘𝑤)(0g‘𝑤)) = (𝑥𝐷 0 ))
134, 12mpteq12dv 5192 . . . 4 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘𝑤) ↦ (𝑥(dist‘𝑤)(0g‘𝑤))) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
14 df-nm 24894 . . . 4 norm = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘𝑤) ↦ (𝑥(dist‘𝑤)(0g‘𝑤))))
15 eqid 2761 . . . . . 6 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
16 df-ov 7421 . . . . . . . 8 (𝑥𝐷 0 ) = (𝐷‘⟨𝑥, 0 ⟩)
17 fvrn0 6911 . . . . . . . 8 (𝐷‘⟨𝑥, 0 ⟩) ∈ (ran 𝐷 ∪ {∅})
1816, 17eqeltri 2857 . . . . . . 7 (𝑥𝐷 0 ) ∈ (ran 𝐷 ∪ {∅})
1918a1i 11 . . . . . 6 (𝑥 ∈ 𝑋 → (𝑥𝐷 0 ) ∈ (ran 𝐷 ∪ {∅}))
2015, 19fmpti 7110 . . . . 5 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )):𝑋⟶(ran 𝐷 ∪ {∅})
213fvexi 6897 . . . . 5 𝑋 ∈ V
226fvexi 6897 . . . . . . 7 𝐷 ∈ V
2322rnex 7920 . . . . . 6 ran 𝐷 ∈ V
24 p0ex 5346 . . . . . 6 {∅} ∈ V
2523, 24unex 7759 . . . . 5 (ran 𝐷 ∪ {∅}) ∈ V
26 fex2 7946 . . . . 5 (((𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )):𝑋⟶(ran 𝐷 ∪ {∅}) ∧ 𝑋 ∈ V ∧ (ran 𝐷 ∪ {∅}) ∈ V) → (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) ∈ V)
2720, 21, 25, 26mp3an 1490 . . . 4 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) ∈ V
2813, 14, 27fvmpt 6991 . . 3 (𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
29 fvprc 6875 . . . . 5 (¬ 𝑊 ∈ V → (norm‘𝑊) = ∅)
30 mpt0 6679 . . . . 5 (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )) = ∅
3129, 30eqtr4di 2814 . . . 4 (¬ 𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )))
32 fvprc 6875 . . . . . 6 (¬ 𝑊 ∈ V → (Base‘𝑊) = ∅)
333, 32eqtrid 2808 . . . . 5 (¬ 𝑊 ∈ V → 𝑋 = ∅)
3433mpteq1d 5195 . . . 4 (¬ 𝑊 ∈ V → (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) = (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )))
3531, 34eqtr4d 2799 . . 3 (¬ 𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
3628, 35pm2.61i 184 . 2 (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
371, 36eqtri 2784 1 𝑁 = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570   ∈ wcel 2145  Vcvv 3451   ∪ cun 3897  ∅c0 4279  {csn 4584  ⟨cop 4590   ↦ cmpt 5186  ran crn 5652  ⟶wf 6533  ‘cfv 6537  (class class class)co 7418  Basecbs 17380  distcds 17430  0gc0g 17603  normcnm 24888
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 7749
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 6493  df-fun 6539  df-fn 6540  df-f 6541  df-fv 6545  df-ov 7421  df-nm 24894
This theorem is used by:  nmval  24901  nmfval0  24902  nmpropd  24906  subgnm  24945  tngnm  24963  cnfldnm  25090  nmcn  25157  ressnm  33518
  Copyright terms: Public domain W3C validator