![]() |
Metamath
Proof Explorer Theorem List (p. 473 of 479) | < Previous Next > |
Bad symbols? Try the
GIF version. |
||
Mirrors > Metamath Home Page > MPE Home Page > Theorem List Contents > Recent Proofs This page: Page List |
Color key: | ![]() (1-30166) |
![]() (30167-31689) |
![]() (31690-47842) |
Type | Label | Description |
---|---|---|
Statement | ||
Theorem | nnennex 47201* | For each even positive integer there is a positive integer which, multiplied by 2, results in the even positive integer. (Contributed by AV, 5-Jun-2023.) |
β’ ((π β β β§ (π / 2) β β) β βπ β β π = (2 Β· π)) | ||
Theorem | nneop 47202 | A positive integer is even or odd. (Contributed by AV, 30-May-2020.) |
β’ (π β β β ((π / 2) β β β¨ ((π + 1) / 2) β β)) | ||
Theorem | nneom 47203 | A positive integer is even or odd. (Contributed by AV, 30-May-2020.) |
β’ (π β β β ((π / 2) β β β¨ ((π β 1) / 2) β β0)) | ||
Theorem | nn0eo 47204 | A nonnegative integer is even or odd. (Contributed by AV, 27-May-2020.) |
β’ (π β β0 β ((π / 2) β β0 β¨ ((π + 1) / 2) β β0)) | ||
Theorem | nnpw2even 47205 | 2 to the power of a positive integer is even. (Contributed by AV, 2-Jun-2020.) |
β’ (π β β β ((2βπ) / 2) β β) | ||
Theorem | zefldiv2 47206 | The floor of an even integer divided by 2 is equal to the integer divided by 2. (Contributed by AV, 7-Jun-2020.) |
β’ ((π β β€ β§ (π / 2) β β€) β (ββ(π / 2)) = (π / 2)) | ||
Theorem | zofldiv2 47207 | The floor of an odd integer divided by 2 is equal to the integer first decreased by 1 and then divided by 2. (Contributed by AV, 7-Jun-2020.) |
β’ ((π β β€ β§ ((π + 1) / 2) β β€) β (ββ(π / 2)) = ((π β 1) / 2)) | ||
Theorem | nn0ofldiv2 47208 | The floor of an odd nonnegative integer divided by 2 is equal to the integer first decreased by 1 and then divided by 2. (Contributed by AV, 1-Jun-2020.) (Proof shortened by AV, 7-Jun-2020.) |
β’ ((π β β0 β§ ((π + 1) / 2) β β0) β (ββ(π / 2)) = ((π β 1) / 2)) | ||
Theorem | flnn0div2ge 47209 | The floor of a positive integer divided by 2 is greater than or equal to the integer decreased by 1 and then divided by 2. (Contributed by AV, 1-Jun-2020.) |
β’ (π β β0 β ((π β 1) / 2) β€ (ββ(π / 2))) | ||
Theorem | flnn0ohalf 47210 | The floor of the half of an odd positive integer is equal to the floor of the half of the integer decreased by 1. (Contributed by AV, 5-Jun-2012.) |
β’ ((π β β0 β§ ((π + 1) / 2) β β0) β (ββ(π / 2)) = (ββ((π β 1) / 2))) | ||
Theorem | logcxp0 47211 | Logarithm of a complex power. Generalization of logcxp 26176. (Contributed by AV, 22-May-2020.) |
β’ ((π΄ β (β β {0}) β§ π΅ β β β§ (π΅ Β· (logβπ΄)) β ran log) β (logβ(π΄βππ΅)) = (π΅ Β· (logβπ΄))) | ||
Theorem | regt1loggt0 47212 | The natural logarithm for a real number greater than 1 is greater than 0. (Contributed by AV, 25-May-2020.) |
β’ (π΅ β (1(,)+β) β 0 < (logβπ΅)) | ||
Syntax | cfdiv 47213 | Extend class notation with the division operator of two functions. |
class /f | ||
Definition | df-fdiv 47214* | Define the division of two functions into the complex numbers. (Contributed by AV, 15-May-2020.) |
β’ /f = (π β V, π β V β¦ ((π βf / π) βΎ (π supp 0))) | ||
Theorem | fdivval 47215 | The quotient of two functions into the complex numbers. (Contributed by AV, 15-May-2020.) |
β’ ((πΉ β π β§ πΊ β π) β (πΉ /f πΊ) = ((πΉ βf / πΊ) βΎ (πΊ supp 0))) | ||
Theorem | fdivmpt 47216* | The quotient of two functions into the complex numbers as mapping. (Contributed by AV, 16-May-2020.) |
β’ ((πΉ:π΄βΆβ β§ πΊ:π΄βΆβ β§ π΄ β π) β (πΉ /f πΊ) = (π₯ β (πΊ supp 0) β¦ ((πΉβπ₯) / (πΊβπ₯)))) | ||
Theorem | fdivmptf 47217 | The quotient of two functions into the complex numbers is a function into the complex numbers. (Contributed by AV, 16-May-2020.) |
β’ ((πΉ:π΄βΆβ β§ πΊ:π΄βΆβ β§ π΄ β π) β (πΉ /f πΊ):(πΊ supp 0)βΆβ) | ||
Theorem | refdivmptf 47218 | The quotient of two functions into the real numbers is a function into the real numbers. (Contributed by AV, 16-May-2020.) |
β’ ((πΉ:π΄βΆβ β§ πΊ:π΄βΆβ β§ π΄ β π) β (πΉ /f πΊ):(πΊ supp 0)βΆβ) | ||
Theorem | fdivpm 47219 | The quotient of two functions into the complex numbers is a partial function. (Contributed by AV, 16-May-2020.) |
β’ ((πΉ:π΄βΆβ β§ πΊ:π΄βΆβ β§ π΄ β π) β (πΉ /f πΊ) β (β βpm π΄)) | ||
Theorem | refdivpm 47220 | The quotient of two functions into the real numbers is a partial function. (Contributed by AV, 16-May-2020.) |
β’ ((πΉ:π΄βΆβ β§ πΊ:π΄βΆβ β§ π΄ β π) β (πΉ /f πΊ) β (β βpm π΄)) | ||
Theorem | fdivmptfv 47221 | The function value of a quotient of two functions into the complex numbers. (Contributed by AV, 19-May-2020.) |
β’ (((πΉ:π΄βΆβ β§ πΊ:π΄βΆβ β§ π΄ β π) β§ π β (πΊ supp 0)) β ((πΉ /f πΊ)βπ) = ((πΉβπ) / (πΊβπ))) | ||
Theorem | refdivmptfv 47222 | The function value of a quotient of two functions into the real numbers. (Contributed by AV, 19-May-2020.) |
β’ (((πΉ:π΄βΆβ β§ πΊ:π΄βΆβ β§ π΄ β π) β§ π β (πΊ supp 0)) β ((πΉ /f πΊ)βπ) = ((πΉβπ) / (πΊβπ))) | ||
Syntax | cbigo 47223 | Extend class notation with the class of the "big-O" function. |
class Ξ | ||
Definition | df-bigo 47224* | Define the function "big-O", mapping a real function g to the set of real functions "of order g(x)". Definition in section 1.1 of [AhoHopUll] p. 2. This is a generalization of "big-O of one", see df-o1 15433 and df-lo1 15434. As explained in the comment of df-o1 , any big-O can be represented in terms of π(1) and division, see elbigolo1 47233. (Contributed by AV, 15-May-2020.) |
β’ Ξ = (π β (β βpm β) β¦ {π β (β βpm β) β£ βπ₯ β β βπ β β βπ¦ β (dom π β© (π₯[,)+β))(πβπ¦) β€ (π Β· (πβπ¦))}) | ||
Theorem | bigoval 47225* | Set of functions of order G(x). (Contributed by AV, 15-May-2020.) |
β’ (πΊ β (β βpm β) β (ΞβπΊ) = {π β (β βpm β) β£ βπ₯ β β βπ β β βπ¦ β (dom π β© (π₯[,)+β))(πβπ¦) β€ (π Β· (πΊβπ¦))}) | ||
Theorem | elbigofrcl 47226 | Reverse closure of the "big-O" function. (Contributed by AV, 16-May-2020.) |
β’ (πΉ β (ΞβπΊ) β πΊ β (β βpm β)) | ||
Theorem | elbigo 47227* | Properties of a function of order G(x). (Contributed by AV, 16-May-2020.) |
β’ (πΉ β (ΞβπΊ) β (πΉ β (β βpm β) β§ πΊ β (β βpm β) β§ βπ₯ β β βπ β β βπ¦ β (dom πΉ β© (π₯[,)+β))(πΉβπ¦) β€ (π Β· (πΊβπ¦)))) | ||
Theorem | elbigo2 47228* | Properties of a function of order G(x) under certain assumptions. (Contributed by AV, 17-May-2020.) |
β’ (((πΊ:π΄βΆβ β§ π΄ β β) β§ (πΉ:π΅βΆβ β§ π΅ β π΄)) β (πΉ β (ΞβπΊ) β βπ₯ β β βπ β β βπ¦ β π΅ (π₯ β€ π¦ β (πΉβπ¦) β€ (π Β· (πΊβπ¦))))) | ||
Theorem | elbigo2r 47229* | Sufficient condition for a function to be of order G(x). (Contributed by AV, 18-May-2020.) |
β’ (((πΊ:π΄βΆβ β§ π΄ β β) β§ (πΉ:π΅βΆβ β§ π΅ β π΄) β§ (πΆ β β β§ π β β β§ βπ₯ β π΅ (πΆ β€ π₯ β (πΉβπ₯) β€ (π Β· (πΊβπ₯))))) β πΉ β (ΞβπΊ)) | ||
Theorem | elbigof 47230 | A function of order G(x) is a function. (Contributed by AV, 18-May-2020.) |
β’ (πΉ β (ΞβπΊ) β πΉ:dom πΉβΆβ) | ||
Theorem | elbigodm 47231 | The domain of a function of order G(x) is a subset of the reals. (Contributed by AV, 18-May-2020.) |
β’ (πΉ β (ΞβπΊ) β dom πΉ β β) | ||
Theorem | elbigoimp 47232* | The defining property of a function of order G(x). (Contributed by AV, 18-May-2020.) |
β’ ((πΉ β (ΞβπΊ) β§ πΉ:π΄βΆβ β§ π΄ β dom πΊ) β βπ₯ β β βπ β β βπ¦ β π΄ (π₯ β€ π¦ β (πΉβπ¦) β€ (π Β· (πΊβπ¦)))) | ||
Theorem | elbigolo1 47233 | A function (into the positive reals) is of order G(x) iff the quotient of the function and G(x) (also a function into the positive reals) is an eventually upper bounded function. (Contributed by AV, 20-May-2020.) (Proof shortened by II, 16-Feb-2023.) |
β’ ((π΄ β β β§ πΊ:π΄βΆβ+ β§ πΉ:π΄βΆβ+) β (πΉ β (ΞβπΊ) β (πΉ /f πΊ) β β€π(1))) | ||
Theorem | rege1logbrege0 47234 | The general logarithm, with a real base greater than 1, for a real number greater than or equal to 1 is greater than or equal to 0. (Contributed by AV, 25-May-2020.) |
β’ ((π΅ β (1(,)+β) β§ π β (1[,)+β)) β 0 β€ (π΅ logb π)) | ||
Theorem | rege1logbzge0 47235 | The general logarithm, with an integer base greater than 1, for a real number greater than or equal to 1 is greater than or equal to 0. (Contributed by AV, 25-May-2020.) |
β’ ((π΅ β (β€β₯β2) β§ π β (1[,)+β)) β 0 β€ (π΅ logb π)) | ||
Theorem | fllogbd 47236 | A real number is between the base of a logarithm to the power of the floor of the logarithm of the number and the base of the logarithm to the power of the floor of the logarithm of the number plus one. (Contributed by AV, 23-May-2020.) |
β’ (π β π΅ β (β€β₯β2)) & β’ (π β π β β+) & β’ πΈ = (ββ(π΅ logb π)) β β’ (π β ((π΅βπΈ) β€ π β§ π < (π΅β(πΈ + 1)))) | ||
Theorem | relogbmulbexp 47237 | The logarithm of the product of a positive real number and the base to the power of a real number is the logarithm of the positive real number plus the real number. (Contributed by AV, 29-May-2020.) |
β’ ((π΅ β (β+ β {1}) β§ (π΄ β β+ β§ πΆ β β)) β (π΅ logb (π΄ Β· (π΅βππΆ))) = ((π΅ logb π΄) + πΆ)) | ||
Theorem | relogbdivb 47238 | The logarithm of the quotient of a positive real number and the base is the logarithm of the number minus 1. (Contributed by AV, 29-May-2020.) |
β’ ((π΅ β (β+ β {1}) β§ π΄ β β+) β (π΅ logb (π΄ / π΅)) = ((π΅ logb π΄) β 1)) | ||
Theorem | logbge0b 47239 | The logarithm of a number is nonnegative iff the number is greater than or equal to 1. (Contributed by AV, 30-May-2020.) |
β’ ((π΅ β (β€β₯β2) β§ π β β+) β (0 β€ (π΅ logb π) β 1 β€ π)) | ||
Theorem | logblt1b 47240 | The logarithm of a number is less than 1 iff the number is less than the base of the logarithm. (Contributed by AV, 30-May-2020.) |
β’ ((π΅ β (β€β₯β2) β§ π β β+) β ((π΅ logb π) < 1 β π < π΅)) | ||
If the binary logarithm is used more often, a separate symbol/definition could be provided for it, e.g., log2 = (π₯ β (β β {0}) β¦ (2 logb π)). Then we can write "( log2 ` x )" (analogous to (logπ₯) for the natural logarithm) instead of (2 logb π₯). | ||
Theorem | fldivexpfllog2 47241 | The floor of a positive real number divided by 2 to the power of the floor of the logarithm to base 2 of the number is 1. (Contributed by AV, 26-May-2020.) |
β’ (π β β+ β (ββ(π / (2β(ββ(2 logb π))))) = 1) | ||
Theorem | nnlog2ge0lt1 47242 | A positive integer is 1 iff its binary logarithm is between 0 and 1. (Contributed by AV, 30-May-2020.) |
β’ (π β β β (π = 1 β (0 β€ (2 logb π) β§ (2 logb π) < 1))) | ||
Theorem | logbpw2m1 47243 | The floor of the binary logarithm of 2 to the power of a positive integer minus 1 is equal to the integer minus 1. (Contributed by AV, 31-May-2020.) |
β’ (πΌ β β β (ββ(2 logb ((2βπΌ) β 1))) = (πΌ β 1)) | ||
Theorem | fllog2 47244 | The floor of the binary logarithm of 2 to the power of an element of a half-open integer interval bounded by powers of 2 is equal to the integer. (Contributed by AV, 31-May-2020.) |
β’ ((πΌ β β0 β§ π β ((2βπΌ)..^(2β(πΌ + 1)))) β (ββ(2 logb π)) = πΌ) | ||
Syntax | cblen 47245 | Extend class notation with the class of the binary length function. |
class #b | ||
Definition | df-blen 47246 | Define the binary length of an integer. Definition in section 1.3 of [AhoHopUll] p. 12. Although not restricted to integers, this definition is only meaningful for π β β€ or even for π β β. (Contributed by AV, 16-May-2020.) |
β’ #b = (π β V β¦ if(π = 0, 1, ((ββ(2 logb (absβπ))) + 1))) | ||
Theorem | blenval 47247 | The binary length of an integer. (Contributed by AV, 20-May-2020.) |
β’ (π β π β (#bβπ) = if(π = 0, 1, ((ββ(2 logb (absβπ))) + 1))) | ||
Theorem | blen0 47248 | The binary length of 0. (Contributed by AV, 20-May-2020.) |
β’ (#bβ0) = 1 | ||
Theorem | blenn0 47249 | The binary length of a "number" not being 0. (Contributed by AV, 20-May-2020.) |
β’ ((π β π β§ π β 0) β (#bβπ) = ((ββ(2 logb (absβπ))) + 1)) | ||
Theorem | blenre 47250 | The binary length of a positive real number. (Contributed by AV, 20-May-2020.) |
β’ (π β β+ β (#bβπ) = ((ββ(2 logb π)) + 1)) | ||
Theorem | blennn 47251 | The binary length of a positive integer. (Contributed by AV, 21-May-2020.) |
β’ (π β β β (#bβπ) = ((ββ(2 logb π)) + 1)) | ||
Theorem | blennnelnn 47252 | The binary length of a positive integer is a positive integer. (Contributed by AV, 25-May-2020.) |
β’ (π β β β (#bβπ) β β) | ||
Theorem | blennn0elnn 47253 | The binary length of a nonnegative integer is a positive integer. (Contributed by AV, 28-May-2020.) |
β’ (π β β0 β (#bβπ) β β) | ||
Theorem | blenpw2 47254 | The binary length of a power of 2 is the exponent plus 1. (Contributed by AV, 30-May-2020.) |
β’ (πΌ β β0 β (#bβ(2βπΌ)) = (πΌ + 1)) | ||
Theorem | blenpw2m1 47255 | The binary length of a power of 2 minus 1 is the exponent. (Contributed by AV, 31-May-2020.) |
β’ (πΌ β β β (#bβ((2βπΌ) β 1)) = πΌ) | ||
Theorem | nnpw2blen 47256 | A positive integer is between 2 to the power of its binary length minus 1 and 2 to the power of its binary length. (Contributed by AV, 31-May-2020.) |
β’ (π β β β ((2β((#bβπ) β 1)) β€ π β§ π < (2β(#bβπ)))) | ||
Theorem | nnpw2blenfzo 47257 | A positive integer is between 2 to the power of the binary length of the integer minus 1, and 2 to the power of the binary length of the integer. (Contributed by AV, 2-Jun-2020.) |
β’ (π β β β π β ((2β((#bβπ) β 1))..^(2β(#bβπ)))) | ||
Theorem | nnpw2blenfzo2 47258 | A positive integer is either 2 to the power of the binary length of the integer minus 1, or between 2 to the power of the binary length of the integer minus 1, increased by 1, and 2 to the power of the binary length of the integer. (Contributed by AV, 2-Jun-2020.) |
β’ (π β β β (π = (2β((#bβπ) β 1)) β¨ π β (((2β((#bβπ) β 1)) + 1)..^(2β(#bβπ))))) | ||
Theorem | nnpw2pmod 47259 | Every positive integer can be represented as the sum of a power of 2 and a "remainder" smaller than the power. (Contributed by AV, 31-May-2020.) |
β’ (π β β β π = ((2β((#bβπ) β 1)) + (π mod (2β((#bβπ) β 1))))) | ||
Theorem | blen1 47260 | The binary length of 1. (Contributed by AV, 21-May-2020.) |
β’ (#bβ1) = 1 | ||
Theorem | blen2 47261 | The binary length of 2. (Contributed by AV, 21-May-2020.) |
β’ (#bβ2) = 2 | ||
Theorem | nnpw2p 47262* | Every positive integer can be represented as the sum of a power of 2 and a "remainder" smaller than the power. (Contributed by AV, 31-May-2020.) |
β’ (π β β β βπ β β0 βπ β (0..^(2βπ))π = ((2βπ) + π)) | ||
Theorem | nnpw2pb 47263* | A number is a positive integer iff it can be represented as the sum of a power of 2 and a "remainder" smaller than the power. (Contributed by AV, 31-May-2020.) |
β’ (π β β β βπ β β0 βπ β (0..^(2βπ))π = ((2βπ) + π)) | ||
Theorem | blen1b 47264 | The binary length of a nonnegative integer is 1 if the integer is 0 or 1. (Contributed by AV, 30-May-2020.) |
β’ (π β β0 β ((#bβπ) = 1 β (π = 0 β¨ π = 1))) | ||
Theorem | blennnt2 47265 | The binary length of a positive integer, doubled and increased by 1, is the binary length of the integer plus 1. (Contributed by AV, 30-May-2010.) |
β’ (π β β β (#bβ(2 Β· π)) = ((#bβπ) + 1)) | ||
Theorem | nnolog2flm1 47266 | The floor of the binary logarithm of an odd integer greater than 1 is the floor of the binary logarithm of the integer decreased by 1. (Contributed by AV, 2-Jun-2020.) |
β’ ((π β (β€β₯β2) β§ ((π + 1) / 2) β β) β (ββ(2 logb π)) = (ββ(2 logb (π β 1)))) | ||
Theorem | blennn0em1 47267 | The binary length of the half of an even positive integer is the binary length of the integer minus 1. (Contributed by AV, 30-May-2010.) |
β’ ((π β β β§ (π / 2) β β0) β (#bβ(π / 2)) = ((#bβπ) β 1)) | ||
Theorem | blennngt2o2 47268 | The binary length of an odd integer greater than 1 is the binary length of the half of the integer decreased by 1, increased by 1. (Contributed by AV, 3-Jun-2020.) |
β’ ((π β (β€β₯β2) β§ ((π + 1) / 2) β β0) β (#bβπ) = ((#bβ((π β 1) / 2)) + 1)) | ||
Theorem | blengt1fldiv2p1 47269 | The binary length of an integer greater than 1 is the binary length of the integer divided by 2, increased by one. (Contributed by AV, 3-Jun-2020.) |
β’ (π β (β€β₯β2) β (#bβπ) = ((#bβ(ββ(π / 2))) + 1)) | ||
Theorem | blennn0e2 47270 | The binary length of an even positive integer is the binary length of the half of the integer, increased by 1. (Contributed by AV, 29-May-2020.) |
β’ ((π β β β§ (π / 2) β β0) β (#bβπ) = ((#bβ(π / 2)) + 1)) | ||
Generalization of df-bits 16362. In contrast to digit, bits are defined for integers only. The equivalence of both definitions for integers is shown in dig2bits 47290: if πΎ and π are nonnegative integers, then ((πΎ(digitβ2)π) = 1 β πΎ β (bitsβπ)). | ||
Syntax | cdig 47271 | Extend class notation with the class of the digit extraction operation. |
class digit | ||
Definition | df-dig 47272* | Definition of an operation to obtain the π th digit of a nonnegative real number π in the positional system with base π. π = β 1 corresponds to the first digit of the fractional part (for π = 10 the first digit after the decimal point), π = 0 corresponds to the last digit of the integer part (for π = 10 the first digit before the decimal point). See also digit1 14199. Examples (not formal): ( 234.567 ( digit ` 10 ) 0 ) = 4; ( 2.567 ( digit ` 10 ) -2 ) = 6; ( 2345.67 ( digit ` 10 ) 2 ) = 3. (Contributed by AV, 16-May-2020.) |
β’ digit = (π β β β¦ (π β β€, π β (0[,)+β) β¦ ((ββ((πβ-π) Β· π)) mod π))) | ||
Theorem | digfval 47273* | Operation to obtain the π th digit of a nonnegative real number π in the positional system with base π΅. (Contributed by AV, 23-May-2020.) |
β’ (π΅ β β β (digitβπ΅) = (π β β€, π β (0[,)+β) β¦ ((ββ((π΅β-π) Β· π)) mod π΅))) | ||
Theorem | digval 47274 | The πΎ th digit of a nonnegative real number π in the positional system with base π΅. (Contributed by AV, 23-May-2020.) |
β’ ((π΅ β β β§ πΎ β β€ β§ π β (0[,)+β)) β (πΎ(digitβπ΅)π ) = ((ββ((π΅β-πΎ) Β· π )) mod π΅)) | ||
Theorem | digvalnn0 47275 | The πΎ th digit of a nonnegative real number π in the positional system with base π΅ is a nonnegative integer. (Contributed by AV, 28-May-2020.) |
β’ ((π΅ β β β§ πΎ β β€ β§ π β (0[,)+β)) β (πΎ(digitβπ΅)π ) β β0) | ||
Theorem | nn0digval 47276 | The πΎ th digit of a nonnegative real number π in the positional system with base π΅. (Contributed by AV, 23-May-2020.) |
β’ ((π΅ β β β§ πΎ β β0 β§ π β (0[,)+β)) β (πΎ(digitβπ΅)π ) = ((ββ(π / (π΅βπΎ))) mod π΅)) | ||
Theorem | dignn0fr 47277 | The digits of the fractional part of a nonnegative integer are 0. (Contributed by AV, 23-May-2020.) |
β’ ((π΅ β β β§ πΎ β (β€ β β0) β§ π β β0) β (πΎ(digitβπ΅)π) = 0) | ||
Theorem | dignn0ldlem 47278 | Lemma for dignnld 47279. (Contributed by AV, 25-May-2020.) |
β’ ((π΅ β (β€β₯β2) β§ π β β β§ πΎ β (β€β₯β((ββ(π΅ logb π)) + 1))) β π < (π΅βπΎ)) | ||
Theorem | dignnld 47279 | The leading digits of a positive integer are 0. (Contributed by AV, 25-May-2020.) |
β’ ((π΅ β (β€β₯β2) β§ π β β β§ πΎ β (β€β₯β((ββ(π΅ logb π)) + 1))) β (πΎ(digitβπ΅)π) = 0) | ||
Theorem | dig2nn0ld 47280 | The leading digits of a positive integer in a binary system are 0. (Contributed by AV, 25-May-2020.) |
β’ ((π β β β§ πΎ β (β€β₯β(#bβπ))) β (πΎ(digitβ2)π) = 0) | ||
Theorem | dig2nn1st 47281 | The first (relevant) digit of a positive integer in a binary system is 1. (Contributed by AV, 26-May-2020.) |
β’ (π β β β (((#bβπ) β 1)(digitβ2)π) = 1) | ||
Theorem | dig0 47282 | All digits of 0 are 0. (Contributed by AV, 24-May-2020.) |
β’ ((π΅ β β β§ πΎ β β€) β (πΎ(digitβπ΅)0) = 0) | ||
Theorem | digexp 47283 | The πΎ th digit of a power to the base is either 1 or 0. (Contributed by AV, 24-May-2020.) |
β’ ((π΅ β (β€β₯β2) β§ πΎ β β0 β§ π β β0) β (πΎ(digitβπ΅)(π΅βπ)) = if(πΎ = π, 1, 0)) | ||
Theorem | dig1 47284 | All but one digits of 1 are 0. (Contributed by AV, 24-May-2020.) |
β’ ((π΅ β (β€β₯β2) β§ πΎ β β€) β (πΎ(digitβπ΅)1) = if(πΎ = 0, 1, 0)) | ||
Theorem | 0dig1 47285 | The 0 th digit of 1 is 1 in any positional system. (Contributed by AV, 28-May-2020.) |
β’ (π΅ β (β€β₯β2) β (0(digitβπ΅)1) = 1) | ||
Theorem | 0dig2pr01 47286 | The integers 0 and 1 correspond to their last bit. (Contributed by AV, 28-May-2010.) |
β’ (π β {0, 1} β (0(digitβ2)π) = π) | ||
Theorem | dig2nn0 47287 | A digit of a nonnegative integer π in a binary system is either 0 or 1. (Contributed by AV, 24-May-2020.) |
β’ ((π β β0 β§ πΎ β β€) β (πΎ(digitβ2)π) β {0, 1}) | ||
Theorem | 0dig2nn0e 47288 | The last bit of an even integer is 0. (Contributed by AV, 3-Jun-2010.) |
β’ ((π β β0 β§ (π / 2) β β0) β (0(digitβ2)π) = 0) | ||
Theorem | 0dig2nn0o 47289 | The last bit of an odd integer is 1. (Contributed by AV, 3-Jun-2010.) |
β’ ((π β β0 β§ ((π + 1) / 2) β β0) β (0(digitβ2)π) = 1) | ||
Theorem | dig2bits 47290 | The πΎ th digit of a nonnegative integer π in a binary system is its πΎ th bit. (Contributed by AV, 24-May-2020.) |
β’ ((π β β0 β§ πΎ β β0) β ((πΎ(digitβ2)π) = 1 β πΎ β (bitsβπ))) | ||
Theorem | dignn0flhalflem1 47291 | Lemma 1 for dignn0flhalf 47294. (Contributed by AV, 7-Jun-2012.) |
β’ ((π΄ β β€ β§ ((π΄ β 1) / 2) β β β§ π β β) β (ββ((π΄ / (2βπ)) β 1)) < (ββ((π΄ β 1) / (2βπ)))) | ||
Theorem | dignn0flhalflem2 47292 | Lemma 2 for dignn0flhalf 47294. (Contributed by AV, 7-Jun-2012.) |
β’ ((π΄ β β€ β§ ((π΄ β 1) / 2) β β β§ π β β0) β (ββ(π΄ / (2β(π + 1)))) = (ββ((ββ(π΄ / 2)) / (2βπ)))) | ||
Theorem | dignn0ehalf 47293 | The digits of the half of an even nonnegative integer are the digits of the integer shifted by 1. (Contributed by AV, 3-Jun-2010.) |
β’ (((π΄ / 2) β β0 β§ π΄ β β0 β§ πΌ β β0) β ((πΌ + 1)(digitβ2)π΄) = (πΌ(digitβ2)(π΄ / 2))) | ||
Theorem | dignn0flhalf 47294 | The digits of the rounded half of a nonnegative integer are the digits of the integer shifted by 1. (Contributed by AV, 7-Jun-2010.) |
β’ ((π΄ β (β€β₯β2) β§ πΌ β β0) β ((πΌ + 1)(digitβ2)π΄) = (πΌ(digitβ2)(ββ(π΄ / 2)))) | ||
Theorem | nn0sumshdiglemA 47295* | Lemma for nn0sumshdig 47299 (induction step, even multiplier). (Contributed by AV, 3-Jun-2020.) |
β’ (((π β β β§ (π / 2) β β) β§ π¦ β β) β (βπ₯ β β0 ((#bβπ₯) = π¦ β π₯ = Ξ£π β (0..^π¦)((π(digitβ2)π₯) Β· (2βπ))) β ((#bβπ) = (π¦ + 1) β π = Ξ£π β (0..^(π¦ + 1))((π(digitβ2)π) Β· (2βπ))))) | ||
Theorem | nn0sumshdiglemB 47296* | Lemma for nn0sumshdig 47299 (induction step, odd multiplier). (Contributed by AV, 7-Jun-2020.) |
β’ (((π β β β§ ((π β 1) / 2) β β0) β§ π¦ β β) β (βπ₯ β β0 ((#bβπ₯) = π¦ β π₯ = Ξ£π β (0..^π¦)((π(digitβ2)π₯) Β· (2βπ))) β ((#bβπ) = (π¦ + 1) β π = Ξ£π β (0..^(π¦ + 1))((π(digitβ2)π) Β· (2βπ))))) | ||
Theorem | nn0sumshdiglem1 47297* | Lemma 1 for nn0sumshdig 47299 (induction step). (Contributed by AV, 7-Jun-2020.) |
β’ (π¦ β β β (βπ β β0 ((#bβπ) = π¦ β π = Ξ£π β (0..^π¦)((π(digitβ2)π) Β· (2βπ))) β βπ β β0 ((#bβπ) = (π¦ + 1) β π = Ξ£π β (0..^(π¦ + 1))((π(digitβ2)π) Β· (2βπ))))) | ||
Theorem | nn0sumshdiglem2 47298* | Lemma 2 for nn0sumshdig 47299. (Contributed by AV, 7-Jun-2020.) |
β’ (πΏ β β β βπ β β0 ((#bβπ) = πΏ β π = Ξ£π β (0..^πΏ)((π(digitβ2)π) Β· (2βπ)))) | ||
Theorem | nn0sumshdig 47299* | A nonnegative integer can be represented as sum of its shifted bits. (Contributed by AV, 7-Jun-2020.) |
β’ (π΄ β β0 β π΄ = Ξ£π β (0..^(#bβπ΄))((π(digitβ2)π΄) Β· (2βπ))) | ||
Theorem | nn0mulfsum 47300* | Trivial algorithm to calculate the product of two nonnegative integers π and π by adding π to itself π times. (Contributed by AV, 17-May-2020.) |
β’ ((π΄ β β0 β§ π΅ β β0) β (π΄ Β· π΅) = Ξ£π β (1...π΄)π΅) |
< Previous Next > |
Copyright terms: Public domain | < Previous Next > |