| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > maxs2 | Structured version Visualization version GIF version | ||
| Description: A surreal is less than or equal to the maximum of it and another. (Contributed by Scott Fenton, 14-Feb-2025.) |
| Ref | Expression |
|---|---|
| maxs2 | ⊢ ((𝐴 ∈ No ∧ 𝐵 ∈ No) → 𝐵 ≤s if(𝐴 ≤s 𝐵, 𝐵, 𝐴)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | lesid 28183 | . . . 4 ⊢ (𝐵 ∈ No → 𝐵 ≤s 𝐵) | |
| 2 | 1 | ad2antlr 740 | . . 3 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No) ∧ 𝐴 ≤s 𝐵) → 𝐵 ≤s 𝐵) |
| 3 | iftrue 4490 | . . . 4 ⊢ (𝐴 ≤s 𝐵 → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐵) | |
| 4 | 3 | adantl 487 | . . 3 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No) ∧ 𝐴 ≤s 𝐵) → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐵) |
| 5 | 2, 4 | breqtrrd 5138 | . 2 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No) ∧ 𝐴 ≤s 𝐵) → 𝐵 ≤s if(𝐴 ≤s 𝐵, 𝐵, 𝐴)) |
| 6 | lestric 28184 | . . . 4 ⊢ ((𝐴 ∈ No ∧ 𝐵 ∈ No) → (𝐴 ≤s 𝐵 ∨ 𝐵 ≤s 𝐴)) | |
| 7 | 6 | orcanai 1019 | . . 3 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No) ∧ ¬ 𝐴 ≤s 𝐵) → 𝐵 ≤s 𝐴) |
| 8 | iffalse 4493 | . . . 4 ⊢ (¬ 𝐴 ≤s 𝐵 → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐴) | |
| 9 | 8 | adantl 487 | . . 3 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No) ∧ ¬ 𝐴 ≤s 𝐵) → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐴) |
| 10 | 7, 9 | breqtrrd 5138 | . 2 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No) ∧ ¬ 𝐴 ≤s 𝐵) → 𝐵 ≤s if(𝐴 ≤s 𝐵, 𝐵, 𝐴)) |
| 11 | 5, 10 | pm2.61dan 825 | 1 ⊢ ((𝐴 ∈ No ∧ 𝐵 ∈ No) → 𝐵 ≤s if(𝐴 ≤s 𝐵, 𝐵, 𝐴)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ∧ wa 401 = wceq 1572 ∈ wcel 2150 ifcif 4484 class class class wbr 5107 Nocsur 28056 ≤s cles 28160 |
| 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-10 2183 ax-11 2200 ax-12 2219 ax-ext 2738 ax-sep 5254 ax-nul 5265 ax-pr 5397 |
| 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 2104 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2842 df-nfc 2916 df-ne 2963 df-ral 3084 df-rex 3094 df-rab 3416 df-v 3455 df-sbc 3742 df-csb 3851 df-ss 3900 df-pss 4016 df-dif 4049 df-in 4093 df-un 4153 df-nul 4281 df-if 4485 df-pw 4561 df-sn 4588 df-pr 4590 df-tp 4592 df-op 4840 df-uni 4872 df-br 5108 df-opab 5173 df-mpt 5192 df-tr 5218 df-id 5552 df-eprel 5557 df-po 5565 df-so 5566 df-fr 5610 df-we 5612 df-xp 5663 df-rel 5664 df-cnv 5665 df-co 5666 df-dm 5667 df-rn 5668 df-res 5669 df-ima 5670 df-ord 6390 df-on 6391 df-suc 6393 df-iota 6519 df-fun 6567 df-fn 6568 df-f 6569 df-fv 6573 df-1o 8513 df-2o 8514 df-no 28059 df-lts 28060 df-les 28161 |
| This theorem is used by: (None) |
| Copyright terms: Public domain | W3C validator |