MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ssunsn2 Structured version   Visualization version   GIF version

Theorem ssunsn2 4760
Description: The property of being sandwiched between two sets naturally splits under union with a singleton. This is the induction hypothesis for the determination of large powersets such as pwtp 4833. (Contributed by Mario Carneiro, 2-Jul-2016.)
Assertion
Ref Expression
ssunsn2 ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))))

Proof of Theorem ssunsn2
StepHypRef Expression
1 snssi 4741 . . . . 5 (𝐷𝐴 → {𝐷} ⊆ 𝐴)
2 unss 4160 . . . . . . 7 ((𝐵𝐴 ∧ {𝐷} ⊆ 𝐴) ↔ (𝐵 ∪ {𝐷}) ⊆ 𝐴)
32bicomi 226 . . . . . 6 ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ↔ (𝐵𝐴 ∧ {𝐷} ⊆ 𝐴))
43rbaibr 540 . . . . 5 ({𝐷} ⊆ 𝐴 → (𝐵𝐴 ↔ (𝐵 ∪ {𝐷}) ⊆ 𝐴))
51, 4syl 17 . . . 4 (𝐷𝐴 → (𝐵𝐴 ↔ (𝐵 ∪ {𝐷}) ⊆ 𝐴))
65anbi1d 631 . . 3 (𝐷𝐴 → ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))))
72biimpi 218 . . . . . . 7 ((𝐵𝐴 ∧ {𝐷} ⊆ 𝐴) → (𝐵 ∪ {𝐷}) ⊆ 𝐴)
87expcom 416 . . . . . 6 ({𝐷} ⊆ 𝐴 → (𝐵𝐴 → (𝐵 ∪ {𝐷}) ⊆ 𝐴))
91, 8syl 17 . . . . 5 (𝐷𝐴 → (𝐵𝐴 → (𝐵 ∪ {𝐷}) ⊆ 𝐴))
10 ssun3 4150 . . . . . 6 (𝐴𝐶𝐴 ⊆ (𝐶 ∪ {𝐷}))
1110a1i 11 . . . . 5 (𝐷𝐴 → (𝐴𝐶𝐴 ⊆ (𝐶 ∪ {𝐷})))
129, 11anim12d 610 . . . 4 (𝐷𝐴 → ((𝐵𝐴𝐴𝐶) → ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))))
13 pm4.72 946 . . . 4 (((𝐵𝐴𝐴𝐶) → ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))) ↔ (((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})))))
1412, 13sylib 220 . . 3 (𝐷𝐴 → (((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})))))
156, 14bitrd 281 . 2 (𝐷𝐴 → ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})))))
16 disjsn 4647 . . . . . . 7 ((𝐴 ∩ {𝐷}) = ∅ ↔ ¬ 𝐷𝐴)
17 disj3 4403 . . . . . . 7 ((𝐴 ∩ {𝐷}) = ∅ ↔ 𝐴 = (𝐴 ∖ {𝐷}))
1816, 17bitr3i 279 . . . . . 6 𝐷𝐴𝐴 = (𝐴 ∖ {𝐷}))
19 sseq1 3992 . . . . . 6 (𝐴 = (𝐴 ∖ {𝐷}) → (𝐴𝐶 ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶))
2018, 19sylbi 219 . . . . 5 𝐷𝐴 → (𝐴𝐶 ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶))
21 uncom 4129 . . . . . . 7 ({𝐷} ∪ 𝐶) = (𝐶 ∪ {𝐷})
2221sseq2i 3996 . . . . . 6 (𝐴 ⊆ ({𝐷} ∪ 𝐶) ↔ 𝐴 ⊆ (𝐶 ∪ {𝐷}))
23 ssundif 4433 . . . . . 6 (𝐴 ⊆ ({𝐷} ∪ 𝐶) ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶)
2422, 23bitr3i 279 . . . . 5 (𝐴 ⊆ (𝐶 ∪ {𝐷}) ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶)
2520, 24syl6rbbr 292 . . . 4 𝐷𝐴 → (𝐴 ⊆ (𝐶 ∪ {𝐷}) ↔ 𝐴𝐶))
2625anbi2d 630 . . 3 𝐷𝐴 → ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ (𝐵𝐴𝐴𝐶)))
273simplbi 500 . . . . . . 7 ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐵𝐴)
2827a1i 11 . . . . . 6 𝐷𝐴 → ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐵𝐴))
2925biimpd 231 . . . . . 6 𝐷𝐴 → (𝐴 ⊆ (𝐶 ∪ {𝐷}) → 𝐴𝐶))
3028, 29anim12d 610 . . . . 5 𝐷𝐴 → (((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) → (𝐵𝐴𝐴𝐶)))
31 pm4.72 946 . . . . 5 ((((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) → (𝐵𝐴𝐴𝐶)) ↔ ((𝐵𝐴𝐴𝐶) ↔ (((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ∨ (𝐵𝐴𝐴𝐶))))
3230, 31sylib 220 . . . 4 𝐷𝐴 → ((𝐵𝐴𝐴𝐶) ↔ (((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ∨ (𝐵𝐴𝐴𝐶))))
33 orcom 866 . . . 4 ((((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ∨ (𝐵𝐴𝐴𝐶)) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))))
3432, 33syl6bb 289 . . 3 𝐷𝐴 → ((𝐵𝐴𝐴𝐶) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})))))
3526, 34bitrd 281 . 2 𝐷𝐴 → ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})))))
3615, 35pm2.61i 184 1 ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 843   = wceq 1537  wcel 2114  cdif 3933  cun 3934  cin 3935  wss 3936  c0 4291  {csn 4567
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-sn 4568
This theorem is referenced by:  ssunsn  4761  ssunpr  4765  sstp  4767
  Copyright terms: Public domain W3C validator