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

Theorem ssunsn2 4359
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 4431. (Contributed by Mario Carneiro, 2-Jul-2016.)
Assertion
Ref Expression
ssunsn2 ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))))

Proof of Theorem ssunsn2
StepHypRef Expression
1 snssi 4339 . . . . 5 (𝐷𝐴 → {𝐷} ⊆ 𝐴)
2 unss 3787 . . . . . . 7 ((𝐵𝐴 ∧ {𝐷} ⊆ 𝐴) ↔ (𝐵 ∪ {𝐷}) ⊆ 𝐴)
32bicomi 214 . . . . . 6 ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ↔ (𝐵𝐴 ∧ {𝐷} ⊆ 𝐴))
43rbaibr 946 . . . . 5 ({𝐷} ⊆ 𝐴 → (𝐵𝐴 ↔ (𝐵 ∪ {𝐷}) ⊆ 𝐴))
51, 4syl 17 . . . 4 (𝐷𝐴 → (𝐵𝐴 ↔ (𝐵 ∪ {𝐷}) ⊆ 𝐴))
65anbi1d 741 . . 3 (𝐷𝐴 → ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))))
72biimpi 206 . . . . . . 7 ((𝐵𝐴 ∧ {𝐷} ⊆ 𝐴) → (𝐵 ∪ {𝐷}) ⊆ 𝐴)
87expcom 451 . . . . . 6 ({𝐷} ⊆ 𝐴 → (𝐵𝐴 → (𝐵 ∪ {𝐷}) ⊆ 𝐴))
91, 8syl 17 . . . . 5 (𝐷𝐴 → (𝐵𝐴 → (𝐵 ∪ {𝐷}) ⊆ 𝐴))
10 ssun3 3778 . . . . . 6 (𝐴𝐶𝐴 ⊆ (𝐶 ∪ {𝐷}))
1110a1i 11 . . . . 5 (𝐷𝐴 → (𝐴𝐶𝐴 ⊆ (𝐶 ∪ {𝐷})))
129, 11anim12d 586 . . . 4 (𝐷𝐴 → ((𝐵𝐴𝐴𝐶) → ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))))
13 pm4.72 920 . . . 4 (((𝐵𝐴𝐴𝐶) → ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))) ↔ (((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})))))
1412, 13sylib 208 . . 3 (𝐷𝐴 → (((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})))))
156, 14bitrd 268 . 2 (𝐷𝐴 → ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})))))
16 disjsn 4246 . . . . . . 7 ((𝐴 ∩ {𝐷}) = ∅ ↔ ¬ 𝐷𝐴)
17 disj3 4021 . . . . . . 7 ((𝐴 ∩ {𝐷}) = ∅ ↔ 𝐴 = (𝐴 ∖ {𝐷}))
1816, 17bitr3i 266 . . . . . 6 𝐷𝐴𝐴 = (𝐴 ∖ {𝐷}))
19 sseq1 3626 . . . . . 6 (𝐴 = (𝐴 ∖ {𝐷}) → (𝐴𝐶 ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶))
2018, 19sylbi 207 . . . . 5 𝐷𝐴 → (𝐴𝐶 ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶))
21 uncom 3757 . . . . . . 7 ({𝐷} ∪ 𝐶) = (𝐶 ∪ {𝐷})
2221sseq2i 3630 . . . . . 6 (𝐴 ⊆ ({𝐷} ∪ 𝐶) ↔ 𝐴 ⊆ (𝐶 ∪ {𝐷}))
23 ssundif 4052 . . . . . 6 (𝐴 ⊆ ({𝐷} ∪ 𝐶) ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶)
2422, 23bitr3i 266 . . . . 5 (𝐴 ⊆ (𝐶 ∪ {𝐷}) ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶)
2520, 24syl6rbbr 279 . . . 4 𝐷𝐴 → (𝐴 ⊆ (𝐶 ∪ {𝐷}) ↔ 𝐴𝐶))
2625anbi2d 740 . . 3 𝐷𝐴 → ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ (𝐵𝐴𝐴𝐶)))
273simplbi 476 . . . . . . 7 ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐵𝐴)
2827a1i 11 . . . . . 6 𝐷𝐴 → ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐵𝐴))
2925biimpd 219 . . . . . 6 𝐷𝐴 → (𝐴 ⊆ (𝐶 ∪ {𝐷}) → 𝐴𝐶))
3028, 29anim12d 586 . . . . 5 𝐷𝐴 → (((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) → (𝐵𝐴𝐴𝐶)))
31 pm4.72 920 . . . . 5 ((((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) → (𝐵𝐴𝐴𝐶)) ↔ ((𝐵𝐴𝐴𝐶) ↔ (((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ∨ (𝐵𝐴𝐴𝐶))))
3230, 31sylib 208 . . . 4 𝐷𝐴 → ((𝐵𝐴𝐴𝐶) ↔ (((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ∨ (𝐵𝐴𝐴𝐶))))
33 orcom 402 . . . 4 ((((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ∨ (𝐵𝐴𝐴𝐶)) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))))
3432, 33syl6bb 276 . . 3 𝐷𝐴 → ((𝐵𝐴𝐴𝐶) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})))))
3526, 34bitrd 268 . 2 𝐷𝐴 → ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})))))
3615, 35pm2.61i 176 1 ((𝐵𝐴𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵𝐴𝐴𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ (𝐶 ∪ {𝐷}))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384   = wceq 1483  wcel 1990  cdif 3571  cun 3572  cin 3573  wss 3574  c0 3915  {csn 4177
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-sn 4178
This theorem is referenced by:  ssunsn  4360  ssunpr  4365  sstp  4367
  Copyright terms: Public domain W3C validator