Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rexunirn Structured version   Visualization version   GIF version

Theorem rexunirn 30889
Description: Restricted existential quantification over the union of the range of a function. Cf. rexrn 6995 and eluni2 4848. (Contributed by Thierry Arnoux, 19-Sep-2017.)
Hypotheses
Ref Expression
rexunirn.1 𝐹 = (𝑥𝐴𝐵)
rexunirn.2 (𝑥𝐴𝐵𝑉)
Assertion
Ref Expression
rexunirn (∃𝑥𝐴𝑦𝐵 𝜑 → ∃𝑦 ran 𝐹𝜑)
Distinct variable groups:   𝑥,𝑦   𝑦,𝐴   𝑥,𝐹   𝜑,𝑥
Allowed substitution hints:   𝜑(𝑦)   𝐴(𝑥)   𝐵(𝑥,𝑦)   𝐹(𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem rexunirn
Dummy variable 𝑏 is distinct from all other variables.
StepHypRef Expression
1 df-rex 3072 . . 3 (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
2 19.42v 1955 . . . . 5 (∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ (𝑥𝐴 ∧ ∃𝑦(𝑦𝐵𝜑)))
3 df-rex 3072 . . . . . 6 (∃𝑦𝐵 𝜑 ↔ ∃𝑦(𝑦𝐵𝜑))
43anbi2i 624 . . . . 5 ((𝑥𝐴 ∧ ∃𝑦𝐵 𝜑) ↔ (𝑥𝐴 ∧ ∃𝑦(𝑦𝐵𝜑)))
52, 4bitr4i 278 . . . 4 (∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
65exbii 1848 . . 3 (∃𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ ∃𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
71, 6bitr4i 278 . 2 (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
8 rexunirn.2 . . . . . . . 8 (𝑥𝐴𝐵𝑉)
9 rexunirn.1 . . . . . . . . 9 𝐹 = (𝑥𝐴𝐵)
109elrnmpt1 5879 . . . . . . . 8 ((𝑥𝐴𝐵𝑉) → 𝐵 ∈ ran 𝐹)
118, 10mpdan 685 . . . . . . 7 (𝑥𝐴𝐵 ∈ ran 𝐹)
12 eleq2 2825 . . . . . . . . 9 (𝑏 = 𝐵 → (𝑦𝑏𝑦𝐵))
1312anbi1d 631 . . . . . . . 8 (𝑏 = 𝐵 → ((𝑦𝑏𝜑) ↔ (𝑦𝐵𝜑)))
1413rspcev 3566 . . . . . . 7 ((𝐵 ∈ ran 𝐹 ∧ (𝑦𝐵𝜑)) → ∃𝑏 ∈ ran 𝐹(𝑦𝑏𝜑))
1511, 14sylan 581 . . . . . 6 ((𝑥𝐴 ∧ (𝑦𝐵𝜑)) → ∃𝑏 ∈ ran 𝐹(𝑦𝑏𝜑))
16 r19.41v 3182 . . . . . 6 (∃𝑏 ∈ ran 𝐹(𝑦𝑏𝜑) ↔ (∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
1715, 16sylib 217 . . . . 5 ((𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
1817eximi 1835 . . . 4 (∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
19 df-rex 3072 . . . . 5 (∃𝑦 ran 𝐹𝜑 ↔ ∃𝑦(𝑦 ran 𝐹𝜑))
20 eluni2 4848 . . . . . . 7 (𝑦 ran 𝐹 ↔ ∃𝑏 ∈ ran 𝐹 𝑦𝑏)
2120anbi1i 625 . . . . . 6 ((𝑦 ran 𝐹𝜑) ↔ (∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
2221exbii 1848 . . . . 5 (∃𝑦(𝑦 ran 𝐹𝜑) ↔ ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
2319, 22bitri 275 . . . 4 (∃𝑦 ran 𝐹𝜑 ↔ ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
2418, 23sylibr 233 . . 3 (∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → ∃𝑦 ran 𝐹𝜑)
2524exlimiv 1931 . 2 (∃𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → ∃𝑦 ran 𝐹𝜑)
267, 25sylbi 216 1 (∃𝑥𝐴𝑦𝐵 𝜑 → ∃𝑦 ran 𝐹𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1539  wex 1779  wcel 2104  wrex 3071   cuni 4844  cmpt 5164  ran crn 5601
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-sep 5232  ax-nul 5239  ax-pr 5361
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ral 3063  df-rex 3072  df-rab 3306  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-br 5082  df-opab 5144  df-mpt 5165  df-cnv 5608  df-dm 5610  df-rn 5611
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator