Metamath Proof Explorer


Definition df-exp

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 ( ยท , ( โ„• ร— { ๐‘ฅ } ) ) โ€˜ - ๐‘ฆ ) ) ) ) )

Detailed syntax breakdown

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 ( ยท , ( โ„• ร— { ๐‘ฅ } ) ) โ€˜ - ๐‘ฆ ) ) ) ) )