Chapter 24: Algorithmic Convergence — The LIT Theorem
Route: the triviality equation of algorithmic convergence — discrete, bounded, sequentially iterated
Preface: Two Kingdoms, One Equation
This book builds no more cities. The algorithm kingdom has one old law: states are discrete, steps are bounded, and you walk one step after another in order. Logic, probability, causality, neural networks — every reasoning process that can run lives under this law. This chapter joins the two kingdoms: not by building another city, but by giving reasoning one set of spaces, distances, and iteration rules. The space is discrete, so distance takes only finitely many values; steps are bounded, so each step drops at least one cell; the rule iterates, one step after another. With all three, well-ordering picks out the step where it stops — no limit taken.
There are too many forms of reasoning to try one by one. The algorithm kingdom long ago reduced the question of time: P on one side, NP-complete on the other. Cook and Karp reduced every problem in NP to SAT; 3-SAT is the flower that blooms on the hard side, 2-SAT the flower on the P side. We did not hand-build two toys to compare. We stand on the reductions already made and cut both flowers open.
Why are these two enough? The reduction is not ours; Cook already did it: every problem in NP reduces to 3-SAT. At the 3-SAT layer, the space, the distance, and the iteration are one and the same. Once convergence is computed here, the problems at the other end of the reduction share the same skeleton. On the P side we do not reduce every problem to 2-SAT; 2-SAT places the same space, distance, and iteration on the easy side — it stops differently and obeys the same equation. Two flowers, one hard, one easy; cut open, they show the same thing: how distance in a discrete space drops cell by cell to zero.
This is not a patent on 3-SAT or 2-SAT.
The Unified Statement: The LIT Theorem
The LIT the book carried before is a special case of what follows.
The argument in §1–§5 does not need to be redone. It proves the unified object; the special cases are computed, and the general form is in §5.2.
Below, set the big words aside and look at a table. When the table is full, talk about convergence.
Enumerate First, Then Talk About Convergence
A clause, three variables. However the literals are arranged, whatever values are plugged in, whatever operators are inserted, whatever conditions are added, in the end it all reads as the same thing: under this assignment, is the clause satisfied? Beyond that, it has no other behavior.
So we do not guess its structure; we list its behavior. The three variables each take
The eight answers do not run separately. Stack them together, collect them into one variable
After this step, convergence becomes a computable question.
The method is not mysterious; it is even stupid: not understanding the structure of the clause, so try every assignment. But to speak of a naive fixed point, one has to use this stupid method. A slightly cleverer method assumes structure from the start, and then naivety has nowhere to stand. The stupid method fills the whole space; only once it is full can one discuss which cell the fixed point lands in.
This chapter does not teach P, and it does not teach NP. It teaches the triviality equation of algorithmic convergence: discreteness, boundedness, sequential iteration.
How to Play: Fill the Table, Light the Lamps
Laid out, this is the L-SAT game itself, only drawn differently: fill the table, light the lamps.
A clause is a row of lamps. In 3-SAT a clause has three lamps, one per literal. A literal is a variable or its negation; once the assignment is fixed, a true literal lights its lamp, a false one leaves it dark.
For example,
A table has many rows, one clause per row. The whole formula is the conjunction of these clauses: every row must have at least one lit lamp, or the formula is not satisfied; one all-dark row and it fails.
The 3 in 3-SAT sits right here: three lamps per clause. 2-SAT has two lamps per clause. Insert all the Boolean operators you like — a clause is still these literals, and the lamps are still three; stack the operators as high as you want, when you count lamps you count literals.
Take three clauses and the assignment
| Clause | Lamp 1 | Lamp 2 | Lamp 3 | This row |
|---|---|---|---|---|
| 🟩 | ⬜ | 🟩 | lit, satisfied | |
| ⬜ | ⬜ | ⬜ | all dark, unsatisfied | |
| 🟩 | 🟩 | 🟩 | lit, satisfied |
The second row is all dark, so this assignment fails. Try
| Clause | Lamp 1 | Lamp 2 | Lamp 3 | This row |
|---|---|---|---|---|
| ⬜ | 🟩 | 🟩 | lit, satisfied | |
| 🟩 | 🟩 | ⬜ | lit, satisfied | |
| ⬜ | ⬜ | 🟩 | lit, satisfied |
Every row has at least one lit lamp, so this assignment satisfies the whole formula. The game is to find such an assignment. SAT asks exactly this: is there an assignment that lights at least one lamp in every row?
The book does not try assignments one at a time. It lays all eight assignments into one table, one cell per assignment, with the formula's truth value in the cell; all the answers are packed into one value function
For the three clauses above, the eight-assignment truth table is:
| ⬜ | 🟩 | ⬜ | 🟩 | 🟩 | ⬜ | 🟩 | 🟩 |
Five cells lit, three dark; the number of lit cells is
Conversely, a fully dark table is the constant zero:
| ⬜ | ⬜ | ⬜ | ⬜ | ⬜ | ⬜ | ⬜ | ⬜ |
The book's iteration starts from the constant-one table
Keep filling until the table stops changing: that is the fixed point. If the table at rest still has at least one lit cell, it is a resident; if the whole table is dark, it is the constant zero, not a resident.
The game has one question left: when the clock stops, is the table still lit? Lit, and there is SAT; fully dark, and there is none.
1. The Space
1.1 The value set (the trivial foundation)
For each
which on the space is the constant-one value function
1.2 Constructing and the complete space
Take
| Number | State |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 |
A width-
A formula is a conjunction of clauses; the sign pattern of its
1.3 Constructing and the complete space
Take
| Number | State |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 |
For the 2-SAT case take
In name,
1.3.1 Not filling in a 3-bit/2-bit table, but iterating the whole solution space along the time axis
enumerates 8 candidate input states; is the entire candidate solution space. - The iterated object
is not a single 3-bit assignment but the whole candidate table: the values at the 8 states are packed into at once and evolve together along the time mark . - The time gate looks at the newly filled table: as long as one cell is still lit (
), the step is allowed to land; when the whole table is dark, time stops and cannot push outward.
So the “3” in 3-SAT is the clause width — three lamps per clause; the book’s
1.3.2 Optimal transition: only successful advances count
Backtracking, correction, and hesitant branches do not enter the transition ledger. Only steps that truly move forward successfully are recorded:
1.3.3 Discrete transitions and the god-level machine (absolute optimal transition)
State transitions take the discrete ticks
The oracle is an optimal state-transition agent: every step follows exactly the successful path in the state space forward, never turning back and never correcting. It is not a new physical machine, nor extra computational power; it is just the name given to this optimal transition. The ledger is not counted in seconds but in transitions; the worst-case ledger counts transitions, not seconds. One transition can process arbitrarily many assignments and arbitrarily many clauses; the ledger records only how many transitions occurred. Failed, backtracking, correcting branches never enter the ledger at all. Its transition is defined as
This
- Upper bound: an
-step successful transition chain really exists (the oracle has arrived); - Lower bound: no successful transition chain is shorter than
; - Branches spent backtracking, correcting, or hesitating are all reduced away and not counted in
.
It is the oracle's transition count, not the actual time of any physical machine; a physical machine can only be slower.
1.4 Weighted Hamming distance
The space is discrete:
Geometric properties:
- it takes integer values
; - adjacent means “exactly one coordinate differs”;
is the shortest-path length on the finite product graph; - with unit weights, the ball centered at
with radius is the set of functions “differing in at most coordinates”, a union of subcubes.
Weighted Hamming multiplies each coordinate by a weight
- the Hamming type of the metric is determined by discreteness; weights change the price, not the type
ordinary Hamming distance - it takes finitely many nonnegative values
3-SAT case (
When
1.5 Completeness
is a value set, is a value-function space, and acts pointwise. - Pointwise structure
completeness is inherited coordinate by coordinate: is a product of one copy of over each input coordinate. complete complete. - Metric side: weighted Hamming aggregates coordinate by coordinate. A finite input set
finite Cauchy completeness holds automatically; in the infinite case, the completeness of is decided by the distance completeness of . - Expression side:
acts pointwise and creates no new coordinate; it only flips each cell.
In one sentence: the completeness of this value-function space is inherited — it is complete when
2. The Iteration Sequence
2.1 The most naive single-variable iteration
The iterated object is not a single value, nor a single variable
- all value sets
- all states
- all ways of assigning all variables
Pack them all into
Step one: build the sequence. Fix the starting table
So far we only know a sequence exists; we do not know whether it stops. About
It says the distance between two consecutive steps is shrinking. It does not say the distance between any two steps can be made arbitrarily small, so we cannot conclude that the sequence converges. Completeness (§1.5) says a Cauchy sequence has a limit, but we do not yet know this sequence is Cauchy, so it is no help. Banach's fixed-point theorem does not apply directly either: that theorem requires a contraction holding for any two points in the space (Chapter 12 draws that line), while this condition holds only for consecutive steps. Convergence has to be proved separately.
Step two: every later step is no farther than the first. Write down the distance between consecutive steps:
Coordinate by coordinate: if a cell changes from step
Now substitute the iteration condition. Its left side is exactly
Since
Adjacent distances never increase. Iterate the inequality term by term:
that is,
However far the first step went, no later step goes farther. The convergence proof below uses exactly this.
Step three: distance takes only finitely many values, so it must stop.
While the sequence moves, the distance strictly decreases. Each strict decrease switches to another value, and there are only finitely many values, so it cannot keep decreasing forever. Hence some
Consider the set
This set is nonempty. The natural numbers are well ordered, so take the least element and call it
The sequence stops moving after finitely many steps. For any
At most how many steps. With unit weights, go back to the sum from step two:
Each term is either
Take
which is
The size of
With general nonnegative weights, the distance need not decrease by whole numbers, so the concrete bound
3. Stopping Point and the Trivial Equation
3.1 The stopping point
3.2 The Trivial Equation: Discrete, Bounded, Iterated
Looking back, the whole proof uses three things:
- Discreteness:
is finite, and distance takes only finitely many values. - Boundedness: with unit weights,
, so . - Iteration:
, one step after another, in order.
From the very first algorithm course, the first lesson is these three things: discrete, bounded, sequentially iterated. The definition of an algorithm has already said it clearly. These three are not a shell put around algorithms; they are the definition itself, one-to-one. Put any algorithm against these three, and its convergence is already inside. A strictly decreasing sequence in a finite set reaches the bottom in a few steps; well-ordering picks out the stopping time; no limit, no
Why can
No construction is needed. §4 counts the clauses:
4. Collapse
4.1 Where comes from
Set the clauses aside for a moment and look only at the distance. The weighted Hamming distance is
Compare the two tables cell by cell: where they differ, record that cell's weight
At each moving step the iteration either does not move, or makes at least one cell differ. With unit weights the initial distance is
The clause is read off this table, not a second number started alongside. One
The information is only so much. The table has
4.2 Covered, Hence UNSAT
One sentence: one clause knocks out one cell. At the start the whole table is
The difference between 5 and 9 is not SAT versus UNSAT; it is the size of the table: 4 cells need 5, 8 cells need 9. This number is not a patent of
There is no probability here. Take fewer than
The bound says nothing about time. Time is not guaranteed: how long finding SAT takes, how long confirming UNSAT takes — nobody promises. Nobody says SAT is certain within
4.3 Not a distance
This iteration does not do two things: it does not search, and it does not compute a distance between P and NP. It does one thing: press the formula table onto its fixed point and see whether the fixed point is lit.
The difficult part is not the iteration; it is writing the table that stops — knowing whether it will go all dark. Given an assignment, substitute it into the formula and the light or dark shows in one step; the hard part is finding that assignment. Checking is one step; finding is not.
So "convergence is not the difficulty" is not a sentence of defeat. It moves the question: there is no boundary on the time axis; the boundary is at the fixed point. A lit fixed point is SAT; an all-dark one is UNSAT. What is wanted is not a faster iteration; it is the fixed point that is still lit.
5. Not P, Not NP — a Convergence Problem
5.1 The solution space moves on its own
Someone keeps asking: why don't you construct a Turing machine? Why not start from a two-state Turing machine and push up step by step?
No need. The Turing-machine layer is too shallow to reach the question. Add states, add tape, add parallelism — what is added is how much the machine can spit out at once; the question here is whether the resident is in the solution space. If the resident is absent, no machine, however godlike, can search it out; if it is present, a stupid machine walking slowly will get there. Solvability is not set by the searching machine; it is set by the space itself.
Drive the machine to its most godlike: process several hundred million clauses at once, lock onto the optimal one, follow the solution space. However godlike the machine, it can only use the information already in the clauses. The information bound is
This is also the fee the algorithm charges: you can design an optimal algorithm and make every step hug the solution space; but the clauses hold only so much information, and when it runs out it is gone — the fee cannot be avoided. The
If the resident is there,
So there is no need to construct the Turing machine of a hundred years from now, nor to push up from a two-state one. A carefully designed parallel or backtracking algorithm, any other machine — all walk on the same table. If the resident is absent, the table contracts to constant zero, and the SAT lamp cannot light. This is not a question of computing power; it is a question of the solution space: whether that satisfying assignment is there, whether that resident is there, is a mathematical question, not a computer question.
Someone starts from properties of two-state Turing machines and proves that a certain class of machines cannot search. That is another road: it proves something about the machine, not the space. Machines can be swapped; the space does not swap. Bring a stronger machine, and the shape of the space is the same. What is to be proved is that the resident is not in the space, not that some machine is not fast enough.
5.2 Conclusion
This chapter teaches one triviality equation of algorithmic convergence: discrete, bounded, sequentially iterated. With these three, any algorithm is collected in the same equation. The difference is at the stopping point — a lit lamp is SAT, a dark one UNSAT. The
Only two sides are laid out here: one P, one NP. They are picked out not to split them apart, but so you can see that both sides share one structure. Every P problem and every NP problem sends its solution space toward a fixed point under the same equation; the same equation governs both sides.
The general form of the trivial equation. Let
then
Every algorithm can be written as
The Unified Statement: States and Maps Before Graphs
Write the unified object once more:
Number the states and write
where each
The new potential of every state can be influenced by any other state. State one can act directly on state thirty-two, and state thirty-two can act directly on state two; they do not need a preset local path to propagate along.
Each grain keeps its own incoming and outgoing links; there is no need to lay every state pair out as a dense
In components,
with
What matters is the order of construction:
A traditional graph model first gives an adjacency relation and then studies propagation between nodes. Here it is the other way round: the state universe and the map universe come first, and the links are what the maps look like when expanded. A graph is a representation of map relations, not a structure the state space must carry in advance.
An aside: this equation can also be built into a virtual machine that runs an instruction set; I have built one. The virtual machine is an upper-layer use. The most typical use is still this convergence criterion for algorithms.
One more thing not to mix up:
On the 3-SAT and 2-SAT sides the reductions were finished long ago: problems in NP reduce along Cook's chain to 3-SAT, and 2-SAT sits on the P side; both flowers are cut open, and the space, distance, and iteration are the same. The hardest reduction is not in this chapter. What is left is to tell the story of this equation: states before graphs, maps before links, time walking the map step by step to the fixed point, to see whether the lamp is lit.
This is not a question of whether the machine is fast enough; it is a question of whether that resident is in the space. Look further along the time axis and you will find nothing new.
There really are problems in life with no answer. Not every problem hides a solution waiting for a smarter machine to dig it out. Some problems narrow as you go deeper, until there is nothing left. This is ordinary. Some problems simply have no answer.
In the end, this chapter is not refuting the algorithm; it is defending the algorithm itself. The classical definition of an algorithm has only three conditions: discrete, bounded, sequentially iterated. It is not that some machine is not fast enough; it is the boundary these three commandments draw. Neural networks, Monte Carlo trees, every kind of heuristic: their convergence is collected in these three. An algorithm is convergent by its own nature; the three commandments are where that convergence is written. Nothing here derives an algorithm; the derivation has always been of these three rules themselves.
The three commandments are the algorithm's limits and open questions: inside the triangle they enclose, convergence is necessary; outside it, neither convergence nor determinism can even be spoken of.
The Reasoning Kingdom ends here.
It is an open book. What is proved is laid here, and what is not proved is laid here too. Chapter 24 puts the convergence of the whole Reasoning Kingdom into one equation: the table reaches a fixed point, and the lamp is either lit or out.
Walking toward tomorrow does not require first becoming a person who can be written down, complete, normal, brave, without fear or shame. No one has that obligation.
Tomorrow will not open its front door for us. Then wade across. Feel the world as before, imagine as before, live as before.
Once you have waded across, you are across.
Good luck.
