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

Theorem ralssiun 38522
Description: The index set of an indexed union is a subset of the union when each 𝐵 contains its index. (Contributed by ML, 16-Dec-2020.)
Assertion
Ref Expression
ralssiun (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 → 𝐴 ⊆ ∪ 𝑥 ∈ 𝐴 𝐵)
Distinct variable group:   𝑥,𝐴
Allowed substitution hint:   𝐵(𝑥)

Proof of Theorem ralssiun
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 nfra1 3290 . 2 Ⅎ𝑥∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵
2 nfcv 2926 . 2 Ⅎ𝑥𝐴
3 nfiu1 4989 . 2 Ⅎ𝑥∪ 𝑥 ∈ 𝐴 𝐵
4 simpr 490 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ 𝐴)
5 rsp 3254 . . . . . . . . . . . . . 14 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵))
65adantl 487 . . . . . . . . . . . . 13 ((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵))
7 eleq1 2852 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → (𝑥 ∈ 𝐵 ↔ 𝑦 ∈ 𝐵))
87imbi2d 343 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → ((𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵) ↔ (𝑥 ∈ 𝐴 → 𝑦 ∈ 𝐵)))
98adantr 486 . . . . . . . . . . . . 13 ((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) → ((𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵) ↔ (𝑥 ∈ 𝐴 → 𝑦 ∈ 𝐵)))
106, 9mpbid 235 . . . . . . . . . . . 12 ((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) → (𝑥 ∈ 𝐴 → 𝑦 ∈ 𝐵))
1110imp 412 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → 𝑦 ∈ 𝐵)
12 rspe 3256 . . . . . . . . . . 11 ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵)
134, 11, 12syl2anc 596 . . . . . . . . . 10 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵)
14 abid 2745 . . . . . . . . . 10 (𝑦 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} ↔ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵)
1513, 14sylibr 237 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → 𝑦 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵})
16 eleq1 2852 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} ↔ 𝑦 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵}))
1716ad2antrr 739 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → (𝑥 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} ↔ 𝑦 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵}))
1815, 17mpbird 260 . . . . . . . 8 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵})
19 df-iun 4956 . . . . . . . 8 ∪ 𝑥 ∈ 𝐴 𝐵 = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵}
2018, 19eleqtrrdi 2875 . . . . . . 7 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵)
2120expl 463 . . . . . 6 (𝑥 = 𝑦 → ((∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵))
2221equcoms 2055 . . . . 5 (𝑦 = 𝑥 → ((∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵))
2322vtocleg 3520 . . . 4 (𝑥 ∈ 𝐴 → ((∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵))
2423anabsi7 684 . . 3 ((∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵)
2524ex 418 . 2 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 → (𝑥 ∈ 𝐴 → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵))
261, 2, 3, 25ssrd 3918 1 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 → 𝐴 ⊆ ∪ 𝑥 ∈ 𝐴 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {cab 2741  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900  ∪ ciun 4954
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
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  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-v 3456  df-ss 3901  df-iun 4956
This theorem is used by:  pibt2  38532
  Copyright terms: Public domain W3C validator