Metamath Proof Explorer


Theorem sgnn

Description: The signum of a negative extended real is -1. (Contributed by David A. Wheeler, 15-May-2015)

Ref Expression
Assertion sgnn A*A<0sgnA=1

Proof

Step Hyp Ref Expression
1 sgnval A*sgnA=ifA=00ifA<011
2 1 adantr A*A<0sgnA=ifA=00ifA<011
3 0xr 0*
4 xrltne A*0*A<00A
5 3 4 mp3an2 A*A<00A
6 nesym 0A¬A=0
7 5 6 sylib A*A<0¬A=0
8 7 iffalsed A*A<0ifA=00ifA<011=ifA<011
9 iftrue A<0ifA<011=1
10 9 adantl A*A<0ifA<011=1
11 2 8 10 3eqtrd A*A<0sgnA=1