From b95cf97716ddc1dea745f4bcb8e9280a755172e9 Mon Sep 17 00:00:00 2001
From: Thomas Walker Lynch
Date: Wed, 19 Aug 2026 17:04:49 +0000
Subject: [PATCH] adding first Nat thes chapt, still an outline
---
document/book/TM-2026.html | 507 ++++++++++++++++++++-----------------
1 file changed, 281 insertions(+), 226 deletions(-)
diff --git a/document/book/TM-2026.html b/document/book/TM-2026.html
index 37bb299..510e5d8 100644
--- a/document/book/TM-2026.html
+++ b/document/book/TM-2026.html
@@ -34,7 +34,7 @@
-
- For a program containing branched control logic, the simplifier would require a deep recursive walk of the AST to ensure operations aren't annihilated across conditional boundaries. For our explicit Peano Number generators, a linear scan of the progn body suffices. It calls itself recursively until the scan fails to find any further reductions, returning its optimized AST.
+ For a program containing branched control logic, the simplifier would require a deep recursive walk of the AST to ensure operations aren't annihilated across conditional boundaries. For our explicit Peano Number generators, a linear scan of the progn body suffices. It calls itself recursively until the scan fails to find any further reductions, returning its optimized AST.
@@ -4124,11 +4179,11 @@
-
+
The multiplicative inverse of the additive identity
- Generally it is more efficient to perform arithmetic in the first-order. Also, it is easier to write Turing Machine control programs if we take Peano Number arithmetic as already available, say, from a subroutine library. On processors fixed word length arithmetic is built into the hardware. Where second-order computation becomes useful is in places where a result cannot be computed in the first-order.
+ Generally it is more efficient to perform arithmetic in the first-order. Also, it is easier to write Turing Machine control programs if we take Peano Number arithmetic as already available, say, from a subroutine library. On processors fixed word length arithmetic is built into the hardware. Where second-order computation becomes useful is in places where a result cannot be computed in the first-order.
@@ -4177,7 +4232,7 @@
-
+
Evaluating and Extending
@@ -4288,7 +4343,7 @@
For Call 2, the input tape is the result tape from Call 1. Execution then proceeds identically to Call 1. This pattern repeats for all successive calls. A person can see the values of t^2 as the first number on each result tape. Any polynomial can be computed in this manner, and the only ALU required is an adder that is also capable of subtraction.
-
+
Lemma: Only row 0 is needed
@@ -4301,7 +4356,7 @@
-
+
Lemma: Evaluating call \omega requires an initial tape populated with components 0 through \omega of row 0
@@ -4360,7 +4415,7 @@
-
+
Lemma: A polynomial function of degree \omega will have a D_0 vector of extent \omega
@@ -4373,7 +4428,7 @@
-
+
Lemma: A D_0 vector of finite extent \omega generates a polynomial function of degree \omega
@@ -4473,7 +4528,7 @@
- The main diagonal contains strictly non-zero factorials, ensuring the matrix is invertible. By inverting this matrix, a person replaces the cascading back substitution with a direct, closed form equation to recover any constant a_i. The inversion utilizes the signed Stirling numbers of the first kind, denoted s(n,i) (see the Appendix on Stirling numbers, section ).
+ The main diagonal contains strictly non-zero factorials, ensuring the matrix is invertible. By inverting this matrix, a person replaces the cascading back substitution with a direct, closed form equation to recover any constant a_i. The inversion utilizes the signed Stirling numbers of the first kind, denoted s(n,i) (see the Appendix on Stirling numbers, section ).
@@ -4507,7 +4562,7 @@
-
+
Difference table for an exponential function
@@ -4569,7 +4624,7 @@
- The first difference of 2^t is also 2^t, so row 0 of the table will have an infinite number of values. Fortunately, due to the lemma of section , stating that evaluating call \omega requires an initial tape populated with components 0 through \omega of row 0, exactly those components are needed for the recurrence to proceed. Furthermore, when new values are needed, they are easily computed. A programmer need not store the entire infinite first row of the difference table on a static tape.
+ The first difference of 2^t is also 2^t, so row 0 of the table will have an infinite number of values. Fortunately, due to the lemma of section , stating that evaluating call \omega requires an initial tape populated with components 0 through \omega of row 0, exactly those components are needed for the recurrence to proceed. Furthermore, when new values are needed, they are easily computed. A programmer need not store the entire infinite first row of the difference table on a static tape.
@@ -4578,7 +4633,7 @@
-
+
Composition of recurrence functions
If we desire to compose recurrence functions, in the first-order or the second-order, the call counts must first be synchronized.
@@ -4591,7 +4646,7 @@
-
+
A pole and zero cancellation
@@ -4870,7 +4925,7 @@
-
+
Chapter discussion
The fundamental claim of computational analysis is that all functions can be viewed as discrete entities. Take this simple function:
@@ -4920,10 +4975,10 @@
-
+
Appendix: The Tension Between Formal Methods and Practical Architecture
-
+
Does computation theory matter to computing?
@@ -4986,7 +5041,7 @@
-
+
Do formal methods belong in computer design?
@@ -5015,7 +5070,7 @@
-
+
Computational Naturalism: the transforms are reversible
@@ -5027,7 +5082,7 @@
- We then define the symbol in computational terms, as done in section . This begins with memory addresses, represented as charge arrays, acting as primitive symbols, and extends to the symbol factory, copy operations, and instance comparison.
+ We then define the symbol in computational terms, as done in section . This begins with memory addresses, represented as charge arrays, acting as primitive symbols, and extends to the symbol factory, copy operations, and instance comparison.
@@ -5035,11 +5090,11 @@
- On top of this we can define the Peano Machine, a counter, and then use that machine as the definition of Peano Numbers.
+ On top of this we can define the Peano Machine, a counter, and then use that machine as the definition of Peano Numbers.
- Where Gödel reduced logic to Peano Numbers, we go the other direction to expand upon logic from Peano Numbers.
+ Where Gödel reduced logic to Peano Numbers, we go the other direction to expand upon logic from Peano Numbers.
@@ -5074,7 +5129,7 @@
-
+
Appendix: Stirling Numbers
@@ -5089,7 +5144,7 @@
To understand their mechanical role, a person must look at the mathematical basis used in each domain.
-
+
The Continuous vs. Discrete Basis
@@ -5114,7 +5169,7 @@
-
+
Stirling Numbers of the Second Kind, S(n, k)
@@ -5135,7 +5190,7 @@
-
+
Stirling Numbers of the First Kind, s(n, k)
--
2.20.1