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 33189
Description: Restricted existential quantification over the union of the range of a function. Cf. rexrn 7118 and eluni2 4875. (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 3094 . . 3 (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜑))
2 19.42v 1990 . . . . 5 (∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) ↔ (𝑥 ∈ 𝐴 ∧ ∃𝑦(𝑦 ∈ 𝐵 ∧ 𝜑)))
3 df-rex 3094 . . . . . 6 (∃𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑦(𝑦 ∈ 𝐵 ∧ 𝜑))
43anbi2i 635 . . . . 5 ((𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜑) ↔ (𝑥 ∈ 𝐴 ∧ ∃𝑦(𝑦 ∈ 𝐵 ∧ 𝜑)))
52, 4bitr4i 281 . . . 4 (∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) ↔ (𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜑))
65exbii 1883 . . 3 (∃𝑥∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜑))
71, 6bitr4i 281 . 2 (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 ↔ ∃𝑥∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)))
8 rexunirn.2 . . . . . . . 8 (𝑥 ∈ 𝐴 → 𝐵 ∈ 𝑉)
9 rexunirn.1 . . . . . . . . 9 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵)
109elrnmpt1 5953 . . . . . . . 8 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ 𝑉) → 𝐵 ∈ ran 𝐹)
118, 10mpdan 700 . . . . . . 7 (𝑥 ∈ 𝐴 → 𝐵 ∈ ran 𝐹)
12 eleq2 2856 . . . . . . . . 9 (𝑏 = 𝐵 → (𝑦 ∈ 𝑏 ↔ 𝑦 ∈ 𝐵))
1312anbi1d 643 . . . . . . . 8 (𝑏 = 𝐵 → ((𝑦 ∈ 𝑏 ∧ 𝜑) ↔ (𝑦 ∈ 𝐵 ∧ 𝜑)))
1413rspcev 3579 . . . . . . 7 ((𝐵 ∈ ran 𝐹 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → ∃𝑏 ∈ ran 𝐹(𝑦 ∈ 𝑏 ∧ 𝜑))
1511, 14sylan 592 . . . . . 6 ((𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → ∃𝑏 ∈ ran 𝐹(𝑦 ∈ 𝑏 ∧ 𝜑))
16 r19.41v 3199 . . . . . 6 (∃𝑏 ∈ ran 𝐹(𝑦 ∈ 𝑏 ∧ 𝜑) ↔ (∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
1715, 16sylib 221 . . . . 5 ((𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → (∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
1817eximi 1870 . . . 4 (∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
19 df-rex 3094 . . . . 5 (∃𝑦 ∈ ∪ ran 𝐹𝜑 ↔ ∃𝑦(𝑦 ∈ ∪ ran 𝐹 ∧ 𝜑))
20 eluni2 4875 . . . . . . 7 (𝑦 ∈ ∪ ran 𝐹 ↔ ∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏)
2120anbi1i 636 . . . . . 6 ((𝑦 ∈ ∪ ran 𝐹 ∧ 𝜑) ↔ (∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
2221exbii 1883 . . . . 5 (∃𝑦(𝑦 ∈ ∪ ran 𝐹 ∧ 𝜑) ↔ ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
2319, 22bitri 278 . . . 4 (∃𝑦 ∈ ∪ ran 𝐹𝜑 ↔ ∃𝑦(∃𝑏 ∈ ran 𝐹 𝑦 ∈ 𝑏 ∧ 𝜑))
2418, 23sylibr 237 . . 3 (∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → ∃𝑦 ∈ ∪ ran 𝐹𝜑)
2524exlimiv 1967 . 2 (∃𝑥∃𝑦(𝑥 ∈ 𝐴 ∧ (𝑦 ∈ 𝐵 ∧ 𝜑)) → ∃𝑦 ∈ ∪ ran 𝐹𝜑)
267, 25sylbi 220 1 (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝜑 → ∃𝑦 ∈ ∪ ran 𝐹𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2150  ∃wrex 3093  ∪ cuni 4871   ↦ cmpt 5191  ran crn 5658
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-mpt 5192  df-cnv 5665  df-dm 5667  df-rn 5668
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator