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

Theorem funfv 6973
Description: A simplified expression for the value of a function when we know it is a function. (Contributed by NM, 22-May-1998.)
Assertion
Ref Expression
funfv (Fun 𝐹 → (𝐹‘𝐴) = ∪ (𝐹 “ {𝐴}))

Proof of Theorem funfv
StepHypRef Expression
1 fvex 6899 . . . . 5 (𝐹‘𝐴) ∈ V
21unisn 4885 . . . 4 ∪ {(𝐹‘𝐴)} = (𝐹‘𝐴)
3 eqid 2760 . . . . . . 7 dom 𝐹 = dom 𝐹
4 df-fn 6542 . . . . . . 7 (𝐹 Fn dom 𝐹 ↔ (Fun 𝐹 ∧ dom 𝐹 = dom 𝐹))
53, 4mpbiran2 723 . . . . . 6 (𝐹 Fn dom 𝐹 ↔ Fun 𝐹)
6 fnsnfv 6965 . . . . . 6 ((𝐹 Fn dom 𝐹 ∧ 𝐴 ∈ dom 𝐹) → {(𝐹‘𝐴)} = (𝐹 “ {𝐴}))
75, 6sylanbr 594 . . . . 5 ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → {(𝐹‘𝐴)} = (𝐹 “ {𝐴}))
87unieqd 4879 . . . 4 ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → ∪ {(𝐹‘𝐴)} = ∪ (𝐹 “ {𝐴}))
92, 8eqtr3id 2809 . . 3 ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → (𝐹‘𝐴) = ∪ (𝐹 “ {𝐴}))
109ex 418 . 2 (Fun 𝐹 → (𝐴 ∈ dom 𝐹 → (𝐹‘𝐴) = ∪ (𝐹 “ {𝐴})))
11 ndmfv 6918 . . 3 (¬ 𝐴 ∈ dom 𝐹 → (𝐹‘𝐴) = ∅)
12 ndmima 6098 . . . . 5 (¬ 𝐴 ∈ dom 𝐹 → (𝐹 “ {𝐴}) = ∅)
1312unieqd 4879 . . . 4 (¬ 𝐴 ∈ dom 𝐹 → ∪ (𝐹 “ {𝐴}) = ∪ ∅)
14 uni0 4895 . . . 4 ∪ ∅ = ∅
1513, 14eqtrdi 2811 . . 3 (¬ 𝐴 ∈ dom 𝐹 → ∪ (𝐹 “ {𝐴}) = ∅)
1611, 15eqtr4d 2798 . 2 (¬ 𝐴 ∈ dom 𝐹 → (𝐹‘𝐴) = ∪ (𝐹 “ {𝐴}))
1710, 16pm2.61d1 182 1 (Fun 𝐹 → (𝐹‘𝐴) = ∪ (𝐹 “ {𝐴}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∅c0 4278  {csn 4584  ∪ cuni 4866  dom cdm 5650   “ cima 5653  Fun wfun 6533   Fn wfn 6534  ‘cfv 6539
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-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
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-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-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  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-fv 6547
This theorem is used by:  funfv2  6974  fvun  6976  dffv2  6981  setrecsss  50963
  Copyright terms: Public domain W3C validator