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

Theorem elunirn 6388
Description: Membership in the union of the range of a function. See elunirnALT 6389 for a shorter proof which uses ax-pow 4761. (Contributed by NM, 24-Sep-2006.)
Assertion
Ref Expression
elunirn (Fun 𝐹 → (𝐴 ran 𝐹 ↔ ∃𝑥 ∈ dom 𝐹 𝐴 ∈ (𝐹𝑥)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐹

Proof of Theorem elunirn
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 eluni 4366 . 2 (𝐴 ran 𝐹 ↔ ∃𝑦(𝐴𝑦𝑦 ∈ ran 𝐹))
2 funfn 5816 . . . . . . . 8 (Fun 𝐹𝐹 Fn dom 𝐹)
3 fvelrnb 6135 . . . . . . . 8 (𝐹 Fn dom 𝐹 → (𝑦 ∈ ran 𝐹 ↔ ∃𝑥 ∈ dom 𝐹(𝐹𝑥) = 𝑦))
42, 3sylbi 205 . . . . . . 7 (Fun 𝐹 → (𝑦 ∈ ran 𝐹 ↔ ∃𝑥 ∈ dom 𝐹(𝐹𝑥) = 𝑦))
54anbi2d 735 . . . . . 6 (Fun 𝐹 → ((𝐴𝑦𝑦 ∈ ran 𝐹) ↔ (𝐴𝑦 ∧ ∃𝑥 ∈ dom 𝐹(𝐹𝑥) = 𝑦)))
6 r19.42v 3069 . . . . . 6 (∃𝑥 ∈ dom 𝐹(𝐴𝑦 ∧ (𝐹𝑥) = 𝑦) ↔ (𝐴𝑦 ∧ ∃𝑥 ∈ dom 𝐹(𝐹𝑥) = 𝑦))
75, 6syl6bbr 276 . . . . 5 (Fun 𝐹 → ((𝐴𝑦𝑦 ∈ ran 𝐹) ↔ ∃𝑥 ∈ dom 𝐹(𝐴𝑦 ∧ (𝐹𝑥) = 𝑦)))
8 eleq2 2673 . . . . . . 7 ((𝐹𝑥) = 𝑦 → (𝐴 ∈ (𝐹𝑥) ↔ 𝐴𝑦))
98biimparc 502 . . . . . 6 ((𝐴𝑦 ∧ (𝐹𝑥) = 𝑦) → 𝐴 ∈ (𝐹𝑥))
109reximi 2990 . . . . 5 (∃𝑥 ∈ dom 𝐹(𝐴𝑦 ∧ (𝐹𝑥) = 𝑦) → ∃𝑥 ∈ dom 𝐹 𝐴 ∈ (𝐹𝑥))
117, 10syl6bi 241 . . . 4 (Fun 𝐹 → ((𝐴𝑦𝑦 ∈ ran 𝐹) → ∃𝑥 ∈ dom 𝐹 𝐴 ∈ (𝐹𝑥)))
1211exlimdv 1847 . . 3 (Fun 𝐹 → (∃𝑦(𝐴𝑦𝑦 ∈ ran 𝐹) → ∃𝑥 ∈ dom 𝐹 𝐴 ∈ (𝐹𝑥)))
13 fvelrn 6242 . . . . . . 7 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐹𝑥) ∈ ran 𝐹)
1413a1d 25 . . . . . 6 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐴 ∈ (𝐹𝑥) → (𝐹𝑥) ∈ ran 𝐹))
1514ancld 573 . . . . 5 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐴 ∈ (𝐹𝑥) → (𝐴 ∈ (𝐹𝑥) ∧ (𝐹𝑥) ∈ ran 𝐹)))
16 fvex 6095 . . . . . 6 (𝐹𝑥) ∈ V
17 eleq2 2673 . . . . . . 7 (𝑦 = (𝐹𝑥) → (𝐴𝑦𝐴 ∈ (𝐹𝑥)))
18 eleq1 2672 . . . . . . 7 (𝑦 = (𝐹𝑥) → (𝑦 ∈ ran 𝐹 ↔ (𝐹𝑥) ∈ ran 𝐹))
1917, 18anbi12d 742 . . . . . 6 (𝑦 = (𝐹𝑥) → ((𝐴𝑦𝑦 ∈ ran 𝐹) ↔ (𝐴 ∈ (𝐹𝑥) ∧ (𝐹𝑥) ∈ ran 𝐹)))
2016, 19spcev 3269 . . . . 5 ((𝐴 ∈ (𝐹𝑥) ∧ (𝐹𝑥) ∈ ran 𝐹) → ∃𝑦(𝐴𝑦𝑦 ∈ ran 𝐹))
2115, 20syl6 34 . . . 4 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐴 ∈ (𝐹𝑥) → ∃𝑦(𝐴𝑦𝑦 ∈ ran 𝐹)))
2221rexlimdva 3009 . . 3 (Fun 𝐹 → (∃𝑥 ∈ dom 𝐹 𝐴 ∈ (𝐹𝑥) → ∃𝑦(𝐴𝑦𝑦 ∈ ran 𝐹)))
2312, 22impbid 200 . 2 (Fun 𝐹 → (∃𝑦(𝐴𝑦𝑦 ∈ ran 𝐹) ↔ ∃𝑥 ∈ dom 𝐹 𝐴 ∈ (𝐹𝑥)))
241, 23syl5bb 270 1 (Fun 𝐹 → (𝐴 ran 𝐹 ↔ ∃𝑥 ∈ dom 𝐹 𝐴 ∈ (𝐹𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  wa 382   = wceq 1474  wex 1694  wcel 1976  wrex 2893   cuni 4363  dom cdm 5025  ran crn 5026  Fun wfun 5781   Fn wfn 5782  cfv 5787
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2032  ax-13 2229  ax-ext 2586  ax-sep 4700  ax-nul 4709  ax-pr 4825
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2458  df-mo 2459  df-clab 2593  df-cleq 2599  df-clel 2602  df-nfc 2736  df-ral 2897  df-rex 2898  df-rab 2901  df-v 3171  df-sbc 3399  df-dif 3539  df-un 3541  df-in 3543  df-ss 3550  df-nul 3871  df-if 4033  df-sn 4122  df-pr 4124  df-op 4128  df-uni 4364  df-br 4575  df-opab 4635  df-mpt 4636  df-id 4940  df-xp 5031  df-rel 5032  df-cnv 5033  df-co 5034  df-dm 5035  df-rn 5036  df-iota 5751  df-fun 5789  df-fn 5790  df-fv 5795
This theorem is referenced by:  fnunirn  6390  fin23lem30  9021  ustn0  21773  elrnust  21777  ustbas  21780  metuval  22102  elunirn2  28634  metidval  29064  pstmval  29069  elunirnmbfm  29445  fourierdlem70  38870  fourierdlem71  38871  fourierdlem80  38880
  Copyright terms: Public domain W3C validator