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

Theorem funfv 7003
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 6929 . . . . 5 (𝐹‘𝐴) ∈ V
21unisn 4891 . . . 4 ∪ {(𝐹‘𝐴)} = (𝐹‘𝐴)
3 eqid 2763 . . . . . . 7 dom 𝐹 = dom 𝐹
4 df-fn 6569 . . . . . . 7 (𝐹 Fn dom 𝐹 ↔ (Fun 𝐹 ∧ dom 𝐹 = dom 𝐹))
53, 4mpbiran2 723 . . . . . 6 (𝐹 Fn dom 𝐹 ↔ Fun 𝐹)
6 fnsnfv 6995 . . . . . 6 ((𝐹 Fn dom 𝐹 ∧ 𝐴 ∈ dom 𝐹) → {(𝐹‘𝐴)} = (𝐹 “ {𝐴}))
75, 6sylanbr 594 . . . . 5 ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → {(𝐹‘𝐴)} = (𝐹 “ {𝐴}))
87unieqd 4885 . . . 4 ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → ∪ {(𝐹‘𝐴)} = ∪ (𝐹 “ {𝐴}))
92, 8eqtr3id 2812 . . 3 ((Fun 𝐹 ∧ 𝐴 ∈ dom 𝐹) → (𝐹‘𝐴) = ∪ (𝐹 “ {𝐴}))
109ex 418 . 2 (Fun 𝐹 → (𝐴 ∈ dom 𝐹 → (𝐹‘𝐴) = ∪ (𝐹 “ {𝐴})))
11 ndmfv 6948 . . 3 (¬ 𝐴 ∈ dom 𝐹 → (𝐹‘𝐴) = ∅)
12 ndmima 6117 . . . . 5 (¬ 𝐴 ∈ dom 𝐹 → (𝐹 “ {𝐴}) = ∅)
1312unieqd 4885 . . . 4 (¬ 𝐴 ∈ dom 𝐹 → ∪ (𝐹 “ {𝐴}) = ∪ ∅)
14 uni0 4901 . . . 4 ∪ ∅ = ∅
1513, 14eqtrdi 2814 . . 3 (¬ 𝐴 ∈ dom 𝐹 → ∪ (𝐹 “ {𝐴}) = ∅)
1611, 15eqtr4d 2801 . 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 1570   ∈ wcel 2147  ∅c0 4281  {csn 4588  ∪ cuni 4872  dom cdm 5658   “ cima 5661  Fun wfun 6560   Fn wfn 6561  ‘cfv 6566
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-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
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-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-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  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-fv 6574
This theorem is used by:  funfv2  7004  fvun  7006  dffv2  7011  setrecsss  51200
  Copyright terms: Public domain W3C validator