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

Theorem sqgt0sr 11118
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 11092 . . . . 5 0RR
2 ltsosr 11106 . . . . . 6 <R Or R
3 sotrieq 5598 . . . . . 6 (( <R Or R ∧ (𝐴R ∧ 0RR)) → (𝐴 = 0R ↔ ¬ (𝐴 <R 0R ∨ 0R <R 𝐴)))
42, 3mpan 703 . . . . 5 ((𝐴R ∧ 0RR) → (𝐴 = 0R ↔ ¬ (𝐴 <R 0R ∨ 0R <R 𝐴)))
51, 4mpan2 704 . . . 4 (𝐴R → (𝐴 = 0R ↔ ¬ (𝐴 <R 0R ∨ 0R <R 𝐴)))
65necon2abid 2999 . . 3 (𝐴R → ((𝐴 <R 0R ∨ 0R <R 𝐴) ↔ 𝐴 ≠ 0R))
7 m1r 11094 . . . . . . . . 9 -1RR
8 mulclsr 11096 . . . . . . . . 9 ((𝐴R ∧ -1RR) → (𝐴 ·R -1R) ∈ R)
97, 8mpan2 704 . . . . . . . 8 (𝐴R → (𝐴 ·R -1R) ∈ R)
10 ltasr 11112 . . . . . . . 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 11099 . . . . . . . . 9 ((𝐴 ·R -1R) +R 𝐴) = (𝐴 +R (𝐴 ·R -1R))
13 pn0sr 11113 . . . . . . . . 9 (𝐴R → (𝐴 +R (𝐴 ·R -1R)) = 0R)
1412, 13eqtrid 2809 . . . . . . . 8 (𝐴R → ((𝐴 ·R -1R) +R 𝐴) = 0R)
15 0idsr 11109 . . . . . . . . 9 ((𝐴 ·R -1R) ∈ R → ((𝐴 ·R -1R) +R 0R) = (𝐴 ·R -1R))
169, 15syl 18 . . . . . . . 8 (𝐴R → ((𝐴 ·R -1R) +R 0R) = (𝐴 ·R -1R))
1714, 16breq12d 5120 . . . . . . 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 11117 . . . . . . 7 ((0R <R (𝐴 ·R -1R) ∧ 0R <R (𝐴 ·R -1R)) → 0R <R ((𝐴 ·R -1R) ·R (𝐴 ·R -1R)))
2019anidms 577 . . . . . 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 11101 . . . . . . . . . . . 12 (-1R ·R 𝐴) = (𝐴 ·R -1R)
2322oveq1i 7426 . . . . . . . . . . 11 ((-1R ·R 𝐴) ·R -1R) = ((𝐴 ·R -1R) ·R -1R)
24 mulasssr 11102 . . . . . . . . . . 11 ((-1R ·R 𝐴) ·R -1R) = (-1R ·R (𝐴 ·R -1R))
25 mulasssr 11102 . . . . . . . . . . 11 ((𝐴 ·R -1R) ·R -1R) = (𝐴 ·R (-1R ·R -1R))
2623, 24, 253eqtr3i 2793 . . . . . . . . . 10 (-1R ·R (𝐴 ·R -1R)) = (𝐴 ·R (-1R ·R -1R))
27 m1m1sr 11105 . . . . . . . . . . 11 (-1R ·R -1R) = 1R
2827oveq2i 7427 . . . . . . . . . 10 (𝐴 ·R (-1R ·R -1R)) = (𝐴 ·R 1R)
2926, 28eqtri 2785 . . . . . . . . 9 (-1R ·R (𝐴 ·R -1R)) = (𝐴 ·R 1R)
3029oveq2i 7427 . . . . . . . 8 (𝐴 ·R (-1R ·R (𝐴 ·R -1R))) = (𝐴 ·R (𝐴 ·R 1R))
31 mulasssr 11102 . . . . . . . 8 ((𝐴 ·R -1R) ·R (𝐴 ·R -1R)) = (𝐴 ·R (-1R ·R (𝐴 ·R -1R)))
32 mulasssr 11102 . . . . . . . 8 ((𝐴 ·R 𝐴) ·R 1R) = (𝐴 ·R (𝐴 ·R 1R))
3330, 31, 323eqtr4i 2795 . . . . . . 7 ((𝐴 ·R -1R) ·R (𝐴 ·R -1R)) = ((𝐴 ·R 𝐴) ·R 1R)
34 mulclsr 11096 . . . . . . . . 9 ((𝐴R𝐴R) → (𝐴 ·R 𝐴) ∈ R)
35 1idsr 11110 . . . . . . . . 9 ((𝐴 ·R 𝐴) ∈ R → ((𝐴 ·R 𝐴) ·R 1R) = (𝐴 ·R 𝐴))
3634, 35syl 18 . . . . . . . 8 ((𝐴R𝐴R) → ((𝐴 ·R 𝐴) ·R 1R) = (𝐴 ·R 𝐴))
3736anidms 577 . . . . . . 7 (𝐴R → ((𝐴 ·R 𝐴) ·R 1R) = (𝐴 ·R 𝐴))
3833, 37eqtrid 2809 . . . . . 6 (𝐴R → ((𝐴 ·R -1R) ·R (𝐴 ·R -1R)) = (𝐴 ·R 𝐴))
3938breq2d 5119 . . . . 5 (𝐴R → (0R <R ((𝐴 ·R -1R) ·R (𝐴 ·R -1R)) ↔ 0R <R (𝐴 ·R 𝐴)))
4021, 39sylibd 242 . . . 4 (𝐴R → (𝐴 <R 0R → 0R <R (𝐴 ·R 𝐴)))
41 mulgt0sr 11117 . . . . . 6 ((0R <R 𝐴 ∧ 0R <R 𝐴) → 0R <R (𝐴 ·R 𝐴))
4241anidms 577 . . . . 5 (0R <R 𝐴 → 0R <R (𝐴 ·R 𝐴))
4342a1i 11 . . . 4 (𝐴R → (0R <R 𝐴 → 0R <R (𝐴 ·R 𝐴)))
4440, 43jaod 873 . . 3 (𝐴R → ((𝐴 <R 0R ∨ 0R <R 𝐴) → 0R <R (𝐴 ·R 𝐴)))
456, 44sylbird 263 . 2 (𝐴R → (𝐴 ≠ 0R → 0R <R (𝐴 ·R 𝐴)))
4645imp 412 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 401  wo 861   = wceq 1570  wcel 2145  wne 2957   class class class wbr 5107   Or wor 5566  (class class class)co 7416  Rcnr 10877  0Rc0r 10878  1Rc1r 10879  -1Rcm1r 10880   +R cplr 10881   ·R cmr 10882   <R cltr 10883
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2215  ax-ext 2734  ax-sep 5255  ax-nul 5267  ax-pow 5334  ax-pr 5402  ax-un 7739  ax-inf2 9623
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  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 3367  df-reu 3368  df-rab 3415  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-pss 3922  df-nul 4283  df-if 4486  df-pw 4562  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4871  df-int 4911  df-iun 4956  df-br 5108  df-opab 5172  df-mpt 5191  df-tr 5217  df-id 5554  df-eprel 5559  df-po 5567  df-so 5568  df-fr 5612  df-we 5614  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-pred 6303  df-ord 6364  df-on 6365  df-lim 6366  df-suc 6367  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7419  df-oprab 7420  df-mpo 7421  df-om 7866  df-1st 7989  df-2nd 7990  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-1o 8458  df-oadd 8462  df-omul 8463  df-er 8699  df-ec 8701  df-qs 8705  df-ni 10884  df-pli 10885  df-mi 10886  df-lti 10887  df-plpq 10920  df-mpq 10921  df-ltpq 10922  df-enq 10923  df-nq 10924  df-erq 10925  df-plq 10926  df-mq 10927  df-1nq 10928  df-rq 10929  df-ltnq 10930  df-np 10993  df-1p 10994  df-plp 10995  df-mp 10996  df-ltp 10997  df-enr 11067  df-nr 11068  df-plr 11069  df-mr 11070  df-ltr 11071  df-0r 11072  df-1r 11073  df-m1r 11074
This theorem is used by:  recexsr  11119
  Copyright terms: Public domain W3C validator