MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  sqgt0sr Structured version   Visualization version   GIF version

Theorem sqgt0sr 11097
Description: The square of a nonzero signed real is positive. (Contributed by NM, 14-May-1996.) (New usage is discouraged.)
Assertion
Ref Expression
sqgt0sr ((𝐴R𝐴 ≠ 0R) → 0R <R (𝐴 ·R 𝐴))

Proof of Theorem sqgt0sr
StepHypRef Expression
1 0r 11071 . . . . 5 0RR
2 ltsosr 11085 . . . . . 6 <R Or R
3 sotrieq 5599 . . . . . 6 (( <R Or R ∧ (𝐴R ∧ 0RR)) → (𝐴 = 0R ↔ ¬ (𝐴 <R 0R ∨ 0R <R 𝐴)))
42, 3mpan 702 . . . . 5 ((𝐴R ∧ 0RR) → (𝐴 = 0R ↔ ¬ (𝐴 <R 0R ∨ 0R <R 𝐴)))
51, 4mpan2 703 . . . 4 (𝐴R → (𝐴 = 0R ↔ ¬ (𝐴 <R 0R ∨ 0R <R 𝐴)))
65necon2abid 2999 . . 3 (𝐴R → ((𝐴 <R 0R ∨ 0R <R 𝐴) ↔ 𝐴 ≠ 0R))
7 m1r 11073 . . . . . . . . 9 -1RR
8 mulclsr 11075 . . . . . . . . 9 ((𝐴R ∧ -1RR) → (𝐴 ·R -1R) ∈ R)
97, 8mpan2 703 . . . . . . . 8 (𝐴R → (𝐴 ·R -1R) ∈ R)
10 ltasr 11091 . . . . . . . 8 ((𝐴 ·R -1R) ∈ R → (𝐴 <R 0R ↔ ((𝐴 ·R -1R) +R 𝐴) <R ((𝐴 ·R -1R) +R 0R)))
119, 10syl 18 . . . . . . 7 (𝐴R → (𝐴 <R 0R ↔ ((𝐴 ·R -1R) +R 𝐴) <R ((𝐴 ·R -1R) +R 0R)))
12 addcomsr 11078 . . . . . . . . 9 ((𝐴 ·R -1R) +R 𝐴) = (𝐴 +R (𝐴 ·R -1R))
13 pn0sr 11092 . . . . . . . . 9 (𝐴R → (𝐴 +R (𝐴 ·R -1R)) = 0R)
1412, 13eqtrid 2809 . . . . . . . 8 (𝐴R → ((𝐴 ·R -1R) +R 𝐴) = 0R)
15 0idsr 11088 . . . . . . . . 9 ((𝐴 ·R -1R) ∈ R → ((𝐴 ·R -1R) +R 0R) = (𝐴 ·R -1R))
169, 15syl 18 . . . . . . . 8 (𝐴R → ((𝐴 ·R -1R) +R 0R) = (𝐴 ·R -1R))
1714, 16breq12d 5121 . . . . . . 7 (𝐴R → (((𝐴 ·R -1R) +R 𝐴) <R ((𝐴 ·R -1R) +R 0R) ↔ 0R <R (𝐴 ·R -1R)))
1811, 17bitrd 282 . . . . . 6 (𝐴R → (𝐴 <R 0R ↔ 0R <R (𝐴 ·R -1R)))
19 mulgt0sr 11096 . . . . . . 7 ((0R <R (𝐴 ·R -1R) ∧ 0R <R (𝐴 ·R -1R)) → 0R <R ((𝐴 ·R -1R) ·R (𝐴 ·R -1R)))
2019anidms 576 . . . . . 6 (0R <R (𝐴 ·R -1R) → 0R <R ((𝐴 ·R -1R) ·R (𝐴 ·R -1R)))
2118, 20biimtrdi 256 . . . . 5 (𝐴R → (𝐴 <R 0R → 0R <R ((𝐴 ·R -1R) ·R (𝐴 ·R -1R))))
22 mulcomsr 11080 . . . . . . . . . . . 12 (-1R ·R 𝐴) = (𝐴 ·R -1R)
2322oveq1i 7422 . . . . . . . . . . 11 ((-1R ·R 𝐴) ·R -1R) = ((𝐴 ·R -1R) ·R -1R)
24 mulasssr 11081 . . . . . . . . . . 11 ((-1R ·R 𝐴) ·R -1R) = (-1R ·R (𝐴 ·R -1R))
25 mulasssr 11081 . . . . . . . . . . 11 ((𝐴 ·R -1R) ·R -1R) = (𝐴 ·R (-1R ·R -1R))
2623, 24, 253eqtr3i 2793 . . . . . . . . . 10 (-1R ·R (𝐴 ·R -1R)) = (𝐴 ·R (-1R ·R -1R))
27 m1m1sr 11084 . . . . . . . . . . 11 (-1R ·R -1R) = 1R
2827oveq2i 7423 . . . . . . . . . 10 (𝐴 ·R (-1R ·R -1R)) = (𝐴 ·R 1R)
2926, 28eqtri 2785 . . . . . . . . 9 (-1R ·R (𝐴 ·R -1R)) = (𝐴 ·R 1R)
3029oveq2i 7423 . . . . . . . 8 (𝐴 ·R (-1R ·R (𝐴 ·R -1R))) = (𝐴 ·R (𝐴 ·R 1R))
31 mulasssr 11081 . . . . . . . 8 ((𝐴 ·R -1R) ·R (𝐴 ·R -1R)) = (𝐴 ·R (-1R ·R (𝐴 ·R -1R)))
32 mulasssr 11081 . . . . . . . 8 ((𝐴 ·R 𝐴) ·R 1R) = (𝐴 ·R (𝐴 ·R 1R))
3330, 31, 323eqtr4i 2795 . . . . . . 7 ((𝐴 ·R -1R) ·R (𝐴 ·R -1R)) = ((𝐴 ·R 𝐴) ·R 1R)
34 mulclsr 11075 . . . . . . . . 9 ((𝐴R𝐴R) → (𝐴 ·R 𝐴) ∈ R)
35 1idsr 11089 . . . . . . . . 9 ((𝐴 ·R 𝐴) ∈ R → ((𝐴 ·R 𝐴) ·R 1R) = (𝐴 ·R 𝐴))
3634, 35syl 18 . . . . . . . 8 ((𝐴R𝐴R) → ((𝐴 ·R 𝐴) ·R 1R) = (𝐴 ·R 𝐴))
3736anidms 576 . . . . . . 7 (𝐴R → ((𝐴 ·R 𝐴) ·R 1R) = (𝐴 ·R 𝐴))
3833, 37eqtrid 2809 . . . . . 6 (𝐴R → ((𝐴 ·R -1R) ·R (𝐴 ·R -1R)) = (𝐴 ·R 𝐴))
3938breq2d 5120 . . . . 5 (𝐴R → (0R <R ((𝐴 ·R -1R) ·R (𝐴 ·R -1R)) ↔ 0R <R (𝐴 ·R 𝐴)))
4021, 39sylibd 242 . . . 4 (𝐴R → (𝐴 <R 0R → 0R <R (𝐴 ·R 𝐴)))
41 mulgt0sr 11096 . . . . . 6 ((0R <R 𝐴 ∧ 0R <R 𝐴) → 0R <R (𝐴 ·R 𝐴))
4241anidms 576 . . . . 5 (0R <R 𝐴 → 0R <R (𝐴 ·R 𝐴))
4342a1i 11 . . . 4 (𝐴R → (0R <R 𝐴 → 0R <R (𝐴 ·R 𝐴)))
4440, 43jaod 872 . . 3 (𝐴R → ((𝐴 <R 0R ∨ 0R <R 𝐴) → 0R <R (𝐴 ·R 𝐴)))
456, 44sylbird 263 . 2 (𝐴R → (𝐴 ≠ 0R → 0R <R (𝐴 ·R 𝐴)))
4645imp 411 1 ((𝐴R𝐴 ≠ 0R) → 0R <R (𝐴 ·R 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wb 209  wa 400  wo 860   = wceq 1569  wcel 2142  wne 2957   class class class wbr 5108   Or wor 5567  (class class class)co 7412  Rcnr 10856  0Rc0r 10857  1Rc1r 10858  -1Rcm1r 10859   +R cplr 10860   ·R cmr 10861   <R cltr 10862
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1824  ax-4 1838  ax-5 1939  ax-6 1996  ax-7 2037  ax-8 2144  ax-9 2152  ax-10 2175  ax-11 2191  ax-12 2212  ax-ext 2734  ax-sep 5256  ax-nul 5268  ax-pow 5335  ax-pr 5403  ax-un 7734  ax-inf2 9608
This proof depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3or 1103  df-3an 1104  df-tru 1572  df-fal 1582  df-ex 1809  df-nf 1813  df-sb 2096  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-ral 3079  df-rex 3089  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3456  df-sbc 3744  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-pss 3924  df-nul 4286  df-if 4487  df-pw 4563  df-sn 4589  df-pr 4591  df-op 4595  df-uni 4872  df-int 4912  df-iun 4957  df-br 5109  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5555  df-eprel 5560  df-po 5568  df-so 5569  df-fr 5613  df-we 5615  df-xp 5666  df-rel 5667  df-cnv 5668  df-co 5669  df-dm 5670  df-rn 5671  df-res 5672  df-ima 5673  df-pred 6302  df-ord 6363  df-on 6364  df-lim 6365  df-suc 6366  df-iota 6492  df-fun 6538  df-fn 6539  df-f 6540  df-f1 6541  df-fo 6542  df-f1o 6543  df-fv 6544  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7861  df-1st 7984  df-2nd 7985  df-frecs 8276  df-wrecs 8307  df-recs 8356  df-rdg 8395  df-1o 8451  df-oadd 8455  df-omul 8456  df-er 8692  df-ec 8694  df-qs 8698  df-ni 10863  df-pli 10864  df-mi 10865  df-lti 10866  df-plpq 10899  df-mpq 10900  df-ltpq 10901  df-enq 10902  df-nq 10903  df-erq 10904  df-plq 10905  df-mq 10906  df-1nq 10907  df-rq 10908  df-ltnq 10909  df-np 10972  df-1p 10973  df-plp 10974  df-mp 10975  df-ltp 10976  df-enr 11046  df-nr 11047  df-plr 11048  df-mr 11049  df-ltr 11050  df-0r 11051  df-1r 11052  df-m1r 11053
This theorem is used by:  recexsr  11098
  Copyright terms: Public domain W3C validator