Metamath Proof Explorer


Theorem rrx2plord1

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)

Ref Expression
Hypothesis rrx2plord.o ⊢ O = x y | x ∈ R ∧ y ∈ R ∧ x ⁡ 0 < y ⁡ 0 ∨ x ⁡ 0 = y ⁡ 0 ∧ x ⁡ 1 < y ⁡ 1
Assertion rrx2plord1 ⊢ X ∈ R ∧ Y ∈ R ∧ X ⁡ 0 < Y ⁡ 0 → X O Y

Proof

Step Hyp Ref Expression
1 rrx2plord.o ⊢ O = x y | x ∈ R ∧ y ∈ R ∧ x ⁡ 0 < y ⁡ 0 ∨ x ⁡ 0 = y ⁡ 0 ∧ x ⁡ 1 < y ⁡ 1
2 simp3 ⊢ X ∈ R ∧ Y ∈ R ∧ X ⁡ 0 < Y ⁡ 0 → X ⁡ 0 < Y ⁡ 0
3 2 orcd ⊢ X ∈ R ∧ Y ∈ R ∧ X ⁡ 0 < Y ⁡ 0 → X ⁡ 0 < Y ⁡ 0 ∨ X ⁡ 0 = Y ⁡ 0 ∧ X ⁡ 1 < Y ⁡ 1
4 1 rrx2plord ⊢ X ∈ R ∧ Y ∈ R → X O Y ↔ X ⁡ 0 < Y ⁡ 0 ∨ X ⁡ 0 = Y ⁡ 0 ∧ X ⁡ 1 < Y ⁡ 1
5 4 3adant3 ⊢ X ∈ R ∧ Y ∈ R ∧ X ⁡ 0 < Y ⁡ 0 → X O Y ↔ X ⁡ 0 < Y ⁡ 0 ∨ X ⁡ 0 = Y ⁡ 0 ∧ X ⁡ 1 < Y ⁡ 1
6 3 5 mpbird ⊢ X ∈ R ∧ Y ∈ R ∧ X ⁡ 0 < Y ⁡ 0 → X O Y