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

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

Proof of Theorem brlexod
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 brlexod.1 . . . 4 (𝜑 → 𝐴 ∈ On)
2 brlexod.2 . . . 4 (𝜑 → 𝐵 ∈ On)
31, 2opelxpd 5694 . . 3 (𝜑 → ⟨𝐴, 𝐵⟩ ∈ (On × On))
4 brlexod.3 . . . 4 (𝜑 → 𝐶 ∈ On)
5 brlexod.4 . . . 4 (𝜑 → 𝐷 ∈ On)
64, 5opelxpd 5694 . . 3 (𝜑 → ⟨𝐶, 𝐷⟩ ∈ (On × On))
73, 6jca 521 . 2 (𝜑 → (⟨𝐴, 𝐵⟩ ∈ (On × On) ∧ ⟨𝐶, 𝐷⟩ ∈ (On × On)))
8 df-lexo 35989 . . . 4 LexOrd = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (On × On) ∧ 𝑦 ∈ (On × On)) ∧ ((1st ‘𝑥) ∈ (1st ‘𝑦) ∨ ((1st ‘𝑥) = (1st ‘𝑦) ∧ (2nd ‘𝑥) ∈ (2nd ‘𝑦))))}
98a1i 11 . . 3 (𝜑 → LexOrd = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (On × On) ∧ 𝑦 ∈ (On × On)) ∧ ((1st ‘𝑥) ∈ (1st ‘𝑦) ∨ ((1st ‘𝑥) = (1st ‘𝑦) ∧ (2nd ‘𝑥) ∈ (2nd ‘𝑦))))})
10 fveq2 6908 . . . . . . 7 (𝑥 = ⟨𝐴, 𝐵⟩ → (1st ‘𝑥) = (1st ‘⟨𝐴, 𝐵⟩))
11 op1stg 8037 . . . . . . . 8 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (1st ‘⟨𝐴, 𝐵⟩) = 𝐴)
121, 2, 11syl2anc 596 . . . . . . 7 (𝜑 → (1st ‘⟨𝐴, 𝐵⟩) = 𝐴)
1310, 12sylan9eqr 2820 . . . . . 6 ((𝜑 ∧ 𝑥 = ⟨𝐴, 𝐵⟩) → (1st ‘𝑥) = 𝐴)
1413adantrr 730 . . . . 5 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → (1st ‘𝑥) = 𝐴)
15 fveq2 6908 . . . . . . 7 (𝑦 = ⟨𝐶, 𝐷⟩ → (1st ‘𝑦) = (1st ‘⟨𝐶, 𝐷⟩))
16 op1stg 8037 . . . . . . . 8 ((𝐶 ∈ On ∧ 𝐷 ∈ On) → (1st ‘⟨𝐶, 𝐷⟩) = 𝐶)
174, 5, 16syl2anc 596 . . . . . . 7 (𝜑 → (1st ‘⟨𝐶, 𝐷⟩) = 𝐶)
1815, 17sylan9eqr 2820 . . . . . 6 ((𝜑 ∧ 𝑦 = ⟨𝐶, 𝐷⟩) → (1st ‘𝑦) = 𝐶)
1918adantrl 729 . . . . 5 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → (1st ‘𝑦) = 𝐶)
2014, 19eleq12d 2858 . . . 4 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → ((1st ‘𝑥) ∈ (1st ‘𝑦) ↔ 𝐴 ∈ 𝐶))
2114, 19eqeq12d 2779 . . . . 5 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → ((1st ‘𝑥) = (1st ‘𝑦) ↔ 𝐴 = 𝐶))
22 fveq2 6908 . . . . . . . 8 (𝑥 = ⟨𝐴, 𝐵⟩ → (2nd ‘𝑥) = (2nd ‘⟨𝐴, 𝐵⟩))
23 op2ndg 8038 . . . . . . . . 9 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (2nd ‘⟨𝐴, 𝐵⟩) = 𝐵)
241, 2, 23syl2anc 596 . . . . . . . 8 (𝜑 → (2nd ‘⟨𝐴, 𝐵⟩) = 𝐵)
2522, 24sylan9eqr 2820 . . . . . . 7 ((𝜑 ∧ 𝑥 = ⟨𝐴, 𝐵⟩) → (2nd ‘𝑥) = 𝐵)
2625adantrr 730 . . . . . 6 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → (2nd ‘𝑥) = 𝐵)
27 fveq2 6908 . . . . . . . 8 (𝑦 = ⟨𝐶, 𝐷⟩ → (2nd ‘𝑦) = (2nd ‘⟨𝐶, 𝐷⟩))
28 op2ndg 8038 . . . . . . . . 9 ((𝐶 ∈ On ∧ 𝐷 ∈ On) → (2nd ‘⟨𝐶, 𝐷⟩) = 𝐷)
294, 5, 28syl2anc 596 . . . . . . . 8 (𝜑 → (2nd ‘⟨𝐶, 𝐷⟩) = 𝐷)
3027, 29sylan9eqr 2820 . . . . . . 7 ((𝜑 ∧ 𝑦 = ⟨𝐶, 𝐷⟩) → (2nd ‘𝑦) = 𝐷)
3130adantrl 729 . . . . . 6 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → (2nd ‘𝑦) = 𝐷)
3226, 31eleq12d 2858 . . . . 5 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → ((2nd ‘𝑥) ∈ (2nd ‘𝑦) ↔ 𝐵 ∈ 𝐷))
3321, 32anbi12d 644 . . . 4 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → (((1st ‘𝑥) = (1st ‘𝑦) ∧ (2nd ‘𝑥) ∈ (2nd ‘𝑦)) ↔ (𝐴 = 𝐶 ∧ 𝐵 ∈ 𝐷)))
3420, 33orbi12d 932 . . 3 ((𝜑 ∧ (𝑥 = ⟨𝐴, 𝐵⟩ ∧ 𝑦 = ⟨𝐶, 𝐷⟩)) → (((1st ‘𝑥) ∈ (1st ‘𝑦) ∨ ((1st ‘𝑥) = (1st ‘𝑦) ∧ (2nd ‘𝑥) ∈ (2nd ‘𝑦))) ↔ (𝐴 ∈ 𝐶 ∨ (𝐴 = 𝐶 ∧ 𝐵 ∈ 𝐷))))
359, 34brab2d 5516 . 2 (𝜑 → (⟨𝐴, 𝐵⟩LexOrd⟨𝐶, 𝐷⟩ ↔ ((⟨𝐴, 𝐵⟩ ∈ (On × On) ∧ ⟨𝐶, 𝐷⟩ ∈ (On × On)) ∧ (𝐴 ∈ 𝐶 ∨ (𝐴 = 𝐶 ∧ 𝐵 ∈ 𝐷)))))
367, 35mpbirand 720 1 (𝜑 → (⟨𝐴, 𝐵⟩LexOrd⟨𝐶, 𝐷⟩ ↔ (𝐴 ∈ 𝐶 ∨ (𝐴 = 𝐶 ∧ 𝐵 ∈ 𝐷))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2147  ⟨cop 4838   class class class wbr 5106  {copab 5170   × cxp 5653  Oncon0 6380  ‘cfv 6558  1st c1st 8023  2nd c2nd 8024  LexOrdclexo 35980
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7775
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-iota 6512  df-fun 6560  df-fv 6566  df-1st 8025  df-2nd 8026  df-lexo 35989
This theorem is used by:  maxssj0  36006
  Copyright terms: Public domain W3C validator