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 12955 | . . . 4 ⊢ (𝐵 ∈ ℝ* → 𝐵 ≤ 𝐵) | |
2 | 1 | ad2antlr 724 | . . 3 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ 𝐴 ≤ 𝐵) → 𝐵 ≤ 𝐵) |
3 | iftrue 4475 | . . . 4 ⊢ (𝐴 ≤ 𝐵 → if(𝐴 ≤ 𝐵, 𝐵, 𝐴) = 𝐵) | |
4 | 3 | adantl 482 | . . 3 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ 𝐴 ≤ 𝐵) → if(𝐴 ≤ 𝐵, 𝐵, 𝐴) = 𝐵) |
5 | 2, 4 | breqtrrd 5113 | . 2 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ 𝐴 ≤ 𝐵) → 𝐵 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴)) |
6 | xrletri 12957 | . . . 4 ⊢ ((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) → (𝐴 ≤ 𝐵 ∨ 𝐵 ≤ 𝐴)) | |
7 | 6 | orcanai 1000 | . . 3 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ ¬ 𝐴 ≤ 𝐵) → 𝐵 ≤ 𝐴) |
8 | iffalse 4478 | . . . 4 ⊢ (¬ 𝐴 ≤ 𝐵 → if(𝐴 ≤ 𝐵, 𝐵, 𝐴) = 𝐴) | |
9 | 8 | adantl 482 | . . 3 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ ¬ 𝐴 ≤ 𝐵) → if(𝐴 ≤ 𝐵, 𝐵, 𝐴) = 𝐴) |
10 | 7, 9 | breqtrrd 5113 | . 2 ⊢ (((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) ∧ ¬ 𝐴 ≤ 𝐵) → 𝐵 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴)) |
11 | 5, 10 | pm2.61dan 810 | 1 ⊢ ((𝐴 ∈ ℝ* ∧ 𝐵 ∈ ℝ*) → 𝐵 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴)) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ∧ wa 396 = wceq 1540 ∈ wcel 2105 ifcif 4469 class class class wbr 5085 ℝ*cxr 11078 ≤ cle 11080 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1912 ax-6 1970 ax-7 2010 ax-8 2107 ax-9 2115 ax-10 2136 ax-11 2153 ax-12 2170 ax-ext 2708 ax-sep 5236 ax-nul 5243 ax-pow 5301 ax-pr 5365 ax-un 7626 ax-cnex 10997 ax-resscn 10998 ax-pre-lttri 11015 ax-pre-lttrn 11016 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3or 1087 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1781 df-nf 1785 df-sb 2067 df-mo 2539 df-eu 2568 df-clab 2715 df-cleq 2729 df-clel 2815 df-nfc 2887 df-ne 2942 df-nel 3048 df-ral 3063 df-rex 3072 df-rab 3405 df-v 3443 df-sbc 3726 df-csb 3842 df-dif 3899 df-un 3901 df-in 3903 df-ss 3913 df-nul 4267 df-if 4470 df-pw 4545 df-sn 4570 df-pr 4572 df-op 4576 df-uni 4849 df-br 5086 df-opab 5148 df-mpt 5169 df-id 5505 df-po 5519 df-so 5520 df-xp 5611 df-rel 5612 df-cnv 5613 df-co 5614 df-dm 5615 df-rn 5616 df-res 5617 df-ima 5618 df-iota 6415 df-fun 6465 df-fn 6466 df-f 6467 df-f1 6468 df-fo 6469 df-f1o 6470 df-fv 6471 df-er 8544 df-en 8780 df-dom 8781 df-sdom 8782 df-pnf 11081 df-mnf 11082 df-xr 11083 df-ltxr 11084 df-le 11085 |
This theorem is referenced by: xrmaxlt 12985 xrmaxle 12987 max2 12991 limsupgre 15259 pnfnei 22442 tgioo 24030 dvferm2lem 25221 mdegaddle 25310 plypf1 25444 |
Copyright terms: Public domain | W3C validator |