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 30819
Description: Restricted existential quantification over the union of the range of a function. Cf. rexrn 6957 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 3071 . . 3 (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
2 19.42v 1960 . . . . 5 (∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ (𝑥𝐴 ∧ ∃𝑦(𝑦𝐵𝜑)))
3 df-rex 3071 . . . . . 6 (∃𝑦𝐵 𝜑 ↔ ∃𝑦(𝑦𝐵𝜑))
43anbi2i 622 . . . . 5 ((𝑥𝐴 ∧ ∃𝑦𝐵 𝜑) ↔ (𝑥𝐴 ∧ ∃𝑦(𝑦𝐵𝜑)))
52, 4bitr4i 277 . . . 4 (∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
65exbii 1853 . . 3 (∃𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) ↔ ∃𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 𝜑))
71, 6bitr4i 277 . 2 (∃𝑥𝐴𝑦𝐵 𝜑 ↔ ∃𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)))
8 rexunirn.2 . . . . . . . 8 (𝑥𝐴𝐵𝑉)
9 rexunirn.1 . . . . . . . . 9 𝐹 = (𝑥𝐴𝐵)
109elrnmpt1 5864 . . . . . . . 8 ((𝑥𝐴𝐵𝑉) → 𝐵 ∈ ran 𝐹)
118, 10mpdan 683 . . . . . . 7 (𝑥𝐴𝐵 ∈ ran 𝐹)
12 eleq2 2828 . . . . . . . . 9 (𝑏 = 𝐵 → (𝑦𝑏𝑦𝐵))
1312anbi1d 629 . . . . . . . 8 (𝑏 = 𝐵 → ((𝑦𝑏𝜑) ↔ (𝑦𝐵𝜑)))
1413rspcev 3560 . . . . . . 7 ((𝐵 ∈ ran 𝐹 ∧ (𝑦𝐵𝜑)) → ∃𝑏 ∈ ran 𝐹(𝑦𝑏𝜑))
1511, 14sylan 579 . . . . . 6 ((𝑥𝐴 ∧ (𝑦𝐵𝜑)) → ∃𝑏 ∈ ran 𝐹(𝑦𝑏𝜑))
16 r19.41v 3275 . . . . . 6 (∃𝑏 ∈ ran 𝐹(𝑦𝑏𝜑) ↔ (∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
1715, 16sylib 217 . . . . 5 ((𝑥𝐴 ∧ (𝑦𝐵𝜑)) → (∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
1817eximi 1840 . . . 4 (∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
19 df-rex 3071 . . . . 5 (∃𝑦 ran 𝐹𝜑 ↔ ∃𝑦(𝑦 ran 𝐹𝜑))
20 eluni2 4848 . . . . . . 7 (𝑦 ran 𝐹 ↔ ∃𝑏 ∈ ran 𝐹 𝑦𝑏)
2120anbi1i 623 . . . . . 6 ((𝑦 ran 𝐹𝜑) ↔ (∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
2221exbii 1853 . . . . 5 (∃𝑦(𝑦 ran 𝐹𝜑) ↔ ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
2319, 22bitri 274 . . . 4 (∃𝑦 ran 𝐹𝜑 ↔ ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦𝑏𝜑))
2418, 23sylibr 233 . . 3 (∃𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → ∃𝑦 ran 𝐹𝜑)
2524exlimiv 1936 . 2 (∃𝑥𝑦(𝑥𝐴 ∧ (𝑦𝐵𝜑)) → ∃𝑦 ran 𝐹𝜑)
267, 25sylbi 216 1 (∃𝑥𝐴𝑦𝐵 𝜑 → ∃𝑦 ran 𝐹𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wex 1785  wcel 2109  wrex 3066   cuni 4844  cmpt 5161  ran crn 5589
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-sep 5226  ax-nul 5233  ax-pr 5355
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ral 3070  df-rex 3071  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-nul 4262  df-if 4465  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4845  df-br 5079  df-opab 5141  df-mpt 5162  df-cnv 5596  df-dm 5598  df-rn 5599
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator