Users' Mathboxes Mathbox for BTernaryTau < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  brr0d Structured version   Visualization version   GIF version

Theorem brr0d 35933
Description: Condition for two ordered pairs to be related by 𝑅0. (Contributed by BTernaryTau, 19-Sep-2026.)
Hypotheses
Ref Expression
brr0d.1 (𝜑 → 𝐴 ∈ On)
brr0d.2 (𝜑 → 𝐵 ∈ On)
brr0d.3 (𝜑 → 𝐶 ∈ On)
brr0d.4 (𝜑 → 𝐷 ∈ On)
Assertion
Ref Expression
brr0d (𝜑 → (⟨𝐴, 𝐵⟩𝑅0⟨𝐶, 𝐷⟩ ↔ ((𝐴 ∪ 𝐵) ∈ (𝐶 ∪ 𝐷) ∨ ((𝐴 ∪ 𝐵) = (𝐶 ∪ 𝐷) ∧ ⟨𝐴, 𝐵⟩LexOrd⟨𝐶, 𝐷⟩))))

Proof of Theorem brr0d
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 brr0d.1 . . . 4 (𝜑 → 𝐴 ∈ On)
2 brr0d.2 . . . 4 (𝜑 → 𝐵 ∈ On)
31, 2opelxpd 5689 . . 3 (𝜑 → ⟨𝐴, 𝐵⟩ ∈ (On × On))
4 brr0d.3 . . . 4 (𝜑 → 𝐶 ∈ On)
5 brr0d.4 . . . 4 (𝜑 → 𝐷 ∈ On)
64, 5opelxpd 5689 . . 3 (𝜑 → ⟨𝐶, 𝐷⟩ ∈ (On × On))
73, 6jca 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𝑦)))}
98a1i 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 ‘⟨𝐴, 𝐵⟩) = 𝐴)
121, 2, 11syl2anc 596 . . . . . . . 8 (𝜑 → (1st ‘⟨𝐴, 𝐵⟩) = 𝐴)
1310, 12sylan9eqr 2817 . . . . . . 7 ((𝜑 ∧ 𝑥 = ⟨𝐴, 𝐵⟩) → (1st ‘𝑥) = 𝐴)
14 fveq2 6885 . . . . . . . 8 (𝑥 = ⟨𝐴, 𝐵⟩ → (2nd ‘𝑥) = (2nd ‘⟨𝐴, 𝐵⟩))
15 op2ndg 8014 . . . . . . . . 9 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (2nd ‘⟨𝐴, 𝐵⟩) = 𝐵)
161, 2, 15syl2anc 596 . . . . . . . 8 (𝜑 → (2nd ‘⟨𝐴, 𝐵⟩) = 𝐵)
1714, 16sylan9eqr 2817 . . . . . . 7 ((𝜑 ∧ 𝑥 = ⟨𝐴, 𝐵⟩) → (2nd ‘𝑥) = 𝐵)
1813, 17uneq12d 4168 . . . . . 6 ((𝜑 ∧ 𝑥 = ⟨𝐴, 𝐵⟩) → ((1st ‘𝑥) ∪ (2nd ‘𝑥)) = (𝐴 ∪ 𝐵))
1918adantrr 730 . . . . 5 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → ((1st ‘𝑥) ∪ (2nd ‘𝑥)) = (𝐴 ∪ 𝐵))
20 fveq2 6885 . . . . . . . 8 (𝑦 = ⟨𝐶, 𝐷⟩ → (1st ‘𝑦) = (1st ‘⟨𝐶, 𝐷⟩))
21 op1stg 8013 . . . . . . . . 9 ((𝐶 ∈ On ∧ 𝐷 ∈ On) → (1st ‘⟨𝐶, 𝐷⟩) = 𝐶)
224, 5, 21syl2anc 596 . . . . . . . 8 (𝜑 → (1st ‘⟨𝐶, 𝐷⟩) = 𝐶)
2320, 22sylan9eqr 2817 . . . . . . 7 ((𝜑 ∧ 𝑦 = ⟨𝐶, 𝐷⟩) → (1st ‘𝑦) = 𝐶)
24 fveq2 6885 . . . . . . . 8 (𝑦 = ⟨𝐶, 𝐷⟩ → (2nd ‘𝑦) = (2nd ‘⟨𝐶, 𝐷⟩))
25 op2ndg 8014 . . . . . . . . 9 ((𝐶 ∈ On ∧ 𝐷 ∈ On) → (2nd ‘⟨𝐶, 𝐷⟩) = 𝐷)
264, 5, 25syl2anc 596 . . . . . . . 8 (𝜑 → (2nd ‘⟨𝐶, 𝐷⟩) = 𝐷)
2724, 26sylan9eqr 2817 . . . . . . 7 ((𝜑 ∧ 𝑦 = ⟨𝐶, 𝐷⟩) → (2nd ‘𝑦) = 𝐷)
2823, 27uneq12d 4168 . . . . . 6 ((𝜑 ∧ 𝑦 = ⟨𝐶, 𝐷⟩) → ((1st ‘𝑦) ∪ (2nd ‘𝑦)) = (𝐶 ∪ 𝐷))
2928adantrl 729 . . . . 5 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → ((1st ‘𝑦) ∪ (2nd ‘𝑦)) = (𝐶 ∪ 𝐷))
3019, 29eleq12d 2854 . . . 4 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → (((1st ‘𝑥) ∪ (2nd ‘𝑥)) ∈ ((1st ‘𝑦) ∪ (2nd ‘𝑦)) ↔ (𝐴 ∪ 𝐵) ∈ (𝐶 ∪ 𝐷)))
3119, 29eqeq12d 2776 . . . . 5 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → (((1st ‘𝑥) ∪ (2nd ‘𝑥)) = ((1st ‘𝑦) ∪ (2nd ‘𝑦)) ↔ (𝐴 ∪ 𝐵) = (𝐶 ∪ 𝐷)))
32 breq12 5107 . . . . . 6 ((𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩) → (𝑥LexOrd𝑦 ↔ ⟨𝐴, 𝐵⟩LexOrd⟨𝐶, 𝐷⟩))
3332adantl 487 . . . . 5 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → (𝑥LexOrd𝑦 ↔ ⟨𝐴, 𝐵⟩LexOrd⟨𝐶, 𝐷⟩))
3431, 33anbi12d 644 . . . 4 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → ((((1st ‘𝑥) ∪ (2nd ‘𝑥)) = ((1st ‘𝑦) ∪ (2nd ‘𝑦)) ∧ 𝑥LexOrd𝑦) ↔ ((𝐴 ∪ 𝐵) = (𝐶 ∪ 𝐷) ∧ ⟨𝐴, 𝐵⟩LexOrd⟨𝐶, 𝐷⟩)))
3530, 34orbi12d 932 . . 3 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → ((((1st ‘𝑥) ∪ (2nd ‘𝑥)) ∈ ((1st ‘𝑦) ∪ (2nd ‘𝑦)) ∨ (((1st ‘𝑥) ∪ (2nd ‘𝑥)) = ((1st ‘𝑦) ∪ (2nd ‘𝑦)) ∧ 𝑥LexOrd𝑦)) ↔ ((𝐴 ∪ 𝐵) ∈ (𝐶 ∪ 𝐷) ∨ ((𝐴 ∪ 𝐵) = (𝐶 ∪ 𝐷) ∧ ⟨𝐴, 𝐵⟩LexOrd⟨𝐶, 𝐷⟩))))
369, 35brab2d 5511 . 2 (𝜑 → (⟨𝐴, 𝐵⟩𝑅0⟨𝐶, 𝐷⟩ ↔ ((⟨𝐴, 𝐵⟩ ∈ (On × On) ∧ ⟨𝐶, 𝐷⟩ ∈ (On × On)) ∧ ((𝐴 ∪ 𝐵) ∈ (𝐶 ∪ 𝐷) ∨ ((𝐴 ∪ 𝐵) = (𝐶 ∪ 𝐷) ∧ ⟨𝐴, 𝐵⟩LexOrd⟨𝐶, 𝐷⟩)))))
377, 36mpbirand 720 1 (𝜑 → (⟨𝐴, 𝐵⟩𝑅0⟨𝐶, 𝐷⟩ ↔ ((𝐴 ∪ 𝐵) ∈ (𝐶 ∪ 𝐷) ∨ ((𝐴 ∪ 𝐵) = (𝐶 ∪ 𝐷) ∧ ⟨𝐴, 𝐵⟩LexOrd⟨𝐶, 𝐷⟩))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2144   ∪ cun 4149  ⟨cop 4589   class class class wbr 5102  {copab 5166   × cxp 5648  Oncon0 6362  ‘cfv 6538  1st c1st 7999  2nd c2nd 8000  LexOrdclexo 35912  𝑅0cr0 35913
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-iota 6494  df-fun 6540  df-fv 6546  df-1st 8001  df-2nd 8002  df-r0 35922
This theorem is used by:  r0maxss  35935  j00smo  35937  maxssj0  35938
  Copyright terms: Public domain W3C validator