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 38250
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 3286 . 2 Ⅎ𝑥∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵
2 nfcv 2922 . 2 Ⅎ𝑥𝐴
3 nfiu1 4985 . 2 Ⅎ𝑥∪ 𝑥 ∈ 𝐴 𝐵
4 simpr 490 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ 𝐴)
5 rsp 3250 . . . . . . . . . . . . . 14 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵))
65adantl 487 . . . . . . . . . . . . 13 ((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵))
7 eleq1 2848 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → (𝑥 ∈ 𝐵 ↔ 𝑦 ∈ 𝐵))
87imbi2d 343 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → ((𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵) ↔ (𝑥 ∈ 𝐴 → 𝑦 ∈ 𝐵)))
98adantr 486 . . . . . . . . . . . . 13 ((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) → ((𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵) ↔ (𝑥 ∈ 𝐴 → 𝑦 ∈ 𝐵)))
106, 9mpbid 235 . . . . . . . . . . . 12 ((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) → (𝑥 ∈ 𝐴 → 𝑦 ∈ 𝐵))
1110imp 412 . . . . . . . . . . 11 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → 𝑦 ∈ 𝐵)
12 rspe 3252 . . . . . . . . . . 11 ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵)
134, 11, 12syl2anc 596 . . . . . . . . . 10 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵)
14 abid 2742 . . . . . . . . . 10 (𝑦 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} ↔ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵)
1513, 14sylibr 237 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → 𝑦 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵})
16 eleq1 2848 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} ↔ 𝑦 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵}))
1716ad2antrr 739 . . . . . . . . 9 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → (𝑥 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} ↔ 𝑦 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵}))
1815, 17mpbird 260 . . . . . . . 8 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵})
19 df-iun 4952 . . . . . . . 8 ∪ 𝑥 ∈ 𝐴 𝐵 = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵}
2018, 19eleqtrrdi 2871 . . . . . . 7 (((𝑥 = 𝑦 ∧ ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵)
2120expl 463 . . . . . 6 (𝑥 = 𝑦 → ((∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵))
2221equcoms 2053 . . . . 5 (𝑦 = 𝑥 → ((∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵))
2322vtocleg 3516 . . . 4 (𝑥 ∈ 𝐴 → ((∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵))
2423anabsi7 684 . . 3 ((∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵)
2524ex 418 . 2 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 → (𝑥 ∈ 𝐴 → 𝑥 ∈ ∪ 𝑥 ∈ 𝐴 𝐵))
261, 2, 3, 25ssrd 3935 1 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐵 → 𝐴 ⊆ ∪ 𝑥 ∈ 𝐴 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {cab 2738  ∀wral 3076  ∃wrex 3086   ⊆ wss 3898  ∪ ciun 4950
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732
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 2100  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-v 3452  df-ss 3915  df-iun 4952
This theorem is used by:  pibt2  38260
  Copyright terms: Public domain W3C validator