HomeHome Intuitionistic Logic Explorer
Theorem List (p. 102 of 105)
< Previous  Next >
Bad symbols? Try the
GIF version.

Mirrors  >  Metamath Home Page  >  ILE Home Page  >  Theorem List Contents  >  Recent Proofs       This page: Page List

Theorem List for Intuitionistic Logic Explorer - 10101-10200   *Has distinct variable group(s)
TypeLabelDescription
Statement
 
Theoremserif0 10101* If an infinite series converges, its underlying sequence converges to zero. (Contributed by NM, 2-Sep-2005.) (Revised by Mario Carneiro, 16-Feb-2014.)
𝑍 = (ℤ𝑀)    &   (𝜑𝑀 ∈ ℤ)    &   (𝜑𝐹𝑉)    &   (𝜑 → seq𝑀( + , 𝐹, ℂ) ∈ dom ⇝ )    &   ((𝜑𝑘𝑍) → (𝐹𝑘) ∈ ℂ)       (𝜑𝐹 ⇝ 0)
 
3.8.2  Finite and infinite sums
 
Syntaxcsu 10102 Extend class notation to include finite summations. (An underscore was added to the ASCII token in order to facilitate set.mm text searches, since "sum" is a commonly used word in comments.)
class Σ𝑘𝐴 𝐵
 
Definitiondf-sum 10103* Define the sum of a series with an index set of integers 𝐴. 𝑘 is normally a free variable in 𝐵, i.e. 𝐵 can be thought of as 𝐵(𝑘). This definition is the result of a collection of discussions over the most general definition for a sum that does not need the index set to have a specified ordering. This definition is in two parts, one for finite sums and one for subsets of the upper integers. When summing over a subset of the upper integers, we extend the index set to the upper integers by adding zero outside the domain, and then sum the set in order, setting the result to the limit of the partial sums, if it exists. This means that conditionally convergent sums can be evaluated meaningfully. For finite sums, we are explicitly order-independent, by picking any bijection to a 1-based finite sequence and summing in the induced order. These two methods of summation produce the same result on their common region of definition (i.e. finite subsets of the upper integers). Examples: Σ𝑘 ∈ {1, 2, 4} 𝑘 means 1 + 2 + 4 = 7, and Σ𝑘 ∈ ℕ (1 / (2↑𝑘)) = 1 means 1/2 + 1/4 + 1/8 + ... = 1. (Contributed by NM, 11-Dec-2005.) (Revised by Mario Carneiro, 13-Jun-2019.)
Σ𝑘𝐴 𝐵 = (℩𝑥(∃𝑚 ∈ ℤ (𝐴 ⊆ (ℤ𝑚) ∧ seq𝑚( + , (𝑛 ∈ ℤ ↦ if(𝑛𝐴, 𝑛 / 𝑘𝐵, 0)), ℂ) ⇝ 𝑥) ∨ ∃𝑚 ∈ ℕ ∃𝑓(𝑓:(1...𝑚)–1-1-onto𝐴𝑥 = (seq1( + , (𝑛 ∈ ℕ ↦ (𝑓𝑛) / 𝑘𝐵), ℂ)‘𝑚))))
 
Theoremsumeq1 10104 Equality theorem for a sum. (Contributed by NM, 11-Dec-2005.) (Revised by Mario Carneiro, 13-Jun-2019.)
(𝐴 = 𝐵 → Σ𝑘𝐴 𝐶 = Σ𝑘𝐵 𝐶)
 
Theoremnfsum1 10105 Bound-variable hypothesis builder for sum. (Contributed by NM, 11-Dec-2005.) (Revised by Mario Carneiro, 13-Jun-2019.)
𝑘𝐴       𝑘Σ𝑘𝐴 𝐵
 
Theoremnfsum 10106 Bound-variable hypothesis builder for sum: if 𝑥 is (effectively) not free in 𝐴 and 𝐵, it is not free in Σ𝑘𝐴𝐵. (Contributed by NM, 11-Dec-2005.) (Revised by Mario Carneiro, 13-Jun-2019.)
𝑥𝐴    &   𝑥𝐵       𝑥Σ𝑘𝐴 𝐵
 
PART 4  ELEMENTARY NUMBER THEORY

Here we introduce elementary number theory, in particular the elementary properties of divisibility and elementary prime number theory.

 
4.1  Elementary properties of divisibility
 
4.1.1  The divides relation
 
Syntaxcdvds 10107 Extend the definition of a class to include the divides relation. See df-dvds 10108.
class
 
Definitiondf-dvds 10108* Define the divides relation, see definition in [ApostolNT] p. 14. (Contributed by Paul Chapman, 21-Mar-2011.)
∥ = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) ∧ ∃𝑛 ∈ ℤ (𝑛 · 𝑥) = 𝑦)}
 
Theoremdivides 10109* Define the divides relation. 𝑀𝑁 means 𝑀 divides into 𝑁 with no remainder. For example, 3 ∥ 6 (ex-dvds 10269). As proven in dvdsval3 10111, 𝑀𝑁 ↔ (𝑁 mod 𝑀) = 0. See divides 10109 and dvdsval2 10110 for other equivalent expressions. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁 ↔ ∃𝑛 ∈ ℤ (𝑛 · 𝑀) = 𝑁))
 
Theoremdvdsval2 10110 One nonzero integer divides another integer if and only if their quotient is an integer. (Contributed by Jeff Hankins, 29-Sep-2013.)
((𝑀 ∈ ℤ ∧ 𝑀 ≠ 0 ∧ 𝑁 ∈ ℤ) → (𝑀𝑁 ↔ (𝑁 / 𝑀) ∈ ℤ))
 
Theoremdvdsval3 10111 One nonzero integer divides another integer if and only if the remainder upon division is zero, see remark in [ApostolNT] p. 106. (Contributed by Mario Carneiro, 22-Feb-2014.) (Revised by Mario Carneiro, 15-Jul-2014.)
((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁 ↔ (𝑁 mod 𝑀) = 0))
 
Theoremdvdszrcl 10112 Reverse closure for the divisibility relation. (Contributed by Stefan O'Rear, 5-Sep-2015.)
(𝑋𝑌 → (𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ))
 
Theoremnndivdvds 10113 Strong form of dvdsval2 10110 for positive integers. (Contributed by Stefan O'Rear, 13-Sep-2014.)
((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐵𝐴 ↔ (𝐴 / 𝐵) ∈ ℕ))
 
Theoremnndivides 10114* Definition of the divides relation for positive integers. (Contributed by AV, 26-Jul-2021.)
((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀𝑁 ↔ ∃𝑛 ∈ ℕ (𝑛 · 𝑀) = 𝑁))
 
Theoremdvdsdc 10115 Divisibility is decidable. (Contributed by Jim Kingdon, 14-Nov-2021.)
((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℤ) → DECID 𝑀𝑁)
 
Theoremmoddvds 10116 Two ways to say 𝐴𝐵 (mod 𝑁), see also definition in [ApostolNT] p. 106. (Contributed by Mario Carneiro, 18-Feb-2014.)
((𝑁 ∈ ℕ ∧ 𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → ((𝐴 mod 𝑁) = (𝐵 mod 𝑁) ↔ 𝑁 ∥ (𝐴𝐵)))
 
Theoremdvds0lem 10117 A lemma to assist theorems of with no antecedents. (Contributed by Paul Chapman, 21-Mar-2011.)
(((𝐾 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ (𝐾 · 𝑀) = 𝑁) → 𝑀𝑁)
 
Theoremdvds1lem 10118* A lemma to assist theorems of with one antecedent. (Contributed by Paul Chapman, 21-Mar-2011.)
(𝜑 → (𝐽 ∈ ℤ ∧ 𝐾 ∈ ℤ))    &   (𝜑 → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ))    &   ((𝜑𝑥 ∈ ℤ) → 𝑍 ∈ ℤ)    &   ((𝜑𝑥 ∈ ℤ) → ((𝑥 · 𝐽) = 𝐾 → (𝑍 · 𝑀) = 𝑁))       (𝜑 → (𝐽𝐾𝑀𝑁))
 
Theoremdvds2lem 10119* A lemma to assist theorems of with two antecedents. (Contributed by Paul Chapman, 21-Mar-2011.)
(𝜑 → (𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ))    &   (𝜑 → (𝐾 ∈ ℤ ∧ 𝐿 ∈ ℤ))    &   (𝜑 → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ))    &   ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑍 ∈ ℤ)    &   ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → (𝑍 · 𝑀) = 𝑁))       (𝜑 → ((𝐼𝐽𝐾𝐿) → 𝑀𝑁))
 
Theoremiddvds 10120 An integer divides itself. Theorem 1.1(a) in [ApostolNT] p. 14 (reflexive property of the divides relation). (Contributed by Paul Chapman, 21-Mar-2011.)
(𝑁 ∈ ℤ → 𝑁𝑁)
 
Theorem1dvds 10121 1 divides any integer. Theorem 1.1(f) in [ApostolNT] p. 14. (Contributed by Paul Chapman, 21-Mar-2011.)
(𝑁 ∈ ℤ → 1 ∥ 𝑁)
 
Theoremdvds0 10122 Any integer divides 0. Theorem 1.1(g) in [ApostolNT] p. 14. (Contributed by Paul Chapman, 21-Mar-2011.)
(𝑁 ∈ ℤ → 𝑁 ∥ 0)
 
Theoremnegdvdsb 10123 An integer divides another iff its negation does. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁 ↔ -𝑀𝑁))
 
Theoremdvdsnegb 10124 An integer divides another iff it divides its negation. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁𝑀 ∥ -𝑁))
 
Theoremabsdvdsb 10125 An integer divides another iff its absolute value does. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁 ↔ (abs‘𝑀) ∥ 𝑁))
 
Theoremdvdsabsb 10126 An integer divides another iff it divides its absolute value. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁𝑀 ∥ (abs‘𝑁)))
 
Theorem0dvds 10127 Only 0 is divisible by 0. Theorem 1.1(h) in [ApostolNT] p. 14. (Contributed by Paul Chapman, 21-Mar-2011.)
(𝑁 ∈ ℤ → (0 ∥ 𝑁𝑁 = 0))
 
Theoremdvdsmul1 10128 An integer divides a multiple of itself. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → 𝑀 ∥ (𝑀 · 𝑁))
 
Theoremdvdsmul2 10129 An integer divides a multiple of itself. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → 𝑁 ∥ (𝑀 · 𝑁))
 
Theoremiddvdsexp 10130 An integer divides a positive integer power of itself. (Contributed by Paul Chapman, 26-Oct-2012.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℕ) → 𝑀 ∥ (𝑀𝑁))
 
Theoremmuldvds1 10131 If a product divides an integer, so does one of its factors. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝐾 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝐾 · 𝑀) ∥ 𝑁𝐾𝑁))
 
Theoremmuldvds2 10132 If a product divides an integer, so does one of its factors. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝐾 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝐾 · 𝑀) ∥ 𝑁𝑀𝑁))
 
Theoremdvdscmul 10133 Multiplication by a constant maintains the divides relation. Theorem 1.1(d) in [ApostolNT] p. 14 (multiplication property of the divides relation). (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝐾 ∈ ℤ) → (𝑀𝑁 → (𝐾 · 𝑀) ∥ (𝐾 · 𝑁)))
 
Theoremdvdsmulc 10134 Multiplication by a constant maintains the divides relation. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝐾 ∈ ℤ) → (𝑀𝑁 → (𝑀 · 𝐾) ∥ (𝑁 · 𝐾)))
 
Theoremdvdscmulr 10135 Cancellation law for the divides relation. Theorem 1.1(e) in [ApostolNT] p. 14. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ (𝐾 ∈ ℤ ∧ 𝐾 ≠ 0)) → ((𝐾 · 𝑀) ∥ (𝐾 · 𝑁) ↔ 𝑀𝑁))
 
Theoremdvdsmulcr 10136 Cancellation law for the divides relation. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ (𝐾 ∈ ℤ ∧ 𝐾 ≠ 0)) → ((𝑀 · 𝐾) ∥ (𝑁 · 𝐾) ↔ 𝑀𝑁))
 
Theoremsummodnegmod 10137 The sum of two integers modulo a positive integer equals zero iff the first of the two integers equals the negative of the other integer modulo the positive integer. (Contributed by AV, 25-Jul-2021.)
((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝑁 ∈ ℕ) → (((𝐴 + 𝐵) mod 𝑁) = 0 ↔ (𝐴 mod 𝑁) = (-𝐵 mod 𝑁)))
 
Theoremmodmulconst 10138 Constant multiplication in a modulo operation, see theorem 5.3 in [ApostolNT] p. 108. (Contributed by AV, 21-Jul-2021.)
(((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐶 ∈ ℕ) ∧ 𝑀 ∈ ℕ) → ((𝐴 mod 𝑀) = (𝐵 mod 𝑀) ↔ ((𝐶 · 𝐴) mod (𝐶 · 𝑀)) = ((𝐶 · 𝐵) mod (𝐶 · 𝑀))))
 
Theoremdvds2ln 10139 If an integer divides each of two other integers, it divides any linear combination of them. Theorem 1.1(c) in [ApostolNT] p. 14 (linearity property of the divides relation). (Contributed by Paul Chapman, 21-Mar-2011.)
(((𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ) ∧ (𝐾 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) → ((𝐾𝑀𝐾𝑁) → 𝐾 ∥ ((𝐼 · 𝑀) + (𝐽 · 𝑁))))
 
Theoremdvds2add 10140 If an integer divides each of two other integers, it divides their sum. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝐾 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝐾𝑀𝐾𝑁) → 𝐾 ∥ (𝑀 + 𝑁)))
 
Theoremdvds2sub 10141 If an integer divides each of two other integers, it divides their difference. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝐾 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝐾𝑀𝐾𝑁) → 𝐾 ∥ (𝑀𝑁)))
 
Theoremdvds2subd 10142 Natural deduction form of dvds2sub 10141. (Contributed by Stanislas Polu, 9-Mar-2020.)
(𝜑𝐾 ∈ ℤ)    &   (𝜑𝐾𝑀)    &   (𝜑𝐾𝑁)    &   (𝜑𝑀 ∈ ℤ)    &   (𝜑𝑁 ∈ ℤ)       (𝜑𝐾 ∥ (𝑀𝑁))
 
Theoremdvdstr 10143 The divides relation is transitive. Theorem 1.1(b) in [ApostolNT] p. 14 (transitive property of the divides relation). (Contributed by Paul Chapman, 21-Mar-2011.)
((𝐾 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝐾𝑀𝑀𝑁) → 𝐾𝑁))
 
Theoremdvdsmultr1 10144 If an integer divides another, it divides a multiple of it. (Contributed by Paul Chapman, 17-Nov-2012.)
((𝐾 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾𝑀𝐾 ∥ (𝑀 · 𝑁)))
 
Theoremdvdsmultr1d 10145 Natural deduction form of dvdsmultr1 10144. (Contributed by Stanislas Polu, 9-Mar-2020.)
(𝜑𝐾 ∈ ℤ)    &   (𝜑𝑀 ∈ ℤ)    &   (𝜑𝑁 ∈ ℤ)    &   (𝜑𝐾𝑀)       (𝜑𝐾 ∥ (𝑀 · 𝑁))
 
Theoremdvdsmultr2 10146 If an integer divides another, it divides a multiple of it. (Contributed by Paul Chapman, 17-Nov-2012.)
((𝐾 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝐾𝑁𝐾 ∥ (𝑀 · 𝑁)))
 
Theoremordvdsmul 10147 If an integer divides either of two others, it divides their product. (Contributed by Paul Chapman, 17-Nov-2012.) (Proof shortened by Mario Carneiro, 17-Jul-2014.)
((𝐾 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝐾𝑀𝐾𝑁) → 𝐾 ∥ (𝑀 · 𝑁)))
 
Theoremdvdssub2 10148 If an integer divides a difference, then it divides one term iff it divides the other. (Contributed by Mario Carneiro, 13-Jul-2014.)
(((𝐾 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝐾 ∥ (𝑀𝑁)) → (𝐾𝑀𝐾𝑁))
 
Theoremdvdsadd 10149 An integer divides another iff it divides their sum. (Contributed by Paul Chapman, 31-Mar-2011.) (Revised by Mario Carneiro, 13-Jul-2014.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁𝑀 ∥ (𝑀 + 𝑁)))
 
Theoremdvdsaddr 10150 An integer divides another iff it divides their sum. (Contributed by Paul Chapman, 31-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁𝑀 ∥ (𝑁 + 𝑀)))
 
Theoremdvdssub 10151 An integer divides another iff it divides their difference. (Contributed by Paul Chapman, 31-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁𝑀 ∥ (𝑀𝑁)))
 
Theoremdvdssubr 10152 An integer divides another iff it divides their difference. (Contributed by Paul Chapman, 31-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁𝑀 ∥ (𝑁𝑀)))
 
Theoremdvdsadd2b 10153 Adding a multiple of the base does not affect divisibility. (Contributed by Stefan O'Rear, 23-Sep-2014.)
((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ (𝐶 ∈ ℤ ∧ 𝐴𝐶)) → (𝐴𝐵𝐴 ∥ (𝐶 + 𝐵)))
 
Theoremdvdslelemd 10154 Lemma for dvdsle 10155. (Contributed by Jim Kingdon, 8-Nov-2021.)
(𝜑𝑀 ∈ ℤ)    &   (𝜑𝑁 ∈ ℕ)    &   (𝜑𝐾 ∈ ℤ)    &   (𝜑𝑁 < 𝑀)       (𝜑 → (𝐾 · 𝑀) ≠ 𝑁)
 
Theoremdvdsle 10155 The divisors of a positive integer are bounded by it. The proof does not use /. (Contributed by Paul Chapman, 21-Mar-2011.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℕ) → (𝑀𝑁𝑀𝑁))
 
Theoremdvdsleabs 10156 The divisors of a nonzero integer are bounded by its absolute value. Theorem 1.1(i) in [ApostolNT] p. 14 (comparison property of the divides relation). (Contributed by Paul Chapman, 21-Mar-2011.) (Proof shortened by Fan Zheng, 3-Jul-2016.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (𝑀𝑁𝑀 ≤ (abs‘𝑁)))
 
Theoremdvdsleabs2 10157 Transfer divisibility to an order constraint on absolute values. (Contributed by Stefan O'Rear, 24-Sep-2014.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (𝑀𝑁 → (abs‘𝑀) ≤ (abs‘𝑁)))
 
Theoremdvdsabseq 10158 If two integers divide each other, they must be equal, up to a difference in sign. Theorem 1.1(j) in [ApostolNT] p. 14. (Contributed by Mario Carneiro, 30-May-2014.) (Revised by AV, 7-Aug-2021.)
((𝑀𝑁𝑁𝑀) → (abs‘𝑀) = (abs‘𝑁))
 
Theoremdvdseq 10159 If two nonnegative integers divide each other, they must be equal. (Contributed by Mario Carneiro, 30-May-2014.) (Proof shortened by AV, 7-Aug-2021.)
(((𝑀 ∈ ℕ0𝑁 ∈ ℕ0) ∧ (𝑀𝑁𝑁𝑀)) → 𝑀 = 𝑁)
 
Theoremdivconjdvds 10160 If a nonzero integer 𝑀 divides another integer 𝑁, the other integer 𝑁 divided by the nonzero integer 𝑀 (i.e. the divisor conjugate of 𝑁 to 𝑀) divides the other integer 𝑁. Theorem 1.1(k) in [ApostolNT] p. 14. (Contributed by AV, 7-Aug-2021.)
((𝑀𝑁𝑀 ≠ 0) → (𝑁 / 𝑀) ∥ 𝑁)
 
Theoremdvdsdivcl 10161* The complement of a divisor of 𝑁 is also a divisor of 𝑁. (Contributed by Mario Carneiro, 2-Jul-2015.) (Proof shortened by AV, 9-Aug-2021.)
((𝑁 ∈ ℕ ∧ 𝐴 ∈ {𝑥 ∈ ℕ ∣ 𝑥𝑁}) → (𝑁 / 𝐴) ∈ {𝑥 ∈ ℕ ∣ 𝑥𝑁})
 
Theoremdvdsflip 10162* An involution of the divisors of a number. (Contributed by Stefan O'Rear, 12-Sep-2015.) (Proof shortened by Mario Carneiro, 13-May-2016.)
𝐴 = {𝑥 ∈ ℕ ∣ 𝑥𝑁}    &   𝐹 = (𝑦𝐴 ↦ (𝑁 / 𝑦))       (𝑁 ∈ ℕ → 𝐹:𝐴1-1-onto𝐴)
 
Theoremdvdsssfz1 10163* The set of divisors of a number is a subset of a finite set. (Contributed by Mario Carneiro, 22-Sep-2014.)
(𝐴 ∈ ℕ → {𝑝 ∈ ℕ ∣ 𝑝𝐴} ⊆ (1...𝐴))
 
Theoremdvds1 10164 The only nonnegative integer that divides 1 is 1. (Contributed by Mario Carneiro, 2-Jul-2015.)
(𝑀 ∈ ℕ0 → (𝑀 ∥ 1 ↔ 𝑀 = 1))
 
Theoremalzdvds 10165* Only 0 is divisible by all integers. (Contributed by Paul Chapman, 21-Mar-2011.)
(𝑁 ∈ ℤ → (∀𝑥 ∈ ℤ 𝑥𝑁𝑁 = 0))
 
Theoremdvdsext 10166* Poset extensionality for division. (Contributed by Stefan O'Rear, 6-Sep-2015.)
((𝐴 ∈ ℕ0𝐵 ∈ ℕ0) → (𝐴 = 𝐵 ↔ ∀𝑥 ∈ ℕ0 (𝐴𝑥𝐵𝑥)))
 
Theoremfzm1ndvds 10167 No number between 1 and 𝑀 − 1 divides 𝑀. (Contributed by Mario Carneiro, 24-Jan-2015.)
((𝑀 ∈ ℕ ∧ 𝑁 ∈ (1...(𝑀 − 1))) → ¬ 𝑀𝑁)
 
Theoremfzo0dvdseq 10168 Zero is the only one of the first 𝐴 nonnegative integers that is divisible by 𝐴. (Contributed by Stefan O'Rear, 6-Sep-2015.)
(𝐵 ∈ (0..^𝐴) → (𝐴𝐵𝐵 = 0))
 
Theoremfzocongeq 10169 Two different elements of a half-open range are not congruent mod its length. (Contributed by Stefan O'Rear, 6-Sep-2015.)
((𝐴 ∈ (𝐶..^𝐷) ∧ 𝐵 ∈ (𝐶..^𝐷)) → ((𝐷𝐶) ∥ (𝐴𝐵) ↔ 𝐴 = 𝐵))
 
TheoremaddmodlteqALT 10170 Two nonnegative integers less than the modulus are equal iff the sums of these integer with another integer are equal modulo the modulus. Shorter proof of addmodlteq 9347 based on the "divides" relation. (Contributed by AV, 14-Mar-2021.) (New usage is discouraged.) (Proof modification is discouraged.)
((𝐼 ∈ (0..^𝑁) ∧ 𝐽 ∈ (0..^𝑁) ∧ 𝑆 ∈ ℤ) → (((𝐼 + 𝑆) mod 𝑁) = ((𝐽 + 𝑆) mod 𝑁) ↔ 𝐼 = 𝐽))
 
Theoremdvdsfac 10171 A positive integer divides any greater factorial. (Contributed by Paul Chapman, 28-Nov-2012.)
((𝐾 ∈ ℕ ∧ 𝑁 ∈ (ℤ𝐾)) → 𝐾 ∥ (!‘𝑁))
 
Theoremdvdsexp 10172 A power divides a power with a greater exponent. (Contributed by Mario Carneiro, 23-Feb-2014.)
((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℕ0𝑁 ∈ (ℤ𝑀)) → (𝐴𝑀) ∥ (𝐴𝑁))
 
Theoremdvdsmod 10173 Any number 𝐾 whose mod base 𝑁 is divisible by a divisor 𝑃 of the base is also divisible by 𝑃. This means that primes will also be relatively prime to the base when reduced mod 𝑁 for any base. (Contributed by Mario Carneiro, 13-Mar-2014.)
(((𝑃 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝐾 ∈ ℤ) ∧ 𝑃𝑁) → (𝑃 ∥ (𝐾 mod 𝑁) ↔ 𝑃𝐾))
 
Theoremmulmoddvds 10174 If an integer is divisible by a positive integer, the product of this integer with another integer modulo the positive integer is 0. (Contributed by Alexander van der Vekens, 30-Aug-2018.)
((𝑁 ∈ ℕ ∧ 𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝑁𝐴 → ((𝐴 · 𝐵) mod 𝑁) = 0))
 
Theorem3dvdsdec 10175 A decimal number is divisible by three iff the sum of its two "digits" is divisible by three. The term "digits" in its narrow sense is only correct if 𝐴 and 𝐵 actually are digits (i.e. nonnegative integers less than 10). However, this theorem holds for arbitrary nonnegative integers 𝐴 and 𝐵, especially if 𝐴 is itself a decimal number, e.g. 𝐴 = 𝐶𝐷. (Contributed by AV, 14-Jun-2021.) (Revised by AV, 8-Sep-2021.)
𝐴 ∈ ℕ0    &   𝐵 ∈ ℕ0       (3 ∥ 𝐴𝐵 ↔ 3 ∥ (𝐴 + 𝐵))
 
Theorem3dvds2dec 10176 A decimal number is divisible by three iff the sum of its three "digits" is divisible by three. The term "digits" in its narrow sense is only correct if 𝐴, 𝐵 and 𝐶 actually are digits (i.e. nonnegative integers less than 10). However, this theorem holds for arbitrary nonnegative integers 𝐴, 𝐵 and 𝐶. (Contributed by AV, 14-Jun-2021.) (Revised by AV, 1-Aug-2021.)
𝐴 ∈ ℕ0    &   𝐵 ∈ ℕ0    &   𝐶 ∈ ℕ0       (3 ∥ 𝐴𝐵𝐶 ↔ 3 ∥ ((𝐴 + 𝐵) + 𝐶))
 
4.1.2  Even and odd numbers

The set of integers can be partitioned into the set of even numbers and the set of odd numbers, see zeo4 10180. Instead of defining new class variables Even and Odd to represent these sets, we use the idiom 2 ∥ 𝑁 to say that "𝑁 is even" (which implies 𝑁 ∈ ℤ, see evenelz 10177) and ¬ 2 ∥ 𝑁 to say that "𝑁 is odd" (under the assumption that 𝑁 ∈ ℤ). The previously proven theorems about even and odd numbers, like zneo 8397, zeo 8401, zeo2 8402, etc. use different representations, which are equivalent with the representations using the divides relation, see evend2 10200 and oddp1d2 10201. The corresponding theorems are zeneo 10181, zeo3 10178 and zeo4 10180.

 
Theoremevenelz 10177 An even number is an integer. This follows immediately from the reverse closure of the divides relation, see dvdszrcl 10112. (Contributed by AV, 22-Jun-2021.)
(2 ∥ 𝑁𝑁 ∈ ℤ)
 
Theoremzeo3 10178 An integer is even or odd. (Contributed by AV, 17-Jun-2021.)
(𝑁 ∈ ℤ → (2 ∥ 𝑁 ∨ ¬ 2 ∥ 𝑁))
 
Theoremzeoxor 10179 An integer is even or odd but not both. (Contributed by Jim Kingdon, 10-Nov-2021.)
(𝑁 ∈ ℤ → (2 ∥ 𝑁 ⊻ ¬ 2 ∥ 𝑁))
 
Theoremzeo4 10180 An integer is even or odd but not both. (Contributed by AV, 17-Jun-2021.)
(𝑁 ∈ ℤ → (2 ∥ 𝑁 ↔ ¬ ¬ 2 ∥ 𝑁))
 
Theoremzeneo 10181 No even integer equals an odd integer (i.e. no integer can be both even and odd). Exercise 10(a) of [Apostol] p. 28. This variant of zneo 8397 follows immediately from the fact that a contradiction implies anything, see pm2.21i 585. (Contributed by AV, 22-Jun-2021.)
((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → ((2 ∥ 𝐴 ∧ ¬ 2 ∥ 𝐵) → 𝐴𝐵))
 
Theoremodd2np1lem 10182* Lemma for odd2np1 10183. (Contributed by Scott Fenton, 3-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
(𝑁 ∈ ℕ0 → (∃𝑛 ∈ ℤ ((2 · 𝑛) + 1) = 𝑁 ∨ ∃𝑘 ∈ ℤ (𝑘 · 2) = 𝑁))
 
Theoremodd2np1 10183* An integer is odd iff it is one plus twice another integer. (Contributed by Scott Fenton, 3-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
(𝑁 ∈ ℤ → (¬ 2 ∥ 𝑁 ↔ ∃𝑛 ∈ ℤ ((2 · 𝑛) + 1) = 𝑁))
 
Theoremeven2n 10184* An integer is even iff it is twice another integer. (Contributed by AV, 25-Jun-2020.)
(2 ∥ 𝑁 ↔ ∃𝑛 ∈ ℤ (2 · 𝑛) = 𝑁)
 
Theoremoddm1even 10185 An integer is odd iff its predecessor is even. (Contributed by Mario Carneiro, 5-Sep-2016.)
(𝑁 ∈ ℤ → (¬ 2 ∥ 𝑁 ↔ 2 ∥ (𝑁 − 1)))
 
Theoremoddp1even 10186 An integer is odd iff its successor is even. (Contributed by Mario Carneiro, 5-Sep-2016.)
(𝑁 ∈ ℤ → (¬ 2 ∥ 𝑁 ↔ 2 ∥ (𝑁 + 1)))
 
Theoremoexpneg 10187 The exponential of the negative of a number, when the exponent is odd. (Contributed by Mario Carneiro, 25-Apr-2015.)
((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ ∧ ¬ 2 ∥ 𝑁) → (-𝐴𝑁) = -(𝐴𝑁))
 
Theoremmod2eq0even 10188 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.)
(𝑁 ∈ ℤ → ((𝑁 mod 2) = 0 ↔ 2 ∥ 𝑁))
 
Theoremfz01or 10189 An integer is in the integer range from zero to one iff it is either zero or one. (Contributed by Jim Kingdon, 11-Nov-2021.)
(𝐴 ∈ (0...1) ↔ (𝐴 = 0 ∨ 𝐴 = 1))
 
Theoremmod2eq1n2dvds 10190 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.)
(𝑁 ∈ ℤ → ((𝑁 mod 2) = 1 ↔ ¬ 2 ∥ 𝑁))
 
Theoremoddnn02np1 10191* A nonnegative integer is odd iff it is one plus twice another nonnegative integer. (Contributed by AV, 19-Jun-2021.)
(𝑁 ∈ ℕ0 → (¬ 2 ∥ 𝑁 ↔ ∃𝑛 ∈ ℕ0 ((2 · 𝑛) + 1) = 𝑁))
 
Theoremoddge22np1 10192* An integer greater than one is odd iff it is one plus twice a positive integer. (Contributed by AV, 16-Aug-2021.)
(𝑁 ∈ (ℤ‘2) → (¬ 2 ∥ 𝑁 ↔ ∃𝑛 ∈ ℕ ((2 · 𝑛) + 1) = 𝑁))
 
Theoremevennn02n 10193* A nonnegative integer is even iff it is twice another nonnegative integer. (Contributed by AV, 12-Aug-2021.)
(𝑁 ∈ ℕ0 → (2 ∥ 𝑁 ↔ ∃𝑛 ∈ ℕ0 (2 · 𝑛) = 𝑁))
 
Theoremevennn2n 10194* A positive integer is even iff it is twice another positive integer. (Contributed by AV, 12-Aug-2021.)
(𝑁 ∈ ℕ → (2 ∥ 𝑁 ↔ ∃𝑛 ∈ ℕ (2 · 𝑛) = 𝑁))
 
Theorem2tp1odd 10195 A number which is twice an integer increased by 1 is odd. (Contributed by AV, 16-Jul-2021.)
((𝐴 ∈ ℤ ∧ 𝐵 = ((2 · 𝐴) + 1)) → ¬ 2 ∥ 𝐵)
 
Theoremmulsucdiv2z 10196 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.)
(𝑁 ∈ ℤ → ((𝑁 · (𝑁 + 1)) / 2) ∈ ℤ)
 
Theoremsqoddm1div8z 10197 A squared odd number minus 1 divided by 8 is an integer. (Contributed by AV, 19-Jul-2021.)
((𝑁 ∈ ℤ ∧ ¬ 2 ∥ 𝑁) → (((𝑁↑2) − 1) / 8) ∈ ℤ)
 
Theorem2teven 10198 A number which is twice an integer is even. (Contributed by AV, 16-Jul-2021.)
((𝐴 ∈ ℤ ∧ 𝐵 = (2 · 𝐴)) → 2 ∥ 𝐵)
 
Theoremzeo5 10199 An integer is either even or odd, version of zeo3 10178 avoiding the negation of the representation of an odd number. (Proposed by BJ, 21-Jun-2021.) (Contributed by AV, 26-Jun-2020.)
(𝑁 ∈ ℤ → (2 ∥ 𝑁 ∨ 2 ∥ (𝑁 + 1)))
 
Theoremevend2 10200 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 8401 and zeo2 8402. (Contributed by AV, 22-Jun-2021.)
(𝑁 ∈ ℤ → (2 ∥ 𝑁 ↔ (𝑁 / 2) ∈ ℤ))
    < Previous  Next >

Page List
Jump to page: Contents  1 1-100 2 101-200 3 201-300 4 301-400 5 401-500 6 501-600 7 601-700 8 701-800 9 801-900 10 901-1000 11 1001-1100 12 1101-1200 13 1201-1300 14 1301-1400 15 1401-1500 16 1501-1600 17 1601-1700 18 1701-1800 19 1801-1900 20 1901-2000 21 2001-2100 22 2101-2200 23 2201-2300 24 2301-2400 25 2401-2500 26 2501-2600 27 2601-2700 28 2701-2800 29 2801-2900 30 2901-3000 31 3001-3100 32 3101-3200 33 3201-3300 34 3301-3400 35 3401-3500 36 3501-3600 37 3601-3700 38 3701-3800 39 3801-3900 40 3901-4000 41 4001-4100 42 4101-4200 43 4201-4300 44 4301-4400 45 4401-4500 46 4501-4600 47 4601-4700 48 4701-4800 49 4801-4900 50 4901-5000 51 5001-5100 52 5101-5200 53 5201-5300 54 5301-5400 55 5401-5500 56 5501-5600 57 5601-5700 58 5701-5800 59 5801-5900 60 5901-6000 61 6001-6100 62 6101-6200 63 6201-6300 64 6301-6400 65 6401-6500 66 6501-6600 67 6601-6700 68 6701-6800 69 6801-6900 70 6901-7000 71 7001-7100 72 7101-7200 73 7201-7300 74 7301-7400 75 7401-7500 76 7501-7600 77 7601-7700 78 7701-7800 79 7801-7900 80 7901-8000 81 8001-8100 82 8101-8200 83 8201-8300 84 8301-8400 85 8401-8500 86 8501-8600 87 8601-8700 88 8701-8800 89 8801-8900 90 8901-9000 91 9001-9100 92 9101-9200 93 9201-9300 94 9301-9400 95 9401-9500 96 9501-9600 97 9601-9700 98 9701-9800 99 9801-9900 100 9901-10000 101 10001-10100 102 10101-10200 103 10201-10300 104 10301-10400 105 10401-10497
  Copyright terms: Public domain < Previous  Next >