![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > xrmax2 | Structured version Visualization version GIF version |
Description: An extended real is less than or equal to the maximum of it and another. (Contributed by NM, 7-Feb-2007.) |
Ref | Expression |
---|---|
xrmax2 | ⊢ ((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) → 𝐵 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | xrleid 12270 | . . . 4 ⊢ (𝐵 ∈ ℝ* → 𝐵 ≤ 𝐵) | |
2 | 1 | ad2antlr 720 | . . 3 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ 𝐴 ≤ 𝐵) → 𝐵 ≤ 𝐵) |
3 | iftrue 4312 | . . . 4 ⊢ (𝐴 ≤ 𝐵 → if(𝐴 ≤ 𝐵, 𝐵, 𝐴) = 𝐵) | |
4 | 3 | adantl 475 | . . 3 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ 𝐴 ≤ 𝐵) → if(𝐴 ≤ 𝐵, 𝐵, 𝐴) = 𝐵) |
5 | 2, 4 | breqtrrd 4901 | . 2 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ 𝐴 ≤ 𝐵) → 𝐵 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴)) |
6 | xrletri 12272 | . . . 4 ⊢ ((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) → (𝐴 ≤ 𝐵 ∨ 𝐵 ≤ 𝐴)) | |
7 | 6 | orcanai 1032 | . . 3 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ ¬ 𝐴 ≤ 𝐵) → 𝐵 ≤ 𝐴) |
8 | iffalse 4315 | . . . 4 ⊢ (¬ 𝐴 ≤ 𝐵 → if(𝐴 ≤ 𝐵, 𝐵, 𝐴) = 𝐴) | |
9 | 8 | adantl 475 | . . 3 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ ¬ 𝐴 ≤ 𝐵) → if(𝐴 ≤ 𝐵, 𝐵, 𝐴) = 𝐴) |
10 | 7, 9 | breqtrrd 4901 | . 2 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ ¬ 𝐴 ≤ 𝐵) → 𝐵 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴)) |
11 | 5, 10 | pm2.61dan 849 | 1 ⊢ ((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) → 𝐵 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴)) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ∧ wa 386 = wceq 1658 ∈ wcel 2166 ifcif 4306 class class class wbr 4873 ℝ*cxr 10390 ≤ cle 10392 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1896 ax-4 1910 ax-5 2011 ax-6 2077 ax-7 2114 ax-8 2168 ax-9 2175 ax-10 2194 ax-11 2209 ax-12 2222 ax-13 2391 ax-ext 2803 ax-sep 5005 ax-nul 5013 ax-pow 5065 ax-pr 5127 ax-un 7209 ax-cnex 10308 ax-resscn 10309 ax-pre-lttri 10326 ax-pre-lttrn 10327 |
This theorem depends on definitions: df-bi 199 df-an 387 df-or 881 df-3or 1114 df-3an 1115 df-tru 1662 df-ex 1881 df-nf 1885 df-sb 2070 df-mo 2605 df-eu 2640 df-clab 2812 df-cleq 2818 df-clel 2821 df-nfc 2958 df-ne 3000 df-nel 3103 df-ral 3122 df-rex 3123 df-rab 3126 df-v 3416 df-sbc 3663 df-csb 3758 df-dif 3801 df-un 3803 df-in 3805 df-ss 3812 df-nul 4145 df-if 4307 df-pw 4380 df-sn 4398 df-pr 4400 df-op 4404 df-uni 4659 df-br 4874 df-opab 4936 df-mpt 4953 df-id 5250 df-po 5263 df-so 5264 df-xp 5348 df-rel 5349 df-cnv 5350 df-co 5351 df-dm 5352 df-rn 5353 df-res 5354 df-ima 5355 df-iota 6086 df-fun 6125 df-fn 6126 df-f 6127 df-f1 6128 df-fo 6129 df-f1o 6130 df-fv 6131 df-er 8009 df-en 8223 df-dom 8224 df-sdom 8225 df-pnf 10393 df-mnf 10394 df-xr 10395 df-ltxr 10396 df-le 10397 |
This theorem is referenced by: xrmaxlt 12300 xrmaxle 12302 max2 12306 limsupgre 14589 pnfnei 21395 tgioo 22969 dvferm2lem 24148 mdegaddle 24233 plypf1 24367 |
Copyright terms: Public domain | W3C validator |