| Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > rrx2plord | Structured version Visualization version GIF version | ||
| Description: The lexicographical ordering for points in the two dimensional Euclidean plane: a point is less than another point iff its first coordinate is less than the first coordinate of the other point, or the first coordinates of both points are equal and the second coordinate of the first point is less than the second coordinate of the other point: 〈𝑎, 𝑏〉 ≤ 〈𝑥, 𝑦〉 iff (𝑎 < 𝑥 ∨ (𝑎 = 𝑥 ∧ 𝑏 ≤ 𝑦)). (Contributed by AV, 12-Mar-2023.) |
| Ref | Expression |
|---|---|
| rrx2plord.o | ⊢ 𝑂 = {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅) ∧ ((𝑥‘0) < (𝑦‘0) ∨ ((𝑥‘0) = (𝑦‘0) ∧ (𝑥‘1) < (𝑦‘1))))} |
| Ref | Expression |
|---|---|
| rrx2plord | ⊢ ((𝑋 ∈ 𝑅 ∧ 𝑌 ∈ 𝑅) → (𝑋𝑂𝑌 ↔ ((𝑋‘0) < (𝑌‘0) ∨ ((𝑋‘0) = (𝑌‘0) ∧ (𝑋‘1) < (𝑌‘1))))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-br 5108 | . . 3 ⊢ (𝑋𝑂𝑌 ↔ 〈𝑋, 𝑌〉 ∈ 𝑂) | |
| 2 | rrx2plord.o | . . . 4 ⊢ 𝑂 = {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅) ∧ ((𝑥‘0) < (𝑦‘0) ∨ ((𝑥‘0) = (𝑦‘0) ∧ (𝑥‘1) < (𝑦‘1))))} | |
| 3 | 2 | eleq2i 2859 | . . 3 ⊢ (〈𝑋, 𝑌〉 ∈ 𝑂 ↔ 〈𝑋, 𝑌〉 ∈ {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅) ∧ ((𝑥‘0) < (𝑦‘0) ∨ ((𝑥‘0) = (𝑦‘0) ∧ (𝑥‘1) < (𝑦‘1))))}) |
| 4 | 1, 3 | bitri 278 | . 2 ⊢ (𝑋𝑂𝑌 ↔ 〈𝑋, 𝑌〉 ∈ {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅) ∧ ((𝑥‘0) < (𝑦‘0) ∨ ((𝑥‘0) = (𝑦‘0) ∧ (𝑥‘1) < (𝑦‘1))))}) |
| 5 | fveq1 6914 | . . . . 5 ⊢ (𝑥 = 𝑋 → (𝑥‘0) = (𝑋‘0)) | |
| 6 | fveq1 6914 | . . . . 5 ⊢ (𝑦 = 𝑌 → (𝑦‘0) = (𝑌‘0)) | |
| 7 | 5, 6 | breqan12d 5123 | . . . 4 ⊢ ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑥‘0) < (𝑦‘0) ↔ (𝑋‘0) < (𝑌‘0))) |
| 8 | 5, 6 | eqeqan12d 2780 | . . . . 5 ⊢ ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑥‘0) = (𝑦‘0) ↔ (𝑋‘0) = (𝑌‘0))) |
| 9 | fveq1 6914 | . . . . . 6 ⊢ (𝑥 = 𝑋 → (𝑥‘1) = (𝑋‘1)) | |
| 10 | fveq1 6914 | . . . . . 6 ⊢ (𝑦 = 𝑌 → (𝑦‘1) = (𝑌‘1)) | |
| 11 | 9, 10 | breqan12d 5123 | . . . . 5 ⊢ ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑥‘1) < (𝑦‘1) ↔ (𝑋‘1) < (𝑌‘1))) |
| 12 | 8, 11 | anbi12d 644 | . . . 4 ⊢ ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (((𝑥‘0) = (𝑦‘0) ∧ (𝑥‘1) < (𝑦‘1)) ↔ ((𝑋‘0) = (𝑌‘0) ∧ (𝑋‘1) < (𝑌‘1)))) |
| 13 | 7, 12 | orbi12d 932 | . . 3 ⊢ ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (((𝑥‘0) < (𝑦‘0) ∨ ((𝑥‘0) = (𝑦‘0) ∧ (𝑥‘1) < (𝑦‘1))) ↔ ((𝑋‘0) < (𝑌‘0) ∨ ((𝑋‘0) = (𝑌‘0) ∧ (𝑋‘1) < (𝑌‘1))))) |
| 14 | 13 | opelopab2a 5515 | . 2 ⊢ ((𝑋 ∈ 𝑅 ∧ 𝑌 ∈ 𝑅) → (〈𝑋, 𝑌〉 ∈ {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅) ∧ ((𝑥‘0) < (𝑦‘0) ∨ ((𝑥‘0) = (𝑦‘0) ∧ (𝑥‘1) < (𝑦‘1))))} ↔ ((𝑋‘0) < (𝑌‘0) ∨ ((𝑋‘0) = (𝑌‘0) ∧ (𝑋‘1) < (𝑌‘1))))) |
| 15 | 4, 14 | bitrid 286 | 1 ⊢ ((𝑋 ∈ 𝑅 ∧ 𝑌 ∈ 𝑅) → (𝑋𝑂𝑌 ↔ ((𝑋‘0) < (𝑌‘0) ∨ ((𝑋‘0) = (𝑌‘0) ∧ (𝑋‘1) < (𝑌‘1))))) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∧ wa 401 ∨ wo 861 = wceq 1572 ∈ wcel 2150 〈cop 4839 class class class wbr 5107 {copab 5172 ‘cfv 6565 0cc0 11238 1c1 11239 < clt 11381 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1830 ax-4 1844 ax-5 1947 ax-6 2004 ax-7 2045 ax-8 2152 ax-9 2160 ax-ext 2738 ax-sep 5254 ax-pr 5397 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1106 df-tru 1575 df-fal 1585 df-ex 1815 df-sb 2104 df-clab 2745 df-cleq 2758 df-clel 2842 df-rab 3416 df-v 3455 df-ss 3900 df-dif 4049 df-in 4093 df-un 4153 df-nul 4281 df-if 4485 df-sn 4588 df-pr 4590 df-op 4840 df-uni 4872 df-br 5108 df-opab 5173 df-iota 6519 df-fv 6573 |
| This theorem is used by: rrx2plord1 50255 rrx2plord2 50256 rrx2plordisom 50257 |
| Copyright terms: Public domain | W3C validator |