Proof of Theorem ssunsn2
Step | Hyp | Ref
| Expression |
1 | | snssi 4738 |
. . . . 5
⊢ (𝐷 ∈ 𝐴 → {𝐷} ⊆ 𝐴) |
2 | | unss 4114 |
. . . . . . 7
⊢ ((𝐵 ⊆ 𝐴 ∧ {𝐷} ⊆ 𝐴) ↔ (𝐵 ∪ {𝐷}) ⊆ 𝐴) |
3 | 2 | bicomi 223 |
. . . . . 6
⊢ ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ↔ (𝐵 ⊆ 𝐴 ∧ {𝐷} ⊆ 𝐴)) |
4 | 3 | rbaibr 537 |
. . . . 5
⊢ ({𝐷} ⊆ 𝐴 → (𝐵 ⊆ 𝐴 ↔ (𝐵 ∪ {𝐷}) ⊆ 𝐴)) |
5 | 1, 4 | syl 17 |
. . . 4
⊢ (𝐷 ∈ 𝐴 → (𝐵 ⊆ 𝐴 ↔ (𝐵 ∪ {𝐷}) ⊆ 𝐴)) |
6 | 5 | anbi1d 629 |
. . 3
⊢ (𝐷 ∈ 𝐴 → ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})))) |
7 | 2 | biimpi 215 |
. . . . . . 7
⊢ ((𝐵 ⊆ 𝐴 ∧ {𝐷} ⊆ 𝐴) → (𝐵 ∪ {𝐷}) ⊆ 𝐴) |
8 | 7 | expcom 413 |
. . . . . 6
⊢ ({𝐷} ⊆ 𝐴 → (𝐵 ⊆ 𝐴 → (𝐵 ∪ {𝐷}) ⊆ 𝐴)) |
9 | 1, 8 | syl 17 |
. . . . 5
⊢ (𝐷 ∈ 𝐴 → (𝐵 ⊆ 𝐴 → (𝐵 ∪ {𝐷}) ⊆ 𝐴)) |
10 | | ssun3 4104 |
. . . . . 6
⊢ (𝐴 ⊆ 𝐶 → 𝐴 ⊆ (𝐶 ∪ {𝐷})) |
11 | 10 | a1i 11 |
. . . . 5
⊢ (𝐷 ∈ 𝐴 → (𝐴 ⊆ 𝐶 → 𝐴 ⊆ (𝐶 ∪ {𝐷}))) |
12 | 9, 11 | anim12d 608 |
. . . 4
⊢ (𝐷 ∈ 𝐴 → ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) → ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})))) |
13 | | pm4.72 946 |
. . . 4
⊢ (((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) → ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷}))) ↔ (((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷}))))) |
14 | 12, 13 | sylib 217 |
. . 3
⊢ (𝐷 ∈ 𝐴 → (((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷}))))) |
15 | 6, 14 | bitrd 278 |
. 2
⊢ (𝐷 ∈ 𝐴 → ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷}))))) |
16 | | uncom 4083 |
. . . . . . 7
⊢ ({𝐷} ∪ 𝐶) = (𝐶 ∪ {𝐷}) |
17 | 16 | sseq2i 3946 |
. . . . . 6
⊢ (𝐴 ⊆ ({𝐷} ∪ 𝐶) ↔ 𝐴 ⊆ (𝐶 ∪ {𝐷})) |
18 | | ssundif 4415 |
. . . . . 6
⊢ (𝐴 ⊆ ({𝐷} ∪ 𝐶) ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶) |
19 | 17, 18 | bitr3i 276 |
. . . . 5
⊢ (𝐴 ⊆ (𝐶 ∪ {𝐷}) ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶) |
20 | | disjsn 4644 |
. . . . . . 7
⊢ ((𝐴 ∩ {𝐷}) = ∅ ↔ ¬ 𝐷 ∈ 𝐴) |
21 | | disj3 4384 |
. . . . . . 7
⊢ ((𝐴 ∩ {𝐷}) = ∅ ↔ 𝐴 = (𝐴 ∖ {𝐷})) |
22 | 20, 21 | bitr3i 276 |
. . . . . 6
⊢ (¬
𝐷 ∈ 𝐴 ↔ 𝐴 = (𝐴 ∖ {𝐷})) |
23 | | sseq1 3942 |
. . . . . 6
⊢ (𝐴 = (𝐴 ∖ {𝐷}) → (𝐴 ⊆ 𝐶 ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶)) |
24 | 22, 23 | sylbi 216 |
. . . . 5
⊢ (¬
𝐷 ∈ 𝐴 → (𝐴 ⊆ 𝐶 ↔ (𝐴 ∖ {𝐷}) ⊆ 𝐶)) |
25 | 19, 24 | bitr4id 289 |
. . . 4
⊢ (¬
𝐷 ∈ 𝐴 → (𝐴 ⊆ (𝐶 ∪ {𝐷}) ↔ 𝐴 ⊆ 𝐶)) |
26 | 25 | anbi2d 628 |
. . 3
⊢ (¬
𝐷 ∈ 𝐴 → ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ (𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶))) |
27 | 3 | simplbi 497 |
. . . . . . 7
⊢ ((𝐵 ∪ {𝐷}) ⊆ 𝐴 → 𝐵 ⊆ 𝐴) |
28 | 27 | a1i 11 |
. . . . . 6
⊢ (¬
𝐷 ∈ 𝐴 → ((𝐵 ∪ {𝐷}) ⊆ 𝐴 → 𝐵 ⊆ 𝐴)) |
29 | 25 | biimpd 228 |
. . . . . 6
⊢ (¬
𝐷 ∈ 𝐴 → (𝐴 ⊆ (𝐶 ∪ {𝐷}) → 𝐴 ⊆ 𝐶)) |
30 | 28, 29 | anim12d 608 |
. . . . 5
⊢ (¬
𝐷 ∈ 𝐴 → (((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) → (𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶))) |
31 | | pm4.72 946 |
. . . . 5
⊢ ((((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) → (𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶)) ↔ ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) ↔ (((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) ∨ (𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶)))) |
32 | 30, 31 | sylib 217 |
. . . 4
⊢ (¬
𝐷 ∈ 𝐴 → ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) ↔ (((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) ∨ (𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶)))) |
33 | | orcom 866 |
. . . 4
⊢ ((((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) ∨ (𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶)) ↔ ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})))) |
34 | 32, 33 | bitrdi 286 |
. . 3
⊢ (¬
𝐷 ∈ 𝐴 → ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) ↔ ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷}))))) |
35 | 26, 34 | bitrd 278 |
. 2
⊢ (¬
𝐷 ∈ 𝐴 → ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷}))))) |
36 | 15, 35 | pm2.61i 182 |
1
⊢ ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})) ↔ ((𝐵 ⊆ 𝐴 ∧ 𝐴 ⊆ 𝐶) ∨ ((𝐵 ∪ {𝐷}) ⊆ 𝐴 ∧ 𝐴 ⊆ (𝐶 ∪ {𝐷})))) |