![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > df-sqrt | Structured version Visualization version GIF version |
Description: Define a function whose
value is the square root of a complex number.
For example, (โโ25) = 5 (ex-sqrt 29697).
Since (๐ฆโ2) = ๐ฅ iff (-๐ฆโ2) = ๐ฅ, 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 29697. The square root symbol was introduced in 1525 by Christoff Rudolff. See sqrtcl 15305 for its closure, sqrtval 15181 for its value, sqrtth 15308 and sqsqrti 15319 for its relationship to squares, and sqrt11i 15328 for uniqueness. (Contributed by NM, 27-Jul-1999.) (Revised by Mario Carneiro, 8-Jul-2013.) |
Ref | Expression |
---|---|
df-sqrt | โข โ = (๐ฅ โ โ โฆ (โฉ๐ฆ โ โ ((๐ฆโ2) = ๐ฅ โง 0 โค (โโ๐ฆ) โง (i ยท ๐ฆ) โ โ+))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | csqrt 15177 | . 2 class โ | |
2 | vx | . . 3 setvar ๐ฅ | |
3 | cc 11105 | . . 3 class โ | |
4 | vy | . . . . . . . 8 setvar ๐ฆ | |
5 | 4 | cv 1541 | . . . . . . 7 class ๐ฆ |
6 | c2 12264 | . . . . . . 7 class 2 | |
7 | cexp 14024 | . . . . . . 7 class โ | |
8 | 5, 6, 7 | co 7406 | . . . . . 6 class (๐ฆโ2) |
9 | 2 | cv 1541 | . . . . . 6 class ๐ฅ |
10 | 8, 9 | wceq 1542 | . . . . 5 wff (๐ฆโ2) = ๐ฅ |
11 | cc0 11107 | . . . . . 6 class 0 | |
12 | cre 15041 | . . . . . . 7 class โ | |
13 | 5, 12 | cfv 6541 | . . . . . 6 class (โโ๐ฆ) |
14 | cle 11246 | . . . . . 6 class โค | |
15 | 11, 13, 14 | wbr 5148 | . . . . 5 wff 0 โค (โโ๐ฆ) |
16 | ci 11109 | . . . . . . 7 class i | |
17 | cmul 11112 | . . . . . . 7 class ยท | |
18 | 16, 5, 17 | co 7406 | . . . . . 6 class (i ยท ๐ฆ) |
19 | crp 12971 | . . . . . 6 class โ+ | |
20 | 18, 19 | wnel 3047 | . . . . 5 wff (i ยท ๐ฆ) โ โ+ |
21 | 10, 15, 20 | w3a 1088 | . . . 4 wff ((๐ฆโ2) = ๐ฅ โง 0 โค (โโ๐ฆ) โง (i ยท ๐ฆ) โ โ+) |
22 | 21, 4, 3 | crio 7361 | . . 3 class (โฉ๐ฆ โ โ ((๐ฆโ2) = ๐ฅ โง 0 โค (โโ๐ฆ) โง (i ยท ๐ฆ) โ โ+)) |
23 | 2, 3, 22 | cmpt 5231 | . 2 class (๐ฅ โ โ โฆ (โฉ๐ฆ โ โ ((๐ฆโ2) = ๐ฅ โง 0 โค (โโ๐ฆ) โง (i ยท ๐ฆ) โ โ+))) |
24 | 1, 23 | wceq 1542 | 1 wff โ = (๐ฅ โ โ โฆ (โฉ๐ฆ โ โ ((๐ฆโ2) = ๐ฅ โง 0 โค (โโ๐ฆ) โง (i ยท ๐ฆ) โ โ+))) |
Colors of variables: wff setvar class |
This definition is referenced by: sqrtval 15181 sqrtf 15307 cphsscph 24760 |
Copyright terms: Public domain | W3C validator |