Step | Hyp | Ref
| Expression |
1 | | df-sup 9201 |
. 2
⊢ sup(𝐵, 𝐴, 𝑅) = ∪ {𝑥 ∈ 𝐴 ∣ (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))} |
2 | | dfrab3 4243 |
. . . 4
⊢ {𝑥 ∈ 𝐴 ∣ (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))} = (𝐴 ∩ {𝑥 ∣ (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))}) |
3 | | abeq1 2873 |
. . . . . . 7
⊢ ({𝑥 ∣ (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))} = (V ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) ↔ ∀𝑥((∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)) ↔ 𝑥 ∈ (V ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))))) |
4 | | vex 3436 |
. . . . . . . . 9
⊢ 𝑥 ∈ V |
5 | | eldif 3897 |
. . . . . . . . 9
⊢ (𝑥 ∈ (V ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) ↔ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵)))))) |
6 | 4, 5 | mpbiran 706 |
. . . . . . . 8
⊢ (𝑥 ∈ (V ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) ↔ ¬ 𝑥 ∈ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) |
7 | 4 | elima 5974 |
. . . . . . . . . . . 12
⊢ (𝑥 ∈ (◡𝑅 “ 𝐵) ↔ ∃𝑦 ∈ 𝐵 𝑦◡𝑅𝑥) |
8 | | dfrex2 3170 |
. . . . . . . . . . . 12
⊢
(∃𝑦 ∈
𝐵 𝑦◡𝑅𝑥 ↔ ¬ ∀𝑦 ∈ 𝐵 ¬ 𝑦◡𝑅𝑥) |
9 | 7, 8 | bitri 274 |
. . . . . . . . . . 11
⊢ (𝑥 ∈ (◡𝑅 “ 𝐵) ↔ ¬ ∀𝑦 ∈ 𝐵 ¬ 𝑦◡𝑅𝑥) |
10 | 4 | elima 5974 |
. . . . . . . . . . . 12
⊢ (𝑥 ∈ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))) ↔ ∃𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵))𝑦𝑅𝑥) |
11 | | dfrex2 3170 |
. . . . . . . . . . . 12
⊢
(∃𝑦 ∈
(𝐴 ∖ (◡𝑅 “ 𝐵))𝑦𝑅𝑥 ↔ ¬ ∀𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵)) ¬ 𝑦𝑅𝑥) |
12 | 10, 11 | bitri 274 |
. . . . . . . . . . 11
⊢ (𝑥 ∈ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))) ↔ ¬ ∀𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵)) ¬ 𝑦𝑅𝑥) |
13 | 9, 12 | orbi12i 912 |
. . . . . . . . . 10
⊢ ((𝑥 ∈ (◡𝑅 “ 𝐵) ∨ 𝑥 ∈ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵)))) ↔ (¬ ∀𝑦 ∈ 𝐵 ¬ 𝑦◡𝑅𝑥 ∨ ¬ ∀𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵)) ¬ 𝑦𝑅𝑥)) |
14 | | elun 4083 |
. . . . . . . . . 10
⊢ (𝑥 ∈ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵)))) ↔ (𝑥 ∈ (◡𝑅 “ 𝐵) ∨ 𝑥 ∈ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) |
15 | | ianor 979 |
. . . . . . . . . 10
⊢ (¬
(∀𝑦 ∈ 𝐵 ¬ 𝑦◡𝑅𝑥 ∧ ∀𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵)) ¬ 𝑦𝑅𝑥) ↔ (¬ ∀𝑦 ∈ 𝐵 ¬ 𝑦◡𝑅𝑥 ∨ ¬ ∀𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵)) ¬ 𝑦𝑅𝑥)) |
16 | 13, 14, 15 | 3bitr4i 303 |
. . . . . . . . 9
⊢ (𝑥 ∈ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵)))) ↔ ¬ (∀𝑦 ∈ 𝐵 ¬ 𝑦◡𝑅𝑥 ∧ ∀𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵)) ¬ 𝑦𝑅𝑥)) |
17 | 16 | con2bii 358 |
. . . . . . . 8
⊢
((∀𝑦 ∈
𝐵 ¬ 𝑦◡𝑅𝑥 ∧ ∀𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵)) ¬ 𝑦𝑅𝑥) ↔ ¬ 𝑥 ∈ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) |
18 | | vex 3436 |
. . . . . . . . . . . 12
⊢ 𝑦 ∈ V |
19 | 18, 4 | brcnv 5791 |
. . . . . . . . . . 11
⊢ (𝑦◡𝑅𝑥 ↔ 𝑥𝑅𝑦) |
20 | 19 | notbii 320 |
. . . . . . . . . 10
⊢ (¬
𝑦◡𝑅𝑥 ↔ ¬ 𝑥𝑅𝑦) |
21 | 20 | ralbii 3092 |
. . . . . . . . 9
⊢
(∀𝑦 ∈
𝐵 ¬ 𝑦◡𝑅𝑥 ↔ ∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦) |
22 | | impexp 451 |
. . . . . . . . . . 11
⊢ (((𝑦 ∈ 𝐴 ∧ ¬ 𝑦 ∈ (◡𝑅 “ 𝐵)) → ¬ 𝑦𝑅𝑥) ↔ (𝑦 ∈ 𝐴 → (¬ 𝑦 ∈ (◡𝑅 “ 𝐵) → ¬ 𝑦𝑅𝑥))) |
23 | | eldif 3897 |
. . . . . . . . . . . 12
⊢ (𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵)) ↔ (𝑦 ∈ 𝐴 ∧ ¬ 𝑦 ∈ (◡𝑅 “ 𝐵))) |
24 | 23 | imbi1i 350 |
. . . . . . . . . . 11
⊢ ((𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵)) → ¬ 𝑦𝑅𝑥) ↔ ((𝑦 ∈ 𝐴 ∧ ¬ 𝑦 ∈ (◡𝑅 “ 𝐵)) → ¬ 𝑦𝑅𝑥)) |
25 | 18 | elima 5974 |
. . . . . . . . . . . . . . 15
⊢ (𝑦 ∈ (◡𝑅 “ 𝐵) ↔ ∃𝑧 ∈ 𝐵 𝑧◡𝑅𝑦) |
26 | | vex 3436 |
. . . . . . . . . . . . . . . . 17
⊢ 𝑧 ∈ V |
27 | 26, 18 | brcnv 5791 |
. . . . . . . . . . . . . . . 16
⊢ (𝑧◡𝑅𝑦 ↔ 𝑦𝑅𝑧) |
28 | 27 | rexbii 3181 |
. . . . . . . . . . . . . . 15
⊢
(∃𝑧 ∈
𝐵 𝑧◡𝑅𝑦 ↔ ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧) |
29 | 25, 28 | bitri 274 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ (◡𝑅 “ 𝐵) ↔ ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧) |
30 | 29 | imbi2i 336 |
. . . . . . . . . . . . 13
⊢ ((𝑦𝑅𝑥 → 𝑦 ∈ (◡𝑅 “ 𝐵)) ↔ (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)) |
31 | | con34b 316 |
. . . . . . . . . . . . 13
⊢ ((𝑦𝑅𝑥 → 𝑦 ∈ (◡𝑅 “ 𝐵)) ↔ (¬ 𝑦 ∈ (◡𝑅 “ 𝐵) → ¬ 𝑦𝑅𝑥)) |
32 | 30, 31 | bitr3i 276 |
. . . . . . . . . . . 12
⊢ ((𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧) ↔ (¬ 𝑦 ∈ (◡𝑅 “ 𝐵) → ¬ 𝑦𝑅𝑥)) |
33 | 32 | imbi2i 336 |
. . . . . . . . . . 11
⊢ ((𝑦 ∈ 𝐴 → (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)) ↔ (𝑦 ∈ 𝐴 → (¬ 𝑦 ∈ (◡𝑅 “ 𝐵) → ¬ 𝑦𝑅𝑥))) |
34 | 22, 24, 33 | 3bitr4i 303 |
. . . . . . . . . 10
⊢ ((𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵)) → ¬ 𝑦𝑅𝑥) ↔ (𝑦 ∈ 𝐴 → (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))) |
35 | 34 | ralbii2 3090 |
. . . . . . . . 9
⊢
(∀𝑦 ∈
(𝐴 ∖ (◡𝑅 “ 𝐵)) ¬ 𝑦𝑅𝑥 ↔ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)) |
36 | 21, 35 | anbi12i 627 |
. . . . . . . 8
⊢
((∀𝑦 ∈
𝐵 ¬ 𝑦◡𝑅𝑥 ∧ ∀𝑦 ∈ (𝐴 ∖ (◡𝑅 “ 𝐵)) ¬ 𝑦𝑅𝑥) ↔ (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))) |
37 | 6, 17, 36 | 3bitr2ri 300 |
. . . . . . 7
⊢
((∀𝑦 ∈
𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)) ↔ 𝑥 ∈ (V ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵)))))) |
38 | 3, 37 | mpgbir 1802 |
. . . . . 6
⊢ {𝑥 ∣ (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))} = (V ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) |
39 | 38 | ineq2i 4143 |
. . . . 5
⊢ (𝐴 ∩ {𝑥 ∣ (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))}) = (𝐴 ∩ (V ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵)))))) |
40 | | invdif 4202 |
. . . . 5
⊢ (𝐴 ∩ (V ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵)))))) = (𝐴 ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) |
41 | 39, 40 | eqtri 2766 |
. . . 4
⊢ (𝐴 ∩ {𝑥 ∣ (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))}) = (𝐴 ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) |
42 | 2, 41 | eqtri 2766 |
. . 3
⊢ {𝑥 ∈ 𝐴 ∣ (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))} = (𝐴 ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) |
43 | 42 | unieqi 4852 |
. 2
⊢ ∪ {𝑥
∈ 𝐴 ∣
(∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))} = ∪ (𝐴 ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) |
44 | 1, 43 | eqtri 2766 |
1
⊢ sup(𝐵, 𝐴, 𝑅) = ∪ (𝐴 ∖ ((◡𝑅 “ 𝐵) ∪ (𝑅 “ (𝐴 ∖ (◡𝑅 “ 𝐵))))) |