MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  absmax Unicode version

Theorem absmax 13162
Description: The maximum of two numbers using absolute value. (Contributed by NM, 7-Aug-2008.)
Assertion
Ref Expression
absmax

Proof of Theorem absmax
StepHypRef Expression
1 recn 9603 . . . . . 6
2 2cn 10631 . . . . . . 7
3 2ne0 10653 . . . . . . 7
4 divcan3 10256 . . . . . . 7
52, 3, 4mp3an23 1316 . . . . . 6
61, 5syl 16 . . . . 5
76ad2antlr 726 . . . 4
8 ltle 9694 . . . . . . . . 9
98imp 429 . . . . . . . 8
10 abssubge0 13160 . . . . . . . . 9
11103expa 1196 . . . . . . . 8
129, 11syldan 470 . . . . . . 7
1312oveq2d 6312 . . . . . 6
14 recn 9603 . . . . . . . 8
15 simpr 461 . . . . . . . . . 10
16 simpl 457 . . . . . . . . . 10
1715, 16, 15ppncand 9994 . . . . . . . . 9
18 2times 10679 . . . . . . . . . 10
1918adantl 466 . . . . . . . . 9
2017, 19eqtr4d 2501 . . . . . . . 8
2114, 1, 20syl2an 477 . . . . . . 7
2221adantr 465 . . . . . 6
2313, 22eqtrd 2498 . . . . 5
2423oveq1d 6311 . . . 4
25 ltnle 9685 . . . . . 6
2625biimpa 484 . . . . 5
2726iffalsed 3952 . . . 4
287, 24, 273eqtr4rd 2509 . . 3
2928ancom1s 805 . 2
30 divcan3 10256 . . . . . 6
312, 3, 30mp3an23 1316 . . . . 5
3214, 31syl 16 . . . 4
3332ad2antlr 726 . . 3
34 abssuble0 13161 . . . . . . 7
35343expa 1196 . . . . . 6
3635oveq2d 6312 . . . . 5
37 simpr 461 . . . . . . . . 9
38 simpl 457 . . . . . . . . 9
3937, 38, 37ppncand 9994 . . . . . . . 8
40 addcom 9787 . . . . . . . . 9
4140oveq1d 6311 . . . . . . . 8
42 2times 10679 . . . . . . . . 9
4342adantl 466 . . . . . . . 8
4439, 41, 433eqtr4d 2508 . . . . . . 7
451, 14, 44syl2an 477 . . . . . 6
4645adantr 465 . . . . 5
4736, 46eqtrd 2498 . . . 4
4847oveq1d 6311 . . 3
49 iftrue 3947 . . . 4
5049adantl 466 . . 3
5133, 48, 503eqtr4rd 2509 . 2
52 simpr 461 . 2
53 simpl 457 . 2
5429, 51, 52, 53ltlecasei 9713 1
Colors of variables: wff setvar class
Syntax hints:  -.wn 3  ->wi 4  /\wa 369  =wceq 1395  e.wcel 1818  =/=wne 2652  ifcif 3941   class class class wbr 4452  `cfv 5593  (class class class)co 6296   cc 9511   cr 9512  0cc0 9513   caddc 9516   cmul 9518   clt 9649   cle 9650   cmin 9828   cdiv 10231  2c2 10610   cabs 13067
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1618  ax-4 1631  ax-5 1704  ax-6 1747  ax-7 1790  ax-8 1820  ax-9 1822  ax-10 1837  ax-11 1842  ax-12 1854  ax-13 1999  ax-ext 2435  ax-sep 4573  ax-nul 4581  ax-pow 4630  ax-pr 4691  ax-un 6592  ax-cnex 9569  ax-resscn 9570  ax-1cn 9571  ax-icn 9572  ax-addcl 9573  ax-addrcl 9574  ax-mulcl 9575  ax-mulrcl 9576  ax-mulcom 9577  ax-addass 9578  ax-mulass 9579  ax-distr 9580  ax-i2m1 9581  ax-1ne0 9582  ax-1rid 9583  ax-rnegex 9584  ax-rrecex 9585  ax-cnre 9586  ax-pre-lttri 9587  ax-pre-lttrn 9588  ax-pre-ltadd 9589  ax-pre-mulgt0 9590  ax-pre-sup 9591
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1398  df-ex 1613  df-nf 1617  df-sb 1740  df-eu 2286  df-mo 2287  df-clab 2443  df-cleq 2449  df-clel 2452  df-nfc 2607  df-ne 2654  df-nel 2655  df-ral 2812  df-rex 2813  df-reu 2814  df-rmo 2815  df-rab 2816  df-v 3111  df-sbc 3328  df-csb 3435  df-dif 3478  df-un 3480  df-in 3482  df-ss 3489  df-pss 3491  df-nul 3785  df-if 3942  df-pw 4014  df-sn 4030  df-pr 4032  df-tp 4034  df-op 4036  df-uni 4250  df-iun 4332  df-br 4453  df-opab 4511  df-mpt 4512  df-tr 4546  df-eprel 4796  df-id 4800  df-po 4805  df-so 4806  df-fr 4843  df-we 4845  df-ord 4886  df-on 4887  df-lim 4888  df-suc 4889  df-xp 5010  df-rel 5011  df-cnv 5012  df-co 5013  df-dm 5014  df-rn 5015  df-res 5016  df-ima 5017  df-iota 5556  df-fun 5595  df-fn 5596  df-f 5597  df-f1 5598  df-fo 5599  df-f1o 5600  df-fv 5601  df-riota 6257  df-ov 6299  df-oprab 6300  df-mpt2 6301  df-om 6701  df-2nd 6801  df-recs 7061  df-rdg 7095  df-er 7330  df-en 7537  df-dom 7538  df-sdom 7539  df-sup 7921  df-pnf 9651  df-mnf 9652  df-xr 9653  df-ltxr 9654  df-le 9655  df-sub 9830  df-neg 9831  df-div 10232  df-nn 10562  df-2 10619  df-3 10620  df-n0 10821  df-z 10890  df-uz 11111  df-rp 11250  df-seq 12108  df-exp 12167  df-cj 12932  df-re 12933  df-im 12934  df-sqrt 13068  df-abs 13069
  Copyright terms: Public domain W3C validator