MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  df-sqrt Structured version   Visualization version   Unicode version

Definition df-sqrt 13975
Description: Define a function whose value is the square root of a complex number. For example,  ( sqr `  2
5 )  =  5 (ex-sqrt 27311).

Since  ( y ^
2 )  =  x iff  ( -u y ^
2 )  =  x, we ensure uniqueness by restricting the range to numbers with positive real part, or numbers with 0 real part and nonnegative imaginary part. A description can be found under "Principal square root of a complex number" at http://en.wikipedia.org/wiki/Square_root. The square root symbol was introduced in 1525 by Christoff Rudolff.

See sqrtcl 14101 for its closure, sqrtval 13977 for its value, sqrtth 14104 and sqsqrti 14115 for its relationship to squares, and sqrt11i 14124 for uniqueness. (Contributed by NM, 27-Jul-1999.) (Revised by Mario Carneiro, 8-Jul-2013.)

Assertion
Ref Expression
df-sqrt  |-  sqr  =  ( x  e.  CC  |->  ( iota_ y  e.  CC  ( ( y ^
2 )  =  x  /\  0  <_  (
Re `  y )  /\  ( _i  x.  y
)  e/  RR+ ) ) )
Distinct variable group:    x, y

Detailed syntax breakdown of Definition df-sqrt
StepHypRef Expression
1 csqrt 13973 . 2  class  sqr
2 vx . . 3  setvar  x
3 cc 9934 . . 3  class  CC
4 vy . . . . . . . 8  setvar  y
54cv 1482 . . . . . . 7  class  y
6 c2 11070 . . . . . . 7  class  2
7 cexp 12860 . . . . . . 7  class  ^
85, 6, 7co 6650 . . . . . 6  class  ( y ^ 2 )
92cv 1482 . . . . . 6  class  x
108, 9wceq 1483 . . . . 5  wff  ( y ^ 2 )  =  x
11 cc0 9936 . . . . . 6  class  0
12 cre 13837 . . . . . . 7  class  Re
135, 12cfv 5888 . . . . . 6  class  ( Re
`  y )
14 cle 10075 . . . . . 6  class  <_
1511, 13, 14wbr 4653 . . . . 5  wff  0  <_  ( Re `  y
)
16 ci 9938 . . . . . . 7  class  _i
17 cmul 9941 . . . . . . 7  class  x.
1816, 5, 17co 6650 . . . . . 6  class  ( _i  x.  y )
19 crp 11832 . . . . . 6  class  RR+
2018, 19wnel 2897 . . . . 5  wff  ( _i  x.  y )  e/  RR+
2110, 15, 20w3a 1037 . . . 4  wff  ( ( y ^ 2 )  =  x  /\  0  <_  ( Re `  y
)  /\  ( _i  x.  y )  e/  RR+ )
2221, 4, 3crio 6610 . . 3  class  ( iota_ y  e.  CC  ( ( y ^ 2 )  =  x  /\  0  <_  ( Re `  y
)  /\  ( _i  x.  y )  e/  RR+ )
)
232, 3, 22cmpt 4729 . 2  class  ( x  e.  CC  |->  ( iota_ y  e.  CC  ( ( y ^ 2 )  =  x  /\  0  <_  ( Re `  y
)  /\  ( _i  x.  y )  e/  RR+ )
) )
241, 23wceq 1483 1  wff  sqr  =  ( x  e.  CC  |->  ( iota_ y  e.  CC  ( ( y ^
2 )  =  x  /\  0  <_  (
Re `  y )  /\  ( _i  x.  y
)  e/  RR+ ) ) )
Colors of variables: wff setvar class
This definition is referenced by:  sqrtval  13977  sqrtf  14103
  Copyright terms: Public domain W3C validator