| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > lesubsd | Structured version Visualization version GIF version | ||
| Description: Swap subtrahends in a surreal inequality. (Contributed by Scott Fenton, 29-Jan-2026.) |
| Ref | Expression |
|---|---|
| lesubsd.1 | ⊢ (𝜑 → 𝐴 ∈ No) |
| lesubsd.2 | ⊢ (𝜑 → 𝐵 ∈ No) |
| lesubsd.3 | ⊢ (𝜑 → 𝐶 ∈ No) |
| Ref | Expression |
|---|---|
| lesubsd | ⊢ (𝜑 → (𝐴 ≤s (𝐵 −s 𝐶) ↔ 𝐶 ≤s (𝐵 −s 𝐴))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | lesubsd.2 | . . . . 5 ⊢ (𝜑 → 𝐵 ∈ No) | |
| 2 | lesubsd.1 | . . . . 5 ⊢ (𝜑 → 𝐴 ∈ No) | |
| 3 | npcans 28585 | . . . . 5 ⊢ ((𝐵 ∈ No ∧ 𝐴 ∈ No) → ((𝐵 −s 𝐴) +s 𝐴) = 𝐵) | |
| 4 | 1, 2, 3 | syl2anc 596 | . . . 4 ⊢ (𝜑 → ((𝐵 −s 𝐴) +s 𝐴) = 𝐵) |
| 5 | 1, 2 | subscld 28573 | . . . . 5 ⊢ (𝜑 → (𝐵 −s 𝐴) ∈ No) |
| 6 | 2, 5 | addscomd 28477 | . . . 4 ⊢ (𝜑 → (𝐴 +s (𝐵 −s 𝐴)) = ((𝐵 −s 𝐴) +s 𝐴)) |
| 7 | lesubsd.3 | . . . . 5 ⊢ (𝜑 → 𝐶 ∈ No) | |
| 8 | npcans 28585 | . . . . 5 ⊢ ((𝐵 ∈ No ∧ 𝐶 ∈ No) → ((𝐵 −s 𝐶) +s 𝐶) = 𝐵) | |
| 9 | 1, 7, 8 | syl2anc 596 | . . . 4 ⊢ (𝜑 → ((𝐵 −s 𝐶) +s 𝐶) = 𝐵) |
| 10 | 4, 6, 9 | 3eqtr4rd 2815 | . . 3 ⊢ (𝜑 → ((𝐵 −s 𝐶) +s 𝐶) = (𝐴 +s (𝐵 −s 𝐴))) |
| 11 | 10 | breq2d 5123 | . 2 ⊢ (𝜑 → ((𝐴 +s 𝐶) ≤s ((𝐵 −s 𝐶) +s 𝐶) ↔ (𝐴 +s 𝐶) ≤s (𝐴 +s (𝐵 −s 𝐴)))) |
| 12 | 1, 7 | subscld 28573 | . . 3 ⊢ (𝜑 → (𝐵 −s 𝐶) ∈ No) |
| 13 | 2, 12, 7 | leadds1d 28505 | . 2 ⊢ (𝜑 → (𝐴 ≤s (𝐵 −s 𝐶) ↔ (𝐴 +s 𝐶) ≤s ((𝐵 −s 𝐶) +s 𝐶))) |
| 14 | 7, 5, 2 | leadds2d 28506 | . 2 ⊢ (𝜑 → (𝐶 ≤s (𝐵 −s 𝐴) ↔ (𝐴 +s 𝐶) ≤s (𝐴 +s (𝐵 −s 𝐴)))) |
| 15 | 11, 13, 14 | 3bitr4d 314 | 1 ⊢ (𝜑 → (𝐴 ≤s (𝐵 −s 𝐶) ↔ 𝐶 ≤s (𝐵 −s 𝐴))) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 = wceq 1572 ∈ wcel 2151 class class class wbr 5111 (class class class)co 7462 Nocsur 28121 ≤s cles 28225 +s cadds 28469 −s csubs 28530 |
| 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 2153 ax-9 2161 ax-10 2184 ax-11 2201 ax-12 2220 ax-ext 2741 ax-rep 5241 ax-sep 5258 ax-nul 5269 ax-pow 5337 ax-pr 5401 ax-un 7794 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1105 df-3an 1106 df-tru 1575 df-fal 1585 df-ex 1815 df-nf 1819 df-sb 2105 df-mo 2571 df-eu 2601 df-clab 2748 df-cleq 2761 df-clel 2845 df-nfc 2919 df-ne 2966 df-ral 3087 df-rex 3097 df-rmo 3371 df-reu 3372 df-rab 3419 df-v 3458 df-sbc 3745 df-csb 3854 df-ss 3903 df-pss 4019 df-dif 4052 df-in 4096 df-un 4156 df-nul 4284 df-if 4488 df-pw 4564 df-sn 4591 df-pr 4593 df-tp 4595 df-op 4844 df-ot 4867 df-uni 4876 df-int 4916 df-iun 4961 df-br 5112 df-opab 5177 df-mpt 5196 df-tr 5222 df-id 5556 df-eprel 5561 df-po 5569 df-so 5570 df-fr 5614 df-se 5615 df-we 5616 df-xp 5667 df-rel 5668 df-cnv 5669 df-co 5670 df-dm 5671 df-rn 5672 df-res 5673 df-ima 5674 df-pred 6337 df-ord 6398 df-on 6399 df-suc 6401 df-iota 6527 df-fun 6575 df-fn 6576 df-f 6577 df-f1 6578 df-fo 6579 df-f1o 6580 df-fv 6581 df-riota 7418 df-ov 7465 df-oprab 7466 df-mpo 7467 df-1st 8046 df-2nd 8047 df-frecs 8348 df-wrecs 8379 df-recs 8428 df-1o 8525 df-2o 8526 df-nadd 8724 df-no 28124 df-lts 28125 df-bday 28126 df-les 28226 df-slts 28268 df-cuts 28270 df-0s 28317 df-made 28337 df-old 28338 df-left 28340 df-right 28341 df-norec 28448 df-norec2 28459 df-adds 28470 df-negs 28531 df-subs 28532 |
| This theorem is used by: bdayfinbndlem1 28977 elreno2 29005 |
| Copyright terms: Public domain | W3C validator |