Theorem List for Intuitionistic Logic Explorer - 9601-9700   *Has distinct variable
 group(s)
| Type | Label | Description | 
| Statement | 
|   | 
| 4.4.11  Upper sets of integers
 | 
|   | 
| Syntax | cuz 9601 | 
Extend class notation with the upper integer function.
     Read "ℤ≥‘𝑀 " as "the set of integers
greater than or equal to
     𝑀".
 | 
| class ℤ≥ | 
|   | 
| Definition | df-uz 9602* | 
Define a function whose value at 𝑗 is the semi-infinite set of
       contiguous integers starting at 𝑗, which we will also call the
       upper integers starting at 𝑗.  Read "ℤ≥‘𝑀 " as "the set
       of integers greater than or equal to 𝑀".  See uzval 9603 for its
       value, uzssz 9621 for its relationship to ℤ, nnuz 9637 and nn0uz 9636 for
       its relationships to ℕ and ℕ0, and eluz1 9605 and eluz2 9607 for
       its membership relations.  (Contributed by NM, 5-Sep-2005.)
 | 
| ⊢ ℤ≥ = (𝑗 ∈ ℤ ↦ {𝑘 ∈ ℤ ∣ 𝑗 ≤ 𝑘}) | 
|   | 
| Theorem | uzval 9603* | 
The value of the upper integers function.  (Contributed by NM,
       5-Sep-2005.)  (Revised by Mario Carneiro, 3-Nov-2013.)
 | 
| ⊢ (𝑁 ∈ ℤ →
 (ℤ≥‘𝑁) = {𝑘 ∈ ℤ ∣ 𝑁 ≤ 𝑘}) | 
|   | 
| Theorem | uzf 9604 | 
The domain and codomain of the upper integers function.  (Contributed by
       Scott Fenton, 8-Aug-2013.)  (Revised by Mario Carneiro, 3-Nov-2013.)
 | 
| ⊢
 ℤ≥:ℤ⟶𝒫
 ℤ | 
|   | 
| Theorem | eluz1 9605 | 
Membership in the upper set of integers starting at 𝑀.
       (Contributed by NM, 5-Sep-2005.)
 | 
| ⊢ (𝑀 ∈ ℤ → (𝑁 ∈ (ℤ≥‘𝑀) ↔ (𝑁 ∈ ℤ ∧ 𝑀 ≤ 𝑁))) | 
|   | 
| Theorem | eluzel2 9606 | 
Implication of membership in an upper set of integers.  (Contributed by
       NM, 6-Sep-2005.)  (Revised by Mario Carneiro, 3-Nov-2013.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝑀 ∈ ℤ) | 
|   | 
| Theorem | eluz2 9607 | 
Membership in an upper set of integers.  We use the fact that a
       function's value (under our function value definition) is empty outside
       of its domain to show 𝑀 ∈ ℤ.  (Contributed by NM,
5-Sep-2005.)
       (Revised by Mario Carneiro, 3-Nov-2013.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) ↔ (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑀 ≤ 𝑁)) | 
|   | 
| Theorem | eluz1i 9608 | 
Membership in an upper set of integers.  (Contributed by NM,
       5-Sep-2005.)
 | 
| ⊢ 𝑀 ∈ ℤ   
 ⇒   ⊢ (𝑁 ∈ (ℤ≥‘𝑀) ↔ (𝑁 ∈ ℤ ∧ 𝑀 ≤ 𝑁)) | 
|   | 
| Theorem | eluzuzle 9609 | 
An integer in an upper set of integers is an element of an upper set of
     integers with a smaller bound.  (Contributed by Alexander van der Vekens,
     17-Jun-2018.)
 | 
| ⊢ ((𝐵 ∈ ℤ ∧ 𝐵 ≤ 𝐴) → (𝐶 ∈ (ℤ≥‘𝐴) → 𝐶 ∈ (ℤ≥‘𝐵))) | 
|   | 
| Theorem | eluzelz 9610 | 
A member of an upper set of integers is an integer.  (Contributed by NM,
     6-Sep-2005.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ ℤ) | 
|   | 
| Theorem | eluzelre 9611 | 
A member of an upper set of integers is a real.  (Contributed by Mario
     Carneiro, 31-Aug-2013.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ ℝ) | 
|   | 
| Theorem | eluzelcn 9612 | 
A member of an upper set of integers is a complex number.  (Contributed by
     Glauco Siliprandi, 29-Jun-2017.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ ℂ) | 
|   | 
| Theorem | eluzle 9613 | 
Implication of membership in an upper set of integers.  (Contributed by
     NM, 6-Sep-2005.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝑀 ≤ 𝑁) | 
|   | 
| Theorem | eluz 9614 | 
Membership in an upper set of integers.  (Contributed by NM,
     2-Oct-2005.)
 | 
| ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ≥‘𝑀) ↔ 𝑀 ≤ 𝑁)) | 
|   | 
| Theorem | uzid 9615 | 
Membership of the least member in an upper set of integers.  (Contributed
     by NM, 2-Sep-2005.)
 | 
| ⊢ (𝑀 ∈ ℤ → 𝑀 ∈ (ℤ≥‘𝑀)) | 
|   | 
| Theorem | uzidd 9616 | 
Membership of the least member in an upper set of integers.
       (Contributed by Glauco Siliprandi, 23-Oct-2021.)
 | 
| ⊢ (𝜑 → 𝑀 ∈ ℤ)   
 ⇒   ⊢ (𝜑 → 𝑀 ∈ (ℤ≥‘𝑀)) | 
|   | 
| Theorem | uzn0 9617 | 
The upper integers are all nonempty.  (Contributed by Mario Carneiro,
       16-Jan-2014.)
 | 
| ⊢ (𝑀 ∈ ran ℤ≥ →
 𝑀 ≠
 ∅) | 
|   | 
| Theorem | uztrn 9618 | 
Transitive law for sets of upper integers.  (Contributed by NM,
     20-Sep-2005.)
 | 
| ⊢ ((𝑀 ∈ (ℤ≥‘𝐾) ∧ 𝐾 ∈ (ℤ≥‘𝑁)) → 𝑀 ∈ (ℤ≥‘𝑁)) | 
|   | 
| Theorem | uztrn2 9619 | 
Transitive law for sets of upper integers.  (Contributed by Mario
       Carneiro, 26-Dec-2013.)
 | 
| ⊢ 𝑍 = (ℤ≥‘𝐾)   
 ⇒   ⊢ ((𝑁 ∈ 𝑍 ∧ 𝑀 ∈ (ℤ≥‘𝑁)) → 𝑀 ∈ 𝑍) | 
|   | 
| Theorem | uzneg 9620 | 
Contraposition law for upper integers.  (Contributed by NM,
     28-Nov-2005.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → -𝑀 ∈
 (ℤ≥‘-𝑁)) | 
|   | 
| Theorem | uzssz 9621 | 
An upper set of integers is a subset of all integers.  (Contributed by
       NM, 2-Sep-2005.)  (Revised by Mario Carneiro, 3-Nov-2013.)
 | 
| ⊢ (ℤ≥‘𝑀) ⊆
 ℤ | 
|   | 
| Theorem | uzss 9622 | 
Subset relationship for two sets of upper integers.  (Contributed by NM,
       5-Sep-2005.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) →
 (ℤ≥‘𝑁) ⊆
 (ℤ≥‘𝑀)) | 
|   | 
| Theorem | uztric 9623 | 
Trichotomy of the ordering relation on integers, stated in terms of upper
     integers.  (Contributed by NM, 6-Jul-2005.)  (Revised by Mario Carneiro,
     25-Jun-2013.)
 | 
| ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈ (ℤ≥‘𝑀) ∨ 𝑀 ∈ (ℤ≥‘𝑁))) | 
|   | 
| Theorem | uz11 9624 | 
The upper integers function is one-to-one.  (Contributed by NM,
     12-Dec-2005.)
 | 
| ⊢ (𝑀 ∈ ℤ →
 ((ℤ≥‘𝑀) = (ℤ≥‘𝑁) ↔ 𝑀 = 𝑁)) | 
|   | 
| Theorem | eluzp1m1 9625 | 
Membership in the next upper set of integers.  (Contributed by NM,
     12-Sep-2005.)
 | 
| ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈
 (ℤ≥‘(𝑀 + 1))) → (𝑁 − 1) ∈
 (ℤ≥‘𝑀)) | 
|   | 
| Theorem | eluzp1l 9626 | 
Strict ordering implied by membership in the next upper set of integers.
     (Contributed by NM, 12-Sep-2005.)
 | 
| ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈
 (ℤ≥‘(𝑀 + 1))) → 𝑀 < 𝑁) | 
|   | 
| Theorem | eluzp1p1 9627 | 
Membership in the next upper set of integers.  (Contributed by NM,
     5-Oct-2005.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → (𝑁 + 1) ∈
 (ℤ≥‘(𝑀 + 1))) | 
|   | 
| Theorem | eluzaddi 9628 | 
Membership in a later upper set of integers.  (Contributed by Paul
       Chapman, 22-Nov-2007.)
 | 
| ⊢ 𝑀 ∈ ℤ    &   ⊢ 𝐾 ∈
 ℤ    ⇒   ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → (𝑁 + 𝐾) ∈
 (ℤ≥‘(𝑀 + 𝐾))) | 
|   | 
| Theorem | eluzsubi 9629 | 
Membership in an earlier upper set of integers.  (Contributed by Paul
       Chapman, 22-Nov-2007.)
 | 
| ⊢ 𝑀 ∈ ℤ    &   ⊢ 𝐾 ∈
 ℤ    ⇒   ⊢ (𝑁 ∈
 (ℤ≥‘(𝑀 + 𝐾)) → (𝑁 − 𝐾) ∈
 (ℤ≥‘𝑀)) | 
|   | 
| Theorem | eluzadd 9630 | 
Membership in a later upper set of integers.  (Contributed by Jeff Madsen,
     2-Sep-2009.)
 | 
| ⊢ ((𝑁 ∈ (ℤ≥‘𝑀) ∧ 𝐾 ∈ ℤ) → (𝑁 + 𝐾) ∈
 (ℤ≥‘(𝑀 + 𝐾))) | 
|   | 
| Theorem | eluzsub 9631 | 
Membership in an earlier upper set of integers.  (Contributed by Jeff
     Madsen, 2-Sep-2009.)
 | 
| ⊢ ((𝑀 ∈ ℤ ∧ 𝐾 ∈ ℤ ∧ 𝑁 ∈
 (ℤ≥‘(𝑀 + 𝐾))) → (𝑁 − 𝐾) ∈
 (ℤ≥‘𝑀)) | 
|   | 
| Theorem | uzm1 9632 | 
Choices for an element of an upper interval of integers.  (Contributed by
     Jeff Madsen, 2-Sep-2009.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → (𝑁 = 𝑀 ∨ (𝑁 − 1) ∈
 (ℤ≥‘𝑀))) | 
|   | 
| Theorem | uznn0sub 9633 | 
The nonnegative difference of integers is a nonnegative integer.
     (Contributed by NM, 4-Sep-2005.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → (𝑁 − 𝑀) ∈
 ℕ0) | 
|   | 
| Theorem | uzin 9634 | 
Intersection of two upper intervals of integers.  (Contributed by Mario
     Carneiro, 24-Dec-2013.)
 | 
| ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) →
 ((ℤ≥‘𝑀) ∩ (ℤ≥‘𝑁)) =
 (ℤ≥‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) | 
|   | 
| Theorem | uzp1 9635 | 
Choices for an element of an upper interval of integers.  (Contributed by
     Jeff Madsen, 2-Sep-2009.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → (𝑁 = 𝑀 ∨ 𝑁 ∈
 (ℤ≥‘(𝑀 + 1)))) | 
|   | 
| Theorem | nn0uz 9636 | 
Nonnegative integers expressed as an upper set of integers.  (Contributed
     by NM, 2-Sep-2005.)
 | 
| ⊢ ℕ0 =
 (ℤ≥‘0) | 
|   | 
| Theorem | nnuz 9637 | 
Positive integers expressed as an upper set of integers.  (Contributed by
     NM, 2-Sep-2005.)
 | 
| ⊢ ℕ =
 (ℤ≥‘1) | 
|   | 
| Theorem | elnnuz 9638 | 
A positive integer expressed as a member of an upper set of integers.
     (Contributed by NM, 6-Jun-2006.)
 | 
| ⊢ (𝑁 ∈ ℕ ↔ 𝑁 ∈
 (ℤ≥‘1)) | 
|   | 
| Theorem | elnn0uz 9639 | 
A nonnegative integer expressed as a member an upper set of integers.
     (Contributed by NM, 6-Jun-2006.)
 | 
| ⊢ (𝑁 ∈ ℕ0 ↔ 𝑁 ∈
 (ℤ≥‘0)) | 
|   | 
| Theorem | eluz2nn 9640 | 
An integer is greater than or equal to 2 is a positive integer.
     (Contributed by AV, 3-Nov-2018.)
 | 
| ⊢ (𝐴 ∈ (ℤ≥‘2)
 → 𝐴 ∈
 ℕ) | 
|   | 
| Theorem | eluz4eluz2 9641 | 
An integer greater than or equal to 4 is an integer greater than or equal
     to 2.  (Contributed by AV, 30-May-2023.)
 | 
| ⊢ (𝑋 ∈ (ℤ≥‘4)
 → 𝑋 ∈
 (ℤ≥‘2)) | 
|   | 
| Theorem | eluz4nn 9642 | 
An integer greater than or equal to 4 is a positive integer.  (Contributed
     by AV, 30-May-2023.)
 | 
| ⊢ (𝑋 ∈ (ℤ≥‘4)
 → 𝑋 ∈
 ℕ) | 
|   | 
| Theorem | eluzge2nn0 9643 | 
If an integer is greater than or equal to 2, then it is a nonnegative
     integer.  (Contributed by AV, 27-Aug-2018.)  (Proof shortened by AV,
     3-Nov-2018.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘2)
 → 𝑁 ∈
 ℕ0) | 
|   | 
| Theorem | eluz2n0 9644 | 
An integer greater than or equal to 2 is not 0.  (Contributed by AV,
     25-May-2020.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘2)
 → 𝑁 ≠
 0) | 
|   | 
| Theorem | uzuzle23 9645 | 
An integer in the upper set of integers starting at 3 is element of the
     upper set of integers starting at 2.  (Contributed by Alexander van der
     Vekens, 17-Sep-2018.)
 | 
| ⊢ (𝐴 ∈ (ℤ≥‘3)
 → 𝐴 ∈
 (ℤ≥‘2)) | 
|   | 
| Theorem | eluzge3nn 9646 | 
If an integer is greater than 3, then it is a positive integer.
     (Contributed by Alexander van der Vekens, 17-Sep-2018.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘3)
 → 𝑁 ∈
 ℕ) | 
|   | 
| Theorem | uz3m2nn 9647 | 
An integer greater than or equal to 3 decreased by 2 is a positive
     integer.  (Contributed by Alexander van der Vekens, 17-Sep-2018.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘3)
 → (𝑁 − 2)
 ∈ ℕ) | 
|   | 
| Theorem | 1eluzge0 9648 | 
1 is an integer greater than or equal to 0.  (Contributed by Alexander van
     der Vekens, 8-Jun-2018.)
 | 
| ⊢ 1 ∈
 (ℤ≥‘0) | 
|   | 
| Theorem | 2eluzge0 9649 | 
2 is an integer greater than or equal to 0.  (Contributed by Alexander van
     der Vekens, 8-Jun-2018.)  (Proof shortened by OpenAI, 25-Mar-2020.)
 | 
| ⊢ 2 ∈
 (ℤ≥‘0) | 
|   | 
| Theorem | 2eluzge1 9650 | 
2 is an integer greater than or equal to 1.  (Contributed by Alexander van
     der Vekens, 8-Jun-2018.)
 | 
| ⊢ 2 ∈
 (ℤ≥‘1) | 
|   | 
| Theorem | uznnssnn 9651 | 
The upper integers starting from a natural are a subset of the naturals.
     (Contributed by Scott Fenton, 29-Jun-2013.)
 | 
| ⊢ (𝑁 ∈ ℕ →
 (ℤ≥‘𝑁) ⊆ ℕ) | 
|   | 
| Theorem | raluz 9652* | 
Restricted universal quantification in an upper set of integers.
       (Contributed by NM, 9-Sep-2005.)
 | 
| ⊢ (𝑀 ∈ ℤ → (∀𝑛 ∈
 (ℤ≥‘𝑀)𝜑 ↔ ∀𝑛 ∈ ℤ (𝑀 ≤ 𝑛 → 𝜑))) | 
|   | 
| Theorem | raluz2 9653* | 
Restricted universal quantification in an upper set of integers.
       (Contributed by NM, 9-Sep-2005.)
 | 
| ⊢ (∀𝑛 ∈ (ℤ≥‘𝑀)𝜑 ↔ (𝑀 ∈ ℤ → ∀𝑛 ∈ ℤ (𝑀 ≤ 𝑛 → 𝜑))) | 
|   | 
| Theorem | rexuz 9654* | 
Restricted existential quantification in an upper set of integers.
       (Contributed by NM, 9-Sep-2005.)
 | 
| ⊢ (𝑀 ∈ ℤ → (∃𝑛 ∈
 (ℤ≥‘𝑀)𝜑 ↔ ∃𝑛 ∈ ℤ (𝑀 ≤ 𝑛 ∧ 𝜑))) | 
|   | 
| Theorem | rexuz2 9655* | 
Restricted existential quantification in an upper set of integers.
       (Contributed by NM, 9-Sep-2005.)
 | 
| ⊢ (∃𝑛 ∈ (ℤ≥‘𝑀)𝜑 ↔ (𝑀 ∈ ℤ ∧ ∃𝑛 ∈ ℤ (𝑀 ≤ 𝑛 ∧ 𝜑))) | 
|   | 
| Theorem | 2rexuz 9656* | 
Double existential quantification in an upper set of integers.
       (Contributed by NM, 3-Nov-2005.)
 | 
| ⊢ (∃𝑚∃𝑛 ∈ (ℤ≥‘𝑚)𝜑 ↔ ∃𝑚 ∈ ℤ ∃𝑛 ∈ ℤ (𝑚 ≤ 𝑛 ∧ 𝜑)) | 
|   | 
| Theorem | peano2uz 9657 | 
Second Peano postulate for an upper set of integers.  (Contributed by NM,
     7-Sep-2005.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → (𝑁 + 1) ∈
 (ℤ≥‘𝑀)) | 
|   | 
| Theorem | peano2uzs 9658 | 
Second Peano postulate for an upper set of integers.  (Contributed by
       Mario Carneiro, 26-Dec-2013.)
 | 
| ⊢ 𝑍 = (ℤ≥‘𝑀)   
 ⇒   ⊢ (𝑁 ∈ 𝑍 → (𝑁 + 1) ∈ 𝑍) | 
|   | 
| Theorem | peano2uzr 9659 | 
Reversed second Peano axiom for upper integers.  (Contributed by NM,
     2-Jan-2006.)
 | 
| ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈
 (ℤ≥‘(𝑀 + 1))) → 𝑁 ∈ (ℤ≥‘𝑀)) | 
|   | 
| Theorem | uzaddcl 9660 | 
Addition closure law for an upper set of integers.  (Contributed by NM,
       4-Jun-2006.)
 | 
| ⊢ ((𝑁 ∈ (ℤ≥‘𝑀) ∧ 𝐾 ∈ ℕ0) → (𝑁 + 𝐾) ∈
 (ℤ≥‘𝑀)) | 
|   | 
| Theorem | nn0pzuz 9661 | 
The sum of a nonnegative integer and an integer is an integer greater than
     or equal to that integer.  (Contributed by Alexander van der Vekens,
     3-Oct-2018.)
 | 
| ⊢ ((𝑁 ∈ ℕ0 ∧ 𝑍 ∈ ℤ) → (𝑁 + 𝑍) ∈
 (ℤ≥‘𝑍)) | 
|   | 
| Theorem | uzind4 9662* | 
Induction on the upper set of integers that starts at an integer 𝑀.
       The first four hypotheses give us the substitution instances we need,
       and the last two are the basis and the induction step.  (Contributed by
       NM, 7-Sep-2005.)
 | 
| ⊢ (𝑗 = 𝑀 → (𝜑 ↔ 𝜓))    &   ⊢ (𝑗 = 𝑘 → (𝜑 ↔ 𝜒))    &   ⊢ (𝑗 = (𝑘 + 1) → (𝜑 ↔ 𝜃))    &   ⊢ (𝑗 = 𝑁 → (𝜑 ↔ 𝜏))    &   ⊢ (𝑀 ∈ ℤ → 𝜓)    &   ⊢ (𝑘 ∈
 (ℤ≥‘𝑀) → (𝜒 → 𝜃))    ⇒   ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝜏) | 
|   | 
| Theorem | uzind4ALT 9663* | 
Induction on the upper set of integers that starts at an integer 𝑀.
       The last four hypotheses give us the substitution instances we need; the
       first two are the basis and the induction step.  Either uzind4 9662 or
       uzind4ALT 9663 may be used; see comment for nnind 9006.  (Contributed by NM,
       7-Sep-2005.)  (New usage is discouraged.)
       (Proof modification is discouraged.)
 | 
| ⊢ (𝑀 ∈ ℤ → 𝜓)   
 &   ⊢ (𝑘 ∈ (ℤ≥‘𝑀) → (𝜒 → 𝜃))    &   ⊢ (𝑗 = 𝑀 → (𝜑 ↔ 𝜓))    &   ⊢ (𝑗 = 𝑘 → (𝜑 ↔ 𝜒))    &   ⊢ (𝑗 = (𝑘 + 1) → (𝜑 ↔ 𝜃))    &   ⊢ (𝑗 = 𝑁 → (𝜑 ↔ 𝜏))    ⇒   ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝜏) | 
|   | 
| Theorem | uzind4s 9664* | 
Induction on the upper set of integers that starts at an integer 𝑀,
       using explicit substitution.  The hypotheses are the basis and the
       induction step.  (Contributed by NM, 4-Nov-2005.)
 | 
| ⊢ (𝑀 ∈ ℤ → [𝑀 / 𝑘]𝜑)   
 &   ⊢ (𝑘 ∈ (ℤ≥‘𝑀) → (𝜑 → [(𝑘 + 1) / 𝑘]𝜑))    ⇒   ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → [𝑁 / 𝑘]𝜑) | 
|   | 
| Theorem | uzind4s2 9665* | 
Induction on the upper set of integers that starts at an integer 𝑀,
       using explicit substitution.  The hypotheses are the basis and the
       induction step.  Use this instead of uzind4s 9664 when 𝑗 and 𝑘 must
       be distinct in [(𝑘 + 1) / 𝑗]𝜑.  (Contributed by NM,
       16-Nov-2005.)
 | 
| ⊢ (𝑀 ∈ ℤ → [𝑀 / 𝑗]𝜑)   
 &   ⊢ (𝑘 ∈ (ℤ≥‘𝑀) → ([𝑘 / 𝑗]𝜑 → [(𝑘 + 1) / 𝑗]𝜑))    ⇒   ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → [𝑁 / 𝑗]𝜑) | 
|   | 
| Theorem | uzind4i 9666* | 
Induction on the upper integers that start at 𝑀.  The first four
       give us the substitution instances we need, and the last two are the
       basis and the induction step.  This is a stronger version of uzind4 9662
       assuming that 𝜓 holds unconditionally.  Notice that
       𝑁
∈ (ℤ≥‘𝑀) implies that the lower bound 𝑀 is an
integer
       (𝑀
∈ ℤ, see eluzel2 9606).  (Contributed by NM, 4-Sep-2005.)
       (Revised by AV, 13-Jul-2022.)
 | 
| ⊢ (𝑗 = 𝑀 → (𝜑 ↔ 𝜓))    &   ⊢ (𝑗 = 𝑘 → (𝜑 ↔ 𝜒))    &   ⊢ (𝑗 = (𝑘 + 1) → (𝜑 ↔ 𝜃))    &   ⊢ (𝑗 = 𝑁 → (𝜑 ↔ 𝜏))    &   ⊢ 𝜓    &   ⊢ (𝑘 ∈
 (ℤ≥‘𝑀) → (𝜒 → 𝜃))    ⇒   ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝜏) | 
|   | 
| Theorem | indstr 9667* | 
Strong Mathematical Induction for positive integers (inference schema).
       (Contributed by NM, 17-Aug-2001.)
 | 
| ⊢ (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))    &   ⊢ (𝑥 ∈ ℕ →
 (∀𝑦 ∈ ℕ
 (𝑦 < 𝑥 → 𝜓) → 𝜑))    ⇒   ⊢ (𝑥 ∈ ℕ → 𝜑) | 
|   | 
| Theorem | infrenegsupex 9668* | 
The infimum of a set of reals 𝐴 is the negative of the supremum of
       the negatives of its elements.  (Contributed by Jim Kingdon,
       14-Jan-2022.)
 | 
| ⊢ (𝜑 → ∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑦 < 𝑥 ∧ ∀𝑦 ∈ ℝ (𝑥 < 𝑦 → ∃𝑧 ∈ 𝐴 𝑧 < 𝑦)))    &   ⊢ (𝜑 → 𝐴 ⊆ ℝ)   
 ⇒   ⊢ (𝜑 → inf(𝐴, ℝ, < ) = -sup({𝑧 ∈ ℝ ∣ -𝑧 ∈ 𝐴}, ℝ, < )) | 
|   | 
| Theorem | supinfneg 9669* | 
If a set of real numbers has a least upper bound, the set of the
       negation of those numbers has a greatest lower bound.  For a theorem
       which is similar but only for the boundedness part, see ublbneg 9687.
       (Contributed by Jim Kingdon, 15-Jan-2022.)
 | 
| ⊢ (𝜑 → ∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)))    &   ⊢ (𝜑 → 𝐴 ⊆ ℝ)   
 ⇒   ⊢ (𝜑 → ∃𝑥 ∈ ℝ (∀𝑦 ∈ {𝑤 ∈ ℝ ∣ -𝑤 ∈ 𝐴} ¬ 𝑦 < 𝑥 ∧ ∀𝑦 ∈ ℝ (𝑥 < 𝑦 → ∃𝑧 ∈ {𝑤 ∈ ℝ ∣ -𝑤 ∈ 𝐴}𝑧 < 𝑦))) | 
|   | 
| Theorem | infsupneg 9670* | 
If a set of real numbers has a greatest lower bound, the set of the
       negation of those numbers has a least upper bound.  To go in the other
       direction see supinfneg 9669.  (Contributed by Jim Kingdon,
       15-Jan-2022.)
 | 
| ⊢ (𝜑 → ∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑦 < 𝑥 ∧ ∀𝑦 ∈ ℝ (𝑥 < 𝑦 → ∃𝑧 ∈ 𝐴 𝑧 < 𝑦)))    &   ⊢ (𝜑 → 𝐴 ⊆ ℝ)   
 ⇒   ⊢ (𝜑 → ∃𝑥 ∈ ℝ (∀𝑦 ∈ {𝑤 ∈ ℝ ∣ -𝑤 ∈ 𝐴} ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧 ∈ {𝑤 ∈ ℝ ∣ -𝑤 ∈ 𝐴}𝑦 < 𝑧))) | 
|   | 
| Theorem | supminfex 9671* | 
A supremum is the negation of the infimum of that set's image under
       negation.  (Contributed by Jim Kingdon, 14-Jan-2022.)
 | 
| ⊢ (𝜑 → ∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)))    &   ⊢ (𝜑 → 𝐴 ⊆ ℝ)   
 ⇒   ⊢ (𝜑 → sup(𝐴, ℝ, < ) = -inf({𝑤 ∈ ℝ ∣ -𝑤 ∈ 𝐴}, ℝ, < )) | 
|   | 
| Theorem | infregelbex 9672* | 
Any lower bound of a set of real numbers with an infimum is less than or
       equal to the infimum.  (Contributed by Jim Kingdon, 27-Sep-2024.)
 | 
| ⊢ (𝜑 → ∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑦 < 𝑥 ∧ ∀𝑦 ∈ ℝ (𝑥 < 𝑦 → ∃𝑧 ∈ 𝐴 𝑧 < 𝑦)))    &   ⊢ (𝜑 → 𝐴 ⊆ ℝ)    &   ⊢ (𝜑 → 𝐵 ∈ ℝ)   
 ⇒   ⊢ (𝜑 → (𝐵 ≤ inf(𝐴, ℝ, < ) ↔ ∀𝑧 ∈ 𝐴 𝐵 ≤ 𝑧)) | 
|   | 
| Theorem | eluznn0 9673 | 
Membership in a nonnegative upper set of integers implies membership in
     ℕ0.  (Contributed by Paul
Chapman, 22-Jun-2011.)
 | 
| ⊢ ((𝑁 ∈ ℕ0 ∧ 𝑀 ∈
 (ℤ≥‘𝑁)) → 𝑀 ∈
 ℕ0) | 
|   | 
| Theorem | eluznn 9674 | 
Membership in a positive upper set of integers implies membership in
     ℕ.  (Contributed by JJ, 1-Oct-2018.)
 | 
| ⊢ ((𝑁 ∈ ℕ ∧ 𝑀 ∈ (ℤ≥‘𝑁)) → 𝑀 ∈ ℕ) | 
|   | 
| Theorem | eluz2b1 9675 | 
Two ways to say "an integer greater than or equal to 2". 
(Contributed by
     Paul Chapman, 23-Nov-2012.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘2)
 ↔ (𝑁 ∈ ℤ
 ∧ 1 < 𝑁)) | 
|   | 
| Theorem | eluz2gt1 9676 | 
An integer greater than or equal to 2 is greater than 1.  (Contributed by
     AV, 24-May-2020.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘2)
 → 1 < 𝑁) | 
|   | 
| Theorem | eluz2b2 9677 | 
Two ways to say "an integer greater than or equal to 2". 
(Contributed by
     Paul Chapman, 23-Nov-2012.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘2)
 ↔ (𝑁 ∈ ℕ
 ∧ 1 < 𝑁)) | 
|   | 
| Theorem | eluz2b3 9678 | 
Two ways to say "an integer greater than or equal to 2". 
(Contributed by
     Paul Chapman, 23-Nov-2012.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘2)
 ↔ (𝑁 ∈ ℕ
 ∧ 𝑁 ≠
 1)) | 
|   | 
| Theorem | uz2m1nn 9679 | 
One less than an integer greater than or equal to 2 is a positive integer.
     (Contributed by Paul Chapman, 17-Nov-2012.)
 | 
| ⊢ (𝑁 ∈ (ℤ≥‘2)
 → (𝑁 − 1)
 ∈ ℕ) | 
|   | 
| Theorem | 1nuz2 9680 | 
1 is not in (ℤ≥‘2). 
(Contributed by Paul Chapman,
     21-Nov-2012.)
 | 
| ⊢  ¬ 1 ∈
 (ℤ≥‘2) | 
|   | 
| Theorem | elnn1uz2 9681 | 
A positive integer is either 1 or greater than or equal to 2.
     (Contributed by Paul Chapman, 17-Nov-2012.)
 | 
| ⊢ (𝑁 ∈ ℕ ↔ (𝑁 = 1 ∨ 𝑁 ∈
 (ℤ≥‘2))) | 
|   | 
| Theorem | uz2mulcl 9682 | 
Closure of multiplication of integers greater than or equal to 2.
     (Contributed by Paul Chapman, 26-Oct-2012.)
 | 
| ⊢ ((𝑀 ∈ (ℤ≥‘2)
 ∧ 𝑁 ∈
 (ℤ≥‘2)) → (𝑀 · 𝑁) ∈
 (ℤ≥‘2)) | 
|   | 
| Theorem | indstr2 9683* | 
Strong Mathematical Induction for positive integers (inference schema).
       The first two hypotheses give us the substitution instances we need; the
       last two are the basis and the induction step.  (Contributed by Paul
       Chapman, 21-Nov-2012.)
 | 
| ⊢ (𝑥 = 1 → (𝜑 ↔ 𝜒))    &   ⊢ (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))    &   ⊢ 𝜒    &   ⊢ (𝑥 ∈
 (ℤ≥‘2) → (∀𝑦 ∈ ℕ (𝑦 < 𝑥 → 𝜓) → 𝜑))    ⇒   ⊢ (𝑥 ∈ ℕ → 𝜑) | 
|   | 
| Theorem | eluzdc 9684 | 
Membership of an integer in an upper set of integers is decidable.
     (Contributed by Jim Kingdon, 18-Apr-2020.)
 | 
| ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) →
 DECID 𝑁
 ∈ (ℤ≥‘𝑀)) | 
|   | 
| Theorem | elnn0dc 9685 | 
Membership of an integer in ℕ0 is
decidable.  (Contributed by Jim
     Kingdon, 8-Oct-2024.)
 | 
| ⊢ (𝑁 ∈ ℤ → DECID
 𝑁 ∈
 ℕ0) | 
|   | 
| Theorem | elnndc 9686 | 
Membership of an integer in ℕ is decidable. 
(Contributed by Jim
     Kingdon, 17-Oct-2024.)
 | 
| ⊢ (𝑁 ∈ ℤ → DECID
 𝑁 ∈
 ℕ) | 
|   | 
| Theorem | ublbneg 9687* | 
The image under negation of a bounded-above set of reals is bounded
       below.  For a theorem which is similar but also adds that the bounds
       need to be the tightest possible, see supinfneg 9669.  (Contributed by
       Paul Chapman, 21-Mar-2011.)
 | 
| ⊢ (∃𝑥 ∈ ℝ ∀𝑦 ∈ 𝐴 𝑦 ≤ 𝑥 → ∃𝑥 ∈ ℝ ∀𝑦 ∈ {𝑧 ∈ ℝ ∣ -𝑧 ∈ 𝐴}𝑥 ≤ 𝑦) | 
|   | 
| Theorem | eqreznegel 9688* | 
Two ways to express the image under negation of a set of integers.
       (Contributed by Paul Chapman, 21-Mar-2011.)
 | 
| ⊢ (𝐴 ⊆ ℤ → {𝑧 ∈ ℝ ∣ -𝑧 ∈ 𝐴} = {𝑧 ∈ ℤ ∣ -𝑧 ∈ 𝐴}) | 
|   | 
| Theorem | negm 9689* | 
The image under negation of an inhabited set of reals is inhabited.
       (Contributed by Jim Kingdon, 10-Apr-2020.)
 | 
| ⊢ ((𝐴 ⊆ ℝ ∧ ∃𝑥 𝑥 ∈ 𝐴) → ∃𝑦 𝑦 ∈ {𝑧 ∈ ℝ ∣ -𝑧 ∈ 𝐴}) | 
|   | 
| Theorem | lbzbi 9690* | 
If a set of reals is bounded below, it is bounded below by an integer.
       (Contributed by Paul Chapman, 21-Mar-2011.)
 | 
| ⊢ (𝐴 ⊆ ℝ → (∃𝑥 ∈ ℝ ∀𝑦 ∈ 𝐴 𝑥 ≤ 𝑦 ↔ ∃𝑥 ∈ ℤ ∀𝑦 ∈ 𝐴 𝑥 ≤ 𝑦)) | 
|   | 
| Theorem | nn01to3 9691 | 
A (nonnegative) integer between 1 and 3 must be 1, 2 or 3.  (Contributed
     by Alexander van der Vekens, 13-Sep-2018.)
 | 
| ⊢ ((𝑁 ∈ ℕ0 ∧ 1 ≤
 𝑁 ∧ 𝑁 ≤ 3) → (𝑁 = 1 ∨ 𝑁 = 2 ∨ 𝑁 = 3)) | 
|   | 
| Theorem | nn0ge2m1nnALT 9692 | 
Alternate proof of nn0ge2m1nn 9309:  If a nonnegative integer is greater
     than or equal to two, the integer decreased by 1 is a positive integer.
     This version is proved using eluz2 9607, a theorem for upper sets of
     integers, which are defined later than the positive and nonnegative
     integers.  This proof is, however, much shorter than the proof of
     nn0ge2m1nn 9309.  (Contributed by Alexander van der Vekens,
1-Aug-2018.)
     (New usage is discouraged.)  (Proof modification is discouraged.)
 | 
| ⊢ ((𝑁 ∈ ℕ0 ∧ 2 ≤
 𝑁) → (𝑁 − 1) ∈
 ℕ) | 
|   | 
| 4.4.12  Rational numbers (as a subset of complex
 numbers)
 | 
|   | 
| Syntax | cq 9693 | 
Extend class notation to include the class of rationals.
 | 
| class ℚ | 
|   | 
| Definition | df-q 9694 | 
Define the set of rational numbers.  Based on definition of rationals in
     [Apostol] p. 22.  See elq 9696
for the relation "is rational".  (Contributed
     by NM, 8-Jan-2002.)
 | 
| ⊢ ℚ = ( / “ (ℤ ×
 ℕ)) | 
|   | 
| Theorem | divfnzn 9695 | 
Division restricted to ℤ × ℕ is a
function.  Given excluded
       middle, it would be easy to prove this for ℂ
× (ℂ ∖ {0}).
       The key difference is that an element of ℕ
is apart from zero,
       whereas being an element of ℂ ∖ {0}
implies being not equal to
       zero.  (Contributed by Jim Kingdon, 19-Mar-2020.)
 | 
| ⊢ ( / ↾ (ℤ × ℕ)) Fn
 (ℤ × ℕ) | 
|   | 
| Theorem | elq 9696* | 
Membership in the set of rationals.  (Contributed by NM, 8-Jan-2002.)
       (Revised by Mario Carneiro, 28-Jan-2014.)
 | 
| ⊢ (𝐴 ∈ ℚ ↔ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℕ 𝐴 = (𝑥 / 𝑦)) | 
|   | 
| Theorem | qmulz 9697* | 
If 𝐴 is rational, then some integer
multiple of it is an integer.
       (Contributed by NM, 7-Nov-2008.)  (Revised by Mario Carneiro,
       22-Jul-2014.)
 | 
| ⊢ (𝐴 ∈ ℚ → ∃𝑥 ∈ ℕ (𝐴 · 𝑥) ∈ ℤ) | 
|   | 
| Theorem | znq 9698 | 
The ratio of an integer and a positive integer is a rational number.
       (Contributed by NM, 12-Jan-2002.)
 | 
| ⊢ ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℕ) → (𝐴 / 𝐵) ∈ ℚ) | 
|   | 
| Theorem | qre 9699 | 
A rational number is a real number.  (Contributed by NM,
       14-Nov-2002.)
 | 
| ⊢ (𝐴 ∈ ℚ → 𝐴 ∈ ℝ) | 
|   | 
| Theorem | zq 9700 | 
An integer is a rational number.  (Contributed by NM, 9-Jan-2002.)
 | 
| ⊢ (𝐴 ∈ ℤ → 𝐴 ∈ ℚ) |