HomeHome Intuitionistic Logic Explorer
Theorem List (p. 132 of 170)
< 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 - 13101-13200   *Has distinct variable group(s)
TypeLabelDescription
Statement
 
Theorem4sqlemafi 13101* Lemma for 4sq 13116. 𝐴 is finite. (Contributed by Jim Kingdon, 24-May-2025.)
(𝜑𝑁 ∈ ℕ)    &   (𝜑𝑃 ∈ ℕ)    &   𝐴 = {𝑢 ∣ ∃𝑚 ∈ (0...𝑁)𝑢 = ((𝑚↑2) mod 𝑃)}       (𝜑𝐴 ∈ Fin)
 
Theorem4sqlemffi 13102* Lemma for 4sq 13116. ran 𝐹 is finite. (Contributed by Jim Kingdon, 24-May-2025.)
(𝜑𝑁 ∈ ℕ)    &   (𝜑𝑃 ∈ ℕ)    &   𝐴 = {𝑢 ∣ ∃𝑚 ∈ (0...𝑁)𝑢 = ((𝑚↑2) mod 𝑃)}    &   𝐹 = (𝑣𝐴 ↦ ((𝑃 − 1) − 𝑣))       (𝜑 → ran 𝐹 ∈ Fin)
 
Theorem4sqleminfi 13103* Lemma for 4sq 13116. 𝐴 ∩ ran 𝐹 is finite. (Contributed by Jim Kingdon, 24-May-2025.)
(𝜑𝑁 ∈ ℕ)    &   (𝜑𝑃 ∈ ℕ)    &   𝐴 = {𝑢 ∣ ∃𝑚 ∈ (0...𝑁)𝑢 = ((𝑚↑2) mod 𝑃)}    &   𝐹 = (𝑣𝐴 ↦ ((𝑃 − 1) − 𝑣))       (𝜑 → (𝐴 ∩ ran 𝐹) ∈ Fin)
 
Theorem4sqexercise1 13104* Exercise which may help in understanding the proof of 4sqlemsdc 13106. (Contributed by Jim Kingdon, 25-May-2025.)
𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ 𝑛 = (𝑥↑2)}       (𝐴 ∈ ℕ0DECID 𝐴𝑆)
 
Theorem4sqexercise2 13105* Exercise which may help in understanding the proof of 4sqlemsdc 13106. (Contributed by Jim Kingdon, 30-May-2025.)
𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ 𝑛 = ((𝑥↑2) + (𝑦↑2))}       (𝐴 ∈ ℕ0DECID 𝐴𝑆)
 
Theorem4sqlemsdc 13106* Lemma for 4sq 13116. The property of being the sum of four squares is decidable.

The proof involves showing that (for a particular 𝐴) there are only a finite number of possible ways that it could be the sum of four squares, so checking each of those possibilities in turn decides whether the number is the sum of four squares. If this proof is hard to follow, especially because of its length, the simplified versions at 4sqexercise1 13104 and 4sqexercise2 13105 may help clarify, as they are using very much the same techniques on simplified versions of this lemma. (Contributed by Jim Kingdon, 25-May-2025.)

𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ 𝑛 = (((𝑥↑2) + (𝑦↑2)) + ((𝑧↑2) + (𝑤↑2)))}       (𝐴 ∈ ℕ0DECID 𝐴𝑆)
 
Theorem4sqlem11 13107* Lemma for 4sq 13116. Use the pigeonhole principle to show that the sets {𝑚↑2 ∣ 𝑚 ∈ (0...𝑁)} and {-1 − 𝑛↑2 ∣ 𝑛 ∈ (0...𝑁)} have a common element, mod 𝑃. Note that although the conclusion is stated in terms of 𝐴 ∩ ran 𝐹 being nonempty, it is also inhabited by 4sqleminfi 13103 and fin0 7144. (Contributed by Mario Carneiro, 15-Jul-2014.)
𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ 𝑛 = (((𝑥↑2) + (𝑦↑2)) + ((𝑧↑2) + (𝑤↑2)))}    &   (𝜑𝑁 ∈ ℕ)    &   (𝜑𝑃 = ((2 · 𝑁) + 1))    &   (𝜑𝑃 ∈ ℙ)    &   𝐴 = {𝑢 ∣ ∃𝑚 ∈ (0...𝑁)𝑢 = ((𝑚↑2) mod 𝑃)}    &   𝐹 = (𝑣𝐴 ↦ ((𝑃 − 1) − 𝑣))       (𝜑 → (𝐴 ∩ ran 𝐹) ≠ ∅)
 
Theorem4sqlem12 13108* Lemma for 4sq 13116. For any odd prime 𝑃, there is a 𝑘 < 𝑃 such that 𝑘𝑃 − 1 is a sum of two squares. (Contributed by Mario Carneiro, 15-Jul-2014.)
𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ 𝑛 = (((𝑥↑2) + (𝑦↑2)) + ((𝑧↑2) + (𝑤↑2)))}    &   (𝜑𝑁 ∈ ℕ)    &   (𝜑𝑃 = ((2 · 𝑁) + 1))    &   (𝜑𝑃 ∈ ℙ)    &   𝐴 = {𝑢 ∣ ∃𝑚 ∈ (0...𝑁)𝑢 = ((𝑚↑2) mod 𝑃)}    &   𝐹 = (𝑣𝐴 ↦ ((𝑃 − 1) − 𝑣))       (𝜑 → ∃𝑘 ∈ (1...(𝑃 − 1))∃𝑢 ∈ ℤ[i] (((abs‘𝑢)↑2) + 1) = (𝑘 · 𝑃))
 
Theorem4sqlem13m 13109* Lemma for 4sq 13116. (Contributed by Mario Carneiro, 16-Jul-2014.) (Revised by AV, 14-Sep-2020.)
𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ 𝑛 = (((𝑥↑2) + (𝑦↑2)) + ((𝑧↑2) + (𝑤↑2)))}    &   (𝜑𝑁 ∈ ℕ)    &   (𝜑𝑃 = ((2 · 𝑁) + 1))    &   (𝜑𝑃 ∈ ℙ)    &   (𝜑 → (0...(2 · 𝑁)) ⊆ 𝑆)    &   𝑇 = {𝑖 ∈ ℕ ∣ (𝑖 · 𝑃) ∈ 𝑆}    &   𝑀 = inf(𝑇, ℝ, < )       (𝜑 → (∃𝑗 𝑗𝑇𝑀 < 𝑃))
 
Theorem4sqlem14 13110* Lemma for 4sq 13116. (Contributed by Mario Carneiro, 16-Jul-2014.) (Revised by AV, 14-Sep-2020.)
𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ 𝑛 = (((𝑥↑2) + (𝑦↑2)) + ((𝑧↑2) + (𝑤↑2)))}    &   (𝜑𝑁 ∈ ℕ)    &   (𝜑𝑃 = ((2 · 𝑁) + 1))    &   (𝜑𝑃 ∈ ℙ)    &   (𝜑 → (0...(2 · 𝑁)) ⊆ 𝑆)    &   𝑇 = {𝑖 ∈ ℕ ∣ (𝑖 · 𝑃) ∈ 𝑆}    &   𝑀 = inf(𝑇, ℝ, < )    &   (𝜑𝑀 ∈ (ℤ‘2))    &   (𝜑𝐴 ∈ ℤ)    &   (𝜑𝐵 ∈ ℤ)    &   (𝜑𝐶 ∈ ℤ)    &   (𝜑𝐷 ∈ ℤ)    &   𝐸 = (((𝐴 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐹 = (((𝐵 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐺 = (((𝐶 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐻 = (((𝐷 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝑅 = ((((𝐸↑2) + (𝐹↑2)) + ((𝐺↑2) + (𝐻↑2))) / 𝑀)    &   (𝜑 → (𝑀 · 𝑃) = (((𝐴↑2) + (𝐵↑2)) + ((𝐶↑2) + (𝐷↑2))))       (𝜑𝑅 ∈ ℕ0)
 
Theorem4sqlem15 13111* Lemma for 4sq 13116. (Contributed by Mario Carneiro, 16-Jul-2014.) (Revised by AV, 14-Sep-2020.)
𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ 𝑛 = (((𝑥↑2) + (𝑦↑2)) + ((𝑧↑2) + (𝑤↑2)))}    &   (𝜑𝑁 ∈ ℕ)    &   (𝜑𝑃 = ((2 · 𝑁) + 1))    &   (𝜑𝑃 ∈ ℙ)    &   (𝜑 → (0...(2 · 𝑁)) ⊆ 𝑆)    &   𝑇 = {𝑖 ∈ ℕ ∣ (𝑖 · 𝑃) ∈ 𝑆}    &   𝑀 = inf(𝑇, ℝ, < )    &   (𝜑𝑀 ∈ (ℤ‘2))    &   (𝜑𝐴 ∈ ℤ)    &   (𝜑𝐵 ∈ ℤ)    &   (𝜑𝐶 ∈ ℤ)    &   (𝜑𝐷 ∈ ℤ)    &   𝐸 = (((𝐴 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐹 = (((𝐵 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐺 = (((𝐶 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐻 = (((𝐷 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝑅 = ((((𝐸↑2) + (𝐹↑2)) + ((𝐺↑2) + (𝐻↑2))) / 𝑀)    &   (𝜑 → (𝑀 · 𝑃) = (((𝐴↑2) + (𝐵↑2)) + ((𝐶↑2) + (𝐷↑2))))       ((𝜑𝑅 = 𝑀) → ((((((𝑀↑2) / 2) / 2) − (𝐸↑2)) = 0 ∧ ((((𝑀↑2) / 2) / 2) − (𝐹↑2)) = 0) ∧ (((((𝑀↑2) / 2) / 2) − (𝐺↑2)) = 0 ∧ ((((𝑀↑2) / 2) / 2) − (𝐻↑2)) = 0)))
 
Theorem4sqlem16 13112* Lemma for 4sq 13116. (Contributed by Mario Carneiro, 16-Jul-2014.) (Revised by AV, 14-Sep-2020.)
𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ 𝑛 = (((𝑥↑2) + (𝑦↑2)) + ((𝑧↑2) + (𝑤↑2)))}    &   (𝜑𝑁 ∈ ℕ)    &   (𝜑𝑃 = ((2 · 𝑁) + 1))    &   (𝜑𝑃 ∈ ℙ)    &   (𝜑 → (0...(2 · 𝑁)) ⊆ 𝑆)    &   𝑇 = {𝑖 ∈ ℕ ∣ (𝑖 · 𝑃) ∈ 𝑆}    &   𝑀 = inf(𝑇, ℝ, < )    &   (𝜑𝑀 ∈ (ℤ‘2))    &   (𝜑𝐴 ∈ ℤ)    &   (𝜑𝐵 ∈ ℤ)    &   (𝜑𝐶 ∈ ℤ)    &   (𝜑𝐷 ∈ ℤ)    &   𝐸 = (((𝐴 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐹 = (((𝐵 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐺 = (((𝐶 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐻 = (((𝐷 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝑅 = ((((𝐸↑2) + (𝐹↑2)) + ((𝐺↑2) + (𝐻↑2))) / 𝑀)    &   (𝜑 → (𝑀 · 𝑃) = (((𝐴↑2) + (𝐵↑2)) + ((𝐶↑2) + (𝐷↑2))))       (𝜑 → (𝑅𝑀 ∧ ((𝑅 = 0 ∨ 𝑅 = 𝑀) → (𝑀↑2) ∥ (𝑀 · 𝑃))))
 
Theorem4sqlem17 13113* Lemma for 4sq 13116. (Contributed by Mario Carneiro, 16-Jul-2014.) (Revised by AV, 14-Sep-2020.)
𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ 𝑛 = (((𝑥↑2) + (𝑦↑2)) + ((𝑧↑2) + (𝑤↑2)))}    &   (𝜑𝑁 ∈ ℕ)    &   (𝜑𝑃 = ((2 · 𝑁) + 1))    &   (𝜑𝑃 ∈ ℙ)    &   (𝜑 → (0...(2 · 𝑁)) ⊆ 𝑆)    &   𝑇 = {𝑖 ∈ ℕ ∣ (𝑖 · 𝑃) ∈ 𝑆}    &   𝑀 = inf(𝑇, ℝ, < )    &   (𝜑𝑀 ∈ (ℤ‘2))    &   (𝜑𝐴 ∈ ℤ)    &   (𝜑𝐵 ∈ ℤ)    &   (𝜑𝐶 ∈ ℤ)    &   (𝜑𝐷 ∈ ℤ)    &   𝐸 = (((𝐴 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐹 = (((𝐵 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐺 = (((𝐶 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝐻 = (((𝐷 + (𝑀 / 2)) mod 𝑀) − (𝑀 / 2))    &   𝑅 = ((((𝐸↑2) + (𝐹↑2)) + ((𝐺↑2) + (𝐻↑2))) / 𝑀)    &   (𝜑 → (𝑀 · 𝑃) = (((𝐴↑2) + (𝐵↑2)) + ((𝐶↑2) + (𝐷↑2))))        ¬ 𝜑
 
Theorem4sqlem18 13114* Lemma for 4sq 13116. Inductive step, odd prime case. (Contributed by Mario Carneiro, 16-Jul-2014.) (Revised by AV, 14-Sep-2020.)
𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ 𝑛 = (((𝑥↑2) + (𝑦↑2)) + ((𝑧↑2) + (𝑤↑2)))}    &   (𝜑𝑁 ∈ ℕ)    &   (𝜑𝑃 = ((2 · 𝑁) + 1))    &   (𝜑𝑃 ∈ ℙ)    &   (𝜑 → (0...(2 · 𝑁)) ⊆ 𝑆)    &   𝑇 = {𝑖 ∈ ℕ ∣ (𝑖 · 𝑃) ∈ 𝑆}    &   𝑀 = inf(𝑇, ℝ, < )       (𝜑𝑃𝑆)
 
Theorem4sqlem19 13115* Lemma for 4sq 13116. The proof is by strong induction - we show that if all the integers less than 𝑘 are in 𝑆, then 𝑘 is as well. In this part of the proof we do the induction argument and dispense with all the cases except the odd prime case, which is sent to 4sqlem18 13114. If 𝑘 is 0, 1, 2, we show 𝑘𝑆 directly; otherwise if 𝑘 is composite, 𝑘 is the product of two numbers less than it (and hence in 𝑆 by assumption), so by mul4sq 13100 𝑘𝑆. (Contributed by Mario Carneiro, 14-Jul-2014.) (Revised by Mario Carneiro, 20-Jun-2015.)
𝑆 = {𝑛 ∣ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℤ 𝑛 = (((𝑥↑2) + (𝑦↑2)) + ((𝑧↑2) + (𝑤↑2)))}       0 = 𝑆
 
Theorem4sq 13116* Lagrange's four-square theorem, or Bachet's conjecture: every nonnegative integer is expressible as a sum of four squares. This is Metamath 100 proof #19. (Contributed by Mario Carneiro, 16-Jul-2014.)
(𝐴 ∈ ℕ0 ↔ ∃𝑎 ∈ ℤ ∃𝑏 ∈ ℤ ∃𝑐 ∈ ℤ ∃𝑑 ∈ ℤ 𝐴 = (((𝑎↑2) + (𝑏↑2)) + ((𝑐↑2) + (𝑑↑2))))
 
5.2.13  Decimal arithmetic (cont.)
 
Theoremdec2dvds 13117 Divisibility by two is obvious in base 10. (Contributed by Mario Carneiro, 19-Apr-2015.)
𝐴 ∈ ℕ0    &   𝐵 ∈ ℕ0    &   (𝐵 · 2) = 𝐶    &   𝐷 = (𝐶 + 1)        ¬ 2 ∥ 𝐴𝐷
 
Theoremdec5dvds 13118 Divisibility by five is obvious in base 10. (Contributed by Mario Carneiro, 19-Apr-2015.)
𝐴 ∈ ℕ0    &   𝐵 ∈ ℕ    &   𝐵 < 5        ¬ 5 ∥ 𝐴𝐵
 
Theoremdec5dvds2 13119 Divisibility by five is obvious in base 10. (Contributed by Mario Carneiro, 19-Apr-2015.)
𝐴 ∈ ℕ0    &   𝐵 ∈ ℕ    &   𝐵 < 5    &   (5 + 𝐵) = 𝐶        ¬ 5 ∥ 𝐴𝐶
 
Theoremdec5nprm 13120 A decimal number greater than 10 and ending with five is not a prime number. (Contributed by Mario Carneiro, 19-Apr-2015.)
𝐴 ∈ ℕ        ¬ 𝐴5 ∈ ℙ
 
Theoremdec2nprm 13121 A decimal number greater than 10 and ending with an even digit is not a prime number. (Contributed by Mario Carneiro, 19-Apr-2015.)
𝐴 ∈ ℕ    &   𝐵 ∈ ℕ0    &   (𝐵 · 2) = 𝐶        ¬ 𝐴𝐶 ∈ ℙ
 
Theoremmodxai 13122 Add exponents in a power mod calculation. (Contributed by Mario Carneiro, 21-Feb-2014.) (Revised by Mario Carneiro, 5-Feb-2015.)
𝑁 ∈ ℕ    &   𝐴 ∈ ℕ    &   𝐵 ∈ ℕ0    &   𝐷 ∈ ℤ    &   𝐾 ∈ ℕ0    &   𝑀 ∈ ℕ0    &   𝐶 ∈ ℕ0    &   𝐿 ∈ ℕ0    &   ((𝐴𝐵) mod 𝑁) = (𝐾 mod 𝑁)    &   ((𝐴𝐶) mod 𝑁) = (𝐿 mod 𝑁)    &   (𝐵 + 𝐶) = 𝐸    &   ((𝐷 · 𝑁) + 𝑀) = (𝐾 · 𝐿)       ((𝐴𝐸) mod 𝑁) = (𝑀 mod 𝑁)
 
Theoremmod2xi 13123 Double exponents in a power mod calculation. (Contributed by Mario Carneiro, 21-Feb-2014.)
𝑁 ∈ ℕ    &   𝐴 ∈ ℕ    &   𝐵 ∈ ℕ0    &   𝐷 ∈ ℤ    &   𝐾 ∈ ℕ0    &   𝑀 ∈ ℕ0    &   ((𝐴𝐵) mod 𝑁) = (𝐾 mod 𝑁)    &   (2 · 𝐵) = 𝐸    &   ((𝐷 · 𝑁) + 𝑀) = (𝐾 · 𝐾)       ((𝐴𝐸) mod 𝑁) = (𝑀 mod 𝑁)
 
Theoremmodxp1i 13124 Add one to an exponent in a power mod calculation. (Contributed by Mario Carneiro, 21-Feb-2014.)
𝑁 ∈ ℕ    &   𝐴 ∈ ℕ    &   𝐵 ∈ ℕ0    &   𝐷 ∈ ℤ    &   𝐾 ∈ ℕ0    &   𝑀 ∈ ℕ0    &   ((𝐴𝐵) mod 𝑁) = (𝐾 mod 𝑁)    &   (𝐵 + 1) = 𝐸    &   ((𝐷 · 𝑁) + 𝑀) = (𝐾 · 𝐴)       ((𝐴𝐸) mod 𝑁) = (𝑀 mod 𝑁)
 
Theoremmodsubi 13125 Subtract from within a mod calculation. (Contributed by Mario Carneiro, 18-Feb-2014.)
𝑁 ∈ ℕ    &   𝐴 ∈ ℕ    &   𝐵 ∈ ℕ0    &   𝑀 ∈ ℕ0    &   (𝐴 mod 𝑁) = (𝐾 mod 𝑁)    &   (𝑀 + 𝐵) = 𝐾       ((𝐴𝐵) mod 𝑁) = (𝑀 mod 𝑁)
 
Theoremgcdi 13126 Calculate a GCD via Euclid's algorithm. (Contributed by Mario Carneiro, 19-Feb-2014.)
𝐾 ∈ ℕ0    &   𝑅 ∈ ℕ0    &   𝑁 ∈ ℕ0    &   (𝑁 gcd 𝑅) = 𝐺    &   ((𝐾 · 𝑁) + 𝑅) = 𝑀       (𝑀 gcd 𝑁) = 𝐺
 
Theoremgcdmodi 13127 Calculate a GCD via Euclid's algorithm. Theorem 5.6 in [ApostolNT] p. 109. (Contributed by Mario Carneiro, 19-Feb-2014.)
𝐾 ∈ ℕ0    &   𝑅 ∈ ℕ0    &   𝑁 ∈ ℕ    &   (𝐾 mod 𝑁) = (𝑅 mod 𝑁)    &   (𝑁 gcd 𝑅) = 𝐺       (𝐾 gcd 𝑁) = 𝐺
 
Theoremnumexp0 13128 Calculate an integer power. (Contributed by Mario Carneiro, 17-Apr-2015.)
𝐴 ∈ ℕ0       (𝐴↑0) = 1
 
Theoremnumexp1 13129 Calculate an integer power. (Contributed by Mario Carneiro, 17-Apr-2015.)
𝐴 ∈ ℕ0       (𝐴↑1) = 𝐴
 
Theoremnumexpp1 13130 Calculate an integer power. (Contributed by Mario Carneiro, 17-Apr-2015.)
𝐴 ∈ ℕ0    &   𝑀 ∈ ℕ0    &   (𝑀 + 1) = 𝑁    &   ((𝐴𝑀) · 𝐴) = 𝐶       (𝐴𝑁) = 𝐶
 
Theoremnumexp2x 13131 Double an integer power. (Contributed by Mario Carneiro, 17-Apr-2015.)
𝐴 ∈ ℕ0    &   𝑀 ∈ ℕ0    &   (2 · 𝑀) = 𝑁    &   (𝐴𝑀) = 𝐷    &   (𝐷 · 𝐷) = 𝐶       (𝐴𝑁) = 𝐶
 
Theoremdecsplit0b 13132 Split a decimal number into two parts. Base case: 𝑁 = 0. (Contributed by Mario Carneiro, 16-Jul-2015.) (Revised by AV, 8-Sep-2021.)
𝐴 ∈ ℕ0       ((𝐴 · (10↑0)) + 𝐵) = (𝐴 + 𝐵)
 
Theoremdecsplit0 13133 Split a decimal number into two parts. Base case: 𝑁 = 0. (Contributed by Mario Carneiro, 16-Jul-2015.) (Revised by AV, 8-Sep-2021.)
𝐴 ∈ ℕ0       ((𝐴 · (10↑0)) + 0) = 𝐴
 
Theoremdecsplit1 13134 Split a decimal number into two parts. Base case: 𝑁 = 1. (Contributed by Mario Carneiro, 16-Jul-2015.) (Revised by AV, 8-Sep-2021.)
𝐴 ∈ ℕ0       ((𝐴 · (10↑1)) + 𝐵) = 𝐴𝐵
 
Theoremdecsplit 13135 Split a decimal number into two parts. Inductive step. (Contributed by Mario Carneiro, 16-Jul-2015.) (Revised by AV, 8-Sep-2021.)
𝐴 ∈ ℕ0    &   𝐵 ∈ ℕ0    &   𝐷 ∈ ℕ0    &   𝑀 ∈ ℕ0    &   (𝑀 + 1) = 𝑁    &   ((𝐴 · (10↑𝑀)) + 𝐵) = 𝐶       ((𝐴 · (10↑𝑁)) + 𝐵𝐷) = 𝐶𝐷
 
Theoremkaratsuba 13136 The Karatsuba multiplication algorithm. If 𝑋 and 𝑌 are decomposed into two groups of digits of length 𝑀 (only the lower group is known to be this size but the algorithm is most efficient when the partition is chosen near the middle of the digit string), then 𝑋𝑌 can be written in three groups of digits, where each group needs only one multiplication. Thus, we can halve both inputs with only three multiplications on the smaller operands, yielding an asymptotic improvement of n^(log2 3) instead of n^2 for the "naive" algorithm decmul1c 9779. (Contributed by Mario Carneiro, 16-Jul-2015.) (Revised by AV, 9-Sep-2021.)
𝐴 ∈ ℕ0    &   𝐵 ∈ ℕ0    &   𝐶 ∈ ℕ0    &   𝐷 ∈ ℕ0    &   𝑆 ∈ ℕ0    &   𝑀 ∈ ℕ0    &   (𝐴 · 𝐶) = 𝑅    &   (𝐵 · 𝐷) = 𝑇    &   ((𝐴 + 𝐵) · (𝐶 + 𝐷)) = ((𝑅 + 𝑆) + 𝑇)    &   ((𝐴 · (10↑𝑀)) + 𝐵) = 𝑋    &   ((𝐶 · (10↑𝑀)) + 𝐷) = 𝑌    &   ((𝑅 · (10↑𝑀)) + 𝑆) = 𝑊    &   ((𝑊 · (10↑𝑀)) + 𝑇) = 𝑍       (𝑋 · 𝑌) = 𝑍
 
Theorem2exp4 13137 Two to the fourth power is 16. (Contributed by Mario Carneiro, 20-Apr-2015.)
(2↑4) = 16
 
Theorem2exp5 13138 Two to the fifth power is 32. (Contributed by AV, 16-Aug-2021.)
(2↑5) = 32
 
Theorem2exp6 13139 Two to the sixth power is 64. (Contributed by Mario Carneiro, 20-Apr-2015.) (Proof shortened by OpenAI, 25-Mar-2020.)
(2↑6) = 64
 
Theorem2exp7 13140 Two to the seventh power is 128. (Contributed by AV, 16-Aug-2021.)
(2↑7) = 128
 
Theorem2exp8 13141 Two to the eighth power is 256. (Contributed by Mario Carneiro, 20-Apr-2015.)
(2↑8) = 256
 
Theorem2exp11 13142 Two to the eleventh power is 2048. (Contributed by AV, 16-Aug-2021.)
(2↑11) = 2048
 
Theorem2exp16 13143 Two to the sixteenth power is 65536. (Contributed by Mario Carneiro, 20-Apr-2015.)
(2↑16) = 65536
 
Theorem3exp3 13144 Three to the third power is 27. (Contributed by Mario Carneiro, 20-Apr-2015.)
(3↑3) = 27
 
Theorem2expltfac 13145 The factorial grows faster than two to the power 𝑁. (Contributed by Mario Carneiro, 15-Sep-2016.)
(𝑁 ∈ (ℤ‘4) → (2↑𝑁) < (!‘𝑁))
 
5.2.14  Bertrand's Ballot Problem
 
Theoremballotfilemofi 13146* 𝑂 is finite. (Contributed by Jim Kingdon, 20-May-2026.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}       𝑂 ∈ Fin
 
Theoremballotfilem1 13147* The size of the universe is a binomial coefficient. (Contributed by Thierry Arnoux, 23-Nov-2016.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}       (♯‘𝑂) = ((𝑀 + 𝑁)C𝑀)
 
Theoremballotfilemonn 13148* The size of the universe is at least one. (Contributed by Jim Kingdon, 4-Jun-2026.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}       (♯‘𝑂) ∈ ℕ
 
Theoremballotfilemelo 13149* Elementhood in 𝑂. (Contributed by Thierry Arnoux, 17-Apr-2017.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}       (𝐶𝑂 ↔ (𝐶 ⊆ (1...(𝑀 + 𝑁)) ∧ 𝐶 ∈ Fin ∧ (♯‘𝐶) = 𝑀))
 
Theoremballotfilemcdc 13150* Lemma for ballotfi . It is decidable whether a given integer is an element of a particular element of 𝑂. (Contributed by Jim Kingdon, 7-Jun-2026.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   (𝜑𝐶𝑂)    &   (𝜑𝐾 ∈ ℤ)       (𝜑DECID 𝐾𝐶)
 
Theoremballotfilemcinfi 13151* Lemma for ballotfi . The portion of a particular element of 𝑂 up to a specified integer is finite. (Contributed by Jim Kingdon, 8-Jun-2026.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   (𝜑𝐶𝑂)    &   (𝜑𝐽 ∈ ℤ)       (𝜑 → ((1...𝐽) ∩ 𝐶) ∈ Fin)
 
Theoremballotfilemdifcfi 13152* Lemma for ballotfi . The portion of an integer range which is not part of a particular element of 𝑂 is finite. (Contributed by Jim Kingdon, 8-Jun-2026.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   (𝜑𝐶𝑂)    &   (𝜑𝐽 ∈ ℤ)       (𝜑 → ((1...𝐽) ∖ 𝐶) ∈ Fin)
 
Theoremballotfilem2 13153* The probability that the first vote picked in a count is a B. (Contributed by Thierry Arnoux, 23-Nov-2016.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   𝑃 = (𝑥 ∈ (𝒫 𝑂 ∩ Fin) ↦ ((♯‘𝑥) / (♯‘𝑂)))       (𝑃‘{𝑐𝑂 ∣ ¬ 1 ∈ 𝑐}) = (𝑁 / (𝑀 + 𝑁))
 
Theoremballotfilemfval 13154* The value of 𝐹. (Contributed by Thierry Arnoux, 23-Nov-2016.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   𝑃 = (𝑥 ∈ (𝒫 𝑂 ∩ Fin) ↦ ((♯‘𝑥) / (♯‘𝑂)))    &   𝐹 = (𝑐𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐)))))    &   (𝜑𝐶𝑂)    &   (𝜑𝐽 ∈ ℤ)       (𝜑 → ((𝐹𝐶)‘𝐽) = ((♯‘((1...𝐽) ∩ 𝐶)) − (♯‘((1...𝐽) ∖ 𝐶))))
 
Theoremballotfilemfelz 13155* (𝐹𝐶) has values in . (Contributed by Thierry Arnoux, 23-Nov-2016.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   𝑃 = (𝑥 ∈ (𝒫 𝑂 ∩ Fin) ↦ ((♯‘𝑥) / (♯‘𝑂)))    &   𝐹 = (𝑐𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐)))))    &   (𝜑𝐶𝑂)    &   (𝜑𝐽 ∈ ℤ)       (𝜑 → ((𝐹𝐶)‘𝐽) ∈ ℤ)
 
Theoremballotfilemfp1 13156* If the 𝐽 th ballot is for A, (𝐹𝐶) goes up 1. If the 𝐽 th ballot is for B, (𝐹𝐶) goes down 1. (Contributed by Thierry Arnoux, 24-Nov-2016.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   𝑃 = (𝑥 ∈ (𝒫 𝑂 ∩ Fin) ↦ ((♯‘𝑥) / (♯‘𝑂)))    &   𝐹 = (𝑐𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐)))))    &   (𝜑𝐶𝑂)    &   (𝜑𝐽 ∈ ℕ)       (𝜑 → ((¬ 𝐽𝐶 → ((𝐹𝐶)‘𝐽) = (((𝐹𝐶)‘(𝐽 − 1)) − 1)) ∧ (𝐽𝐶 → ((𝐹𝐶)‘𝐽) = (((𝐹𝐶)‘(𝐽 − 1)) + 1))))
 
Theoremballotfilemfc0 13157* 𝐹 takes value 0 between negative and positive values. (Contributed by Thierry Arnoux, 24-Nov-2016.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   𝑃 = (𝑥 ∈ (𝒫 𝑂 ∩ Fin) ↦ ((♯‘𝑥) / (♯‘𝑂)))    &   𝐹 = (𝑐𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐)))))    &   (𝜑𝐶𝑂)    &   (𝜑𝐽 ∈ ℕ)    &   (𝜑 → ∃𝑖 ∈ (1...𝐽)((𝐹𝐶)‘𝑖) ≤ 0)    &   (𝜑 → 0 < ((𝐹𝐶)‘𝐽))       (𝜑 → ∃𝑘 ∈ (1...𝐽)((𝐹𝐶)‘𝑘) = 0)
 
Theoremballotfilemfcc 13158* 𝐹 takes value 0 between positive and negative values. (Contributed by Thierry Arnoux, 2-Apr-2017.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   𝑃 = (𝑥 ∈ (𝒫 𝑂 ∩ Fin) ↦ ((♯‘𝑥) / (♯‘𝑂)))    &   𝐹 = (𝑐𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐)))))    &   (𝜑𝐶𝑂)    &   (𝜑𝐽 ∈ ℕ)    &   (𝜑 → ∃𝑖 ∈ (1...𝐽)0 ≤ ((𝐹𝐶)‘𝑖))    &   (𝜑 → ((𝐹𝐶)‘𝐽) < 0)       (𝜑 → ∃𝑘 ∈ (1...𝐽)((𝐹𝐶)‘𝑘) = 0)
 
Theoremballotfilemfmpn 13159* (𝐹𝐶) finishes counting at (𝑀𝑁). (Contributed by Thierry Arnoux, 25-Nov-2016.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   𝑃 = (𝑥 ∈ (𝒫 𝑂 ∩ Fin) ↦ ((♯‘𝑥) / (♯‘𝑂)))    &   𝐹 = (𝑐𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐)))))       (𝐶𝑂 → ((𝐹𝐶)‘(𝑀 + 𝑁)) = (𝑀𝑁))
 
Theoremballotfilemfval0 13160* (𝐹𝐶) always starts counting at 0 . (Contributed by Thierry Arnoux, 25-Nov-2016.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   𝑃 = (𝑥 ∈ (𝒫 𝑂 ∩ Fin) ↦ ((♯‘𝑥) / (♯‘𝑂)))    &   𝐹 = (𝑐𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐)))))       (𝐶𝑂 → ((𝐹𝐶)‘0) = 0)
 
Theoremballotfileme 13161* Elements of 𝐸. (Contributed by Thierry Arnoux, 14-Dec-2016.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   𝑃 = (𝑥 ∈ (𝒫 𝑂 ∩ Fin) ↦ ((♯‘𝑥) / (♯‘𝑂)))    &   𝐹 = (𝑐𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐)))))    &   𝐸 = {𝑐𝑂 ∣ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹𝑐)‘𝑖)}       (𝐶𝐸 ↔ (𝐶𝑂 ∧ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹𝐶)‘𝑖)))
 
Theoremballotfilemodife 13162* Elements of (𝑂𝐸). (Contributed by Thierry Arnoux, 7-Dec-2016.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   𝑃 = (𝑥 ∈ (𝒫 𝑂 ∩ Fin) ↦ ((♯‘𝑥) / (♯‘𝑂)))    &   𝐹 = (𝑐𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐)))))    &   𝐸 = {𝑐𝑂 ∣ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹𝑐)‘𝑖)}       (𝐶 ∈ (𝑂𝐸) ↔ (𝐶𝑂 ∧ ∃𝑖 ∈ (1...(𝑀 + 𝑁))((𝐹𝐶)‘𝑖) ≤ 0))
 
Theoremballotfilem4 13163* If the first pick is a vote for B, A is not ahead throughout the count. (Contributed by Thierry Arnoux, 25-Nov-2016.)
𝑀 ∈ ℕ    &   𝑁 ∈ ℕ    &   𝑂 = {𝑐 ∈ (𝒫 (1...(𝑀 + 𝑁)) ∩ Fin) ∣ (♯‘𝑐) = 𝑀}    &   𝑃 = (𝑥 ∈ (𝒫 𝑂 ∩ Fin) ↦ ((♯‘𝑥) / (♯‘𝑂)))    &   𝐹 = (𝑐𝑂 ↦ (𝑖 ∈ ℤ ↦ ((♯‘((1...𝑖) ∩ 𝑐)) − (♯‘((1...𝑖) ∖ 𝑐)))))    &   𝐸 = {𝑐𝑂 ∣ ∀𝑖 ∈ (1...(𝑀 + 𝑁))0 < ((𝐹𝑐)‘𝑖)}       (𝐶𝑂 → (¬ 1 ∈ 𝐶 → ¬ 𝐶𝐸))
 
5.3  Cardinality of real and complex number subsets
 
5.3.1  Countability of integers and rationals
 
Theoremoddennn 13164 There are as many odd positive integers as there are positive integers. (Contributed by Jim Kingdon, 11-May-2022.)
{𝑧 ∈ ℕ ∣ ¬ 2 ∥ 𝑧} ≈ ℕ
 
Theoremevenennn 13165 There are as many even positive integers as there are positive integers. (Contributed by Jim Kingdon, 12-May-2022.)
{𝑧 ∈ ℕ ∣ 2 ∥ 𝑧} ≈ ℕ
 
Theoremxpnnen 13166 The Cartesian product of the set of positive integers with itself is equinumerous to the set of positive integers. (Contributed by NM, 1-Aug-2004.)
(ℕ × ℕ) ≈ ℕ
 
Theoremxpomen 13167 The Cartesian product of omega (the set of ordinal natural numbers) with itself is equinumerous to omega. Exercise 1 of [Enderton] p. 133. (Contributed by NM, 23-Jul-2004.)
(ω × ω) ≈ ω
 
Theoremxpct 13168 The cartesian product of two sets dominated by ω is dominated by ω. (Contributed by Thierry Arnoux, 24-Sep-2017.)
((𝐴 ≼ ω ∧ 𝐵 ≼ ω) → (𝐴 × 𝐵) ≼ ω)
 
Theoremunennn 13169 The union of two disjoint countably infinite sets is countably infinite. (Contributed by Jim Kingdon, 13-May-2022.)
((𝐴 ≈ ℕ ∧ 𝐵 ≈ ℕ ∧ (𝐴𝐵) = ∅) → (𝐴𝐵) ≈ ℕ)
 
Theoremznnen 13170 The set of integers and the set of positive integers are equinumerous. Corollary 8.1.23 of [AczelRathjen], p. 75. (Contributed by NM, 31-Jul-2004.)
ℤ ≈ ℕ
 
Theoremennnfonelemdc 13171* Lemma for ennnfone 13197. A direct consequence of fidcenumlemrk 7226. (Contributed by Jim Kingdon, 15-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑𝑃 ∈ ω)       (𝜑DECID (𝐹𝑃) ∈ (𝐹𝑃))
 
Theoremennnfonelemk 13172* Lemma for ennnfone 13197. (Contributed by Jim Kingdon, 15-Jul-2023.)
(𝜑𝐹:ω–onto𝐴)    &   (𝜑𝐾 ∈ ω)    &   (𝜑𝑁 ∈ ω)    &   (𝜑 → ∀𝑗 ∈ suc 𝑁(𝐹𝐾) ≠ (𝐹𝑗))       (𝜑𝑁𝐾)
 
Theoremennnfonelemj0 13173* Lemma for ennnfone 13197. Initial state for 𝐽. (Contributed by Jim Kingdon, 20-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)       (𝜑 → (𝐽‘0) ∈ {𝑔 ∈ (𝐴pm ω) ∣ dom 𝑔 ∈ ω})
 
Theoremennnfonelemjn 13174* Lemma for ennnfone 13197. Non-initial state for 𝐽. (Contributed by Jim Kingdon, 20-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)       ((𝜑𝑓 ∈ (ℤ‘(0 + 1))) → (𝐽𝑓) ∈ ω)
 
Theoremennnfonelemg 13175* Lemma for ennnfone 13197. Closure for 𝐺. (Contributed by Jim Kingdon, 20-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)       ((𝜑 ∧ (𝑓 ∈ {𝑔 ∈ (𝐴pm ω) ∣ dom 𝑔 ∈ ω} ∧ 𝑗 ∈ ω)) → (𝑓𝐺𝑗) ∈ {𝑔 ∈ (𝐴pm ω) ∣ dom 𝑔 ∈ ω})
 
Theoremennnfonelemh 13176* Lemma for ennnfone 13197. (Contributed by Jim Kingdon, 8-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)       (𝜑𝐻:ℕ0⟶(𝐴pm ω))
 
Theoremennnfonelem0 13177* Lemma for ennnfone 13197. Initial value. (Contributed by Jim Kingdon, 15-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)       (𝜑 → (𝐻‘0) = ∅)
 
Theoremennnfonelemp1 13178* Lemma for ennnfone 13197. Value of 𝐻 at a successor. (Contributed by Jim Kingdon, 23-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   (𝜑𝑃 ∈ ℕ0)       (𝜑 → (𝐻‘(𝑃 + 1)) = if((𝐹‘(𝑁𝑃)) ∈ (𝐹 “ (𝑁𝑃)), (𝐻𝑃), ((𝐻𝑃) ∪ {⟨dom (𝐻𝑃), (𝐹‘(𝑁𝑃))⟩})))
 
Theoremennnfonelem1 13179* Lemma for ennnfone 13197. Second value. (Contributed by Jim Kingdon, 19-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)       (𝜑 → (𝐻‘1) = {⟨∅, (𝐹‘∅)⟩})
 
Theoremennnfonelemom 13180* Lemma for ennnfone 13197. 𝐻 yields finite sequences. (Contributed by Jim Kingdon, 19-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   (𝜑𝑃 ∈ ℕ0)       (𝜑 → dom (𝐻𝑃) ∈ ω)
 
Theoremennnfonelemhdmp1 13181* Lemma for ennnfone 13197. Domain at a successor where we need to add an element to the sequence. (Contributed by Jim Kingdon, 23-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   (𝜑𝑃 ∈ ℕ0)    &   (𝜑 → ¬ (𝐹‘(𝑁𝑃)) ∈ (𝐹 “ (𝑁𝑃)))       (𝜑 → dom (𝐻‘(𝑃 + 1)) = suc dom (𝐻𝑃))
 
Theoremennnfonelemss 13182* Lemma for ennnfone 13197. We only add elements to 𝐻 as the index increases. (Contributed by Jim Kingdon, 15-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   (𝜑𝑃 ∈ ℕ0)       (𝜑 → (𝐻𝑃) ⊆ (𝐻‘(𝑃 + 1)))
 
Theoremennnfoneleminc 13183* Lemma for ennnfone 13197. We only add elements to 𝐻 as the index increases. (Contributed by Jim Kingdon, 21-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   (𝜑𝑃 ∈ ℕ0)    &   (𝜑𝑄 ∈ ℕ0)    &   (𝜑𝑃𝑄)       (𝜑 → (𝐻𝑃) ⊆ (𝐻𝑄))
 
Theoremennnfonelemkh 13184* Lemma for ennnfone 13197. Because we add zero or one entries for each new index, the length of each sequence is no greater than its index. (Contributed by Jim Kingdon, 19-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   (𝜑𝑃 ∈ ℕ0)       (𝜑 → dom (𝐻𝑃) ⊆ (𝑁𝑃))
 
Theoremennnfonelemhf1o 13185* Lemma for ennnfone 13197. Each of the functions in 𝐻 is one to one and onto an image of 𝐹. (Contributed by Jim Kingdon, 17-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   (𝜑𝑃 ∈ ℕ0)       (𝜑 → (𝐻𝑃):dom (𝐻𝑃)–1-1-onto→(𝐹 “ (𝑁𝑃)))
 
Theoremennnfonelemex 13186* Lemma for ennnfone 13197. Extending the sequence (𝐻𝑃) to include an additional element. (Contributed by Jim Kingdon, 19-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   (𝜑𝑃 ∈ ℕ0)       (𝜑 → ∃𝑖 ∈ ℕ0 dom (𝐻𝑃) ∈ dom (𝐻𝑖))
 
Theoremennnfonelemhom 13187* Lemma for ennnfone 13197. The sequences in 𝐻 increase in length without bound if you go out far enough. (Contributed by Jim Kingdon, 19-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   (𝜑𝑀 ∈ ω)       (𝜑 → ∃𝑖 ∈ ℕ0 𝑀 ∈ dom (𝐻𝑖))
 
Theoremennnfonelemrnh 13188* Lemma for ennnfone 13197. A consequence of ennnfonelemss 13182. (Contributed by Jim Kingdon, 16-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   (𝜑𝑋 ∈ ran 𝐻)    &   (𝜑𝑌 ∈ ran 𝐻)       (𝜑 → (𝑋𝑌𝑌𝑋))
 
Theoremennnfonelemfun 13189* Lemma for ennnfone 13197. 𝐿 is a function. (Contributed by Jim Kingdon, 16-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   𝐿 = 𝑖 ∈ ℕ0 (𝐻𝑖)       (𝜑 → Fun 𝐿)
 
Theoremennnfonelemf1 13190* Lemma for ennnfone 13197. 𝐿 is one-to-one. (Contributed by Jim Kingdon, 16-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   𝐿 = 𝑖 ∈ ℕ0 (𝐻𝑖)       (𝜑𝐿:dom 𝐿1-1𝐴)
 
Theoremennnfonelemrn 13191* Lemma for ennnfone 13197. 𝐿 is onto 𝐴. (Contributed by Jim Kingdon, 16-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   𝐿 = 𝑖 ∈ ℕ0 (𝐻𝑖)       (𝜑 → ran 𝐿 = 𝐴)
 
Theoremennnfonelemdm 13192* Lemma for ennnfone 13197. The function 𝐿 is defined everywhere. (Contributed by Jim Kingdon, 16-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   𝐿 = 𝑖 ∈ ℕ0 (𝐻𝑖)       (𝜑 → dom 𝐿 = ω)
 
Theoremennnfonelemen 13193* Lemma for ennnfone 13197. The result. (Contributed by Jim Kingdon, 16-Jul-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ∀𝑗 ∈ suc 𝑛(𝐹𝑘) ≠ (𝐹𝑗))    &   𝐺 = (𝑥 ∈ (𝐴pm ω), 𝑦 ∈ ω ↦ if((𝐹𝑦) ∈ (𝐹𝑦), 𝑥, (𝑥 ∪ {⟨dom 𝑥, (𝐹𝑦)⟩})))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐽 = (𝑥 ∈ ℕ0 ↦ if(𝑥 = 0, ∅, (𝑁‘(𝑥 − 1))))    &   𝐻 = seq0(𝐺, 𝐽)    &   𝐿 = 𝑖 ∈ ℕ0 (𝐻𝑖)       (𝜑𝐴 ≈ ℕ)
 
Theoremennnfonelemnn0 13194* Lemma for ennnfone 13197. A version of ennnfonelemen 13193 expressed in terms of 0 instead of ω. (Contributed by Jim Kingdon, 27-Oct-2022.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ℕ0onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ℕ0𝑘 ∈ ℕ0𝑗 ∈ (0...𝑛)(𝐹𝑘) ≠ (𝐹𝑗))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)       (𝜑𝐴 ≈ ℕ)
 
Theoremennnfonelemr 13195* Lemma for ennnfone 13197. The interesting direction, expressed in deduction form. (Contributed by Jim Kingdon, 27-Oct-2022.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ℕ0onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ℕ0𝑘 ∈ ℕ0𝑗 ∈ (0...𝑛)(𝐹𝑘) ≠ (𝐹𝑗))       (𝜑𝐴 ≈ ℕ)
 
Theoremennnfonelemim 13196* Lemma for ennnfone 13197. The trivial direction. (Contributed by Jim Kingdon, 27-Oct-2022.)
(𝐴 ≈ ℕ → (∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ∃𝑓(𝑓:ℕ0onto𝐴 ∧ ∀𝑛 ∈ ℕ0𝑘 ∈ ℕ0𝑗 ∈ (0...𝑛)(𝑓𝑘) ≠ (𝑓𝑗))))
 
Theoremennnfone 13197* A condition for a set being countably infinite. Corollary 8.1.13 of [AczelRathjen], p. 73. Roughly speaking, the condition says that 𝐴 is countable (that's the 𝑓:ℕ0onto𝐴 part, as seen in theorems like ctm 7402), infinite (that's the part about being able to find an element of 𝐴 distinct from any mapping of a natural number via 𝑓), and has decidable equality. (Contributed by Jim Kingdon, 27-Oct-2022.)
(𝐴 ≈ ℕ ↔ (∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ∃𝑓(𝑓:ℕ0onto𝐴 ∧ ∀𝑛 ∈ ℕ0𝑘 ∈ ℕ0𝑗 ∈ (0...𝑛)(𝑓𝑘) ≠ (𝑓𝑗))))
 
Theoremexmidunben 13198* If any unbounded set of positive integers is equinumerous to , then the Limited Principle of Omniscience (LPO) implies excluded middle. (Contributed by Jim Kingdon, 29-Jul-2023.)
((∀𝑥((𝑥 ⊆ ℕ ∧ ∀𝑚 ∈ ℕ ∃𝑛𝑥 𝑚 < 𝑛) → 𝑥 ≈ ℕ) ∧ ω ∈ Omni) → EXMID)
 
Theoremctinfomlemom 13199* Lemma for ctinfom 13200. Converting between ω and 0. (Contributed by Jim Kingdon, 10-Aug-2023.)
𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐺 = (𝐹𝑁)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ¬ (𝐹𝑘) ∈ (𝐹𝑛))       (𝜑 → (𝐺:ℕ0onto𝐴 ∧ ∀𝑚 ∈ ℕ0𝑗 ∈ ℕ0𝑖 ∈ (0...𝑚)(𝐺𝑗) ≠ (𝐺𝑖)))
 
Theoremctinfom 13200* A condition for a set being countably infinite. Restates ennnfone 13197 in terms of ω and function image. Like ennnfone 13197 the condition can be summarized as 𝐴 being countable, infinite, and having decidable equality. (Contributed by Jim Kingdon, 7-Aug-2023.)
(𝐴 ≈ ℕ ↔ (∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ∃𝑓(𝑓:ω–onto𝐴 ∧ ∀𝑛 ∈ ω ∃𝑘 ∈ ω ¬ (𝑓𝑘) ∈ (𝑓𝑛))))
    < 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-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-11400 115 11401-11500 116 11501-11600 117 11601-11700 118 11701-11800 119 11801-11900 120 11901-12000 121 12001-12100 122 12101-12200 123 12201-12300 124 12301-12400 125 12401-12500 126 12501-12600 127 12601-12700 128 12701-12800 129 12801-12900 130 12901-13000 131 13001-13100 132 13101-13200 133 13201-13300 134 13301-13400 135 13401-13500 136 13501-13600 137 13601-13700 138 13701-13800 139 13801-13900 140 13901-14000 141 14001-14100 142 14101-14200 143 14201-14300 144 14301-14400 145 14401-14500 146 14501-14600 147 14601-14700 148 14701-14800 149 14801-14900 150 14901-15000 151 15001-15100 152 15101-15200 153 15201-15300 154 15301-15400 155 15401-15500 156 15501-15600 157 15601-15700 158 15701-15800 159 15801-15900 160 15901-16000 161 16001-16100 162 16101-16200 163 16201-16300 164 16301-16400 165 16401-16500 166 16501-16600 167 16601-16700 168 16701-16800 169 16801-16900 170 16901-16930
  Copyright terms: Public domain < Previous  Next >