Introduction to Classical Computation and the Computational Theory of Mind

Course Announcements and Administrative Information

  • Attendance Tracking Details:

    • Official, mandatory attendance tracking using the Attendance Radar application begins exactly one week from today.

    • A system test run of the Attendance Radar application will occur on Thursday to ensure proper functionality.

    • Students without a smartphone or equipped with a device incapable of running the application can complete manual check-ins.

Historical Foundations of Mechanical Computation

  • Classical Computation and Cognitive Science:

    • The central hypothesis of cognitive science posits that the human mind functions as a computer.

    • Theoretical goals of cognitive science include defining what constitutes a computer and establishing computational explanations for mental operations.

  • The Antikythera Mechanism (~100 BC):

    • Discovered over a century ago within an ancient shipwreck; dated to approximately 100 BC.

    • Analyzed extensively across decades by museum curator Michael Wright of London through physical reconstructions.

    • Primary function: Predicting celestial motion, planetary trajectories, and astronomical events.

    • Mechanical construction: Driven by a side handle/crank that rotates an intricate arrangement of internal gear wheels riding on other gear wheels, implementing ancient Greek astronomical models.

    • Front dial features: Displays individual pointers for the Sun, the Moon, and the five planets known to ancient Greeks. The fastest pointer represents the Moon, traversing the dial once per month.

    • Operation method: Users calibrate the front planetary pointers to their current known positions, then rotate the crank to drive the internal gearwork, producing accurate physical predictions of future planetary locations.

    • Computational nature: Functions as a special-purpose, hardware-bound computing device. It cannot be reprogrammed for alternate tasks, but computes by encoding physical information about the world into physical state settings, then manipulating those states to transform input data into predicted output data.

  • Charles Babbage and the Difference Engine (1800s):

    • Designed in the 19th century to automate mathematical calculations, solve polynomial equations, and compute continuous arithmetic functions (addition and subtraction).

    • Mechanical execution: Polynomial equation coefficients are set into columns of stacked gear wheels. Turning the main driving handle transmits force through gears, cams, rods, levers, springs, register towers, and a helical arrangement of steel fingers that automatically perform the carrying of tens.

    • Historical construction: Charles Babbage designed the machine but never completed its physical construction. Working models were successfully constructed centuries later using Babbage's original blueprints.

  • The Analytical Engine and Ada Lovelace:

    • Designed by Babbage as a general-purpose, fully programmable mechanical computer configured using punch cards.

    • Ada Lovelace (assistant to Babbage): Authored what is widely recognized as the first computer program—a formal algorithmic sequence designed to calculate Bernoulli numbers using the Analytical Engine.

    • Contemporary skepticism: British Prime Minister stated at the time that even if completed, the machine would be entirely worthless to science.

Symbolic Representation and the Classical Computational Theory of Mind (CCTM)

  • Lovelace's Principle of Symbolic Manipulation:

    • Computers can process non-numerical, abstract domain entities provided those entities and their mutual fundamental relations can be expressed symbolically or mathematically.

    • Example: Musical notes written on a staff represent audio symbolically. Encoding these symbolic note representations into a calculating machine enables automated key transposition or harmony generation.

    • Significance: Establishes a direct bridge between physical mechanical operations (the motion of gears or transistors) and abstract mental or scientific processes.

  • Classical Computational Theory of Mind (CCTM):

    • The core thesis asserts that the mind is a literal computational system operating on physical symbols, rather than merely an analogy.

    • Two core principles of CCTM:

      1. Discrete Symbols: Mental representations are discrete, countable tokens standing for real-world entities or concepts. The arbitrary form of a symbol (e.g., the visual character "2") carries no intrinsic physical resemblance to its referent quantity (22 objects).

      2. Step-by-Step Rule Execution (Algorithms): Thought processes consist of algorithmic rulebooks executed in sequential steps to manipulate and transform discrete symbols based on syntactic structure.

  • Algorithmic Processing Trace: Dog Parity Evaluation:

    • Task: Process an image composed of spatial cells containing dogs or grass to determine if the total count of dogs is even or odd.

    • Symbolic set: Discrete image labels {Dog,Grass}\{\text{Dog}, \text{Grass}\}, alongside internal state registers for Current Guess∈{Even,Odd}\text{Current Guess} \in \{\text{Even}, \text{Odd}\} and Spatial Location Index\text{Spatial Location Index}.

    • Step-by-step Rulebook:

      • Rule 1: If Current Guess=Even\text{Current Guess} = \text{Even} and scanned cell displays Dog  ⟹  \text{Dog} \implies change Current Guess→Odd\text{Current Guess} \rightarrow \text{Odd} and increment Spatial Location Index\text{Spatial Location Index} by +1+1.

      • Rule 2: If Current Guess=Odd\text{Current Guess} = \text{Odd} and scanned cell displays Dog  ⟹  \text{Dog} \implies change Current Guess→Even\text{Current Guess} \rightarrow \text{Even} and increment Spatial Location Index\text{Spatial Location Index} by +1+1.

      • Rule 3: If scanned cell displays Grass  ⟹  \text{Grass} \implies preserve Current Guess\text{Current Guess} and increment Spatial Location Index\text{Spatial Location Index} by +1+1.

      • Rule 4: If Spatial Location Index\text{Spatial Location Index} exceeds the final spatial cell $impliesterminateprocessandoutputterminate process and output\text{Current Guess}.\n * Characteristics: The process is purely mechanical, deterministic, and algorithmic. It requires no semantic awareness or underlying understanding of what a dog, grass, even, or odd actually is.\n\n# Symbolic Artificial Intelligence, Chatbots, and Cognitive Models\n\n* The Logic Theorist (Herbert Simon & Allen Newell, 1950s):\n * An early artificial intelligence computer program designed to perform symbolic automated logic theorem proving.\n * Mechanism: Formal logical axioms and manipulation rules were encoded into the program. For example, Modus Ponens was implemented as a production rule: If statement Aistrueandstatementis true and statementA \implies Bistrue,writethenewstatementis true, write the new statementB is true.\n * Achievement: Automatically derived most proofs contained in introductory formal logic curricula.\n * Philosophical implications: Simon and Newell asserted they created a non-numerical "thinking machine" over Christmas, arguing that physical hardware executing formal logic rules provided a physicalist solution to the mind-body problem.\n\n* ELIZA Chatbot (Joseph Weizenbaum, 1966):\n * An early natural language processing program simulating a Rogerian psychotherapist.\n * Rule-Based Execution:\n * Rule Type 1: If user input matches string pattern "I am [sad_word]" (where sad_word \in {\text{depressed}, \text{sad}, \text{gloomy}\dots}), select output: "I am sorry to hear that you are [sad_word]" or "Do you think coming here will help you to not be [sad_word]?"\n * Rule Type 2: If user input matches string pattern "I want [desire]", select output: "Why do you want [desire]?" or "I suppose you got that soon."\n * Fallback Rules: If no target keyphrases match, output generic prompts: "Could you elaborate on that?" or "I am glad you are telling me about that."\n * Behavioral outcome: Users formed deep emotional attachments and attributed empathy/understanding to ELIZA despite its mechanistic string matching. A person blindly following a German rulebook could execute a German ELIZA flawlessly without possessing any understanding of the German language.\n\n* ACT-R Cognitive Architecture (John R. Anderson):\n * A classical computational architecture modeling human cognition through two distinct memory stores:\n 1. Declarative Memory: Symbolic knowledge store holding facts, concepts, and explicit relational networks (e.g., 3 + 4 = 7,", "3\text{ precedes }4").\n * Systematicity: Symbolic systems reuse discrete tokens in varied structural configurations to express distinct meanings (e.g., "3\text{ precedes }4"versus"" versus "4\text{ precedes }3").\n * Productivity: Symbolic systems combine finite symbols using recursive rules to generate infinitely complex representations without upper bounds.\n 2. Procedural Memory: Production memory containing condition-action rules for transforming working memory states. Supports lifetime learning (e.g., memorizing multiplication tables like 5 \times 3 = 15 adds new procedural rules).\n\n# The Turing Machine and Formal Computation\n\n* Alan Turing and Historical Origins:\n * Historical contributions: WWII cryptanalysis at Bletchley Park (depicted with dramatized/fictionalized elements in *The Imitation Game* starring Benedict Cumberbatch).\n * Etymology: Historically, a "computer" was a human job profession consisting of clerks hired to strictly execute manual mathematical rulebooks using pencil and paper.\n\n* Formal Architecture of a Turing Machine:\n * Memory Tape: An infinitely long line of discrete spatial bins or cells, each holding a single discrete symbol drawn from a finite alphabet.\n * Read/Write Head & Location Pointer: Scans the current cell, erases or writes symbols, and shifts left or right along the tape one bin at a time.\n * State Register: Tracks the internal state variable S \in {S_1, S_2, \dots, S_n}.\n * Lookup/Transition Table: A strict deterministic rulebook mapping current conditions to actions: (\text{Current State}, \text{Scanned Symbol}) \rightarrow (\text{New Symbol}, \text{Head Shift direction } {L, R}, \text{New State}).\n\n* The Church-Turing Thesis:\n * Proposes that any computational algorithm performable by a human clerk equipped with paper and pencil corresponds precisely to operations executable by a Turing machine.\n * Establishes the formal mathematical definition of classical computability.\n\n* Operational Examples of Turing Machines:\n * Parity Evaluation Machine: Evaluates a string of binary symbols to determine if the total count of 1s is even or odd. The machine reads symbols sequentially, altering internal state variables between S_{\text{Even}}andandS_{\text{Odd}} upon reading each '1', while preserving state upon reading '0'.\n * Binary Addition Machine: Accepts two binary numbers separated by a '+' symbol on the tape and executes addition by manipulating bits and managing internal carry states across place value offsets.\n\n# Marr's Levels, Physical Realizations, and Universal Computing\n\n* Marr's Tri-Level Framework Context:\n * Abstract Turing machine models operate at Marr's Level 2 (Algorithmic / Representational Level).\n * Physical Implementation (Marr's Level 3):\n * Wooden Turing Machine: Utilizes three-position wooden pegs (fully out, halfway, fully in) to represent discrete alphabet symbols on a physical tape. A backboard fitted with pegs encodes lookup tables, and turning a manual crank shifts dowels to evaluate binary arithmetic (e.g., adding 0001toto0011).\n * Lego Turing Machine: Implements physical tape cells using Lego brick placements managed by programmable microcontrollers.\n * McCulloch-Pitts Neural Networks (1940s): Demonstrated that biological neurons connected via excitatory and inhibitory synapses can construct formal logic gates (\text{AND},,\text{OR},,\text{NOT}). Proves that biological neural networks can, in principle, instantiate a Turing machine.\n\n* Universal Turing Machine (UTM):\n * A generalized Turing machine capable of simulating any specialized Turing machine.\n * Mechanism: Accepts both input data *and* a coded symbolic program (representing target lookup table rules) directly on its memory tape.\n * Operation: The UTM reads the program instructions off the tape and dynamically executes those rules upon the input data.\n * Significance: Forms the foundational theoretical architecture for general-purpose programmable computing.\n\n# Von Neumann Architecture, Modularity, and Dualism\n\n* Von Neumann Architecture:\n * Standard hardware organization implemented in modern laptops and smartphones.\n * Central Processing Unit (CPU): Static, fixed physical silicon chip containing hardcoded transistor logic circuits.\n * Memory Unit: Unified memory space storing both executable program instructions and operational data.\n * Operation: The CPU reads instructions sequentially from the memory unit, applying those transformations to input data to generate output data.\n\n* General-Purpose vs. Domain-Specific (Modular) Mind Models:\n * General-Purpose Mental Architecture: The capacity of the brain to read, learn, and execute arbitrary instructions (analogous to a UTM).\n * Domain-Specific Modularity: Hardcoded mental sub-systems (e.g., dedicated facial recognition circuits) operating as static custom hardware. Their underlying processing rules cannot be arbitrarily modified through verbal instruction.\n\n* The Mind-Body Problem and Computational Realism:\n * Cartesian Substance Dualism (René Descartes): Asserts that mind (\text{res cogitans},non−physicalthinkingsubstance)andbody/brain(, non-physical thinking substance) and body/brain (\text{res extensa}$$, extended physical matter) are fundamentally separate substances interacting dynamically.

    • Classical Computational Solution: Resolves substance dualism by demonstrating that abstract symbolic manipulations (thinking) are instantiated directly through physical state transformations governed by natural physical laws (whether implemented in mechanical gears, silicon transistors, or biological action potentials).