| Step | Hyp | Ref
| Expression |
| 1 | | brr0d.1 |
. . . 4
⊢ (𝜑 → 𝐴 ∈ On) |
| 2 | | brr0d.2 |
. . . 4
⊢ (𝜑 → 𝐵 ∈ On) |
| 3 | 1, 2 | opelxpd 5689 |
. . 3
⊢ (𝜑 → 〈𝐴, 𝐵〉 ∈ (On ×
On)) |
| 4 | | brr0d.3 |
. . . 4
⊢ (𝜑 → 𝐶 ∈ On) |
| 5 | | brr0d.4 |
. . . 4
⊢ (𝜑 → 𝐷 ∈ On) |
| 6 | 4, 5 | opelxpd 5689 |
. . 3
⊢ (𝜑 → 〈𝐶, 𝐷〉 ∈ (On ×
On)) |
| 7 | 3, 6 | jca 521 |
. 2
⊢ (𝜑 → (〈𝐴, 𝐵〉 ∈ (On × On) ∧
〈𝐶, 𝐷〉 ∈ (On ×
On))) |
| 8 | | df-r0 35922 |
. . . 4
⊢
𝑅0 = {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ (On × On) ∧ 𝑦 ∈ (On × On)) ∧
(((1st ‘𝑥)
∪ (2nd ‘𝑥)) ∈ ((1st ‘𝑦) ∪ (2nd
‘𝑦)) ∨
(((1st ‘𝑥)
∪ (2nd ‘𝑥)) = ((1st ‘𝑦) ∪ (2nd
‘𝑦)) ∧ 𝑥LexOrd𝑦)))} |
| 9 | 8 | a1i 11 |
. . 3
⊢ (𝜑 → 𝑅0 =
{〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ (On × On) ∧
𝑦 ∈ (On × On))
∧ (((1st ‘𝑥) ∪ (2nd ‘𝑥)) ∈ ((1st
‘𝑦) ∪
(2nd ‘𝑦))
∨ (((1st ‘𝑥) ∪ (2nd ‘𝑥)) = ((1st
‘𝑦) ∪
(2nd ‘𝑦))
∧ 𝑥LexOrd𝑦)))}) |
| 10 | | fveq2 6885 |
. . . . . . . 8
⊢ (𝑥 = 〈𝐴, 𝐵〉 → (1st ‘𝑥) = (1st
‘〈𝐴, 𝐵〉)) |
| 11 | | op1stg 8013 |
. . . . . . . . 9
⊢ ((𝐴 ∈ On ∧ 𝐵 ∈ On) →
(1st ‘〈𝐴, 𝐵〉) = 𝐴) |
| 12 | 1, 2, 11 | syl2anc 596 |
. . . . . . . 8
⊢ (𝜑 → (1st
‘〈𝐴, 𝐵〉) = 𝐴) |
| 13 | 10, 12 | sylan9eqr 2817 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑥 = 〈𝐴, 𝐵〉) → (1st ‘𝑥) = 𝐴) |
| 14 | | fveq2 6885 |
. . . . . . . 8
⊢ (𝑥 = 〈𝐴, 𝐵〉 → (2nd ‘𝑥) = (2nd
‘〈𝐴, 𝐵〉)) |
| 15 | | op2ndg 8014 |
. . . . . . . . 9
⊢ ((𝐴 ∈ On ∧ 𝐵 ∈ On) →
(2nd ‘〈𝐴, 𝐵〉) = 𝐵) |
| 16 | 1, 2, 15 | syl2anc 596 |
. . . . . . . 8
⊢ (𝜑 → (2nd
‘〈𝐴, 𝐵〉) = 𝐵) |
| 17 | 14, 16 | sylan9eqr 2817 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑥 = 〈𝐴, 𝐵〉) → (2nd ‘𝑥) = 𝐵) |
| 18 | 13, 17 | uneq12d 4168 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑥 = 〈𝐴, 𝐵〉) → ((1st ‘𝑥) ∪ (2nd
‘𝑥)) = (𝐴 ∪ 𝐵)) |
| 19 | 18 | adantrr 730 |
. . . . 5
⊢ ((𝜑 ∧ (𝑥 = 〈𝐴, 𝐵〉 ∧ 𝑦 = 〈𝐶, 𝐷〉)) → ((1st
‘𝑥) ∪
(2nd ‘𝑥))
= (𝐴 ∪ 𝐵)) |
| 20 | | fveq2 6885 |
. . . . . . . 8
⊢ (𝑦 = 〈𝐶, 𝐷〉 → (1st ‘𝑦) = (1st
‘〈𝐶, 𝐷〉)) |
| 21 | | op1stg 8013 |
. . . . . . . . 9
⊢ ((𝐶 ∈ On ∧ 𝐷 ∈ On) →
(1st ‘〈𝐶, 𝐷〉) = 𝐶) |
| 22 | 4, 5, 21 | syl2anc 596 |
. . . . . . . 8
⊢ (𝜑 → (1st
‘〈𝐶, 𝐷〉) = 𝐶) |
| 23 | 20, 22 | sylan9eqr 2817 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 = 〈𝐶, 𝐷〉) → (1st ‘𝑦) = 𝐶) |
| 24 | | fveq2 6885 |
. . . . . . . 8
⊢ (𝑦 = 〈𝐶, 𝐷〉 → (2nd ‘𝑦) = (2nd
‘〈𝐶, 𝐷〉)) |
| 25 | | op2ndg 8014 |
. . . . . . . . 9
⊢ ((𝐶 ∈ On ∧ 𝐷 ∈ On) →
(2nd ‘〈𝐶, 𝐷〉) = 𝐷) |
| 26 | 4, 5, 25 | syl2anc 596 |
. . . . . . . 8
⊢ (𝜑 → (2nd
‘〈𝐶, 𝐷〉) = 𝐷) |
| 27 | 24, 26 | sylan9eqr 2817 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑦 = 〈𝐶, 𝐷〉) → (2nd ‘𝑦) = 𝐷) |
| 28 | 23, 27 | uneq12d 4168 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 = 〈𝐶, 𝐷〉) → ((1st ‘𝑦) ∪ (2nd
‘𝑦)) = (𝐶 ∪ 𝐷)) |
| 29 | 28 | adantrl 729 |
. . . . 5
⊢ ((𝜑 ∧ (𝑥 = 〈𝐴, 𝐵〉 ∧ 𝑦 = 〈𝐶, 𝐷〉)) → ((1st
‘𝑦) ∪
(2nd ‘𝑦))
= (𝐶 ∪ 𝐷)) |
| 30 | 19, 29 | eleq12d 2854 |
. . . 4
⊢ ((𝜑 ∧ (𝑥 = 〈𝐴, 𝐵〉 ∧ 𝑦 = 〈𝐶, 𝐷〉)) → (((1st
‘𝑥) ∪
(2nd ‘𝑥))
∈ ((1st ‘𝑦) ∪ (2nd ‘𝑦)) ↔ (𝐴 ∪ 𝐵) ∈ (𝐶 ∪ 𝐷))) |
| 31 | 19, 29 | eqeq12d 2776 |
. . . . 5
⊢ ((𝜑 ∧ (𝑥 = 〈𝐴, 𝐵〉 ∧ 𝑦 = 〈𝐶, 𝐷〉)) → (((1st
‘𝑥) ∪
(2nd ‘𝑥))
= ((1st ‘𝑦) ∪ (2nd ‘𝑦)) ↔ (𝐴 ∪ 𝐵) = (𝐶 ∪ 𝐷))) |
| 32 | | breq12 5107 |
. . . . . 6
⊢ ((𝑥 = 〈𝐴, 𝐵〉 ∧ 𝑦 = 〈𝐶, 𝐷〉) → (𝑥LexOrd𝑦 ↔ 〈𝐴, 𝐵〉LexOrd〈𝐶, 𝐷〉)) |
| 33 | 32 | adantl 487 |
. . . . 5
⊢ ((𝜑 ∧ (𝑥 = 〈𝐴, 𝐵〉 ∧ 𝑦 = 〈𝐶, 𝐷〉)) → (𝑥LexOrd𝑦 ↔ 〈𝐴, 𝐵〉LexOrd〈𝐶, 𝐷〉)) |
| 34 | 31, 33 | anbi12d 644 |
. . . 4
⊢ ((𝜑 ∧ (𝑥 = 〈𝐴, 𝐵〉 ∧ 𝑦 = 〈𝐶, 𝐷〉)) → ((((1st
‘𝑥) ∪
(2nd ‘𝑥))
= ((1st ‘𝑦) ∪ (2nd ‘𝑦)) ∧ 𝑥LexOrd𝑦) ↔ ((𝐴 ∪ 𝐵) = (𝐶 ∪ 𝐷) ∧ 〈𝐴, 𝐵〉LexOrd〈𝐶, 𝐷〉))) |
| 35 | 30, 34 | orbi12d 932 |
. . 3
⊢ ((𝜑 ∧ (𝑥 = 〈𝐴, 𝐵〉 ∧ 𝑦 = 〈𝐶, 𝐷〉)) → ((((1st
‘𝑥) ∪
(2nd ‘𝑥))
∈ ((1st ‘𝑦) ∪ (2nd ‘𝑦)) ∨ (((1st
‘𝑥) ∪
(2nd ‘𝑥))
= ((1st ‘𝑦) ∪ (2nd ‘𝑦)) ∧ 𝑥LexOrd𝑦)) ↔ ((𝐴 ∪ 𝐵) ∈ (𝐶 ∪ 𝐷) ∨ ((𝐴 ∪ 𝐵) = (𝐶 ∪ 𝐷) ∧ 〈𝐴, 𝐵〉LexOrd〈𝐶, 𝐷〉)))) |
| 36 | 9, 35 | brab2d 5511 |
. 2
⊢ (𝜑 → (〈𝐴, 𝐵〉𝑅0〈𝐶, 𝐷〉 ↔ ((〈𝐴, 𝐵〉 ∈ (On × On) ∧
〈𝐶, 𝐷〉 ∈ (On × On)) ∧ ((𝐴 ∪ 𝐵) ∈ (𝐶 ∪ 𝐷) ∨ ((𝐴 ∪ 𝐵) = (𝐶 ∪ 𝐷) ∧ 〈𝐴, 𝐵〉LexOrd〈𝐶, 𝐷〉))))) |
| 37 | 7, 36 | mpbirand 720 |
1
⊢ (𝜑 → (〈𝐴, 𝐵〉𝑅0〈𝐶, 𝐷〉 ↔ ((𝐴 ∪ 𝐵) ∈ (𝐶 ∪ 𝐷) ∨ ((𝐴 ∪ 𝐵) = (𝐶 ∪ 𝐷) ∧ 〈𝐴, 𝐵〉LexOrd〈𝐶, 𝐷〉)))) |