![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > max1ALT | Structured version Visualization version GIF version |
Description: A number is less than or equal to the maximum of it and another. This version of max1 12265 omits the 𝐵 ∈ ℝ antecedent. Although it doesn't exploit undefined behavior, it is still considered poor style, and the use of max1 12265 is preferred. (Proof modification is discouraged.) (New usage is discouraged.) (Contributed by NM, 3-Apr-2005.) |
Ref | Expression |
---|---|
max1ALT | ⊢ (𝐴 ∈ ℝ → 𝐴 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | leid 10423 | . . 3 ⊢ (𝐴 ∈ ℝ → 𝐴 ≤ 𝐴) | |
2 | iffalse 4286 | . . . 4 ⊢ (¬ 𝐴 ≤ 𝐵 → if(𝐴 ≤ 𝐵, 𝐵, 𝐴) = 𝐴) | |
3 | 2 | breq2d 4855 | . . 3 ⊢ (¬ 𝐴 ≤ 𝐵 → (𝐴 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴) ↔ 𝐴 ≤ 𝐴)) |
4 | 1, 3 | syl5ibrcom 239 | . 2 ⊢ (𝐴 ∈ ℝ → (¬ 𝐴 ≤ 𝐵 → 𝐴 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴))) |
5 | id 22 | . . 3 ⊢ (𝐴 ≤ 𝐵 → 𝐴 ≤ 𝐵) | |
6 | iftrue 4283 | . . 3 ⊢ (𝐴 ≤ 𝐵 → if(𝐴 ≤ 𝐵, 𝐵, 𝐴) = 𝐵) | |
7 | 5, 6 | breqtrrd 4871 | . 2 ⊢ (𝐴 ≤ 𝐵 → 𝐴 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴)) |
8 | 4, 7 | pm2.61d2 174 | 1 ⊢ (𝐴 ∈ ℝ → 𝐴 ≤ if(𝐴 ≤ 𝐵, 𝐵, 𝐴)) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ∈ wcel 2157 ifcif 4277 class class class wbr 4843 ℝcr 10223 ≤ cle 10364 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1891 ax-4 1905 ax-5 2006 ax-6 2072 ax-7 2107 ax-8 2159 ax-9 2166 ax-10 2185 ax-11 2200 ax-12 2213 ax-13 2377 ax-ext 2777 ax-sep 4975 ax-nul 4983 ax-pow 5035 ax-pr 5097 ax-un 7183 ax-resscn 10281 ax-pre-lttri 10298 |
This theorem depends on definitions: df-bi 199 df-an 386 df-or 875 df-3an 1110 df-tru 1657 df-ex 1876 df-nf 1880 df-sb 2065 df-mo 2591 df-eu 2609 df-clab 2786 df-cleq 2792 df-clel 2795 df-nfc 2930 df-ne 2972 df-nel 3075 df-ral 3094 df-rex 3095 df-rab 3098 df-v 3387 df-sbc 3634 df-csb 3729 df-dif 3772 df-un 3774 df-in 3776 df-ss 3783 df-nul 4116 df-if 4278 df-pw 4351 df-sn 4369 df-pr 4371 df-op 4375 df-uni 4629 df-br 4844 df-opab 4906 df-mpt 4923 df-id 5220 df-xp 5318 df-rel 5319 df-cnv 5320 df-co 5321 df-dm 5322 df-rn 5323 df-res 5324 df-ima 5325 df-iota 6064 df-fun 6103 df-fn 6104 df-f 6105 df-f1 6106 df-fo 6107 df-f1o 6108 df-fv 6109 df-er 7982 df-en 8196 df-dom 8197 df-sdom 8198 df-pnf 10365 df-mnf 10366 df-xr 10367 df-ltxr 10368 df-le 10369 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |