 Home Intuitionistic Logic ExplorerTheorem List (p. 98 of 114) < 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 - 9701-9800   *Has distinct variable group(s)
TypeLabelDescription
Statement

Theoremmodqaddmod 9701 The sum of a number modulo a modulus and another number equals the sum of the two numbers modulo the same modulus. (Contributed by Jim Kingdon, 23-Oct-2021.)
(((𝐴 ∈ ℚ ∧ 𝐵 ∈ ℚ) ∧ (𝑀 ∈ ℚ ∧ 0 < 𝑀)) → (((𝐴 mod 𝑀) + 𝐵) mod 𝑀) = ((𝐴 + 𝐵) mod 𝑀))

Theoremmulqaddmodid 9702 The sum of a positive rational number less than an upper bound and the product of an integer and the upper bound is the positive rational number modulo the upper bound. (Contributed by Jim Kingdon, 23-Oct-2021.)
(((𝑁 ∈ ℤ ∧ 𝑀 ∈ ℚ) ∧ (𝐴 ∈ ℚ ∧ 𝐴 ∈ (0[,)𝑀))) → (((𝑁 · 𝑀) + 𝐴) mod 𝑀) = 𝐴)

Theoremmulp1mod1 9703 The product of an integer and an integer greater than 1 increased by 1 is 1 modulo the integer greater than 1. (Contributed by AV, 15-Jul-2021.)
((𝐴 ∈ ℤ ∧ 𝑁 ∈ (ℤ‘2)) → (((𝑁 · 𝐴) + 1) mod 𝑁) = 1)

Theoremmodqmuladd 9704* Decomposition of an integer into a multiple of a modulus and a remainder. (Contributed by Jim Kingdon, 23-Oct-2021.)
(𝜑𝐴 ∈ ℤ)    &   (𝜑𝐵 ∈ ℚ)    &   (𝜑𝐵 ∈ (0[,)𝑀))    &   (𝜑𝑀 ∈ ℚ)    &   (𝜑 → 0 < 𝑀)       (𝜑 → ((𝐴 mod 𝑀) = 𝐵 ↔ ∃𝑘 ∈ ℤ 𝐴 = ((𝑘 · 𝑀) + 𝐵)))

Theoremmodqmuladdim 9705* Implication of a decomposition of an integer into a multiple of a modulus and a remainder. (Contributed by Jim Kingdon, 23-Oct-2021.)
((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℚ ∧ 0 < 𝑀) → ((𝐴 mod 𝑀) = 𝐵 → ∃𝑘 ∈ ℤ 𝐴 = ((𝑘 · 𝑀) + 𝐵)))

Theoremmodqmuladdnn0 9706* Implication of a decomposition of a nonnegative integer into a multiple of a modulus and a remainder. (Contributed by Jim Kingdon, 23-Oct-2021.)
((𝐴 ∈ ℕ0𝑀 ∈ ℚ ∧ 0 < 𝑀) → ((𝐴 mod 𝑀) = 𝐵 → ∃𝑘 ∈ ℕ0 𝐴 = ((𝑘 · 𝑀) + 𝐵)))

Theoremqnegmod 9707 The negation of a number modulo a positive number is equal to the difference of the modulus and the number modulo the modulus. (Contributed by Jim Kingdon, 24-Oct-2021.)
((𝐴 ∈ ℚ ∧ 𝑁 ∈ ℚ ∧ 0 < 𝑁) → (-𝐴 mod 𝑁) = ((𝑁𝐴) mod 𝑁))

Theoremm1modnnsub1 9708 Minus one modulo a positive integer is equal to the integer minus one. (Contributed by AV, 14-Jul-2021.)
(𝑀 ∈ ℕ → (-1 mod 𝑀) = (𝑀 − 1))

Theoremm1modge3gt1 9709 Minus one modulo an integer greater than two is greater than one. (Contributed by AV, 14-Jul-2021.)
(𝑀 ∈ (ℤ‘3) → 1 < (-1 mod 𝑀))

Theoremaddmodid 9710 The sum of a positive integer and a nonnegative integer less than the positive integer is equal to the nonnegative integer modulo the positive integer. (Contributed by Alexander van der Vekens, 30-Oct-2018.) (Proof shortened by AV, 5-Jul-2020.)
((𝐴 ∈ ℕ0𝑀 ∈ ℕ ∧ 𝐴 < 𝑀) → ((𝑀 + 𝐴) mod 𝑀) = 𝐴)

Theoremaddmodidr 9711 The sum of a positive integer and a nonnegative integer less than the positive integer is equal to the nonnegative integer modulo the positive integer. (Contributed by AV, 19-Mar-2021.)
((𝐴 ∈ ℕ0𝑀 ∈ ℕ ∧ 𝐴 < 𝑀) → ((𝐴 + 𝑀) mod 𝑀) = 𝐴)

Theoremmodqadd2mod 9712 The sum of a number modulo a modulus and another number equals the sum of the two numbers modulo the modulus. (Contributed by Jim Kingdon, 24-Oct-2021.)
(((𝐴 ∈ ℚ ∧ 𝐵 ∈ ℚ) ∧ (𝑀 ∈ ℚ ∧ 0 < 𝑀)) → ((𝐵 + (𝐴 mod 𝑀)) mod 𝑀) = ((𝐵 + 𝐴) mod 𝑀))

Theoremmodqm1p1mod0 9713 If a number modulo a modulus equals the modulus decreased by 1, the first number increased by 1 modulo the modulus equals 0. (Contributed by Jim Kingdon, 24-Oct-2021.)
((𝐴 ∈ ℚ ∧ 𝑀 ∈ ℚ ∧ 0 < 𝑀) → ((𝐴 mod 𝑀) = (𝑀 − 1) → ((𝐴 + 1) mod 𝑀) = 0))

Theoremmodqltm1p1mod 9714 If a number modulo a modulus is less than the modulus decreased by 1, the first number increased by 1 modulo the modulus equals the first number modulo the modulus, increased by 1. (Contributed by Jim Kingdon, 24-Oct-2021.)
(((𝐴 ∈ ℚ ∧ (𝐴 mod 𝑀) < (𝑀 − 1)) ∧ (𝑀 ∈ ℚ ∧ 0 < 𝑀)) → ((𝐴 + 1) mod 𝑀) = ((𝐴 mod 𝑀) + 1))

Theoremmodqmul1 9715 Multiplication property of the modulo operation. Note that the multiplier 𝐶 must be an integer. (Contributed by Jim Kingdon, 24-Oct-2021.)
(𝜑𝐴 ∈ ℚ)    &   (𝜑𝐵 ∈ ℚ)    &   (𝜑𝐶 ∈ ℤ)    &   (𝜑𝐷 ∈ ℚ)    &   (𝜑 → 0 < 𝐷)    &   (𝜑 → (𝐴 mod 𝐷) = (𝐵 mod 𝐷))       (𝜑 → ((𝐴 · 𝐶) mod 𝐷) = ((𝐵 · 𝐶) mod 𝐷))

Theoremmodqmul12d 9716 Multiplication property of the modulo operation, see theorem 5.2(b) in [ApostolNT] p. 107. (Contributed by Jim Kingdon, 24-Oct-2021.)
(𝜑𝐴 ∈ ℤ)    &   (𝜑𝐵 ∈ ℤ)    &   (𝜑𝐶 ∈ ℤ)    &   (𝜑𝐷 ∈ ℤ)    &   (𝜑𝐸 ∈ ℚ)    &   (𝜑 → 0 < 𝐸)    &   (𝜑 → (𝐴 mod 𝐸) = (𝐵 mod 𝐸))    &   (𝜑 → (𝐶 mod 𝐸) = (𝐷 mod 𝐸))       (𝜑 → ((𝐴 · 𝐶) mod 𝐸) = ((𝐵 · 𝐷) mod 𝐸))

Theoremmodqnegd 9717 Negation property of the modulo operation. (Contributed by Jim Kingdon, 24-Oct-2021.)
(𝜑𝐴 ∈ ℚ)    &   (𝜑𝐵 ∈ ℚ)    &   (𝜑𝐶 ∈ ℚ)    &   (𝜑 → 0 < 𝐶)    &   (𝜑 → (𝐴 mod 𝐶) = (𝐵 mod 𝐶))       (𝜑 → (-𝐴 mod 𝐶) = (-𝐵 mod 𝐶))

Theoremmodqadd12d 9718 Additive property of the modulo operation. (Contributed by Jim Kingdon, 25-Oct-2021.)
(𝜑𝐴 ∈ ℚ)    &   (𝜑𝐵 ∈ ℚ)    &   (𝜑𝐶 ∈ ℚ)    &   (𝜑𝐷 ∈ ℚ)    &   (𝜑𝐸 ∈ ℚ)    &   (𝜑 → 0 < 𝐸)    &   (𝜑 → (𝐴 mod 𝐸) = (𝐵 mod 𝐸))    &   (𝜑 → (𝐶 mod 𝐸) = (𝐷 mod 𝐸))       (𝜑 → ((𝐴 + 𝐶) mod 𝐸) = ((𝐵 + 𝐷) mod 𝐸))

Theoremmodqsub12d 9719 Subtraction property of the modulo operation. (Contributed by Jim Kingdon, 25-Oct-2021.)
(𝜑𝐴 ∈ ℚ)    &   (𝜑𝐵 ∈ ℚ)    &   (𝜑𝐶 ∈ ℚ)    &   (𝜑𝐷 ∈ ℚ)    &   (𝜑𝐸 ∈ ℚ)    &   (𝜑 → 0 < 𝐸)    &   (𝜑 → (𝐴 mod 𝐸) = (𝐵 mod 𝐸))    &   (𝜑 → (𝐶 mod 𝐸) = (𝐷 mod 𝐸))       (𝜑 → ((𝐴𝐶) mod 𝐸) = ((𝐵𝐷) mod 𝐸))

Theoremmodqsubmod 9720 The difference of a number modulo a modulus and another number equals the difference of the two numbers modulo the modulus. (Contributed by Jim Kingdon, 25-Oct-2021.)
(((𝐴 ∈ ℚ ∧ 𝐵 ∈ ℚ) ∧ (𝑀 ∈ ℚ ∧ 0 < 𝑀)) → (((𝐴 mod 𝑀) − 𝐵) mod 𝑀) = ((𝐴𝐵) mod 𝑀))

Theoremmodqsubmodmod 9721 The difference of a number modulo a modulus and another number modulo the same modulus equals the difference of the two numbers modulo the modulus. (Contributed by Jim Kingdon, 25-Oct-2021.)
(((𝐴 ∈ ℚ ∧ 𝐵 ∈ ℚ) ∧ (𝑀 ∈ ℚ ∧ 0 < 𝑀)) → (((𝐴 mod 𝑀) − (𝐵 mod 𝑀)) mod 𝑀) = ((𝐴𝐵) mod 𝑀))

Theoremq2txmodxeq0 9722 Two times a positive number modulo the number is zero. (Contributed by Jim Kingdon, 25-Oct-2021.)
((𝑋 ∈ ℚ ∧ 0 < 𝑋) → ((2 · 𝑋) mod 𝑋) = 0)

Theoremq2submod 9723 If a number is between a modulus and twice the modulus, the first number modulo the modulus equals the first number minus the modulus. (Contributed by Jim Kingdon, 25-Oct-2021.)
(((𝐴 ∈ ℚ ∧ 𝐵 ∈ ℚ ∧ 0 < 𝐵) ∧ (𝐵𝐴𝐴 < (2 · 𝐵))) → (𝐴 mod 𝐵) = (𝐴𝐵))

Theoremmodifeq2int 9724 If a nonnegative integer is less than twice a positive integer, the nonnegative integer modulo the positive integer equals the nonnegative integer or the nonnegative integer minus the positive integer. (Contributed by Alexander van der Vekens, 21-May-2018.)
((𝐴 ∈ ℕ0𝐵 ∈ ℕ ∧ 𝐴 < (2 · 𝐵)) → (𝐴 mod 𝐵) = if(𝐴 < 𝐵, 𝐴, (𝐴𝐵)))

Theoremmodaddmodup 9725 The sum of an integer modulo a positive integer and another integer minus the positive integer equals the sum of the two integers modulo the positive integer if the other integer is in the upper part of the range between 0 and the positive integer. (Contributed by AV, 30-Oct-2018.)
((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℕ) → (𝐵 ∈ ((𝑀 − (𝐴 mod 𝑀))..^𝑀) → ((𝐵 + (𝐴 mod 𝑀)) − 𝑀) = ((𝐵 + 𝐴) mod 𝑀)))

Theoremmodaddmodlo 9726 The sum of an integer modulo a positive integer and another integer equals the sum of the two integers modulo the positive integer if the other integer is in the lower part of the range between 0 and the positive integer. (Contributed by AV, 30-Oct-2018.)
((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℕ) → (𝐵 ∈ (0..^(𝑀 − (𝐴 mod 𝑀))) → (𝐵 + (𝐴 mod 𝑀)) = ((𝐵 + 𝐴) mod 𝑀)))

Theoremmodqmulmod 9727 The product of a rational number modulo a modulus and an integer equals the product of the rational number and the integer modulo the modulus. (Contributed by Jim Kingdon, 25-Oct-2021.)
(((𝐴 ∈ ℚ ∧ 𝐵 ∈ ℤ) ∧ (𝑀 ∈ ℚ ∧ 0 < 𝑀)) → (((𝐴 mod 𝑀) · 𝐵) mod 𝑀) = ((𝐴 · 𝐵) mod 𝑀))

Theoremmodqmulmodr 9728 The product of an integer and a rational number modulo a modulus equals the product of the integer and the rational number modulo the modulus. (Contributed by Jim Kingdon, 26-Oct-2021.)
(((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℚ) ∧ (𝑀 ∈ ℚ ∧ 0 < 𝑀)) → ((𝐴 · (𝐵 mod 𝑀)) mod 𝑀) = ((𝐴 · 𝐵) mod 𝑀))

Theoremmodqaddmulmod 9729 The sum of a rational number and the product of a second rational number modulo a modulus and an integer equals the sum of the rational number and the product of the other rational number and the integer modulo the modulus. (Contributed by Jim Kingdon, 26-Oct-2021.)
(((𝐴 ∈ ℚ ∧ 𝐵 ∈ ℚ ∧ 𝐶 ∈ ℤ) ∧ (𝑀 ∈ ℚ ∧ 0 < 𝑀)) → ((𝐴 + ((𝐵 mod 𝑀) · 𝐶)) mod 𝑀) = ((𝐴 + (𝐵 · 𝐶)) mod 𝑀))

Theoremmodqdi 9730 Distribute multiplication over a modulo operation. (Contributed by Jim Kingdon, 26-Oct-2021.)
(((𝐴 ∈ ℚ ∧ 0 < 𝐴) ∧ 𝐵 ∈ ℚ ∧ (𝐶 ∈ ℚ ∧ 0 < 𝐶)) → (𝐴 · (𝐵 mod 𝐶)) = ((𝐴 · 𝐵) mod (𝐴 · 𝐶)))

Theoremmodqsubdir 9731 Distribute the modulo operation over a subtraction. (Contributed by Jim Kingdon, 26-Oct-2021.)
(((𝐴 ∈ ℚ ∧ 𝐵 ∈ ℚ) ∧ (𝐶 ∈ ℚ ∧ 0 < 𝐶)) → ((𝐵 mod 𝐶) ≤ (𝐴 mod 𝐶) ↔ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))))

Theoremmodqeqmodmin 9732 A rational number equals the difference of the rational number and a modulus modulo the modulus. (Contributed by Jim Kingdon, 26-Oct-2021.)
((𝐴 ∈ ℚ ∧ 𝑀 ∈ ℚ ∧ 0 < 𝑀) → (𝐴 mod 𝑀) = ((𝐴𝑀) mod 𝑀))

Theoremmodfzo0difsn 9733* For a number within a half-open range of nonnegative integers with one excluded integer there is a positive integer so that the number is equal to the sum of the positive integer and the excluded integer modulo the upper bound of the range. (Contributed by AV, 19-Mar-2021.)
((𝐽 ∈ (0..^𝑁) ∧ 𝐾 ∈ ((0..^𝑁) ∖ {𝐽})) → ∃𝑖 ∈ (1..^𝑁)𝐾 = ((𝑖 + 𝐽) mod 𝑁))

Theoremmodsumfzodifsn 9734 The sum of a number within a half-open range of positive integers is an element of the corresponding open range of nonnegative integers with one excluded integer modulo the excluded integer. (Contributed by AV, 19-Mar-2021.)
((𝐽 ∈ (0..^𝑁) ∧ 𝐾 ∈ (1..^𝑁)) → ((𝐾 + 𝐽) mod 𝑁) ∈ ((0..^𝑁) ∖ {𝐽}))

Theoremmodlteq 9735 Two nonnegative integers less than the modulus are equal iff they are equal modulo the modulus. (Contributed by AV, 14-Mar-2021.)
((𝐼 ∈ (0..^𝑁) ∧ 𝐽 ∈ (0..^𝑁)) → ((𝐼 mod 𝑁) = (𝐽 mod 𝑁) ↔ 𝐼 = 𝐽))

Theoremaddmodlteq 9736 Two nonnegative integers less than the modulus are equal iff the sums of these integer with another integer are equal modulo the modulus. (Contributed by AV, 20-Mar-2021.)
((𝐼 ∈ (0..^𝑁) ∧ 𝐽 ∈ (0..^𝑁) ∧ 𝑆 ∈ ℤ) → (((𝐼 + 𝑆) mod 𝑁) = ((𝐽 + 𝑆) mod 𝑁) ↔ 𝐼 = 𝐽))

3.6.3  Miscellaneous theorems about integers

Theoremfrec2uz0d 9737* The mapping 𝐺 is a one-to-one mapping from ω onto upper integers that will be used to construct a recursive definition generator. Ordinal natural number 0 maps to complex number 𝐶 (normally 0 for the upper integers 0 or 1 for the upper integers ), 1 maps to 𝐶 + 1, etc. This theorem shows the value of 𝐺 at ordinal natural number zero. (Contributed by Jim Kingdon, 16-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)       (𝜑 → (𝐺‘∅) = 𝐶)

Theoremfrec2uzzd 9738* The value of 𝐺 (see frec2uz0d 9737) is an integer. (Contributed by Jim Kingdon, 16-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴 ∈ ω)       (𝜑 → (𝐺𝐴) ∈ ℤ)

Theoremfrec2uzsucd 9739* The value of 𝐺 (see frec2uz0d 9737) at a successor. (Contributed by Jim Kingdon, 16-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴 ∈ ω)       (𝜑 → (𝐺‘suc 𝐴) = ((𝐺𝐴) + 1))

Theoremfrec2uzuzd 9740* The value 𝐺 (see frec2uz0d 9737) at an ordinal natural number is in the upper integers. (Contributed by Jim Kingdon, 16-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴 ∈ ω)       (𝜑 → (𝐺𝐴) ∈ (ℤ𝐶))

Theoremfrec2uzltd 9741* Less-than relation for 𝐺 (see frec2uz0d 9737). (Contributed by Jim Kingdon, 16-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴 ∈ ω)    &   (𝜑𝐵 ∈ ω)       (𝜑 → (𝐴𝐵 → (𝐺𝐴) < (𝐺𝐵)))

Theoremfrec2uzlt2d 9742* The mapping 𝐺 (see frec2uz0d 9737) preserves order. (Contributed by Jim Kingdon, 16-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴 ∈ ω)    &   (𝜑𝐵 ∈ ω)       (𝜑 → (𝐴𝐵 ↔ (𝐺𝐴) < (𝐺𝐵)))

Theoremfrec2uzrand 9743* Range of 𝐺 (see frec2uz0d 9737). (Contributed by Jim Kingdon, 17-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)       (𝜑 → ran 𝐺 = (ℤ𝐶))

Theoremfrec2uzf1od 9744* 𝐺 (see frec2uz0d 9737) is a one-to-one onto mapping. (Contributed by Jim Kingdon, 17-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)       (𝜑𝐺:ω–1-1-onto→(ℤ𝐶))

Theoremfrec2uzisod 9745* 𝐺 (see frec2uz0d 9737) is an isomorphism from natural ordinals to upper integers. (Contributed by Jim Kingdon, 17-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)       (𝜑𝐺 Isom E , < (ω, (ℤ𝐶)))

Theoremfrecuzrdgrrn 9746* The function 𝑅 (used in the definition of the recursive definition generator on upper integers) yields ordered pairs of integers and elements of 𝑆. (Contributed by Jim Kingdon, 28-Mar-2022.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴𝑆)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)       ((𝜑𝐷 ∈ ω) → (𝑅𝐷) ∈ ((ℤ𝐶) × 𝑆))

Theoremfrec2uzrdg 9747* A helper lemma for the value of a recursive definition generator on upper integers (typically either or 0) with characteristic function 𝐹(𝑥, 𝑦) and initial value 𝐴. This lemma shows that evaluating 𝑅 at an element of ω gives an ordered pair whose first element is the index (translated from ω to (ℤ𝐶)). See comment in frec2uz0d 9737 which describes 𝐺 and the index translation. (Contributed by Jim Kingdon, 24-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴𝑆)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   (𝜑𝐵 ∈ ω)       (𝜑 → (𝑅𝐵) = ⟨(𝐺𝐵), (2nd ‘(𝑅𝐵))⟩)

Theoremfrecuzrdgrcl 9748* The function 𝑅 (used in the definition of the recursive definition generator on upper integers) is a function defined for all natural numbers. (Contributed by Jim Kingdon, 1-Apr-2022.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴𝑆)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)       (𝜑𝑅:ω⟶((ℤ𝐶) × 𝑆))

Theoremfrecuzrdglem 9749* A helper lemma for the value of a recursive definition generator on upper integers. (Contributed by Jim Kingdon, 26-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴𝑆)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   (𝜑𝐵 ∈ (ℤ𝐶))       (𝜑 → ⟨𝐵, (2nd ‘(𝑅‘(𝐺𝐵)))⟩ ∈ ran 𝑅)

Theoremfrecuzrdgtcl 9750* The recursive definition generator on upper integers is a function. See comment in frec2uz0d 9737 for the description of 𝐺 as the mapping from ω to (ℤ𝐶). (Contributed by Jim Kingdon, 26-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴𝑆)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   (𝜑𝑇 = ran 𝑅)       (𝜑𝑇:(ℤ𝐶)⟶𝑆)

Theoremfrecuzrdg0 9751* Initial value of a recursive definition generator on upper integers. See comment in frec2uz0d 9737 for the description of 𝐺 as the mapping from ω to (ℤ𝐶). (Contributed by Jim Kingdon, 27-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴𝑆)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   (𝜑𝑇 = ran 𝑅)       (𝜑 → (𝑇𝐶) = 𝐴)

Theoremfrecuzrdgsuc 9752* Successor value of a recursive definition generator on upper integers. See comment in frec2uz0d 9737 for the description of 𝐺 as the mapping from ω to (ℤ𝐶). (Contributed by Jim Kingdon, 28-May-2020.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴𝑆)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   (𝜑𝑇 = ran 𝑅)       ((𝜑𝐵 ∈ (ℤ𝐶)) → (𝑇‘(𝐵 + 1)) = (𝐵𝐹(𝑇𝐵)))

Theoremfrecuzrdgrclt 9753* The function 𝑅 (used in the definition of the recursive definition generator on upper integers) yields ordered pairs of integers and elements of 𝑆. Similar to frecuzrdgrcl 9748 except that 𝑆 and 𝑇 need not be the same. (Contributed by Jim Kingdon, 22-Apr-2022.)
(𝜑𝐶 ∈ ℤ)    &   (𝜑𝐴𝑆)    &   (𝜑𝑆𝑇)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)       (𝜑𝑅:ω⟶((ℤ𝐶) × 𝑆))

Theoremfrecuzrdgg 9754* Lemma for other theorems involving the the recursive definition generator on upper integers. Evaluating 𝑅 at a natural number gives an ordered pair whose first element is the mapping of that natural number via 𝐺. (Contributed by Jim Kingdon, 23-Apr-2022.)
(𝜑𝐶 ∈ ℤ)    &   (𝜑𝐴𝑆)    &   (𝜑𝑆𝑇)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   (𝜑𝑁 ∈ ω)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)       (𝜑 → (1st ‘(𝑅𝑁)) = (𝐺𝑁))

Theoremfrecuzrdgdomlem 9755* The domain of the result of the recursive definition generator on upper integers. (Contributed by Jim Kingdon, 24-Apr-2022.)
(𝜑𝐶 ∈ ℤ)    &   (𝜑𝐴𝑆)    &   (𝜑𝑆𝑇)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)       (𝜑 → dom ran 𝑅 = (ℤ𝐶))

Theoremfrecuzrdgdom 9756* The domain of the result of the recursive definition generator on upper integers. (Contributed by Jim Kingdon, 24-Apr-2022.)
(𝜑𝐶 ∈ ℤ)    &   (𝜑𝐴𝑆)    &   (𝜑𝑆𝑇)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)       (𝜑 → dom ran 𝑅 = (ℤ𝐶))

Theoremfrecuzrdgfunlem 9757* The recursive definition generator on upper integers produces a a function. (Contributed by Jim Kingdon, 24-Apr-2022.)
(𝜑𝐶 ∈ ℤ)    &   (𝜑𝐴𝑆)    &   (𝜑𝑆𝑇)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)       (𝜑 → Fun ran 𝑅)

Theoremfrecuzrdgfun 9758* The recursive definition generator on upper integers produces a a function. (Contributed by Jim Kingdon, 24-Apr-2022.)
(𝜑𝐶 ∈ ℤ)    &   (𝜑𝐴𝑆)    &   (𝜑𝑆𝑇)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)       (𝜑 → Fun ran 𝑅)

Theoremfrecuzrdgtclt 9759* The recursive definition generator on upper integers is a function. (Contributed by Jim Kingdon, 22-Apr-2022.)
(𝜑𝐶 ∈ ℤ)    &   (𝜑𝐴𝑆)    &   (𝜑𝑆𝑇)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   (𝜑𝑃 = ran 𝑅)       (𝜑𝑃:(ℤ𝐶)⟶𝑆)

Theoremfrecuzrdg0t 9760* Initial value of a recursive definition generator on upper integers. (Contributed by Jim Kingdon, 28-Apr-2022.)
(𝜑𝐶 ∈ ℤ)    &   (𝜑𝐴𝑆)    &   (𝜑𝑆𝑇)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   (𝜑𝑃 = ran 𝑅)       (𝜑 → (𝑃𝐶) = 𝐴)

Theoremfrecuzrdgsuctlem 9761* Successor value of a recursive definition generator on upper integers. See comment in frec2uz0d 9737 for the description of 𝐺 as the mapping from ω to (ℤ𝐶). (Contributed by Jim Kingdon, 29-Apr-2022.)
(𝜑𝐶 ∈ ℤ)    &   (𝜑𝐴𝑆)    &   (𝜑𝑆𝑇)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝑃 = ran 𝑅)       ((𝜑𝐵 ∈ (ℤ𝐶)) → (𝑃‘(𝐵 + 1)) = (𝐵𝐹(𝑃𝐵)))

Theoremfrecuzrdgsuct 9762* Successor value of a recursive definition generator on upper integers. (Contributed by Jim Kingdon, 29-Apr-2022.)
(𝜑𝐶 ∈ ℤ)    &   (𝜑𝐴𝑆)    &   (𝜑𝑆𝑇)    &   ((𝜑 ∧ (𝑥 ∈ (ℤ𝐶) ∧ 𝑦𝑆)) → (𝑥𝐹𝑦) ∈ 𝑆)    &   𝑅 = frec((𝑥 ∈ (ℤ𝐶), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥𝐹𝑦)⟩), ⟨𝐶, 𝐴⟩)    &   (𝜑𝑃 = ran 𝑅)       ((𝜑𝐵 ∈ (ℤ𝐶)) → (𝑃‘(𝐵 + 1)) = (𝐵𝐹(𝑃𝐵)))

Theoremuzenom 9763 An upper integer set is denumerable. (Contributed by Mario Carneiro, 15-Oct-2015.)
𝑍 = (ℤ𝑀)       (𝑀 ∈ ℤ → 𝑍 ≈ ω)

Theoremfrecfzennn 9764 The cardinality of a finite set of sequential integers. (See frec2uz0d 9737 for a description of the hypothesis.) (Contributed by Jim Kingdon, 18-May-2020.)
𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)       (𝑁 ∈ ℕ0 → (1...𝑁) ≈ (𝐺𝑁))

Theoremfrecfzen2 9765 The cardinality of a finite set of sequential integers with arbitrary endpoints. (Contributed by Jim Kingdon, 18-May-2020.)
𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)       (𝑁 ∈ (ℤ𝑀) → (𝑀...𝑁) ≈ (𝐺‘((𝑁 + 1) − 𝑀)))

Theoremfrechashgf1o 9766 𝐺 maps ω one-to-one onto 0. (Contributed by Jim Kingdon, 19-May-2020.)
𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)       𝐺:ω–1-1-onto→ℕ0

Theoremfrec2uzled 9767* The mapping 𝐺 (see frec2uz0d 9737) preserves order. (Contributed by Jim Kingdon, 24-Feb-2022.)
(𝜑𝐶 ∈ ℤ)    &   𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 𝐶)    &   (𝜑𝐴 ∈ ω)    &   (𝜑𝐵 ∈ ω)       (𝜑 → (𝐴𝐵 ↔ (𝐺𝐴) ≤ (𝐺𝐵)))

Theoremfzfig 9768 A finite interval of integers is finite. (Contributed by Jim Kingdon, 19-May-2020.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀...𝑁) ∈ Fin)

Theoremfzfigd 9769 Deduction form of fzfig 9768. (Contributed by Jim Kingdon, 21-May-2020.)
(𝜑𝑀 ∈ ℤ)    &   (𝜑𝑁 ∈ ℤ)       (𝜑 → (𝑀...𝑁) ∈ Fin)

Theoremfzofig 9770 Half-open integer sets are finite. (Contributed by Jim Kingdon, 21-May-2020.)
((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀..^𝑁) ∈ Fin)

Theoremnn0ennn 9771 The nonnegative integers are equinumerous to the positive integers. (Contributed by NM, 19-Jul-2004.)
0 ≈ ℕ

Theoremnnenom 9772 The set of positive integers (as a subset of complex numbers) is equinumerous to omega (the set of finite ordinal numbers). (Contributed by NM, 31-Jul-2004.) (Revised by Mario Carneiro, 15-Sep-2013.)
ℕ ≈ ω

Theoremnnct 9773 is countable. (Contributed by Thierry Arnoux, 29-Dec-2016.)
ℕ ≼ ω

Theoremfnn0nninf 9774* A function from 0 into . (Contributed by Jim Kingdon, 16-Jul-2022.)
𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐹 = (𝑛 ∈ ω ↦ (𝑖 ∈ ω ↦ if(𝑖𝑛, 1𝑜, ∅)))       (𝐹𝐺):ℕ0⟶ℕ

Theoremfxnn0nninf 9775* A function from 0* into . (Contributed by Jim Kingdon, 16-Jul-2022.)
𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐹 = (𝑛 ∈ ω ↦ (𝑖 ∈ ω ↦ if(𝑖𝑛, 1𝑜, ∅)))    &   𝐼 = ((𝐹𝐺) ∪ {⟨+∞, (ω × {1𝑜})⟩})       𝐼:ℕ0*⟶ℕ

Theorem0tonninf 9776* The mapping of zero into is the sequence of all zeroes. (Contributed by Jim Kingdon, 17-Jul-2022.)
𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐹 = (𝑛 ∈ ω ↦ (𝑖 ∈ ω ↦ if(𝑖𝑛, 1𝑜, ∅)))    &   𝐼 = ((𝐹𝐺) ∪ {⟨+∞, (ω × {1𝑜})⟩})       (𝐼‘0) = (𝑥 ∈ ω ↦ ∅)

Theorem1tonninf 9777* The mapping of one into is a sequence which is a one followed by zeroes. (Contributed by Jim Kingdon, 17-Jul-2022.)
𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐹 = (𝑛 ∈ ω ↦ (𝑖 ∈ ω ↦ if(𝑖𝑛, 1𝑜, ∅)))    &   𝐼 = ((𝐹𝐺) ∪ {⟨+∞, (ω × {1𝑜})⟩})       (𝐼‘1) = (𝑥 ∈ ω ↦ if(𝑥 = ∅, 1𝑜, ∅))

Theoreminftonninf 9778* The mapping of +∞ into is the sequence of all ones. (Contributed by Jim Kingdon, 17-Jul-2022.)
𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐹 = (𝑛 ∈ ω ↦ (𝑖 ∈ ω ↦ if(𝑖𝑛, 1𝑜, ∅)))    &   𝐼 = ((𝐹𝐺) ∪ {⟨+∞, (ω × {1𝑜})⟩})       (𝐼‘+∞) = (𝑥 ∈ ω ↦ 1𝑜)

3.6.4  Strong induction over upper sets of integers

Theoremuzsinds 9779* Strong (or "total") induction principle over an upper set of integers. (Contributed by Scott Fenton, 16-May-2014.)
(𝑥 = 𝑦 → (𝜑𝜓))    &   (𝑥 = 𝑁 → (𝜑𝜒))    &   (𝑥 ∈ (ℤ𝑀) → (∀𝑦 ∈ (𝑀...(𝑥 − 1))𝜓𝜑))       (𝑁 ∈ (ℤ𝑀) → 𝜒)

Theoremnnsinds 9780* Strong (or "total") induction principle over the naturals. (Contributed by Scott Fenton, 16-May-2014.)
(𝑥 = 𝑦 → (𝜑𝜓))    &   (𝑥 = 𝑁 → (𝜑𝜒))    &   (𝑥 ∈ ℕ → (∀𝑦 ∈ (1...(𝑥 − 1))𝜓𝜑))       (𝑁 ∈ ℕ → 𝜒)

Theoremnn0sinds 9781* Strong (or "total") induction principle over the nonnegative integers. (Contributed by Scott Fenton, 16-May-2014.)
(𝑥 = 𝑦 → (𝜑𝜓))    &   (𝑥 = 𝑁 → (𝜑𝜒))    &   (𝑥 ∈ ℕ0 → (∀𝑦 ∈ (0...(𝑥 − 1))𝜓𝜑))       (𝑁 ∈ ℕ0𝜒)

3.6.5  The infinite sequence builder "seq"

Syntaxcseq 9782 Extend class notation with recursive sequence builder.
class seq𝑀( + , 𝐹, 𝑆)

Definitiondf-iseq 9783* Define a general-purpose operation that builds a recursive sequence (i.e. a function on the positive integers or some other upper integer set) whose value at an index is a function of its previous value and the value of an input sequence at that index. This definition is complicated, but fortunately it is not intended to be used directly. Instead, the only purpose of this definition is to provide us with an object that has the properties expressed by iseq1 9794 and iseqp1 9799. Typically, those are the main theorems that would be used in practice.

The first operand in the parentheses is the operation that is applied to the previous value and the value of the input sequence (second operand). The operand to the left of the parenthesis is the integer to start from. For example, for the operation +, an input sequence 𝐹 with values 1, 1/2, 1/4, 1/8,... would be transformed into the output sequence seq1( + , 𝐹, ℚ) with values 1, 3/2, 7/4, 15/8,.., so that (seq1( + , 𝐹, ℚ)‘1) = 1, (seq1( + , 𝐹, ℚ)‘2) = 3/2, etc. In other words, seq𝑀( + , 𝐹, ℚ) transforms a sequence 𝐹 into an infinite series.

Internally, the frec function generates as its values a set of ordered pairs starting at 𝑀, (𝐹𝑀)⟩, with the first member of each pair incremented by one in each successive value. So, the range of frec is exactly the sequence we want, and we just extract the range and throw away the domain.

(Contributed by Jim Kingdon, 29-May-2020.)

seq𝑀( + , 𝐹, 𝑆) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)

Theoremiseqex 9784 Existence of the sequence builder operation. (Contributed by Jim Kingdon, 20-Aug-2021.)
seq𝑀( + , 𝐹, 𝑆) ∈ V

Theoremiseqeq1 9785 Equality theorem for the sequence builder operation. (Contributed by Jim Kingdon, 30-May-2020.)
(𝑀 = 𝑁 → seq𝑀( + , 𝐹, 𝑆) = seq𝑁( + , 𝐹, 𝑆))

Theoremiseqeq2 9786 Equality theorem for the sequence builder operation. (Contributed by Jim Kingdon, 30-May-2020.)
( + = 𝑄 → seq𝑀( + , 𝐹, 𝑆) = seq𝑀(𝑄, 𝐹, 𝑆))

Theoremiseqeq3 9787 Equality theorem for the sequence builder operation. (Contributed by Jim Kingdon, 30-May-2020.)
(𝐹 = 𝐺 → seq𝑀( + , 𝐹, 𝑆) = seq𝑀( + , 𝐺, 𝑆))

Theoremiseqeq4 9788 Equality theorem for the sequence builder operation. (Contributed by Jim Kingdon, 30-May-2020.)
(𝑆 = 𝑇 → seq𝑀( + , 𝐹, 𝑆) = seq𝑀( + , 𝐹, 𝑇))

Theoremnfiseq 9789 Hypothesis builder for the sequence builder operation. (Contributed by Jim Kingdon, 30-May-2020.)
𝑥𝑀    &   𝑥 +    &   𝑥𝐹    &   𝑥𝑆       𝑥seq𝑀( + , 𝐹, 𝑆)

Theoremiseqovex 9790* Closure of a function used in proving sequence builder theorems. This can be thought of as a lemma for the small number of sequence builder theorems which need it. (Contributed by Jim Kingdon, 31-May-2020.)
((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐹𝑥) ∈ 𝑆)    &   ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)       ((𝜑 ∧ (𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆)) → (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦) ∈ 𝑆)

Theoremiseqval 9791* Value of the sequence builder function. (Contributed by Jim Kingdon, 30-May-2020.)
𝑅 = frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)    &   ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐹𝑥) ∈ 𝑆)    &   ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)       (𝜑 → seq𝑀( + , 𝐹, 𝑆) = ran 𝑅)

Theoremiseqvalcbv 9792* Changing the bound variables in an expression which appears in some seq related proofs. (Contributed by Jim Kingdon, 28-Apr-2022.)
frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩) = frec((𝑎 ∈ (ℤ𝑀), 𝑏𝑇 ↦ ⟨(𝑎 + 1), (𝑎(𝑐 ∈ (ℤ𝑀), 𝑑𝑆 ↦ (𝑑 + (𝐹‘(𝑐 + 1))))𝑏)⟩), ⟨𝑀, (𝐹𝑀)⟩)

Theoremiseqvalt 9793* Value of the sequence builder function. (Contributed by Jim Kingdon, 27-Apr-2022.)
(𝜑𝑀 ∈ ℤ)    &   𝑅 = frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑇 ↦ ⟨(𝑥 + 1), (𝑥(𝑧 ∈ (ℤ𝑀), 𝑤𝑆 ↦ (𝑤 + (𝐹‘(𝑧 + 1))))𝑦)⟩), ⟨𝑀, (𝐹𝑀)⟩)    &   ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐹𝑥) ∈ 𝑆)    &   ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)    &   (𝜑𝑆𝑇)       (𝜑 → seq𝑀( + , 𝐹, 𝑇) = ran 𝑅)

Theoremiseq1 9794* Value of the sequence builder function at its initial value. (Contributed by Jim Kingdon, 31-May-2020.)
(𝜑𝑀 ∈ ℤ)    &   ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐹𝑥) ∈ 𝑆)    &   ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)       (𝜑 → (seq𝑀( + , 𝐹, 𝑆)‘𝑀) = (𝐹𝑀))

Theoremiseq1t 9795* Value of the sequence builder function at its initial value. (Contributed by Jim Kingdon, 31-May-2020.)
(𝜑𝑀 ∈ ℤ)    &   ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐹𝑥) ∈ 𝑆)    &   ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)    &   (𝜑𝑆𝑇)       (𝜑 → (seq𝑀( + , 𝐹, 𝑇)‘𝑀) = (𝐹𝑀))

Theoremiseqfcl 9796* Range of the recursive sequence builder. (Contributed by Jim Kingdon, 11-Apr-2022.)
𝑍 = (ℤ𝑀)    &   (𝜑𝑀 ∈ ℤ)    &   ((𝜑𝑥𝑍) → (𝐹𝑥) ∈ 𝑆)    &   ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)       (𝜑 → seq𝑀( + , 𝐹, 𝑆):𝑍𝑆)

Theoremiseqfclt 9797* Range of the recursive sequence builder. (Contributed by Jim Kingdon, 26-Apr-2022.)
𝑍 = (ℤ𝑀)    &   (𝜑𝑀 ∈ ℤ)    &   ((𝜑𝑥𝑍) → (𝐹𝑥) ∈ 𝑆)    &   ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)    &   (𝜑𝑆𝑇)       (𝜑 → seq𝑀( + , 𝐹, 𝑇):𝑍𝑆)

Theoremiseqcl 9798* Closure property of the recursive sequence builder. (Contributed by Jim Kingdon, 1-Jun-2020.)
(𝜑𝑁 ∈ (ℤ𝑀))    &   ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐹𝑥) ∈ 𝑆)    &   ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)       (𝜑 → (seq𝑀( + , 𝐹, 𝑆)‘𝑁) ∈ 𝑆)

Theoremiseqp1 9799* Value of the sequence builder function at a successor. (Contributed by Jim Kingdon, 31-May-2020.)
(𝜑𝑁 ∈ (ℤ𝑀))    &   ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐹𝑥) ∈ 𝑆)    &   ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)       (𝜑 → (seq𝑀( + , 𝐹, 𝑆)‘(𝑁 + 1)) = ((seq𝑀( + , 𝐹, 𝑆)‘𝑁) + (𝐹‘(𝑁 + 1))))

Theoremiseqp1t 9800* Value of the sequence builder function at a successor. (Contributed by Jim Kingdon, 30-Apr-2022.)
(𝜑𝑁 ∈ (ℤ𝑀))    &   ((𝜑𝑥 ∈ (ℤ𝑀)) → (𝐹𝑥) ∈ 𝑆)    &   ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)    &   (𝜑𝑆𝑇)       (𝜑 → (seq𝑀( + , 𝐹, 𝑇)‘(𝑁 + 1)) = ((seq𝑀( + , 𝐹, 𝑇)‘𝑁) + (𝐹‘(𝑁 + 1))))

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-10500 106 10501-10600 107 10601-10700 108 10701-10800 109 10801-10900 110 10901-11000 111 11001-11100 112 11101-11200 113 11201-11300 114 11301-11394
 Copyright terms: Public domain < Previous  Next >