HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem ssgt0sr 4011
Description: The sum of squares of signed reals is positive if one is nonzero.
Hypotheses
Ref Expression
ssgt0sr.1 |- A e. V
ssgt0sr.2 |- B e. V
Assertion
Ref Expression
ssgt0sr |- ((A e. R. /\ B e. R.) -> (-. (A = 0R /\ B = 0R) -> 0R <R ((A .R A) +R (B .R B))))

Proof of Theorem ssgt0sr
StepHypRef Expression
1 ssgt0sr.1 . . . . . . . . . . . 12 |- A e. V
21sqgt0sr 4009 . . . . . . . . . . 11 |- (A e. R. -> (-. A = 0R -> 0R <R (A .R A)))
32imp 277 . . . . . . . . . 10 |- ((A e. R. /\ -. A = 0R) -> 0R <R (A .R A))
43adantrr 312 . . . . . . . . 9 |- ((A e. R. /\ (-. A = 0R /\ B = 0R)) -> 0R <R (A .R A))
5 opreq12 3008 . . . . . . . . . . . . . . 15 |- ((B = 0R /\ B = 0R) -> (B .R B) = (0R .R 0R))
65anidms 332 . . . . . . . . . . . . . 14 |- (B = 0R -> (B .R B) = (0R .R 0R))
7 0r 3983 . . . . . . . . . . . . . . 15 |- 0R e. R.
8 00sr 4002 . . . . . . . . . . . . . . 15 |- (0R e. R. -> (0R .R 0R) = 0R)
97, 8ax-mp 6 . . . . . . . . . . . . . 14 |- (0R .R 0R) = 0R
106, 9syl6eq 1140 . . . . . . . . . . . . 13 |- (B = 0R -> (B .R B) = 0R)
1110opreq2d 3013 . . . . . . . . . . . 12 |- (B = 0R -> ((A .R A) +R (B .R B)) = ((A .R A) +R 0R))
12 mulclsr 3987 . . . . . . . . . . . . . 14 |- ((A e. R. /\ A e. R.) -> (A .R A) e. R.)
1312anidms 332 . . . . . . . . . . . . 13 |- (A e. R. -> (A .R A) e. R.)
14 0idsr 4000 . . . . . . . . . . . . 13 |- ((A .R A) e. R. -> ((A .R A) +R 0R) = (A .R A))
1513, 14syl 12 . . . . . . . . . . . 12 |- (A e. R. -> ((A .R A) +R 0R) = (A .R A))
1611, 15sylan9eqr 1145 . . . . . . . . . . 11 |- ((A e. R. /\ B = 0R) -> ((A .R A) +R (B .R B)) = (A .R A))
1716breq2d 2072 . . . . . . . . . 10 |- ((A e. R. /\ B = 0R) -> (0R <R ((A .R A) +R (B .R B)) <-> 0R <R (A .R A)))
1817adantrl 311 . . . . . . . . 9 |- ((A e. R. /\ (-. A = 0R /\ B = 0R)) -> (0R <R ((A .R A) +R (B .R B)) <-> 0R <R (A .R A)))
194, 18mpbird 171 . . . . . . . 8 |- ((A e. R. /\ (-. A = 0R /\ B = 0R)) -> 0R <R ((A .R A) +R (B .R B)))
2019adantlr 310 . . . . . . 7 |- (((A e. R. /\ B e. R.) /\ (-. A = 0R /\ B = 0R)) -> 0R <R ((A .R A) +R (B .R B)))
2120ancoms 334 . . . . . 6 |- (((-. A = 0R /\ B = 0R) /\ (A e. R. /\ B e. R.)) -> 0R <R ((A .R A) +R (B .R B)))
2221exp31 293 . . . . 5 |- (-. A = 0R -> (B = 0R -> ((A e. R. /\ B e. R.) -> 0R <R ((A .R A) +R (B .R B)))))
23 ssgt0sr.2 . . . . . . . . . 10 |- B e. V
2423sqgt0sr 4009 . . . . . . . . 9 |- (B e. R. -> (-. B = 0R -> 0R <R (B .R B)))
252, 24im2anan9 434 . . . . . . . 8 |- ((A e. R. /\ B e. R.) -> ((-. A = 0R /\ -. B = 0R) -> (0R <R (A .R A) /\ 0R <R (B .R B))))
26 oprex 3018 . . . . . . . . 9 |- (A .R A) e. V
27 oprex 3018 . . . . . . . . 9 |- (B .R B) e. V
2826, 27addgt0sr 4007 . . . . . . . 8 |- ((0R <R (A .R A) /\ 0R <R (B .R B)) -> 0R <R ((A .R A) +R (B .R B)))
2925, 28syl6 23 . . . . . . 7 |- ((A e. R. /\ B e. R.) -> ((-. A = 0R /\ -. B = 0R) -> 0R <R ((A .R A) +R (B .R B))))
3029exp3a 292 . . . . . 6 |- ((A e. R. /\ B e. R.) -> (-. A = 0R -> (-. B = 0R -> 0R <R ((A .R A) +R (B .R B)))))
3130com3l 34 . . . . 5 |- (-. A = 0R -> (-. B = 0R -> ((A e. R. /\ B e. R.) -> 0R <R ((A .R A) +R (B .R B)))))
3222, 31pm2.61d 112 . . . 4 |- (-. A = 0R -> ((A e. R. /\ B e. R.) -> 0R <R ((A .R A) +R (B .R B))))
3332com12 13 . . 3 |- ((A e. R. /\ B e. R.) -> (-. A = 0R -> 0R <R ((A .R A) +R (B .R B))))
3424imp 277 . . . . . . . 8 |- ((B e. R. /\ -. B = 0R) -> 0R <R (B .R B))
3534adantrl 311 . . . . . . 7 |- ((B e. R. /\ (A = 0R /\ -. B = 0R)) -> 0R <R (B .R B))
36 opreq12 3008 . . . . . . . . . . . . 13 |- ((A = 0R /\ A = 0R) -> (A .R A) = (0R .R 0R))
3736anidms 332 . . . . . . . . . . . 12 |- (A = 0R -> (A .R A) = (0R .R 0R))
3837, 9syl6eq 1140 . . . . . . . . . . 11 |- (A = 0R -> (A .R A) = 0R)
3938opreq1d 3012 . . . . . . . . . 10 |- (A = 0R -> ((A .R A) +R (B .R B)) = (0R +R (B .R B)))
40 mulclsr 3987 . . . . . . . . . . . 12 |- ((B e. R. /\ B e. R.) -> (B .R B) e. R.)
4140anidms 332 . . . . . . . . . . 11 |- (B e. R. -> (B .R B) e. R.)
42 0idsr 4000 . . . . . . . . . . . 12 |- ((B .R B) e. R. -> ((B .R B) +R 0R) = (B .R B))
437elisseti 1355 . . . . . . . . . . . . 13 |- 0R e. V
4443, 27addcomsr 3990 . . . . . . . . . . . 12 |- (0R +R (B .R B)) = ((B .R B) +R 0R)
4542, 44syl5eq 1136 . . . . . . . . . . 11 |- ((B .R B) e. R. -> (0R +R (B .R B)) = (B .R B))
4641, 45syl 12 . . . . . . . . . 10 |- (B e. R. -> (0R +R (B .R B)) = (B .R B))
4739, 46sylan9eqr 1145 . . . . . . . . 9 |- ((B e. R. /\ A = 0R) -> ((A .R A) +R (B .R B)) = (B .R B))
4847breq2d 2072 . . . . . . . 8 |- ((B e. R. /\ A = 0R) -> (0R <R ((A .R A) +R (B .R B)) <-> 0R <R (B .R B)))
4948adantrr 312 . . . . . . 7 |- ((B e. R. /\ (A = 0R /\ -. B = 0R)) -> (0R <R ((A .R A) +R (B .R B)) <-> 0R <R (B .R B)))
5035, 49mpbird 171 . . . . . 6 |- ((B e. R. /\ (A = 0R /\ -. B = 0R)) -> 0R <R ((A .R A) +R (B .R B)))
5150adantll 309 . . . . 5 |- (((A e. R. /\ B e. R.) /\ (A = 0R /\ -. B = 0R)) -> 0R <R ((A .R A) +R (B .R B)))
5251exp32 294 . . . 4 |- ((A e. R. /\ B e. R.) -> (A = 0R -> (-. B = 0R -> 0R <R ((A .R A) +R (B .R B)))))
5352, 30pm2.61d 112 . . 3 |- ((A e. R. /\ B e. R.) -> (-. B = 0R -> 0R <R ((A .R A) +R (B .R B))))
5433, 53jaod 329 . 2 |- ((A e. R. /\ B e. R.) -> ((-. A = 0R \/ -. B = 0R) -> 0R <R ((A .R A) +R (B .R B))))
55 ianor 253 . 2 |- (-. (A = 0R /\ B = 0R) <-> (-. A = 0R \/ -. B = 0R))
5654, 55syl5ib 181 1 |- ((A e. R. /\ B e. R.) -> (-. (A = 0R /\ B = 0R) -> 0R <R ((A .R A) +R (B .R B))))
Colors of variables: wff set class
Syntax hints:  -. wn 1   -> wi 2   <-> wb 127   \/ wo 195   /\ wa 196   = wceq 1091   e. wcel 1092  Vcvv 1348   class class class wbr 2054  (class class class)co 3001  R.cnr 3787  0Rc0r 3788   +R cplr 3791   .R cmr 3792   <R cltr 3793
This theorem is referenced by:  axrecex 4079
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-13 804  ax-14 805  ax-16 922  ax-17 925  ax-ext 1074  ax-rep 1075  ax-un 1076  ax-pow 1077  ax-reg 1078  ax-inf 1079
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-3or 582  df-3an 583  df-ex 679  df-sb 853  df-eu 1009  df-mo 1010  df-clab 1093  df-cleq 1097  df-clel 1099  df-ne 1192  df-ral 1205  df-rex 1206  df-reu 1207  df-rab 1208  df-v 1349  df-sbc 1441  df-dif 1489  df-un 1490  df-in 1491  df-ss 1492  df-pss 1494  df-nul 1708  df-if 1777  df-pw 1799  df-sn 1811  df-pr 1812  df-tp 1814  df-op 1815  df-uni 1920  df-int 1966  df-iun 1996  df-tr 2042  df-br 2063  df-opab 2098  df-eprel 2122  df-id 2125  df-po 2128  df-so 2138  df-fr 2169  df-we 2186  df-ord 2202  df-on 2203  df-lim 2204  df-suc 2205  df-om 2373  df-xp 2424  df-rel 2425  df-cnv 2426  df-co 2427  df-dm 2428  df-rn 2429  df-res 2430  df-ima 2431  df-fun 2432  df-fn 2433  df-f 2434  df-f1 2435  df-fv 2438  df-rdg 2970  df-opr 3003  df-oprab 3004  df-1o 3104  df-oadd 3106  df-omul 3107  df-er 3200  df-ec 3202  df-qs 3205  df-ni 3794  df-pli 3795  df-mi 3796  df-lti 3797  df-plpq 3829  df-mpq 3830  df-enq 3831  df-nq 3832  df-plq 3833  df-mq 3834  df-rq 3835  df-ltq 3836  df-1q 3837  df-np 3880  df-1p 3881  df-plp 3882  df-mp 3883  df-ltp 3884  df-plpr 3958  df-mpr 3959  df-enr 3960  df-nr 3961  df-plr 3962  df-mr 3963  df-ltr 3964  df-0r 3965  df-1r 3966  df-m1r 3967
metamath.org