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

Theorem iunrnmptss 33323
Description: A subset relation for an indexed union over the range of function expressed as a mapping. (Contributed by Thierry Arnoux, 27-Mar-2018.)
Hypotheses
Ref Expression
iunrnmptss.1 (𝑦 = 𝐵 → 𝐶 = 𝐷)
iunrnmptss.2 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ 𝑉)
Assertion
Ref Expression
iunrnmptss (𝜑 → ∪ 𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵)𝐶 ⊆ ∪ 𝑥 ∈ 𝐴 𝐷)
Distinct variable groups:   𝑦,𝐴   𝑥,𝐶   𝑦,𝐷   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥, 𝑦)   𝐶(𝑦)   𝐷(𝑥)   𝑉(𝑥, 𝑦)

Proof of Theorem iunrnmptss
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-rex 3097 . . . 4 (∃𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵)𝑧 ∈ 𝐶 ↔ ∃𝑦(𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵) ∧ 𝑧 ∈ 𝐶))
2 iunrnmptss.2 . . . . . . . . 9 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 ∈ 𝑉)
32ralrimiva 3164 . . . . . . . 8 (𝜑 → ∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉)
4 eqid 2769 . . . . . . . . 9 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐴 ↦ 𝐵)
54elrnmptg 5958 . . . . . . . 8 (∀𝑥 ∈ 𝐴 𝐵 ∈ 𝑉 → (𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵))
63, 5syl 18 . . . . . . 7 (𝜑 → (𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ ∃𝑥 ∈ 𝐴 𝑦 = 𝐵))
76anbi1d 643 . . . . . 6 (𝜑 → ((𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵) ∧ 𝑧 ∈ 𝐶) ↔ (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ∧ 𝑧 ∈ 𝐶)))
87exbidv 1958 . . . . 5 (𝜑 → (∃𝑦(𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵) ∧ 𝑧 ∈ 𝐶) ↔ ∃𝑦(∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ∧ 𝑧 ∈ 𝐶)))
9 r19.41v 3202 . . . . . . 7 (∃𝑥 ∈ 𝐴 (𝑦 = 𝐵 ∧ 𝑧 ∈ 𝐶) ↔ (∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ∧ 𝑧 ∈ 𝐶))
10 iunrnmptss.1 . . . . . . . . . 10 (𝑦 = 𝐵 → 𝐶 = 𝐷)
1110eleq2d 2856 . . . . . . . . 9 (𝑦 = 𝐵 → (𝑧 ∈ 𝐶 ↔ 𝑧 ∈ 𝐷))
1211biimpa 482 . . . . . . . 8 ((𝑦 = 𝐵 ∧ 𝑧 ∈ 𝐶) → 𝑧 ∈ 𝐷)
1312reximi 3110 . . . . . . 7 (∃𝑥 ∈ 𝐴 (𝑦 = 𝐵 ∧ 𝑧 ∈ 𝐶) → ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐷)
149, 13sylbir 238 . . . . . 6 ((∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ∧ 𝑧 ∈ 𝐶) → ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐷)
1514exlimiv 1967 . . . . 5 (∃𝑦(∃𝑥 ∈ 𝐴 𝑦 = 𝐵 ∧ 𝑧 ∈ 𝐶) → ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐷)
168, 15biimtrdi 256 . . . 4 (𝜑 → (∃𝑦(𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵) ∧ 𝑧 ∈ 𝐶) → ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐷))
171, 16biimtrid 245 . . 3 (𝜑 → (∃𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵)𝑧 ∈ 𝐶 → ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐷))
1817ss2abdv 3995 . 2 (𝜑 → {𝑧 ∣ ∃𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵)𝑧 ∈ 𝐶} ⊆ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐷})
19 df-iun 4961 . 2 ∪ 𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵)𝐶 = {𝑧 ∣ ∃𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵)𝑧 ∈ 𝐶}
20 df-iun 4961 . 2 ∪ 𝑥 ∈ 𝐴 𝐷 = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐷}
2118, 19, 203sstr4g 3968 1 (𝜑 → ∪ 𝑦 ∈ ran (𝑥 ∈ 𝐴 ↦ 𝐵)𝐶 ⊆ ∪ 𝑥 ∈ 𝐴 𝐷)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2151  {cab 2747  ∀wral 3086  ∃wrex 3096   ⊆ wss 3902  ∪ ciun 4959   ↦ cmpt 5195  ran crn 5662
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 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401
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 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-cnv 5669  df-dm 5671  df-rn 5672
This theorem is used by:  fnpreimac  33428
  Copyright terms: Public domain W3C validator