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

Theorem nmfval 24913
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 6886 . . . . . 6 (𝑤 = 𝑊 → (Base‘𝑤) = (Base‘𝑊))
3 nmfval.x . . . . . 6 𝑋 = (Base‘𝑊)
42, 3eqtr4di 2813 . . . . 5 (𝑤 = 𝑊 → (Base‘𝑤) = 𝑋)
5 fveq2 6886 . . . . . . 7 (𝑤 = 𝑊 → (dist‘𝑤) = (dist‘𝑊))
6 nmfval.d . . . . . . 7 𝐷 = (dist‘𝑊)
75, 6eqtr4di 2813 . . . . . 6 (𝑤 = 𝑊 → (dist‘𝑤) = 𝐷)
8 eqidd 2761 . . . . . 6 (𝑤 = 𝑊 → 𝑥 = 𝑥)
9 fveq2 6886 . . . . . . 7 (𝑤 = 𝑊 → (0g‘𝑤) = (0g‘𝑊))
10 nmfval.z . . . . . . 7 0 = (0g‘𝑊)
119, 10eqtr4di 2813 . . . . . 6 (𝑤 = 𝑊 → (0g‘𝑤) = 0 )
127, 8, 11oveq123d 7442 . . . . 5 (𝑤 = 𝑊 → (𝑥(dist‘𝑤)(0g‘𝑤)) = (𝑥𝐷 0 ))
134, 12mpteq12dv 5191 . . . 4 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘𝑤) ↦ (𝑥(dist‘𝑤)(0g‘𝑤))) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
14 df-nm 24907 . . . 4 norm = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘𝑤) ↦ (𝑥(dist‘𝑤)(0g‘𝑤))))
15 eqid 2760 . . . . . 6 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
16 df-ov 7424 . . . . . . . 8 (𝑥𝐷 0 ) = (𝐷‘⟨𝑥, 0 ⟩)
17 fvrn0 6914 . . . . . . . 8 (𝐷‘⟨𝑥, 0 ⟩) ∈ (ran 𝐷 ∪ {∅})
1816, 17eqeltri 2856 . . . . . . 7 (𝑥𝐷 0 ) ∈ (ran 𝐷 ∪ {∅})
1918a1i 11 . . . . . 6 (𝑥 ∈ 𝑋 → (𝑥𝐷 0 ) ∈ (ran 𝐷 ∪ {∅}))
2015, 19fmpti 7113 . . . . 5 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )):𝑋⟶(ran 𝐷 ∪ {∅})
213fvexi 6900 . . . . 5 𝑋 ∈ V
226fvexi 6900 . . . . . . 7 𝐷 ∈ V
2322rnex 7923 . . . . . 6 ran 𝐷 ∈ V
24 p0ex 5345 . . . . . 6 {∅} ∈ V
2523, 24unex 7762 . . . . 5 (ran 𝐷 ∪ {∅}) ∈ V
26 fex2 7949 . . . . 5 (((𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )):𝑋⟶(ran 𝐷 ∪ {∅}) ∧ 𝑋 ∈ V ∧ (ran 𝐷 ∪ {∅}) ∈ V) → (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) ∈ V)
2720, 21, 25, 26mp3an 1490 . . . 4 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) ∈ V
2813, 14, 27fvmpt 6994 . . 3 (𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
29 fvprc 6878 . . . . 5 (¬ 𝑊 ∈ V → (norm‘𝑊) = ∅)
30 mpt0 6682 . . . . 5 (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )) = ∅
3129, 30eqtr4di 2813 . . . 4 (¬ 𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )))
32 fvprc 6878 . . . . . 6 (¬ 𝑊 ∈ V → (Base‘𝑊) = ∅)
333, 32eqtrid 2807 . . . . 5 (¬ 𝑊 ∈ V → 𝑋 = ∅)
3433mpteq1d 5194 . . . 4 (¬ 𝑊 ∈ V → (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) = (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )))
3531, 34eqtr4d 2798 . . 3 (¬ 𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
3628, 35pm2.61i 184 . 2 (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
371, 36eqtri 2783 1 𝑁 = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1569   ∈ wcel 2144  Vcvv 3450   ∪ cun 4149  ∅c0 4278  {csn 4584  ⟨cop 4834   ↦ cmpt 5185  ran crn 5651  ⟶wf 6535  ‘cfv 6539  (class class class)co 7421  Basecbs 17393  distcds 17443  0gc0g 17616  normcnm 24901
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 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7752
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 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-fv 6547  df-ov 7424  df-nm 24907
This theorem is used by:  nmval  24914  nmfval0  24915  nmpropd  24919  subgnm  24958  tngnm  24976  cnfldnm  25103  nmcn  25170  ressnm  33572
  Copyright terms: Public domain W3C validator