Repository navigation
[computability, Turing machines] corrections of the mathematics (97 places) - #475
Open
KokunoYumeto wants to merge 4 commits into
Open
KokunoYumeto wants to merge 4 commits into
KokunoYumeto wants to merge 4 commits into
Conversation
application-fixed-point.tex:
- l. 35: Theorem about partial computable f; proof starts from a computable
f. Partial f, case f(e) undefined included.
- l. 65: If f is the constant function whose value is an index η of the
nowhere defined function, then the fixed-point W_e is empty but φ_η(0)
gives no answer at all: not every failure is a wrong answer.
ce-closed-cup-cap.tex:
- l. 54: Tricker should be trickier; earlier for looking should be by
looking.
coding-computations.tex:
- l. 21: Two machines at the same state with identical tape contents can
make different next transitions when their heads occupy different cells.
complement-ce.tex:
- l. 39: A is the domain of phi_d, so x in A iff T(d,x,h(x)), not T(e,...);
explanation uses other letters. d, e as in the proof.
- l. 47: The explanation uses the letters of the proof, d and e.
complete-ce-sets.tex:
- l. 44: The final proof direction does not establish K completeness; it
must transfer K0 completeness by reducing K0 to K.
- l. 48: A c.e. set is shown complete by reducing the complete set K_0 to
it, so the exercise needs the reduction of K_0 to K.
- l. 56: c.e. sets neither computable nor many-one complete: Post 1944
(simple sets); Friedberg-Muchnik is about Turing reducibility. Both
stated.
computability-theory.tex:
- l. 11: The driver imports no-universal-function.tex, prop-reduce.tex and
complete-ce-sets.tex, all of which contain actual prob environments in the
current tree. Thus its no-exercises sentence is stale.
def-functions-self-reference.tex:
- l. 32: phi_e(y) = g(e,y) between possibly undefined values (the
fixed-point lemma uses \simeq). \simeq.
equiv-ce-defs.tex:
- l. 58: The normal-form identity concerns a possibly undefined function at
arbitrary x; the book’s pointwise convention requires Kleene equality.
- l. 69: The numerical definition evaluates the first two decoded entries of
every z, not only exact length-two canonical sequence codes. The machine
gloss must not add a canonical-pair-code test.
- l. 80: x is unbound here; the quantified z supplies the argument (z)_0.
fixed-point-thm.tex:
- l. 81, 89: Both equivalence-proof chains use = for arbitrary potentially
undefined pointwise values, despite the lemma’s Kleene convention.
- l. 187: The displayed program has a physical newline after the semicolon,
but its quoted template produces one space there; it does not print
exactly its own displayed text.
- l. 214: For arbitrary lambda termg, λx.g(xx) captures free occurrences ofx
in g unlessx is chosen fresh.
k-1.tex:
- l. 78: g(w) = s(e,(w)_0,(w)_1) can send non-codes (not in K_0) into K_1.
Non-codes go to an index of the nowhere defined function.
- l. 80: Numbers that code no pair are not in K_0 and must not be sent into
K_1; they go to an index of the nowhere defined function.
no-universal-function.tex:
- l. 12: 'total for the partial computable functions'. 'universal for'.
non-comp-set.tex:
- l. 25: len(z) = 2 does not mean z codes a pair (7 times a pair code), so
K_0 is not dom f. z = <(z)_0, (z)_1>.
prop-reduce.tex:
- l. 46: The word "computable" was missing: the domains of partial
computable functions are meant.
- l. 69: A many-one reduction is a total computable map on the natural
numbers, as explicitly defined in reducibility.tex. Restricting its
declared domain to A omits the nonmembership inputs needed for the
displayed characteristic-function identity.
reducibility.tex:
- l. 42: K_0 = {<x,e> : x in W_e}: pair order reversed. <e,x>. Also two
typos at 31, 37 (noticed).
rice-theorem.tex:
- l. 94: C is a collection of unary partial computable functions, so its
member is h_x rather than the displayed equality or a pointwise value.
Explicitly introduce h_x by its defining equation before testing its
membership.
- l. 100: phi_{s(e,x)}(y) = h_x(y) between possibly undefined values.
\simeq.
s-m-n.tex:
- l. 34: The explanation substitutes the unintroduced program variable x for
the fixed program e.
- l. 34: The conditional sentence begins with the mistyped It instead of If.
It is independent of the program-variable referent 0022.
total.tex:
- l. 44: The pointwise s-m-n identity is asserted for allx,y and has an
undefined branch; it requires Kleene equality under the chapter
convention.
universal-part-function.tex:
- l. 39: g is a unary partial recursive function. 'partial' added.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bounded-minimization.tex:
- l. 14: Decidability of a predicate gives a partial least-witness search,
not guaranteed termination.
- l. 48: The final bounded-search case changes the fixed parameter vector
from x to z.
- l. 50: The equations define the whole function m_R; m_R(vec x,0) denotes
only its base value.
composition.tex:
- l. 27: h has n arguments, x_0 to x_{n-1}.
- l. 38: The projection functions displayed just above are the P^n_i.
examples.tex:
- l. 20: The doubling example needs const_2, while the preceding prose names
generic const_n. The same sentence also lacks the subject we before can
obtain.
non-pr-functions.tex:
- l. 51: The coding display silently changes the previously fixed Zero and
Succ notation constructors to 0 and S. Restore the established
constructors while preserving tags 0 and 1; this is a notation consistency
repair, not a false enumeration theorem.
- l. 60: The summary says every code is assigned a number, although the
preceding equations assign numbers to notations. This is an imprecise
referent, not a reversal of the displayed function.
- l. 70: 'one can not computably avoid these repetitions' is false (Liu,
Tohoku Math. J. 12 (1960) 400-402: effective enumeration of the p.r.
functions without repetition). Claim replaced by the undecidability of
equality of notations.
pr-relations.tex:
- l. 43: IsZero(x - y) defines <=, called 'less-than'. 'less-than-or-equal'.
primes.tex:
- l. 16: Remainder/division language is undefined when x=0, although the
displayed divisibility relation is defined on all natural pairs and
includes 0|0.
- l. 16: The divisibility parenthesis reverses the dividend y and divisor x.
- l. 16: For x=y=0 every natural z satisfies x*z=y, including z=1>y, so the
universal bound on every witness is false. Nevertheless z=0 is a bounded
witness; for positive x every solution is at most y.
- l. 64: There is no largest prime ≤x for x=0 or 1, so the given proof omits
cases in its all-natural claim.
primitive-recursion.tex:
- l. 24: 'define h(x) from h(x+1)'. h(x+1) from h(x).
sequences.tex:
- l. 118: Not every number is the code of a sequence; the test Seq(s) is
defined, and shown primitive recursive, here.
- l. 151: The expression uses nonexistent p_(−1) when k=0.
- l. 161: With both 0 and 1 accepted as empty codes, recursive
concat(1,0)=1, whereas the proposed bounded minimum gives 0; they are not
literally the same numerical function on all accepted codes.
- l. 166: The bounded search admits invalid sequence codes having the right
decoded length and entries; require valid initial-prime support.
- l. 190: A finite sequence has no subsequence of length n starting at i
when i+n exceeds its length. A PR function must nevertheless be total.
trees.tex:
- l. 42: hSubtreeSeq(t,n) accumulates all levels <= n. 'at most n nodes'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
combining-machines.tex: - l. 39: First case of delta'' also covers undefined delta(q,s), overlapping the third case. 'and delta(q,s) is defined'. - l. 155, 162: With unequal alphabets, plain concatenation can halt in a non-designated state of M′ when it reads an output symbol outside Σ′. configuration.tex: - l. 54: The head position 1 must be within the tape. - l. 60: The old prose says to the left end marker and omits the right-of relation. disciplined-machines.tex: - l. 44: The informal promise of identical halting inputs and output is too broad under conditional output decoding: an original marker-erasing halt has no output, but every disciplined halt preserves the marker and has a decodable output. - l. 54, 74: No q0/marker transition is shown, so it halts in q0, not its designated h. The diagram meets the claimed discipline on the specified unary-number inputs; restrict only that example and caption, retaining the general normalization proposition and every edge. - l. 93: At n = 0 the output asked for is one blank, but trailing blanks are stripped from outputs, so no machine has that output. introduction.tex: - l. 43: Head starts on the leftmost square (the marker) in the intro, square 1 in the definition. - l. 119: The parents-living-room detail belongs to the 1938 Z1, while the 1941 Z3 was in Zuse’s workshop. - l. 119: 'his parent's living room'. parents'. - l. 119: The branch corrects the mistaken Turing attribution. The independent punched-tape versus rewiring claim is 0429. - l. 126: According to the Heinz Nixdorf MuseumsForum the Z3 read its programs from punched film, so not all earlier machines had to be rewired by hand. representing-tms.tex: - l. 88: The prose says the represented machine starts in state one, while the initial-state arrow targets q0. - l. 173: The displayed nonempty table entries list the symbol, then state, then direction. The explanatory prose instead lists state before symbol. unary-numbers.tex: - l. 232: The second clause lacks "halts", so that "does not" seems to extend over it. variants.tex: - l. 53: Deleting left transitions on the end marker only detects physical position zero if that marker remains there. The footnote handles extra copies of the marker, but not overwriting its original occurrence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
decision-problem.tex: - l. 30: h is a mathematical function, proved noncomputable; it does not itself run or halt. enumerating-tms.tex: - l. 149: Machines are simulated; their numerical functions are computed. The exercise has a category error in its verb. halting-problem.tex: - l. 67: Returning the head to cell 1 is one discipline condition, not an equivalent definition of discipline. representing-tms.tex: - l. 114: A(x,y) has free variables: formulas, not sentences. formulas. - l. 145: Left move: written square is x', so the other squares are kept by A(x', y), not A(x, y) (which contradicts the write). A(x', y); in trakhtenbrot.tex also the missing B(y'). Also 'after' at 166 (noticed). trakhtenbrot.tex: - l. 37: n = max(k, len w): the last step can reach n, where n' = n and n < n; A and B(y') fail (B(n) false). max(k, len w) + 1. - l. 70: The exercise explicitly declares a single state q0 and refers back to the q0 self-loop machine just described. The branch replaces it by q0. - l. 72: The exercise defines the three-element structure M-double-prime. Both adjacent successor values and its domain use that structure; M-prime is the separate earlier model and has no role in this definition. - l. 118, 182: Every transition consequent in T-prime must assert B(y-prime) to distinguish the next time from its predecessors. The nonboundary left-move clause alone omits it, contrary to the paragraph defining the strengthened construction. - l. 189, 200: Both the finite-model verification exercise and the nonhalting contradiction must use the strengthened T-prime that includes B in transition consequents. - l. 189, 200: The section consistently names the halting sentence by !E, whose formula token renders differently from plain E. The two finite-model verification sentences drop that marker at lines 184 and 189. - l. 205, 207, 220: The transition axioms add B at successor times; they do not assert B(0). The nonhalting proof only needs distinct positive-time numerals, which already force an infinite domain. universal-tm.tex: - l. 87: Squares beyond the represented tape, including the first one for the input 0, have no block: blocks for blank squares are appended. - l. 112: Blindly decrementing the unary head counter at 0 does not implement the clamped left boundary. - l. 123: The final local test does not correctly skip the origin, admit trailing blanks, or reject a later stroke after an interior blank. It can reject valid outputs or accept malformed ones. unsolvability-decision-problem.tex: - l. 26: D starts on the first square of its input, square 1, which is where E must halt. verification.tex: - l. 52: The machine is M; T denotes the encoding sentence, not a machine. - l. 69: The cutoff must be at least the length of the input word, which may end in blanks. - l. 95: The displayed disjunct introduction must use the chosen halting pair and separately bound disjunction indices. - l. 109: The later halting argument applies the configuration lemma at the exact first halting time. Therefore its condition must allow halting at that time, while excluding earlier halting. The branch changes after n steps to before the nth step. - l. 114: For an empty input the cutoff is 1, and the facts about square 1 must be derived. - l. 122: The proof establishes the base at n=0 and must derive the n+1 case from every n≥0. The branch deletes that unnecessary restriction, retaining the independently corrected lemma timing in 0108. - l. 165: Both post-step displays syntactically retain the old symbol at the overwritten cell, although the prose excludes it. This is false when a transition changes that symbol. - l. 207, 210, 218, 227: Left move: written square is x', so the other squares are kept by A(x', y), not A(x, y) (which contradicts the write). A(x', y); in trakhtenbrot.tex also the missing B(y'). Also 'after' at 166 (noticed). - l. 207, 210, 218, 227: The instruction in this proof is q→q′, but the origin subcase retains unrelated q_i,q_j from the general encoding. - l. 221: The states and symbols are those of the instruction chosen. - l. 248: The formula needs numeral arguments, and meta-level i≠m does not itself entail an object-language comparison under the listed premises. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is Claude (Claude Opus 5.5 at effort max), an AI model made by Anthropic, writing on behalf of KokunoYumeto.
This is part of the regrouping of #451 to #460 that you asked for: corrections of the mathematics; 97 places in 42 files, one commit per chapter. Spelling, grammar, markup and references are in separate pull requests.
Build: the complete text (open-logic-complete.tex, pdfLaTeX) with this branch alone: 0 errors, 0 undefined references; 387 overfull boxes over 2 pt (385 on master). All 22 branches merge with one another in any order (tried in four), and together give exactly the text of the ten pull requests they replace.
The corrections come from the Open Logic translations, as before: from the review of the French translation (each checked against the English and written up by Claude Opus 5.5, Anthropic, effort max) and from the errata harvest over the other translations (found by the translating models; classified and corrected by GPT-6 Astra, OpenAI, ChatGPT Pro mode; list with sources). Prepared by AI; no human has reviewed them.
What was wrong, by file (line numbers of master; the same list is in the commit messages; every changed place is in it):
computability/computability-theory/application-fixed-point.texcomputability/computability-theory/ce-closed-cup-cap.texcomputability/computability-theory/coding-computations.texcomputability/computability-theory/complement-ce.texcomputability/computability-theory/complete-ce-sets.texcomputability/computability-theory/computability-theory.texcomputability/computability-theory/def-functions-self-reference.texcomputability/computability-theory/equiv-ce-defs.texcomputability/computability-theory/fixed-point-thm.texcomputability/computability-theory/k-1.texcomputability/computability-theory/no-universal-function.texcomputability/computability-theory/non-comp-set.texcomputability/computability-theory/prop-reduce.texcomputability/computability-theory/reducibility.texcomputability/computability-theory/rice-theorem.texcomputability/computability-theory/s-m-n.texcomputability/computability-theory/total.texcomputability/computability-theory/universal-part-function.texcomputability/recursive-functions/bounded-minimization.texcomputability/recursive-functions/composition.texcomputability/recursive-functions/examples.texcomputability/recursive-functions/non-pr-functions.texcomputability/recursive-functions/pr-relations.texcomputability/recursive-functions/primes.texcomputability/recursive-functions/primitive-recursion.texcomputability/recursive-functions/sequences.texcomputability/recursive-functions/trees.texturing-machines/machines-computations/combining-machines.texturing-machines/machines-computations/configuration.texturing-machines/machines-computations/disciplined-machines.texturing-machines/machines-computations/introduction.texturing-machines/machines-computations/representing-tms.texturing-machines/machines-computations/unary-numbers.texturing-machines/machines-computations/variants.texturing-machines/undecidability/decision-problem.texturing-machines/undecidability/enumerating-tms.texturing-machines/undecidability/halting-problem.texturing-machines/undecidability/representing-tms.texturing-machines/undecidability/trakhtenbrot.texturing-machines/undecidability/universal-tm.texturing-machines/undecidability/unsolvability-decision-problem.texturing-machines/undecidability/verification.tex🤖 Generated with Claude Code