Theorem List for Intuitionistic Logic Explorer - 12401-12500 *Has distinct variable
group(s)
| Type | Label | Description |
| Statement |
| |
| Theorem | oddm1even 12401 |
An integer is odd iff its predecessor is even. (Contributed by Mario
Carneiro, 5-Sep-2016.)
|
 
     |
| |
| Theorem | oddp1even 12402 |
An integer is odd iff its successor is even. (Contributed by Mario
Carneiro, 5-Sep-2016.)
|
 
     |
| |
| Theorem | oexpneg 12403 |
The exponential of the negative of a number, when the exponent is odd.
(Contributed by Mario Carneiro, 25-Apr-2015.)
|
               |
| |
| Theorem | mod2eq0even 12404 |
An integer is 0 modulo 2 iff it is even (i.e. divisible by 2), see example
2 in [ApostolNT] p. 107. (Contributed
by AV, 21-Jul-2021.)
|
   
   |
| |
| Theorem | mod2eq1n2dvds 12405 |
An integer is 1 modulo 2 iff it is odd (i.e. not divisible by 2), see
example 3 in [ApostolNT] p. 107.
(Contributed by AV, 24-May-2020.)
|
   
   |
| |
| Theorem | oddnn02np1 12406* |
A nonnegative integer is odd iff it is one plus twice another
nonnegative integer. (Contributed by AV, 19-Jun-2021.)
|
     
    |
| |
| Theorem | oddge22np1 12407* |
An integer greater than one is odd iff it is one plus twice a positive
integer. (Contributed by AV, 16-Aug-2021.)
|
         
    |
| |
| Theorem | evennn02n 12408* |
A nonnegative integer is even iff it is twice another nonnegative
integer. (Contributed by AV, 12-Aug-2021.)
|
        |
| |
| Theorem | evennn2n 12409* |
A positive integer is even iff it is twice another positive integer.
(Contributed by AV, 12-Aug-2021.)
|
        |
| |
| Theorem | 2tp1odd 12410 |
A number which is twice an integer increased by 1 is odd. (Contributed
by AV, 16-Jul-2021.)
|
    
 
  |
| |
| Theorem | mulsucdiv2z 12411 |
An integer multiplied with its successor divided by 2 yields an integer,
i.e. an integer multiplied with its successor is even. (Contributed by
AV, 19-Jul-2021.)
|
   
     |
| |
| Theorem | sqoddm1div8z 12412 |
A squared odd number minus 1 divided by 8 is an integer. (Contributed
by AV, 19-Jul-2021.)
|
  
          |
| |
| Theorem | 2teven 12413 |
A number which is twice an integer is even. (Contributed by AV,
16-Jul-2021.)
|
    
  |
| |
| Theorem | zeo5 12414 |
An integer is either even or odd, version of zeo3 12394
avoiding the negation
of the representation of an odd number. (Proposed by BJ, 21-Jun-2021.)
(Contributed by AV, 26-Jun-2020.)
|
 
     |
| |
| Theorem | evend2 12415 |
An integer is even iff its quotient with 2 is an integer. This is a
representation of even numbers without using the divides relation, see
zeo 9563 and zeo2 9564. (Contributed by AV, 22-Jun-2021.)
|
       |
| |
| Theorem | oddp1d2 12416 |
An integer is odd iff its successor divided by 2 is an integer. This is a
representation of odd numbers without using the divides relation, see
zeo 9563 and zeo2 9564. (Contributed by AV, 22-Jun-2021.)
|
    
    |
| |
| Theorem | zob 12417 |
Alternate characterizations of an odd number. (Contributed by AV,
7-Jun-2020.)
|
        
    |
| |
| Theorem | oddm1d2 12418 |
An integer is odd iff its predecessor divided by 2 is an integer. This is
another representation of odd numbers without using the divides relation.
(Contributed by AV, 18-Jun-2021.) (Proof shortened by AV,
22-Jun-2021.)
|
    
    |
| |
| Theorem | ltoddhalfle 12419 |
An integer is less than half of an odd number iff it is less than or
equal to the half of the predecessor of the odd number (which is an even
number). (Contributed by AV, 29-Jun-2021.)
|
             |
| |
| Theorem | halfleoddlt 12420 |
An integer is greater than half of an odd number iff it is greater than
or equal to the half of the odd number. (Contributed by AV,
1-Jul-2021.)
|
       
   |
| |
| Theorem | opoe 12421 |
The sum of two odds is even. (Contributed by Scott Fenton, 7-Apr-2014.)
(Revised by Mario Carneiro, 19-Apr-2014.)
|
    
 

   |
| |
| Theorem | omoe 12422 |
The difference of two odds is even. (Contributed by Scott Fenton,
7-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
|
    
 

   |
| |
| Theorem | opeo 12423 |
The sum of an odd and an even is odd. (Contributed by Scott Fenton,
7-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
|
    
 
    |
| |
| Theorem | omeo 12424 |
The difference of an odd and an even is odd. (Contributed by Scott
Fenton, 7-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
|
    
 
    |
| |
| Theorem | m1expe 12425 |
Exponentiation of -1 by an even power. Variant of m1expeven 10820.
(Contributed by AV, 25-Jun-2021.)
|
     
  |
| |
| Theorem | m1expo 12426 |
Exponentiation of -1 by an odd power. (Contributed by AV,
26-Jun-2021.)
|
  
        |
| |
| Theorem | m1exp1 12427 |
Exponentiation of negative one is one iff the exponent is even.
(Contributed by AV, 20-Jun-2021.)
|
      
   |
| |
| Theorem | nn0enne 12428 |
A positive integer is an even nonnegative integer iff it is an even
positive integer. (Contributed by AV, 30-May-2020.)
|
         |
| |
| Theorem | nn0ehalf 12429 |
The half of an even nonnegative integer is a nonnegative integer.
(Contributed by AV, 22-Jun-2020.) (Revised by AV, 28-Jun-2021.)
|
 
     |
| |
| Theorem | nnehalf 12430 |
The half of an even positive integer is a positive integer. (Contributed
by AV, 28-Jun-2021.)
|
       |
| |
| Theorem | nn0o1gt2 12431 |
An odd nonnegative integer is either 1 or greater than 2. (Contributed by
AV, 2-Jun-2020.)
|
    
      |
| |
| Theorem | nno 12432 |
An alternate characterization of an odd integer greater than 1.
(Contributed by AV, 2-Jun-2020.)
|
        
    
   |
| |
| Theorem | nn0o 12433 |
An alternate characterization of an odd nonnegative integer. (Contributed
by AV, 28-May-2020.) (Proof shortened by AV, 2-Jun-2020.)
|
    
    
   |
| |
| Theorem | nn0ob 12434 |
Alternate characterizations of an odd nonnegative integer. (Contributed
by AV, 4-Jun-2020.)
|
        
    |
| |
| Theorem | nn0oddm1d2 12435 |
A positive integer is odd iff its predecessor divided by 2 is a positive
integer. (Contributed by AV, 28-Jun-2021.)
|
    
    |
| |
| Theorem | nnoddm1d2 12436 |
A positive integer is odd iff its successor divided by 2 is a positive
integer. (Contributed by AV, 28-Jun-2021.)
|
    
    |
| |
| Theorem | z0even 12437 |
0 is even. (Contributed by AV, 11-Feb-2020.) (Revised by AV,
23-Jun-2021.)
|
 |
| |
| Theorem | n2dvds1 12438 |
2 does not divide 1 (common case). That means 1 is odd. (Contributed by
David A. Wheeler, 8-Dec-2018.)
|
 |
| |
| Theorem | n2dvdsm1 12439 |
2 does not divide -1. That means -1 is odd. (Contributed by AV,
15-Aug-2021.)
|
  |
| |
| Theorem | z2even 12440 |
2 is even. (Contributed by AV, 12-Feb-2020.) (Revised by AV,
23-Jun-2021.)
|
 |
| |
| Theorem | n2dvds3 12441 |
2 does not divide 3, i.e. 3 is an odd number. (Contributed by AV,
28-Feb-2021.)
|
 |
| |
| Theorem | z4even 12442 |
4 is an even number. (Contributed by AV, 23-Jul-2020.) (Revised by AV,
4-Jul-2021.)
|
 |
| |
| Theorem | 4dvdseven 12443 |
An integer which is divisible by 4 is an even integer. (Contributed by
AV, 4-Jul-2021.)
|

  |
| |
| 5.1.3 The division algorithm
|
| |
| Theorem | divalglemnn 12444* |
Lemma for divalg 12450. Existence for a positive denominator.
(Contributed by Jim Kingdon, 30-Nov-2021.)
|
     
      
    |
| |
| Theorem | divalglemqt 12445 |
Lemma for divalg 12450. The
case involved in
showing uniqueness.
(Contributed by Jim Kingdon, 5-Dec-2021.)
|
               
   
     |
| |
| Theorem | divalglemnqt 12446 |
Lemma for divalg 12450. The case
involved in showing uniqueness.
(Contributed by Jim Kingdon, 4-Dec-2021.)
|
                 
   
     |
| |
| Theorem | divalglemeunn 12447* |
Lemma for divalg 12450. Uniqueness for a positive denominator.
(Contributed by Jim Kingdon, 4-Dec-2021.)
|
     
           |
| |
| Theorem | divalglemex 12448* |
Lemma for divalg 12450. The quotient and remainder exist.
(Contributed by
Jim Kingdon, 30-Nov-2021.)
|
     
      
    |
| |
| Theorem | divalglemeuneg 12449* |
Lemma for divalg 12450. Uniqueness for a negative denominator.
(Contributed by Jim Kingdon, 4-Dec-2021.)
|
     
      
    |
| |
| Theorem | divalg 12450* |
The division algorithm (theorem). Dividing an integer by a
nonzero integer produces a (unique) quotient and a unique
remainder     . Theorem 1.14 in [ApostolNT]
p. 19. (Contributed by Paul Chapman, 21-Mar-2011.)
|
     
      
    |
| |
| Theorem | divalgb 12451* |
Express the division algorithm as stated in divalg 12450 in terms of
.
(Contributed by Paul Chapman, 31-Mar-2011.)
|
      
          
          |
| |
| Theorem | divalg2 12452* |
The division algorithm (theorem) for a positive divisor. (Contributed
by Paul Chapman, 21-Mar-2011.)
|
          |
| |
| Theorem | divalgmod 12453 |
The result of the operator satisfies the requirements for the
remainder in
the division algorithm for a positive divisor
(compare divalg2 12452 and divalgb 12451). This demonstration theorem
justifies the use of to yield an explicit remainder from this
point forward. (Contributed by Paul Chapman, 31-Mar-2011.) (Revised by
AV, 21-Aug-2021.)
|
    
  
       |
| |
| Theorem | divalgmodcl 12454 |
The result of the operator satisfies the requirements for the
remainder in the
division algorithm for a positive divisor. Variant
of divalgmod 12453. (Contributed by Stefan O'Rear,
17-Oct-2014.) (Proof
shortened by AV, 21-Aug-2021.)
|
      
      |
| |
| Theorem | modremain 12455* |
The result of the modulo operation is the remainder of the division
algorithm. (Contributed by AV, 19-Aug-2021.)
|
    
       
   |
| |
| Theorem | ndvdssub 12456 |
Corollary of the division algorithm. If an integer greater than
divides , then it does not divide
any of ,
...   . (Contributed by Paul
Chapman,
31-Mar-2011.)
|
    


    |
| |
| Theorem | ndvdsadd 12457 |
Corollary of the division algorithm. If an integer greater than
divides , then it does not divide
any of ,
...   . (Contributed by Paul
Chapman,
31-Mar-2011.)
|
    


    |
| |
| Theorem | ndvdsp1 12458 |
Special case of ndvdsadd 12457. If an integer greater than
divides , it does
not divide . (Contributed by Paul
Chapman, 31-Mar-2011.)
|
    
    |
| |
| Theorem | ndvdsi 12459 |
A quick test for non-divisibility. (Contributed by Mario Carneiro,
18-Feb-2014.)
|
  
  |
| |
| Theorem | 5ndvds3 12460 |
5 does not divide 3. (Contributed by AV, 8-Sep-2025.)
|
 |
| |
| Theorem | 5ndvds6 12461 |
5 does not divide 6. (Contributed by AV, 8-Sep-2025.)
|
 |
| |
| Theorem | flodddiv4 12462 |
The floor of an odd integer divided by 4. (Contributed by AV,
17-Jun-2021.)
|
    
 
                   |
| |
| Theorem | fldivndvdslt 12463 |
The floor of an integer divided by a nonzero integer not dividing the
first integer is less than the integer divided by the positive integer.
(Contributed by AV, 4-Jul-2021.)
|
   

     
    |
| |
| Theorem | flodddiv4lt 12464 |
The floor of an odd number divided by 4 is less than the odd number
divided by 4. (Contributed by AV, 4-Jul-2021.)
|
  
          |
| |
| Theorem | flodddiv4t2lthalf 12465 |
The floor of an odd number divided by 4, multiplied by 2 is less than the
half of the odd number. (Contributed by AV, 4-Jul-2021.)
|
  
            |
| |
| 5.1.4 Bit sequences
|
| |
| Syntax | cbits 12466 |
Define the binary bits of an integer.
|
bits |
| |
| Definition | df-bits 12467* |
Define the binary bits of an integer. The expression
bits  means that
the -th bit of is 1 (and
its negation means the bit is 0). (Contributed by Mario Carneiro,
4-Sep-2016.)
|
bits  
             |
| |
| Theorem | bitsfval 12468* |
Expand the definition of the bits of an integer. (Contributed by Mario
Carneiro, 5-Sep-2016.)
|
 bits                |
| |
| Theorem | bitsval 12469 |
Expand the definition of the bits of an integer. (Contributed by Mario
Carneiro, 5-Sep-2016.)
|
 bits                |
| |
| Theorem | bitsval2 12470 |
Expand the definition of the bits of an integer. (Contributed by Mario
Carneiro, 5-Sep-2016.)
|
    bits               |
| |
| Theorem | bitsss 12471 |
The set of bits of an integer is a subset of . (Contributed by
Mario Carneiro, 5-Sep-2016.)
|
bits   |
| |
| Theorem | bitsf 12472 |
The bits function is a function from integers to subsets of
nonnegative integers. (Contributed by Mario Carneiro, 5-Sep-2016.)
|
bits     |
| |
| Theorem | bitsdc 12473 |
Whether a bit is set is decidable. (Contributed by Jim Kingdon,
31-Oct-2025.)
|
   DECID
bits    |
| |
| Theorem | bits0 12474 |
Value of the zeroth bit. (Contributed by Mario Carneiro, 5-Sep-2016.)
|
  bits     |
| |
| Theorem | bits0e 12475 |
The zeroth bit of an even number is zero. (Contributed by Mario Carneiro,
5-Sep-2016.)
|
 bits      |
| |
| Theorem | bits0o 12476 |
The zeroth bit of an odd number is one. (Contributed by Mario Carneiro,
5-Sep-2016.)
|
 bits        |
| |
| Theorem | bitsp1 12477 |
The -th bit of is the -th bit of    .
(Contributed by Mario Carneiro, 5-Sep-2016.)
|
      bits  bits           |
| |
| Theorem | bitsp1e 12478 |
The -th bit of  is
the -th bit of .
(Contributed by Mario Carneiro, 5-Sep-2016.)
|
      bits   
bits     |
| |
| Theorem | bitsp1o 12479 |
The -th bit of 
is the -th bit of .
(Contributed by Mario Carneiro, 5-Sep-2016.)
|
      bits     
bits     |
| |
| Theorem | bitsfzolem 12480* |
Lemma for bitsfzo 12481. (Contributed by Mario Carneiro,
5-Sep-2016.)
(Revised by AV, 1-Oct-2020.)
|
     bits   ..^ 
inf           ..^       |
| |
| Theorem | bitsfzo 12481 |
The bits of a number are all at positions less than iff the number
is nonnegative and less than   . (Contributed by Mario
Carneiro, 5-Sep-2016.) (Proof shortened by AV, 1-Oct-2020.)
|
     ..^     bits   ..^    |
| |
| Theorem | bitsmod 12482 |
Truncating the bit sequence after some is equivalent to reducing
the argument   . (Contributed by Mario Carneiro,
6-Sep-2016.)
|
   bits         bits 
 ..^    |
| |
| Theorem | bitsfi 12483 |
Every number is associated with a finite set of bits. (Contributed by
Mario Carneiro, 5-Sep-2016.)
|
 bits    |
| |
| Theorem | bitscmp 12484 |
The bit complement of
is  . (Thus, by bitsfi 12483, all
negative numbers have cofinite bits representations.) (Contributed
by Mario Carneiro, 5-Sep-2016.)
|
  bits   bits       |
| |
| Theorem | 0bits 12485 |
The bits of zero. (Contributed by Mario Carneiro, 6-Sep-2016.)
|
bits   |
| |
| Theorem | m1bits 12486 |
The bits of negative one. (Contributed by Mario Carneiro, 5-Sep-2016.)
|
bits    |
| |
| Theorem | bitsinv1lem 12487 |
Lemma for bitsinv1 12488. (Contributed by Mario Carneiro,
22-Sep-2016.)
|
       
           
bits  
         |
| |
| Theorem | bitsinv1 12488* |
There is an explicit inverse to the bits function for nonnegative
integers (which can be extended to negative integers using bitscmp 12484),
part 1. (Contributed by Mario Carneiro, 7-Sep-2016.)
|
  bits         |
| |
| 5.1.5 The greatest common divisor
operator
|
| |
| Syntax | cgcd 12489 |
Extend the definition of a class to include the greatest common divisor
operator.
|
 |
| |
| Definition | df-gcd 12490* |
Define the
operator. For example,   
(ex-gcd 16150). (Contributed by Paul Chapman,
21-Mar-2011.)
|
          

       |
| |
| Theorem | gcdmndc 12491 |
Decidablity lemma used in various proofs related to .
(Contributed by Jim Kingdon, 12-Dec-2021.)
|
   DECID     |
| |
| Theorem | dvdsbnd 12492* |
There is an upper bound to the divisors of a nonzero integer.
(Contributed by Jim Kingdon, 11-Dec-2021.)
|
  
     
  |
| |
| Theorem | gcdsupex 12493* |
Existence of the supremum used in defining . (Contributed by
Jim Kingdon, 12-Dec-2021.)
|
    
 
    
 
 
  
       |
| |
| Theorem | gcdsupcl 12494* |
Closure of the supremum used in defining . A lemma for gcdval 12495
and gcdn0cl 12498. (Contributed by Jim Kingdon, 11-Dec-2021.)
|
    
 
  

      |
| |
| Theorem | gcdval 12495* |
The value of the
operator.   is the greatest
common divisor of and . If
and are both ,
the result is defined conventionally as . (Contributed by Paul
Chapman, 21-Mar-2011.) (Revised by Mario Carneiro, 10-Nov-2013.)
|
                      |
| |
| Theorem | gcd0val 12496 |
The value, by convention, of the operator when both operands are
0. (Contributed by Paul Chapman, 21-Mar-2011.)
|
   |
| |
| Theorem | gcdn0val 12497* |
The value of the
operator when at least one operand is nonzero.
(Contributed by Paul Chapman, 21-Mar-2011.)
|
    
 
     
      |
| |
| Theorem | gcdn0cl 12498 |
Closure of the
operator. (Contributed by Paul Chapman,
21-Mar-2011.)
|
    
 
    |
| |
| Theorem | gcddvds 12499 |
The gcd of two integers divides each of them. (Contributed by Paul
Chapman, 21-Mar-2011.)
|
           |
| |
| Theorem | dvdslegcd 12500 |
An integer which divides both operands of the operator is
bounded by it. (Contributed by Paul Chapman, 21-Mar-2011.)
|
   

 
        |