| Intuitionistic Logic Explorer Theorem List (p. 129 of 171) | < Previous Next > | |
| Browser slow? Try the
Unicode version. |
||
|
Mirrors > Metamath Home Page > ILE Home Page > Theorem List Contents > Recent Proofs This page: Page List |
||
| Type | Label | Description |
|---|---|---|
| Statement | ||
| Theorem | algrf 12801 |
An algorithm is a step function
The algorithm iterator
Domain and codomain of the algorithm iterator |
| Theorem | algrp1 12802 |
The value of the algorithm iterator |
| Theorem | alginv 12803* |
If |
| Theorem | algcvg 12804* |
One way to prove that an algorithm halts is to construct a countdown
function
If |
| Theorem | algcvgblem 12805 | Lemma for algcvgb 12806. (Contributed by Paul Chapman, 31-Mar-2011.) |
| Theorem | algcvgb 12806 |
Two ways of expressing that |
| Theorem | algcvga 12807* |
The countdown function |
| Theorem | algfx 12808* |
If |
| Theorem | eucalgval2 12809* |
The value of the step function |
| Theorem | eucalgval 12810* |
Euclid's Algorithm eucalg 12815 computes the greatest common divisor of two
nonnegative integers by repeatedly replacing the larger of them with its
remainder modulo the smaller until the remainder is 0.
The value of the step function |
| Theorem | eucalgf 12811* |
Domain and codomain of the step function |
| Theorem | eucalginv 12812* |
The invariant of the step function |
| Theorem | eucalglt 12813* |
The second member of the state decreases with each iteration of the step
function |
| Theorem | eucalgcvga 12814* |
Once Euclid's Algorithm halts after |
| Theorem | eucalg 12815* |
Euclid's Algorithm computes the greatest common divisor of two
nonnegative integers by repeatedly replacing the larger of them with its
remainder modulo the smaller until the remainder is 0. Theorem 1.15 in
[ApostolNT] p. 20.
Upon halting, the 1st member of the final state |
According to Wikipedia ("Least common multiple", 27-Aug-2020, https://en.wikipedia.org/wiki/Least_common_multiple): "In arithmetic and number theory, the least common multiple, lowest common multiple, or smallest common multiple of two integers a and b, usually denoted by lcm(a, b), is the smallest positive integer that is divisible by both a and b. Since division of integers by zero is undefined, this definition has meaning only if a and b are both different from zero. However, some authors define lcm(a,0) as 0 for all a, which is the result of taking the lcm to be the least upper bound in the lattice of divisibility." In this section, an operation calculating the least common multiple of two integers (df-lcm 12817). The definition is valid for all integers, including negative integers and 0, obeying the above mentioned convention. | ||
| Syntax | clcm 12816 | Extend the definition of a class to include the least common multiple operator. |
| Definition | df-lcm 12817* |
Define the lcm operator. For example, |
| Theorem | lcmmndc 12818 | Decidablity lemma used in various proofs related to lcm. (Contributed by Jim Kingdon, 21-Jan-2022.) |
| Theorem | lcmval 12819* |
Value of the lcm operator. |
| Theorem | lcmcom 12820 | The lcm operator is commutative. (Contributed by Steve Rodriguez, 20-Jan-2020.) (Proof shortened by AV, 16-Sep-2020.) |
| Theorem | lcm0val 12821 | The value, by convention, of the lcm operator when either operand is 0. (Use lcmcom 12820 for a left-hand 0.) (Contributed by Steve Rodriguez, 20-Jan-2020.) (Proof shortened by AV, 16-Sep-2020.) |
| Theorem | lcmn0val 12822* | The value of the lcm operator when both operands are nonzero. (Contributed by Steve Rodriguez, 20-Jan-2020.) (Revised by AV, 16-Sep-2020.) |
| Theorem | lcmcllem 12823* | Lemma for lcmn0cl 12824 and dvdslcm 12825. (Contributed by Steve Rodriguez, 20-Jan-2020.) (Proof shortened by AV, 16-Sep-2020.) |
| Theorem | lcmn0cl 12824 | Closure of the lcm operator. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | dvdslcm 12825 | The lcm of two integers is divisible by each of them. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | lcmledvds 12826 | A positive integer which both operands of the lcm operator divide bounds it. (Contributed by Steve Rodriguez, 20-Jan-2020.) (Proof shortened by AV, 16-Sep-2020.) |
| Theorem | lcmeq0 12827 | The lcm of two integers is zero iff either is zero. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | lcmcl 12828 | Closure of the lcm operator. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | gcddvdslcm 12829 | The greatest common divisor of two numbers divides their least common multiple. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | lcmneg 12830 | Negating one operand of the lcm operator does not alter the result. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | neglcm 12831 | Negating one operand of the lcm operator does not alter the result. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | lcmabs 12832 | The lcm of two integers is the same as that of their absolute values. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | lcmgcdlem 12833 |
Lemma for lcmgcd 12834 and lcmdvds 12835. Prove them for positive |
| Theorem | lcmgcd 12834 |
The product of two numbers' least common multiple and greatest common
divisor is the absolute value of the product of the two numbers. In
particular, that absolute value is the least common multiple of two
coprime numbers, for which
Multiple methods exist for proving this, and it is often proven either as
a consequence of the fundamental theorem of arithmetic or of
Bézout's identity bezout 12766; see, e.g.,
https://proofwiki.org/wiki/Product_of_GCD_and_LCM 12766 and
https://math.stackexchange.com/a/470827 12766. This proof uses the latter to
first confirm it for positive integers |
| Theorem | lcmdvds 12835 | The lcm of two integers divides any integer the two divide. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | lcmid 12836 | The lcm of an integer and itself is its absolute value. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | lcm1 12837 | The lcm of an integer and 1 is the absolute value of the integer. (Contributed by AV, 23-Aug-2020.) |
| Theorem | lcmgcdnn 12838 | The product of two positive integers' least common multiple and greatest common divisor is the product of the two integers. (Contributed by AV, 27-Aug-2020.) |
| Theorem | lcmgcdeq 12839 | Two integers' absolute values are equal iff their least common multiple and greatest common divisor are equal. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | lcmdvdsb 12840 | Biconditional form of lcmdvds 12835. (Contributed by Steve Rodriguez, 20-Jan-2020.) |
| Theorem | lcmass 12841 | Associative law for lcm operator. (Contributed by Steve Rodriguez, 20-Jan-2020.) (Proof shortened by AV, 16-Sep-2020.) |
| Theorem | 3lcm2e6woprm 12842 | The least common multiple of three and two is six. This proof does not use the property of 2 and 3 being prime. (Contributed by Steve Rodriguez, 20-Jan-2020.) (Revised by AV, 27-Aug-2020.) |
| Theorem | 6lcm4e12 12843 | The least common multiple of six and four is twelve. (Contributed by AV, 27-Aug-2020.) |
According to Wikipedia "Coprime integers",
see https://en.wikipedia.org/wiki/Coprime_integers
(16-Aug-2020) "[...] two
integers a and b are said to be relatively prime, mutually prime, or
coprime [...] if the only positive integer (factor) that divides both of
them is 1. Consequently, any prime number that divides one does not divide the
other. This is equivalent to their greatest common divisor (gcd) being
1.".
In the following, we use this equivalent characterization to say that
A proof of Euclid's lemma based on coprimality is provided in coprmdvds 12848 (as opposed to Euclid's lemma for primes). | ||
| Theorem | coprmgcdb 12844* | Two positive integers are coprime, i.e. the only positive integer that divides both of them is 1, iff their greatest common divisor is 1. (Contributed by AV, 9-Aug-2020.) |
| Theorem | ncoprmgcdne1b 12845* | Two positive integers are not coprime, i.e. there is an integer greater than 1 which divides both integers, iff their greatest common divisor is not 1. (Contributed by AV, 9-Aug-2020.) |
| Theorem | ncoprmgcdgt1b 12846* | Two positive integers are not coprime, i.e. there is an integer greater than 1 which divides both integers, iff their greatest common divisor is greater than 1. (Contributed by AV, 9-Aug-2020.) |
| Theorem | coprmdvds1 12847 | If two positive integers are coprime, i.e. their greatest common divisor is 1, the only positive integer that divides both of them is 1. (Contributed by AV, 4-Aug-2021.) |
| Theorem | coprmdvds 12848 | Euclid's Lemma (see ProofWiki "Euclid's Lemma", 10-Jul-2021, https://proofwiki.org/wiki/Euclid's_Lemma): If an integer divides the product of two integers and is coprime to one of them, then it divides the other. See also theorem 1.5 in [ApostolNT] p. 16. (Contributed by Paul Chapman, 22-Jun-2011.) (Proof shortened by AV, 10-Jul-2021.) |
| Theorem | coprmdvds2 12849 | If an integer is divisible by two coprime integers, then it is divisible by their product. (Contributed by Mario Carneiro, 24-Feb-2014.) |
| Theorem | mulgcddvds 12850 | One half of rpmulgcd2 12851, which does not need the coprimality assumption. (Contributed by Mario Carneiro, 2-Jul-2015.) |
| Theorem | rpmulgcd2 12851 |
If |
| Theorem | qredeq 12852 | Two equal reduced fractions have the same numerator and denominator. (Contributed by Jeff Hankins, 29-Sep-2013.) |
| Theorem | qredeu 12853* | Every rational number has a unique reduced form. (Contributed by Jeff Hankins, 29-Sep-2013.) |
| Theorem | rpmul 12854 |
If |
| Theorem | rpdvds 12855 |
If |
| Theorem | congr 12856* |
Definition of congruence by integer multiple (see ProofWiki "Congruence
(Number Theory)", 11-Jul-2021,
https://proofwiki.org/wiki/Definition:Congruence_(Number_Theory)):
An integer |
| Theorem | divgcdcoprm0 12857 | Integers divided by gcd are coprime. (Contributed by AV, 12-Jul-2021.) |
| Theorem | divgcdcoprmex 12858* | Integers divided by gcd are coprime (see ProofWiki "Integers Divided by GCD are Coprime", 11-Jul-2021, https://proofwiki.org/wiki/Integers_Divided_by_GCD_are_Coprime): Any pair of integers, not both zero, can be reduced to a pair of coprime ones by dividing them by their gcd. (Contributed by AV, 12-Jul-2021.) |
| Theorem | cncongr1 12859 | One direction of the bicondition in cncongr 12861. Theorem 5.4 in [ApostolNT] p. 109. (Contributed by AV, 13-Jul-2021.) |
| Theorem | cncongr2 12860 | The other direction of the bicondition in cncongr 12861. (Contributed by AV, 11-Jul-2021.) |
| Theorem | cncongr 12861 | Cancellability of Congruences (see ProofWiki "Cancellability of Congruences, https://proofwiki.org/wiki/Cancellability_of_Congruences, 10-Jul-2021): Two products with a common factor are congruent modulo a positive integer iff the other factors are congruent modulo the integer divided by the greates common divisor of the integer and the common factor. See also Theorem 5.4 "Cancellation law" in [ApostolNT] p. 109. (Contributed by AV, 13-Jul-2021.) |
| Theorem | cncongrcoprm 12862 | Corollary 1 of Cancellability of Congruences: Two products with a common factor are congruent modulo an integer being coprime to the common factor iff the other factors are congruent modulo the integer. (Contributed by AV, 13-Jul-2021.) |
Remark: to represent odd prime numbers, i.e., all prime numbers except | ||
| Syntax | cprime 12863 | Extend the definition of a class to include the set of prime numbers. |
| Definition | df-prm 12864* | Define the set of prime numbers. (Contributed by Paul Chapman, 22-Jun-2011.) |
| Theorem | isprm 12865* | The predicate "is a prime number". A prime number is a positive integer with exactly two positive divisors. (Contributed by Paul Chapman, 22-Jun-2011.) |
| Theorem | prmnn 12866 | A prime number is a positive integer. (Contributed by Paul Chapman, 22-Jun-2011.) |
| Theorem | prmz 12867 | A prime number is an integer. (Contributed by Paul Chapman, 22-Jun-2011.) (Proof shortened by Jonathan Yan, 16-Jul-2017.) |
| Theorem | prmssnn 12868 | The prime numbers are a subset of the positive integers. (Contributed by AV, 22-Jul-2020.) |
| Theorem | prmex 12869 | The set of prime numbers exists. (Contributed by AV, 22-Jul-2020.) |
| Theorem | 1nprm 12870 | 1 is not a prime number. (Contributed by Paul Chapman, 22-Jun-2011.) (Proof shortened by Fan Zheng, 3-Jul-2016.) |
| Theorem | 1idssfct 12871* | The positive divisors of a positive integer include 1 and itself. (Contributed by Paul Chapman, 22-Jun-2011.) |
| Theorem | isprm2lem 12872* | Lemma for isprm2 12873. (Contributed by Paul Chapman, 22-Jun-2011.) |
| Theorem | isprm2 12873* | The predicate "is a prime number". A prime number is an integer greater than or equal to 2 whose only positive divisors are 1 and itself. Definition in [ApostolNT] p. 16. (Contributed by Paul Chapman, 26-Oct-2012.) |
| Theorem | isprm3 12874* | The predicate "is a prime number". A prime number is an integer greater than or equal to 2 with no divisors strictly between 1 and itself. (Contributed by Paul Chapman, 26-Oct-2012.) |
| Theorem | isprm4 12875* | The predicate "is a prime number". A prime number is an integer greater than or equal to 2 whose only divisor greater than or equal to 2 is itself. (Contributed by Paul Chapman, 26-Oct-2012.) |
| Theorem | prmind2 12876* | A variation on prmind 12877 assuming complete induction for primes. (Contributed by Mario Carneiro, 20-Jun-2015.) |
| Theorem | prmind 12877* |
Perform induction over the multiplicative structure of |
| Theorem | dvdsprime 12878 |
If |
| Theorem | nprm 12879 | A product of two integers greater than one is composite. (Contributed by Mario Carneiro, 20-Jun-2015.) |
| Theorem | nprmi 12880 | An inference for compositeness. (Contributed by Mario Carneiro, 18-Feb-2014.) (Revised by Mario Carneiro, 20-Jun-2015.) |
| Theorem | dvdsnprmd 12881 | If a number is divisible by an integer greater than 1 and less then the number, the number is not prime. (Contributed by AV, 24-Jul-2021.) |
| Theorem | prm2orodd 12882 | A prime number is either 2 or odd. (Contributed by AV, 19-Jun-2021.) |
| Theorem | 2prm 12883 | 2 is a prime number. (Contributed by Paul Chapman, 22-Jun-2011.) (Proof shortened by Fan Zheng, 16-Jun-2016.) |
| Theorem | 3prm 12884 | 3 is a prime number. (Contributed by Paul Chapman, 22-Jun-2011.) |
| Theorem | 4nprm 12885 | 4 is not a prime number. (Contributed by Paul Chapman, 22-Jun-2011.) (Proof shortened by Mario Carneiro, 18-Feb-2014.) |
| Theorem | prmdc 12886 | Primality is decidable. (Contributed by Jim Kingdon, 30-Sep-2024.) |
| Theorem | prmuz2 12887 | A prime number is an integer greater than or equal to 2. (Contributed by Paul Chapman, 17-Nov-2012.) |
| Theorem | prmgt1 12888 | A prime number is an integer greater than 1. (Contributed by Alexander van der Vekens, 17-May-2018.) |
| Theorem | prmm2nn0 12889 | Subtracting 2 from a prime number results in a nonnegative integer. (Contributed by Alexander van der Vekens, 30-Aug-2018.) |
| Theorem | oddprmgt2 12890 | An odd prime is greater than 2. (Contributed by AV, 20-Aug-2021.) |
| Theorem | oddprmge3 12891 | An odd prime is greater than or equal to 3. (Contributed by Alexander van der Vekens, 7-Oct-2018.) (Revised by AV, 20-Aug-2021.) |
| Theorem | sqnprm 12892 | A square is never prime. (Contributed by Mario Carneiro, 20-Jun-2015.) |
| Theorem | dvdsprm 12893 | An integer greater than or equal to 2 divides a prime number iff it is equal to it. (Contributed by Paul Chapman, 26-Oct-2012.) |
| Theorem | exprmfct 12894* | Every integer greater than or equal to 2 has a prime factor. (Contributed by Paul Chapman, 26-Oct-2012.) (Proof shortened by Mario Carneiro, 20-Jun-2015.) |
| Theorem | prmdvdsfz 12895* | Each integer greater than 1 and less then or equal to a fixed number is divisible by a prime less then or equal to this fixed number. (Contributed by AV, 15-Aug-2020.) |
| Theorem | nprmdvds1 12896 | No prime number divides 1. (Contributed by Paul Chapman, 17-Nov-2012.) (Proof shortened by Mario Carneiro, 2-Jul-2015.) |
| Theorem | isprm5lem 12897* |
Lemma for isprm5 12898. The interesting direction (showing that
one only
needs to check prime divisors up to the square root of |
| Theorem | isprm5 12898* |
One need only check prime divisors of |
| Theorem | divgcdodd 12899 |
Either |
This section is about coprimality with respect to primes, and a special version of Euclid's lemma for primes is provided, see euclemma 12902. | ||
| Theorem | coprm 12900 | A prime number either divides an integer or is coprime to it, but not both. Theorem 1.8 in [ApostolNT] p. 17. (Contributed by Paul Chapman, 22-Jun-2011.) |
| < Previous Next > |
| Copyright terms: Public domain | < Previous Next > |