Skip to main content

Common destinations

    柊東雲
    Library / Books & Studies /Gödel, Escher, Bach: A Deep Study of Structure, Meaning, and the Self

    ChapterPage 8 of 22

    VI. Computable, Decidable, Understandable: Sort Out the Qualifications Before the Human-Machine Debate

    An In-Depth Study of Hofstadter’s Gödel, Escher, BachHiiragi Shinonomeabout 4,202 words · 19 minLong-Form Study · Full Text

    Reading Settings
    Font Size
    Line Spacing
    Paragraphs
    Background
    Line Width
    My Reading

    Save Highlight

    Gödel, Escher, Bach: A Deep Study of Structure, Meaning, and the Self · Chapter · VI. Computable, Decidable, Understandable: Sort Out the Qualifications Before the Human-Machine Debate

    Quote Share Card

    Your thought is not included

    VI. Computable, Decidable, Understandable: Sort Out the Qualifications Before the Human-Machine Debate

    Gödel’s theorem limits specific formal theories; the halting problem limits general algorithms. The two are related, but their names cannot be exchanged. In Chapters 13 through 17, GEB places them in a single line of thought, showing the reader that simple, checkable local steps can generate overall behavior that no single uniform method can fully predict. Whether machines can understand, and whether humans possess a uniform method that surpasses every machine, are still not answered by this.

    This chapter first gives algorithms and reductios that can be actually traced, and then evaluates Lucas’s anti-mechanist argument and Hofstadter’s response. The key to the human-machine debate is who can reliably make which kind of judgment under which conditions, and whether that qualification can be obtained uniformly. “Humans make mistakes” and “computers have many layers” are not the crux.

    6.1 Computability Asks Whether a Method Exists, Not How Fast It Is

    “The machine cannot compute it” may mean four different things: the specific machine lacks resources, the existing program has not found the answer, a restricted class of methods cannot do it, or no algorithm can solve it uniformly. Only the last is an impossibility in computability.

    A total algorithm gives, for each legal input in a prescribed range, the prescribed answer within finite time. It need not be fast, and the real machine need not accommodate the resources it requires. A partial algorithm, by contrast, may return only on some inputs and keep running on others. The class of partially computable functions includes the total computable functions, and the functions in this class do not all have undefined inputs.

    Several boundaries must be separated first. A function may fail to be primitive recursive and yet still be computable. The lack of some simple recursive expression may still allow a computable time bound. An algorithm may exist mathematically while the time and memory it requires are unacceptable. And performing well on one task is far from guaranteeing success on all possible inputs. Lifting the first two kinds of experimental or engineering difficulty directly to the last kind writes a gap in knowledge as a mathematical boundary.

    The book translates recursive functions, program flowcharts, and number-theoretic relations into one another, showing that effective methods can take many surface forms. (Chapter XIII, pp. 406–430.) Strict equivalences can indeed be established between these translations, but the broader claim that “every physical process can be realized by this model” lies outside the definition.

    Aria with Diverse Variations (pp. 391–405) puts this difference into a conversation that varies repeatedly. A finite check over a given range and an endless wait for an object satisfying some condition may both look like “continuing to compute,” yet their qualifications for termination differ. The characters speak of problems not yet solved; none has been proved uncomputable. The END hidden by the missing characters on p. 404 leads readers to shift from searching content to examining the structure of expression. Variation trains the reader to look at a task again.

    6.1a BlooP and FlooP: The Diagonal Construction Steps Beyond a Restricted Language

    D(n)=B_n(n)+1 has a total computable method, yet it appears in no BlooP program: the diagonal construction locates the boundary of a restricted language.

    The book designs two small languages, BlooP and FlooP, changing only one control condition, and observes how expressive power changes. (pp. 410–430.) A loop in BlooP has a finite upper bound fixed upon entry. This bound may depend on the input, or may be obtained from earlier completed computations, but it cannot be extended within the loop so as to lengthen the execution. Procedures that may be called are already defined, and no unbounded self-call is secretly placed inside a function name.

    The numbers BlooP can compute are not small. Rewrite the example on pp. 410–411 as two bounded loops: first let e = 1 and repeat n times, multiplying e by 3, obtaining e = 3ⁿ; then let r = 1 and repeat e times, doubling r, obtaining r = 2^(3ⁿ). The bound of the second loop is very large and depends on the preceding computation, but it is determined at the start, fully satisfying the requirement of being bounded. A finite computation need not be affordable in reality, and a small language can also produce extremely fast growth.

    Why do such programs always end? Basic operations end; the defined procedures that are called end; a loop whose number of iterations is determined finitely on entry, repeating a finite procedure a finite number of times, still ends; and finite nesting and finite sequential composition preserve this property. Induction on the construction of the program, layer by layer, yields totality. The book’s language convention corresponds to the restricted class of primitive recursive functions. The guarantee comes from syntactic organization, not from having run a few examples without yet noticing an infinite loop.

    Now list, effectively, the legal unary BlooP programs with natural-number output as B₀, B₁, B₂, …. Given the index n and an input x, one can find the n-th program and simulate it. Since every Bₙ terminates, this universal simulation procedure also terminates on every such input. Define:

    D(n)=Bn(n)+1. D(n)=B_n(n)+1.

    D obviously has a total computable method: find the n-th program, run it, and add 1 to the result. But D cannot be computed by any Bₖ in the list. Otherwise, at input k, we would have both D(k)=Bₖ(k) and, by definition, D(k)=Bₖ(k)+1, a contradiction. This is the core of the book’s BlueDiag route: a total computable function can go beyond BlooP, and what it goes beyond is only this restricted language.

    Why not also write that universal simulator directly as a BlooP program and then declare a contradiction? Because one cannot presuppose that it belongs to the enumerated restricted language. A uniform capability for running all BlooP programs by some effective procedure may not be expressible through BlooP’s own finite loops.

    FlooP removes the fixed loop bound and allows repetition until a condition is satisfied. It can express more general computation, but it loses the syntactic guarantee that all legal programs terminate. A FlooP procedure may terminate on all inputs, on only some inputs, or never terminate. For example, a procedure that returns immediately on input 0 but loops on other inputs is a clear case of partial termination.

    The remark on p. 420 at the end, about the difficulty of unifying different methods of prediction, should also be understood within this boundary. D has a total computing procedure whose actual number of steps can be obtained by simulating and counting, so the number of steps is likewise a total computable function. That D is not primitive recursive does not imply that it has no computable running bound.

    This positive construction is valuable for the human-machine debate. Each time someone claims to “jump out of the system,” first see which kind of restricted syntax is being jumped out of. A transgression that a stronger effective interpreter can already accomplish does not prove that only human intuition can accomplish it.

    6.2 A Prime-Testing Program: A Concrete Method Can Be Fully Proved Correct

    A concrete method can be fully proved correct: both the correctness and the termination of a primality-testing program can be rigorously proved. The universal limits must be understood after this premise.

    First, a small but complete positive example. For a natural number n, the following original pseudocode decides whether it is prime:

    如果 n < 2:返回“否”
    d := 2
    当 d*d <= n:
        如果 n 能被 d 整除:返回“否”
        d := d + 1
    返回“是”

    Why is it correct? If the loop finds a divisor, then n has a factor between 2 and n, so it is not prime. If n ≥ 2 is composite, write n = ab with a, b ≥ 2. If both were greater than √n, the product would exceed n, a contradiction; so at least one factor is not greater than √n, and the loop must reach it. If no divisor is found up to the bound, n is prime. The d in the loop keeps increasing while n is fixed, so every input terminates.

    A termination proof and a correctness proof bear separate responsibilities: a program may end quickly yet return a wrong answer, or it may return correctly every time yet never return for some inputs. The PRIME? example on p. 413 excludes only 0 at first and does not correctly exclude 1; under its truncated-subtraction convention, it would send 1 to the affirmative exit. Correcting it to n < 2 closes this local gap.

    The formal statement of Goldbach’s conjecture must also state its range precisely. The standard related proposition restricts to even numbers at least 4, with both addends primes at least 2, for example:

    ∀a≥2 ∃b,c≥2  [Prime⁡(b)∧Prime⁡(c)∧2a=b+c]. \forall a\geq2\ \exists b,c\geq2\; [\operatorname{Prime}(b)\land\operatorname{Prime}(c)\land 2a=b+c].

    For a given a, one need only check finitely many b from 2 up to 2a−2, together with the corresponding c, to decide whether this instance holds. Verifying many instances does not prove the universal sentence above, and continually searching for counterexamples without ever stopping does not prove that none exists. The first incompleteness theorem only guarantees that some undecidable sentences exist; it does not rule on whether this proposition is independent.

    This small algorithm makes concrete the difference between “finitely checkable,” “unbounded existence,” and “all inputs.”

    The Magnificrab, Indeed (pp. 549–558) presses from another side. Number-theoretic truth is surrounded by musical changes and by the reputations of characters, and politeness may cause a key test or question to be set aside. Attractive correlations and authoritative poses can make readers willing to believe, but they cannot replace proof. The range restriction in the Goldbach formula above is itself a concrete correction; the appendix separately gives an independent small check of the double-representation numbers.

    6.3 The Halting Problem Excludes a Fully Reliable Total Decider

    The halting reductio excludes an algorithm that always correctly decides halting for all programs and all inputs. The termination of specific programs remains provable, and analyzers that give up universality or total decidability remain feasible.

    Suppose there exists a total algorithm H(p, x) that accurately judges whether program p terminates on input x. H returns “will” or “will not,” and H itself always terminates. Programs can be encoded as natural numbers, so program code can also be treated as input to another program.

    Use H to construct a new program D:

    D(n):
        如果 H(n,n) 回答“会终止”:就永远循环
        如果 H(n,n) 回答“不会终止”:就立即结束

    Let d be the code of D, and consider D(d). If H(d,d) answers “will terminate,” then by definition D loops forever, so H was wrong. If H answers “will not terminate,” then D halts immediately, so H was wrong again. Both possibilities contradict the assumption that H correctly decides all programs and inputs, so such an H does not exist.

    D is a conditional object constructed from the hypothesized H. The contradiction shows that a fully reliable, always-terminating H cannot exist. Given an actual candidate H and its behavior, we can still analyze where it fails.

    So the conclusion cannot be rewritten as “the halting of any program is unknowable.” The termination of the factorial and prime programs has just been proved. One can design analyzers that cover only a restricted class of programs; one can allow an analyzer sometimes to answer “don’t know”; and one can provide sound but incomplete proof-checking tools.

    Halting is semi-decidable. Simulate p(x); if it stops, one has a finite witness. If it runs forever, the simulation itself gives no finite moment at which “never stops” is established. This asymmetry resembles the enumeration theorem. The resemblance lies in the fact that an unbounded existence problem can have checkable positive certificates while lacking a uniform negative exit, not in the claim that all difficulties are called Gödelian.

    6.4 Halting on One Input and Halting on Every Input Are Two Problems

    Deciding that “every input halts” adds one universal quantifier to deciding a single halting, and it includes all the difficulties of deciding halting. A definite program transformation reduces the halting cases to the totality problem.

    Write the halting of program p on some input x as ∃t HaltWithin(p, x, t): there exists a finite number of steps t such that the simulation ends within t steps. HaltWithin can be decided by finite simulation. If one asks whether p terminates on all inputs, the question becomes:

    Total⁡(p)≡∀x∃t HaltWithin⁡(p,x,t). \operatorname{Total}(p)\equiv \forall x\exists t\,\operatorname{HaltWithin}(p,x,t).

    The newly added universal quantifier has real content. To prove that p is total, one must provide a uniform basis for infinitely many inputs. Starting simulations one at a time, even if they succeed on every input already examined, does not complete the check over all inputs.

    The reduction can be written out directly. Given a program p(x₀) to be tested, construct Q: whatever input it receives, first simulate p(x₀); if it stops, return 0; otherwise continue simulating. If p(x₀) halts, Q halts on every input; if it does not halt, Q halts on no input. Therefore a totality decider could decide the original halting case.

    Standard computability theory gives still stronger hierarchy results: the totality of general programs is a Π₂-complete problem, so an oracle for the usual halting set still does not decide all totality questions. Here only the weaker reduction described above is shown; adding one more quantifier does not yet amount to a proof of a strict hierarchy. Full strictness depends on the arithmetical hierarchy and theorems on relative computability. For the distinction between hierarchy levels and TOTAL, compare the IIT Madras computability course, lectures 14 and 16.

    Therefore, to imagine giving a machine a “halting oracle” does not mean that all arithmetical problems are then solved. Each time one grants an additional capability, one must specify which class of questions it answers. To exceed one boundary is not to exceed all boundaries. What the book’s discussion of multiple levels and meta-levels most needs to preserve is exactly this precision.

    6.5 Church and Tarski Exclude Two Different Comprehensive Commitments

    The Church result excludes a total decision algorithm for all theorems; the Tarski result excludes a global truth predicate within the same arithmetical language. Both are reductios of a comprehensive hypothesis, and they constrain different commitments.

    Continuing from section 5.1, let T be a consistent, effectively axiomatized theory that includes PA, and suppose all its theorems have a total decision algorithm. This computable set can then be correctly represented, instance by instance, by an arithmetical formula ρ: when n is indeed the code of a theorem, T proves ρ(n̄); when n is not, T proves ¬ρ(n̄). Here one needs instance-by-instance representation in both the positive and negative directions. It is not enough to say that the true instances are provable.

    Apply the diagonal lemma again to this hypothesized ρ, and construct D so that T proves D ↔ ¬ρ(⌜D⌝). If T proves D, then D is indeed a theorem, and by the representation requirement T also proves ρ(⌜D⌝); but the fixed point gives ¬ρ(⌜D⌝), violating consistency. If T does not prove D, then by the other half of the representation requirement T proves ¬ρ(⌜D⌝), and via the fixed point it proves D, which is equally impossible. Therefore this comprehensive decider does not exist.

    The key is to construct D anew for the decision formula ρ of the hypothesis, rather than tacitly taking ρ as the original proof predicate of the earlier chapter and this D as the original G. The compressed explanation on pp. 579–580 of the book can easily cause these roles to blur together. Rewriting the construction shows what the reductio is opposing.

    The Tarski route concerns truth, not merely provability. Suppose the arithmetical language has a formula Tr(n) that accurately expresses the truth value of all arithmetical sentences in the standard natural numbers. Construct L so that the standard natural numbers satisfy L ↔ ¬Tr(⌜L⌝). The assumption of a global truth predicate also requires Tr(⌜L⌝) to have the same truth value as L; thus L ↔ ¬L, a contradiction.

    So within the same arithmetical language, no such global arithmetical truth predicate can exist. What is excluded is that comprehensive hypothesis of correctness over the whole domain; standard arithmetic has not given birth to a sentence that is both true and false. For some finite list, a bounded quantifier complexity, or another restricted range, one may have corresponding truth definitions; in a richer metalanguage one may also speak of the truth of the original language. To write “a certain range cannot be fully covered internally” as “truth cannot be expressed at all” goes far beyond what the theorem says.

    These two results block a careless claim: that a system, once it has a self-interpreting layer, can fully and reliably cover all of its own truths.

    6.6 The Diagonal Is a Shared Construction Strategy

    Cantor’s diagonal, fixed points, and the halting reductio share one design: assume an exhaustive list or a comprehensive processor already exists, then construct an escape object along a relation to its own position. The strategy is the same, but the theorems obtained differ.

    The book uses Cantor’s diagonal and related constructions to extend readers’ understanding of infinite sets. (Chapter XIII, pp. 421–424.) The smallest example is the set of all infinite binary sequences. Suppose they can be listed in order as s₀, s₁, s₂, …. Construct a new sequence d with d(n)=1−sₙ(n). Then d differs from the n-th row at least at position n, so it is not on the list. This involves no problem of the double representation of decimal 0.999… and 1, nor does it require each sequence to be computable by a program.

    Programs have only countably many finite descriptions, while infinite binary sequences are uncountable, so there certainly are uncomputable sequences. This counting proof tells us that uncomputable sequences exist. It does not tell us that a particular sequence someone happens to think of is uncomputable, and it certainly does not prove that some physical device can reliably produce the uncomputable answer we want. Existence, specifiability, effective acquisition, and reliable use are four different responsibilities.

    Randomness cannot be handled in a single sentence. A random-bit process in a mathematical model may produce an uncomputable infinite sequence; whether it can give reliable answers to every arithmetical question is another matter. Conversely, from the mere fact that “a machine has rules,” one also cannot treat the full effect of random inputs as a no-input expansion of a fixed finite deterministic program. What one must ask concerns the input assumptions, the success probability, the admissible errors, and the range of tasks. The two labels “random” and “deterministic” cannot adjudicate intelligence.

    6.7 Lucas’s Strongest Argument Still Lacks One Qualification

    Lucas’s argument poses an explicit challenge to each fixed candidate model, but each challenge depends on a qualification not yet fulfilled: reliably accepting that the candidate T is consistent, and confirming that it characterizes the mathematical understanding being compared.

    In his 1961 Minds, Machines and Gödel, Lucas tried to use incompleteness to oppose a mechanical explanation of mind. His strength lies in demanding that mechanists hand over a definite object adequate to represent mathematical judgment. If a machine corresponds to a consistent, effective, and sufficiently strong formal system, we can construct the Gödel sentence it cannot prove; a person who understands the argument seems able to see that the sentence is true, and so is not exhausted by this machine. Public scan of Lucas’s original article, pp. 112–127.

    This does hit an excessively strong model. If someone claims that a fixed, reliable formal proof system covers all the reliable arithmetical knowledge of a subject, and the subject can also carry out the corresponding Gödelian inference on the basis of reliably accepting its consistency, then that coverage claim needs to be reexamined. Saying “this is just a metaphor” cannot cancel this genuinely conditional inference.

    Lucas has a response that must be retained. He distinguishes “any single candidate machine” from “one person surpassing all machines at once.” His argument is that for any fixed model proposed by the mechanist, one can carry out a targeted Gödelian reflection, without committing to a single person grasping all the blind spots of all machines at the same moment. (Original article, pp. 117–118.) So demanding that he first hand over a mechanical, uniformly certifying algorithm before permitting an anti-mechanist argument would write the conclusion of the dispute into the admission requirements.

    The qualification still not obtained is more local and more direct: facing this concrete candidate T, on what basis can one reliably accept that it is consistent, and confirm that it actually characterizes the mathematical understanding being compared? Knowing a formal description does not yet establish that it is consistent, and subjective conviction is not reliability either. Once the qualification is given, Gödelian inference can of course be carried out, but the qualification itself must be obtained from outside the theorem. Lucas’s method of challenging case by case avoids the exaggeration of “beating all at once,” yet it still cannot remove this premise from each concrete challenge. On p. 120 of the original article he admits that there is no absolute consistency proof and that undiscovered contradictions may remain, and on p. 124 he defends non-formal reasons for consistency. So he sees the difficulty of qualification; these reasons, however, were still not cashed out, for every candidate, as reliable acceptance.

    Lucas also does not simply deny that humans make mistakes. On pp. 119–124 of the original article, he stresses that once a person finds a contradiction, they can withdraw belief, discard a faulty rule, or restate the problem; a lifetime’s spoken sentences cannot be piled up permanently into an unrevisable set of axioms. This response has substance: a subject in the middle of revision and a fixed set of output theorems are indeed two different kinds of object. If mechanism is to explain people, it must explain this capability for revision.

    The capability to correct oneself on discovering a contradiction guarantees only that discovered contradictions are dealt with. That all contradictions will eventually be found and corrected, and that the entire set of conclusions left behind is globally consistent or reliable for the standard natural numbers, each requires separate grounds. The finite set of judgments currently accepted need not be a deductive closure containing all logical consequences. If human capability consists of choice, withdrawal, and relearning, it must be modeled as a dynamic process, and whether that dynamic process is computable cannot be decided directly by its difference from the earlier static theory. If one further idealizes human reason as a subject that always correctly selects reliable revisions, one needs an independent account of why this idealization belongs to human capability. Otherwise, the transcendence being sought has been placed into the premises.

    Therefore, both “humans err, so it must be a machine” and “humans can point out a machine’s blind spot, so it cannot be a machine” fail as inferences. Gödelian anti-mechanism gives the mechanical model a definite challenge; the challenger still bears the responsibility of reliability in each concrete application.

    6.8 Hofstadter’s Symmetry Response Is Strong; His Multilevel Argument Is Weaker

    Hofstadter’s response concerning model mismatch and human-machine symmetry is forceful, but the qualification of universal human transcendence that Lucas requires has not been established. The part of Hofstadter’s response that relies on “multiple levels” alone to cross formal limits, confusing effective construction with reliability confirmation, cannot stand.

    GEB insists on human-machine symmetry, and this is the strongest part of its response. If a machine is required to be fixed, effective, and consistent, then the human side may not be allowed to change rules at will, rely on unknown intuitions, and be treated as always correct. And if people are allowed to continue working by extending theories, machines should likewise be allowed to extend under explicit rules. Conversely, if the new qualification obtained by extension has not been independently explained as to why it can be reliably accepted, one may not declare the problem solved merely because the executor is called “human.”

    The book’s remark on Gödelization on pp. 475–476 needs to be stratified. For a given appropriate effective theory description, constructing the corresponding fixed-point sentence is effective work. Writing out this sentence can always be done. The difficulty lies in how, during continuous reflective extensions, one uniformly confirms that the current theory is reliable, confirms that the ordering underlying a progression is truly a well-ordering, and knows whether new reflection principles may be accepted. To say that these difficulties of qualification show that the Gödel sentence itself cannot be generated mechanically would weaken a response that could otherwise hold.

    Chapter 17 of the book also stresses that a real AI may be a multilevel system with active symbols and modifiable organization, not a device that only outputs TNT theorems. (pp. 577–578.) This helps question whether Lucas’s model addresses the cognitive object. But a multilevel effective overall process remains within computability theory. If transitions between levels, learning updates, and calls are all effective, they can still be regarded as parts of a larger process. If some external input is said to bring non-computable power, independent evidence is needed.

    Three kinds of claim can be separated here. The standard Church–Turing thesis concerns what is usually called effective computation and the formal models of computation. The physical extension thesis concerns whether all realizable physical processes can be simulated computably. The cognitive or AI extension thesis concerns sufficient conditions for realizing intelligence. The last two are independent extension claims, and several equivalent computational models cannot prove them. The relevant statements on pp. 572 and 578 of the book should be evaluated as extension hypotheses.

    The best mechanist response is to offer a concrete mechanism that explains the capability and accepts its limits, rather than claiming that a machine, because it is complex, is no longer subject to any formal analysis.

    6.9 After Mathematical Boundaries: Constitutive Questions Left for Mind Research

    This chapter has excluded several premature vetoes: a system governed by rules can have outcomes that no uniform predictor can foresee; computable behavior can be complex and varied; and a system bound by universal decision limits can still carry out concrete inference, error correction, and learning.

    Conversely, adding levels, randomness, external inputs, or self-modification likewise requires separate proof that they bring reliable knowledge. Experience is yet another question.

    This leaves better questions for further study: how a system discovers useful representations; how it connects internal symbols with success and failure in the world; how it forms concepts that can transfer; and how a self-model takes part in decisions rather than watching from the sidelines. These are constitutive questions beyond the computability theorems.

    GEB’s most lasting contribution here is to free “the mechanical” from the image of rigid, transparent, single-level little gears. What it most needs to correct is that, now and then, this liberation looks as though it has already paid the evidential cost of a strong conclusion about mind. A system can be complex enough to be hard to predict while still lacking the connections to the world that we require. A system can perform well on a bounded task while having no global guarantee. Making both sides clear is what allows us to enter the question of meaning in the next chapter.


    Player

    Listening Room

    Only By Chasing the Wind

    唯有追赶风的方向Robin / HOYO-MiX / Chevy

    0:00 2:03