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 33157
Description: Restricted existential quantification over the union of the range of a function. Cf. rexrn 7108 and eluni2 4874. (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 3091 . . 3 (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜑))
2 19.42v 1988 . . . . 5 (∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) ↔ (𝑥 ∈ 𝐴 ∧ ∃𝑦(𝑦 ∈ 𝐵 ∧ 𝜑)))
3 df-rex 3091 . . . . . 6 (∃𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑦(𝑦 ∈ 𝐵 ∧ 𝜑))
43anbi2i 635 . . . . 5 ((𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜑) ↔ (𝑥 ∈ 𝐴 ∧ ∃𝑦(𝑦 ∈ 𝐵 ∧ 𝜑)))
52, 4bitr4i 281 . . . 4 (∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) ↔ (𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜑))
65exbii 1881 . . 3 (∃𝑥∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜑))
71, 6bitr4i 281 . 2 (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑥∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)))
8 rexunirn.2 . . . . . . . 8 (𝑥 ∈ 𝐴 → 𝐵 ∈ 𝑉)
9 rexunirn.1 . . . . . . . . 9 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵)
109elrnmpt1 5948 . . . . . . . 8 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ 𝑉) → 𝐵 ∈ ran 𝐹)
118, 10mpdan 700 . . . . . . 7 (𝑥 ∈ 𝐴 → 𝐵 ∈ ran 𝐹)
12 eleq2 2853 . . . . . . . . 9 (𝑏 = 𝐵 → (𝑦 ∈ 𝑏 ↔ 𝑦 ∈ 𝐵))
1312anbi1d 643 . . . . . . . 8 (𝑏 = 𝐵 → ((𝑦 ∈ 𝑏 ∧ 𝜑) ↔ (𝑦 ∈ 𝐵 ∧ 𝜑)))
1413rspcev 3580 . . . . . . 7 ((𝐵 ∈ ran 𝐹 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → ∃𝑏 ∈ ran 𝐹(𝑦 ∈ 𝑏 ∧ 𝜑))
1511, 14sylan 592 . . . . . 6 ((𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → ∃𝑏 ∈ ran 𝐹(𝑦 ∈ 𝑏 ∧ 𝜑))
16 r19.41v 3196 . . . . . 6 (∃𝑏 ∈ ran 𝐹(𝑦 ∈ 𝑏 ∧ 𝜑) ↔ (∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
1715, 16sylib 221 . . . . 5 ((𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → (∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
1817eximi 1868 . . . 4 (∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
19 df-rex 3091 . . . . 5 (∃𝑦 ∈ ∪ ran 𝐹𝜑 ↔ ∃𝑦(𝑦 ∈ ∪ ran 𝐹 ∧ 𝜑))
20 eluni2 4874 . . . . . . 7 (𝑦 ∈ ∪ ran 𝐹 ↔ ∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏)
2120anbi1i 636 . . . . . 6 ((𝑦 ∈ ∪ ran 𝐹 ∧ 𝜑) ↔ (∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
2221exbii 1881 . . . . 5 (∃𝑦(𝑦 ∈ ∪ ran 𝐹 ∧ 𝜑) ↔ ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
2319, 22bitri 278 . . . 4 (∃𝑦 ∈ ∪ ran 𝐹𝜑 ↔ ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
2418, 23sylibr 237 . . 3 (∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → ∃𝑦 ∈ ∪ ran 𝐹𝜑)
2524exlimiv 1965 . 2 (∃𝑥∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → ∃𝑦 ∈ ∪ ran 𝐹𝜑)
267, 25sylbi 220 1 (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 → ∃𝑦 ∈ ∪ ran 𝐹𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  ∃wrex 3090  ∪ cuni 4870   ↦ cmpt 5189  ran crn 5656
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-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-pr 5395
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-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  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 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-cnv 5663  df-dm 5665  df-rn 5666
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator