| 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 27907 | . . . 4 ⊢ (𝐵 ∈ No → 𝐵 ≤s 𝐵) | |
| 2 | 1 | ad2antlr 739 | . . 3 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No ) ∧ 𝐴 ≤s 𝐵) → 𝐵 ≤s 𝐵) |
| 3 | iftrue 4492 | . . . 4 ⊢ (𝐴 ≤s 𝐵 → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐵) | |
| 4 | 3 | adantl 486 | . . 3 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No ) ∧ 𝐴 ≤s 𝐵) → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐵) |
| 5 | 2, 4 | breqtrrd 5138 | . 2 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No ) ∧ 𝐴 ≤s 𝐵) → 𝐵 ≤s if(𝐴 ≤s 𝐵, 𝐵, 𝐴)) |
| 6 | lestric 27908 | . . . 4 ⊢ ((𝐴 ∈ No ∧ 𝐵 ∈ No ) → (𝐴 ≤s 𝐵 ∨ 𝐵 ≤s 𝐴)) | |
| 7 | 6 | orcanai 1018 | . . 3 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No ) ∧ ¬ 𝐴 ≤s 𝐵) → 𝐵 ≤s 𝐴) |
| 8 | iffalse 4495 | . . . 4 ⊢ (¬ 𝐴 ≤s 𝐵 → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐴) | |
| 9 | 8 | adantl 486 | . . 3 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No ) ∧ ¬ 𝐴 ≤s 𝐵) → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐴) |
| 10 | 7, 9 | breqtrrd 5138 | . 2 ⊢ (((𝐴 ∈ No ∧ 𝐵 ∈ No ) ∧ ¬ 𝐴 ≤s 𝐵) → 𝐵 ≤s if(𝐴 ≤s 𝐵, 𝐵, 𝐴)) |
| 11 | 5, 10 | pm2.61dan 824 | 1 ⊢ ((𝐴 ∈ No ∧ 𝐵 ∈ No ) → 𝐵 ≤s if(𝐴 ≤s 𝐵, 𝐵, 𝐴)) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ∧ wa 400 = wceq 1568 ∈ wcel 2141 ifcif 4486 class class class wbr 5108 No csur 27780 ≤s cles 27884 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1823 ax-4 1837 ax-5 1938 ax-6 1995 ax-7 2036 ax-8 2143 ax-9 2151 ax-10 2174 ax-11 2190 ax-12 2211 ax-ext 2733 ax-sep 5256 ax-nul 5268 ax-pr 5404 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3or 1102 df-3an 1103 df-tru 1571 df-fal 1581 df-ex 1808 df-nf 1812 df-sb 2095 df-mo 2565 df-eu 2595 df-clab 2740 df-cleq 2753 df-clel 2836 df-nfc 2910 df-ne 2957 df-ral 3078 df-rex 3088 df-rab 3415 df-v 3455 df-sbc 3744 df-csb 3853 df-dif 3907 df-un 3909 df-in 3911 df-ss 3921 df-pss 3924 df-nul 4286 df-if 4487 df-pw 4563 df-sn 4589 df-pr 4591 df-tp 4593 df-op 4595 df-uni 4872 df-br 5109 df-opab 5173 df-mpt 5192 df-tr 5218 df-id 5556 df-eprel 5561 df-po 5569 df-so 5570 df-fr 5614 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-ord 6363 df-on 6364 df-suc 6366 df-iota 6492 df-fun 6538 df-fn 6539 df-f 6540 df-fv 6544 df-1o 8452 df-2o 8453 df-no 27783 df-lts 27784 df-les 27885 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |