| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > legov3 | Structured version Visualization version GIF version | ||
| Description: An equivalent definition of the less-than relationship, from the strict relation. (Contributed by Thierry Arnoux, 15-Dec-2019.) |
| Ref | Expression |
|---|---|
| legval.p | ⊢ 𝑃 = (Base‘𝐺) |
| legval.d | ⊢ − = (dist‘𝐺) |
| legval.i | ⊢ 𝐼 = (Itv‘𝐺) |
| legval.l | ⊢ ≤ = (≤G‘𝐺) |
| legval.g | ⊢ (𝜑 → 𝐺 ∈ TarskiG) |
| legso.a | ⊢ 𝐸 = ( − “ (𝑃 × 𝑃)) |
| legso.f | ⊢ (𝜑 → Fun − ) |
| legso.l | ⊢ < = (( ≤ ↾ 𝐸) ∖ I ) |
| legso.d | ⊢ (𝜑 → (𝑃 × 𝑃) ⊆ dom − ) |
| ltgov.a | ⊢ (𝜑 → 𝐴 ∈ 𝑃) |
| ltgov.b | ⊢ (𝜑 → 𝐵 ∈ 𝑃) |
| Ref | Expression |
|---|---|
| legov3 | ⊢ (𝜑 → ((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ↔ ((𝐴 − 𝐵) < (𝐶 − 𝐷) ∨ (𝐴 − 𝐵) = (𝐶 − 𝐷)))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | legval.p | . . . 4 ⊢ 𝑃 = (Base‘𝐺) | |
| 2 | legval.d | . . . 4 ⊢ − = (dist‘𝐺) | |
| 3 | legval.i | . . . 4 ⊢ 𝐼 = (Itv‘𝐺) | |
| 4 | legval.l | . . . 4 ⊢ ≤ = (≤G‘𝐺) | |
| 5 | legval.g | . . . 4 ⊢ (𝜑 → 𝐺 ∈ TarskiG) | |
| 6 | legso.a | . . . 4 ⊢ 𝐸 = ( − “ (𝑃 × 𝑃)) | |
| 7 | legso.f | . . . 4 ⊢ (𝜑 → Fun − ) | |
| 8 | legso.l | . . . 4 ⊢ < = (( ≤ ↾ 𝐸) ∖ I ) | |
| 9 | legso.d | . . . 4 ⊢ (𝜑 → (𝑃 × 𝑃) ⊆ dom − ) | |
| 10 | ltgov.a | . . . 4 ⊢ (𝜑 → 𝐴 ∈ 𝑃) | |
| 11 | ltgov.b | . . . 4 ⊢ (𝜑 → 𝐵 ∈ 𝑃) | |
| 12 | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 | ltgov 28768 | . . 3 ⊢ (𝜑 → ((𝐴 − 𝐵) < (𝐶 − 𝐷) ↔ ((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)))) |
| 13 | 12 | orbi1d 927 | . 2 ⊢ (𝜑 → (((𝐴 − 𝐵) < (𝐶 − 𝐷) ∨ (𝐴 − 𝐵) = (𝐶 − 𝐷)) ↔ (((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)) ∨ (𝐴 − 𝐵) = (𝐶 − 𝐷)))) |
| 14 | simprl 780 | . . . 4 ⊢ (((𝜑 ∧ (((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)) ∨ (𝐴 − 𝐵) = (𝐶 − 𝐷))) ∧ ((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷))) → (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) | |
| 15 | 1, 2, 3, 4, 5, 10, 11 | legid 28758 | . . . . . . 7 ⊢ (𝜑 → (𝐴 − 𝐵) ≤ (𝐴 − 𝐵)) |
| 16 | 15 | adantr 484 | . . . . . 6 ⊢ ((𝜑 ∧ (𝐴 − 𝐵) = (𝐶 − 𝐷)) → (𝐴 − 𝐵) ≤ (𝐴 − 𝐵)) |
| 17 | simpr 488 | . . . . . 6 ⊢ ((𝜑 ∧ (𝐴 − 𝐵) = (𝐶 − 𝐷)) → (𝐴 − 𝐵) = (𝐶 − 𝐷)) | |
| 18 | 16, 17 | breqtrd 5128 | . . . . 5 ⊢ ((𝜑 ∧ (𝐴 − 𝐵) = (𝐶 − 𝐷)) → (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) |
| 19 | 18 | adantlr 725 | . . . 4 ⊢ (((𝜑 ∧ (((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)) ∨ (𝐴 − 𝐵) = (𝐶 − 𝐷))) ∧ (𝐴 − 𝐵) = (𝐶 − 𝐷)) → (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) |
| 20 | simpr 488 | . . . 4 ⊢ ((𝜑 ∧ (((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)) ∨ (𝐴 − 𝐵) = (𝐶 − 𝐷))) → (((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)) ∨ (𝐴 − 𝐵) = (𝐶 − 𝐷))) | |
| 21 | 14, 19, 20 | mpjaodan 971 | . . 3 ⊢ ((𝜑 ∧ (((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)) ∨ (𝐴 − 𝐵) = (𝐶 − 𝐷))) → (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) |
| 22 | simplr 778 | . . . . . . 7 ⊢ (((𝜑 ∧ (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) ∧ ¬ (𝐴 − 𝐵) = (𝐶 − 𝐷)) → (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) | |
| 23 | simpr 488 | . . . . . . . 8 ⊢ (((𝜑 ∧ (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) ∧ ¬ (𝐴 − 𝐵) = (𝐶 − 𝐷)) → ¬ (𝐴 − 𝐵) = (𝐶 − 𝐷)) | |
| 24 | 23 | neqned 2966 | . . . . . . 7 ⊢ (((𝜑 ∧ (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) ∧ ¬ (𝐴 − 𝐵) = (𝐶 − 𝐷)) → (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)) |
| 25 | 22, 24 | jca 519 | . . . . . 6 ⊢ (((𝜑 ∧ (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) ∧ ¬ (𝐴 − 𝐵) = (𝐶 − 𝐷)) → ((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷))) |
| 26 | 25 | ex 416 | . . . . 5 ⊢ ((𝜑 ∧ (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) → (¬ (𝐴 − 𝐵) = (𝐶 − 𝐷) → ((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)))) |
| 27 | 26 | orrd 874 | . . . 4 ⊢ ((𝜑 ∧ (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) → ((𝐴 − 𝐵) = (𝐶 − 𝐷) ∨ ((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)))) |
| 28 | 27 | orcomd 882 | . . 3 ⊢ ((𝜑 ∧ (𝐴 − 𝐵) ≤ (𝐶 − 𝐷)) → (((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)) ∨ (𝐴 − 𝐵) = (𝐶 − 𝐷))) |
| 29 | 21, 28 | impbida 810 | . 2 ⊢ (𝜑 → ((((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ∧ (𝐴 − 𝐵) ≠ (𝐶 − 𝐷)) ∨ (𝐴 − 𝐵) = (𝐶 − 𝐷)) ↔ (𝐴 − 𝐵) ≤ (𝐶 − 𝐷))) |
| 30 | 13, 29 | bitr2d 282 | 1 ⊢ (𝜑 → ((𝐴 − 𝐵) ≤ (𝐶 − 𝐷) ↔ ((𝐴 − 𝐵) < (𝐶 − 𝐷) ∨ (𝐴 − 𝐵) = (𝐶 − 𝐷)))) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 208 ∧ wa 399 ∨ wo 858 = wceq 1562 ∈ wcel 2144 ≠ wne 2959 ∖ cdif 3903 ⊆ wss 3906 class class class wbr 5102 I cid 5543 × cxp 5647 dom cdm 5649 ↾ cres 5651 “ cima 5652 Fun wfun 6517 ‘cfv 6523 (class class class)co 7398 Basecbs 17247 distcds 17297 TarskiGcstrkg 28598 Itvcitv 28604 ≤Gcleg 28753 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1817 ax-4 1831 ax-5 1932 ax-6 1989 ax-7 2030 ax-8 2146 ax-9 2154 ax-10 2177 ax-11 2193 ax-12 2214 ax-ext 2736 ax-rep 5229 ax-sep 5248 ax-nul 5258 ax-pow 5324 ax-pr 5392 ax-un 7720 ax-cnex 11131 ax-resscn 11132 ax-1cn 11133 ax-icn 11134 ax-addcl 11135 ax-addrcl 11136 ax-mulcl 11137 ax-mulrcl 11138 ax-mulcom 11139 ax-addass 11140 ax-mulass 11141 ax-distr 11142 ax-i2m1 11143 ax-1ne0 11144 ax-1rid 11145 ax-rnegex 11146 ax-rrecex 11147 ax-cnre 11148 ax-pre-lttri 11149 ax-pre-lttrn 11150 ax-pre-ltadd 11151 ax-pre-mulgt0 11152 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3or 1100 df-3an 1101 df-tru 1565 df-fal 1575 df-ex 1802 df-nf 1806 df-sb 2093 df-mo 2568 df-eu 2598 df-clab 2743 df-cleq 2756 df-clel 2839 df-nfc 2913 df-ne 2960 df-nel 3064 df-ral 3079 df-rex 3089 df-reu 3370 df-rab 3417 df-v 3458 df-sbc 3747 df-csb 3855 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-pss 3926 df-nul 4288 df-if 4483 df-pw 4559 df-sn 4585 df-pr 4587 df-tp 4589 df-op 4591 df-uni 4868 df-int 4908 df-iun 4953 df-br 5103 df-opab 5165 df-mpt 5184 df-tr 5210 df-id 5544 df-eprel 5549 df-po 5557 df-so 5558 df-fr 5602 df-we 5604 df-xp 5655 df-rel 5656 df-cnv 5657 df-co 5658 df-dm 5659 df-rn 5660 df-res 5661 df-ima 5662 df-pred 6290 df-ord 6351 df-on 6352 df-lim 6353 df-suc 6354 df-iota 6479 df-fun 6525 df-fn 6526 df-f 6527 df-f1 6528 df-fo 6529 df-f1o 6530 df-fv 6531 df-riota 7355 df-ov 7401 df-oprab 7402 df-mpo 7403 df-om 7849 df-1st 7972 df-2nd 7973 df-frecs 8264 df-wrecs 8295 df-recs 8344 df-rdg 8383 df-1o 8439 df-oadd 8443 df-er 8680 df-pm 8813 df-en 8930 df-dom 8931 df-sdom 8932 df-fin 8933 df-dju 9861 df-card 9899 df-pnf 11220 df-mnf 11221 df-xr 11222 df-ltxr 11223 df-le 11224 df-sub 11418 df-neg 11419 df-nn 12213 df-2 12282 df-3 12283 df-n0 12484 df-xnn0 12557 df-z 12571 df-uz 12842 df-fz 13515 df-fzo 13662 df-hash 14346 df-word 14529 df-concat 14586 df-s1 14612 df-s2 14863 df-s3 14864 df-trkgc 28619 df-trkgb 28620 df-trkgcb 28621 df-trkg 28624 df-cgrg 28682 df-leg 28754 |
| This theorem is referenced by: legso 28770 |
| Copyright terms: Public domain | W3C validator |