Description: Define exponentiation to nonnegative integer powers. For example, ( 5 ^ 2 ) = 2 5 ( ex-exp ). Terminology: In general, "exponentiation" is the operation of raising a "base" x to the power of the "exponent" y , resulting in the "power" ( x ^ y ) , also called "x to the power of y". In this case, "integer exponentiation" is the operation of raising a complex "base" x to the power of an integer y , resulting in the "integer power" ( x ^ y ) .
This definition is not meant to be used directly; instead, exp0 and expp1 provide the standard recursive definition. The up-arrow notation is used by Donald Knuth for iterated exponentiation (_Science_ 194, 1235-1242, 1976) and is convenient for us since we don't have superscripts.
10-Jun-2005: The definition was extended to include zero exponents, so that 0 ^ 0 = 1 per the convention of Definition 10-4.1 of Gleason p. 134 ( 0exp0e1 ).
4-Jun-2014: The definition was extended to include negative integer exponents. For example, ( -u 3 ^ -u 2 ) = ( 1 / 9 ) ( ex-exp ). The case x = 0 , y < 0 gives the value ( 1 / 0 ) , so we will avoid this case in our theorems.
For a definition of exponentiation including complex exponents see df-cxp (complex exponentiation). Both definitions are equivalent for integer exponents, see cxpexpz . (Contributed by Raph Levien, 20-May-2004) (Revised by NM, 15-Oct-2004)
Ref | Expression | ||
---|---|---|---|
Assertion | df-exp | โข โ = ( ๐ฅ โ โ , ๐ฆ โ โค โฆ if ( ๐ฆ = 0 , 1 , if ( 0 < ๐ฆ , ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ ๐ฆ ) , ( 1 / ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ - ๐ฆ ) ) ) ) ) |
Step | Hyp | Ref | Expression |
---|---|---|---|
0 | cexp | โข โ | |
1 | vx | โข ๐ฅ | |
2 | cc | โข โ | |
3 | vy | โข ๐ฆ | |
4 | cz | โข โค | |
5 | 3 | cv | โข ๐ฆ |
6 | cc0 | โข 0 | |
7 | 5 6 | wceq | โข ๐ฆ = 0 |
8 | c1 | โข 1 | |
9 | clt | โข < | |
10 | 6 5 9 | wbr | โข 0 < ๐ฆ |
11 | cmul | โข ยท | |
12 | cn | โข โ | |
13 | 1 | cv | โข ๐ฅ |
14 | 13 | csn | โข { ๐ฅ } |
15 | 12 14 | cxp | โข ( โ ร { ๐ฅ } ) |
16 | 11 15 8 | cseq | โข seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) |
17 | 5 16 | cfv | โข ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ ๐ฆ ) |
18 | cdiv | โข / | |
19 | 5 | cneg | โข - ๐ฆ |
20 | 19 16 | cfv | โข ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ - ๐ฆ ) |
21 | 8 20 18 | co | โข ( 1 / ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ - ๐ฆ ) ) |
22 | 10 17 21 | cif | โข if ( 0 < ๐ฆ , ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ ๐ฆ ) , ( 1 / ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ - ๐ฆ ) ) ) |
23 | 7 8 22 | cif | โข if ( ๐ฆ = 0 , 1 , if ( 0 < ๐ฆ , ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ ๐ฆ ) , ( 1 / ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ - ๐ฆ ) ) ) ) |
24 | 1 3 2 4 23 | cmpo | โข ( ๐ฅ โ โ , ๐ฆ โ โค โฆ if ( ๐ฆ = 0 , 1 , if ( 0 < ๐ฆ , ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ ๐ฆ ) , ( 1 / ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ - ๐ฆ ) ) ) ) ) |
25 | 0 24 | wceq | โข โ = ( ๐ฅ โ โ , ๐ฆ โ โค โฆ if ( ๐ฆ = 0 , 1 , if ( 0 < ๐ฆ , ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ ๐ฆ ) , ( 1 / ( seq 1 ( ยท , ( โ ร { ๐ฅ } ) ) โ - ๐ฆ ) ) ) ) ) |