Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rrx2plord1 Structured version   Visualization version   GIF version

Theorem rrx2plord1 45955
Description: The lexicographical ordering for points in the two dimensional Euclidean plane: a point is less than another point if its first coordinate is less than the first coordinate of the other point. (Contributed by AV, 12-Mar-2023.)
Hypothesis
Ref Expression
rrx2plord.o 𝑂 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝑅𝑦𝑅) ∧ ((𝑥‘1) < (𝑦‘1) ∨ ((𝑥‘1) = (𝑦‘1) ∧ (𝑥‘2) < (𝑦‘2))))}
Assertion
Ref Expression
rrx2plord1 ((𝑋𝑅𝑌𝑅 ∧ (𝑋‘1) < (𝑌‘1)) → 𝑋𝑂𝑌)
Distinct variable groups:   𝑥,𝑅,𝑦   𝑥,𝑋,𝑦   𝑥,𝑌,𝑦
Allowed substitution hints:   𝑂(𝑥,𝑦)

Proof of Theorem rrx2plord1
StepHypRef Expression
1 simp3 1136 . . 3 ((𝑋𝑅𝑌𝑅 ∧ (𝑋‘1) < (𝑌‘1)) → (𝑋‘1) < (𝑌‘1))
21orcd 869 . 2 ((𝑋𝑅𝑌𝑅 ∧ (𝑋‘1) < (𝑌‘1)) → ((𝑋‘1) < (𝑌‘1) ∨ ((𝑋‘1) = (𝑌‘1) ∧ (𝑋‘2) < (𝑌‘2))))
3 rrx2plord.o . . . 4 𝑂 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝑅𝑦𝑅) ∧ ((𝑥‘1) < (𝑦‘1) ∨ ((𝑥‘1) = (𝑦‘1) ∧ (𝑥‘2) < (𝑦‘2))))}
43rrx2plord 45954 . . 3 ((𝑋𝑅𝑌𝑅) → (𝑋𝑂𝑌 ↔ ((𝑋‘1) < (𝑌‘1) ∨ ((𝑋‘1) = (𝑌‘1) ∧ (𝑋‘2) < (𝑌‘2)))))
543adant3 1130 . 2 ((𝑋𝑅𝑌𝑅 ∧ (𝑋‘1) < (𝑌‘1)) → (𝑋𝑂𝑌 ↔ ((𝑋‘1) < (𝑌‘1) ∨ ((𝑋‘1) = (𝑌‘1) ∧ (𝑋‘2) < (𝑌‘2)))))
62, 5mpbird 256 1 ((𝑋𝑅𝑌𝑅 ∧ (𝑋‘1) < (𝑌‘1)) → 𝑋𝑂𝑌)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108   class class class wbr 5070  {copab 5132  cfv 6418  1c1 10803   < clt 10940  2c2 11958
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-iota 6376  df-fv 6426
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator