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

Theorem nmfval 25012
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 6931 . . . . . 6 (𝑤 = 𝑊 → (Base‘𝑤) = (Base‘𝑊))
3 nmfval.x . . . . . 6 𝑋 = (Base‘𝑊)
42, 3eqtr4di 2827 . . . . 5 (𝑤 = 𝑊 → (Base‘𝑤) = 𝑋)
5 fveq2 6931 . . . . . . 7 (𝑤 = 𝑊 → (dist‘𝑤) = (dist‘𝑊))
6 nmfval.d . . . . . . 7 𝐷 = (dist‘𝑊)
75, 6eqtr4di 2827 . . . . . 6 (𝑤 = 𝑊 → (dist‘𝑤) = 𝐷)
8 eqidd 2775 . . . . . 6 (𝑤 = 𝑊 → 𝑥 = 𝑥)
9 fveq2 6931 . . . . . . 7 (𝑤 = 𝑊 → (0g‘𝑤) = (0g‘𝑊))
10 nmfval.z . . . . . . 7 0 = (0g‘𝑊)
119, 10eqtr4di 2827 . . . . . 6 (𝑤 = 𝑊 → (0g‘𝑤) = 0 )
127, 8, 11oveq123d 7488 . . . . 5 (𝑤 = 𝑊 → (𝑥(dist‘𝑤)(0g‘𝑤)) = (𝑥𝐷 0 ))
134, 12mpteq12dv 5206 . . . 4 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘𝑤) ↦ (𝑥(dist‘𝑤)(0g‘𝑤))) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
14 df-nm 25006 . . . 4 norm = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘𝑤) ↦ (𝑥(dist‘𝑤)(0g‘𝑤))))
15 eqid 2774 . . . . . 6 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
16 df-ov 7470 . . . . . . . 8 (𝑥𝐷 0 ) = (𝐷‘⟨𝑥, 0 ⟩)
17 fvrn0 6959 . . . . . . . 8 (𝐷‘⟨𝑥, 0 ⟩) ∈ (ran 𝐷 ∪ {∅})
1816, 17eqeltri 2871 . . . . . . 7 (𝑥𝐷 0 ) ∈ (ran 𝐷 ∪ {∅})
1918a1i 11 . . . . . 6 (𝑥 ∈ 𝑋 → (𝑥𝐷 0 ) ∈ (ran 𝐷 ∪ {∅}))
2015, 19fmpti 7159 . . . . 5 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )):𝑋⟶(ran 𝐷 ∪ {∅})
213fvexi 6945 . . . . 5 𝑋 ∈ V
226fvexi 6945 . . . . . . 7 𝐷 ∈ V
2322rnex 7972 . . . . . 6 ran 𝐷 ∈ V
24 p0ex 5361 . . . . . 6 {∅} ∈ V
2523, 24unex 7809 . . . . 5 (ran 𝐷 ∪ {∅}) ∈ V
26 fex2 7998 . . . . 5 (((𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )):𝑋⟶(ran 𝐷 ∪ {∅}) ∧ 𝑋 ∈ V ∧ (ran 𝐷 ∪ {∅}) ∈ V) → (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) ∈ V)
2720, 21, 25, 26mp3an 1493 . . . 4 (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) ∈ V
2813, 14, 27fvmpt 7039 . . 3 (𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
29 fvprc 6923 . . . . 5 (¬ 𝑊 ∈ V → (norm‘𝑊) = ∅)
30 mpt0 6726 . . . . 5 (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )) = ∅
3129, 30eqtr4di 2827 . . . 4 (¬ 𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )))
32 fvprc 6923 . . . . . 6 (¬ 𝑊 ∈ V → (Base‘𝑊) = ∅)
333, 32eqtrid 2821 . . . . 5 (¬ 𝑊 ∈ V → 𝑋 = ∅)
3433mpteq1d 5209 . . . 4 (¬ 𝑊 ∈ V → (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )) = (𝑥 ∈ ∅ ↦ (𝑥𝐷 0 )))
3531, 34eqtr4d 2812 . . 3 (¬ 𝑊 ∈ V → (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 )))
3628, 35pm2.61i 184 . 2 (norm‘𝑊) = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
371, 36eqtri 2797 1 𝑁 = (𝑥 ∈ 𝑋 ↦ (𝑥𝐷 0 ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1572   ∈ wcel 2156  Vcvv 3461   ∪ cun 4159  ∅c0 4288  {csn 4595  ⟨cop 4848   ↦ cmpt 5200  ran crn 5667  ⟶wf 6574  ‘cfv 6578  (class class class)co 7467  Basecbs 17452  distcds 17502  0gc0g 17685  normcnm 25000
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-fv 6586  df-ov 7470  df-nm 25006
This theorem is used by:  nmval  25013  nmfval0  25014  nmpropd  25018  subgnm  25057  tngnm  25075  cnfldnm  25202  nmcn  25269  ressnm  33738
  Copyright terms: Public domain W3C validator