MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  maxs2 Structured version   Visualization version   GIF version

Theorem maxs2 27722
Description: A surreal is less than or equal to the maximum of it and another. (Contributed by Scott Fenton, 14-Feb-2025.)
Assertion
Ref Expression
maxs2 ((𝐴 No 𝐵 No ) → 𝐵 ≤s if(𝐴 ≤s 𝐵, 𝐵, 𝐴))

Proof of Theorem maxs2
StepHypRef Expression
1 lesid 27719 . . . 4 (𝐵 No 𝐵 ≤s 𝐵)
21ad2antlr 728 . . 3 (((𝐴 No 𝐵 No ) ∧ 𝐴 ≤s 𝐵) → 𝐵 ≤s 𝐵)
3 iftrue 4462 . . . 4 (𝐴 ≤s 𝐵 → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐵)
43adantl 481 . . 3 (((𝐴 No 𝐵 No ) ∧ 𝐴 ≤s 𝐵) → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐵)
52, 4breqtrrd 5102 . 2 (((𝐴 No 𝐵 No ) ∧ 𝐴 ≤s 𝐵) → 𝐵 ≤s if(𝐴 ≤s 𝐵, 𝐵, 𝐴))
6 lestric 27720 . . . 4 ((𝐴 No 𝐵 No ) → (𝐴 ≤s 𝐵𝐵 ≤s 𝐴))
76orcanai 1005 . . 3 (((𝐴 No 𝐵 No ) ∧ ¬ 𝐴 ≤s 𝐵) → 𝐵 ≤s 𝐴)
8 iffalse 4465 . . . 4 𝐴 ≤s 𝐵 → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐴)
98adantl 481 . . 3 (((𝐴 No 𝐵 No ) ∧ ¬ 𝐴 ≤s 𝐵) → if(𝐴 ≤s 𝐵, 𝐵, 𝐴) = 𝐴)
107, 9breqtrrd 5102 . 2 (((𝐴 No 𝐵 No ) ∧ ¬ 𝐴 ≤s 𝐵) → 𝐵 ≤s if(𝐴 ≤s 𝐵, 𝐵, 𝐴))
115, 10pm2.61dan 813 1 ((𝐴 No 𝐵 No ) → 𝐵 ≤s if(𝐴 ≤s 𝐵, 𝐵, 𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395   = wceq 1542  wcel 2114  ifcif 4456   class class class wbr 5074   No csur 27591   ≤s cles 27696
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2184  ax-ext 2707  ax-sep 5220  ax-nul 5230  ax-pr 5364
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2538  df-eu 2568  df-clab 2714  df-cleq 2727  df-clel 2810  df-nfc 2884  df-ne 2931  df-ral 3050  df-rex 3060  df-rab 3388  df-v 3429  df-sbc 3726  df-csb 3834  df-dif 3888  df-un 3890  df-in 3892  df-ss 3902  df-pss 3905  df-nul 4264  df-if 4457  df-pw 4533  df-sn 4558  df-pr 4560  df-tp 4562  df-op 4564  df-uni 4841  df-br 5075  df-opab 5137  df-mpt 5156  df-tr 5182  df-id 5515  df-eprel 5520  df-po 5528  df-so 5529  df-fr 5573  df-we 5575  df-xp 5626  df-rel 5627  df-cnv 5628  df-co 5629  df-dm 5630  df-rn 5631  df-res 5632  df-ima 5633  df-ord 6315  df-on 6316  df-suc 6318  df-iota 6443  df-fun 6489  df-fn 6490  df-f 6491  df-fv 6495  df-1o 8394  df-2o 8395  df-no 27594  df-lts 27595  df-les 27697
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator