Equation form expr-00bf04cc57f7b696
Read as: a block of n stroke symbols
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: a block of n stroke symbols
Turing machines
Read as: a block of n stroke symbols
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: a block of n stroke symbols
Read as: delta from Q times capital sigma partially maps to Q times capital sigma times move left comma move right comma stay put
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta from Q times capital sigma partially maps to Q times capital sigma times move left comma move right comma stay put
Read as: Q intersect Q prime equals the empty set
Means: Notation for a machine prime s state set, tape alphabet, or defining tuple. Read as: Q intersect Q prime equals the empty set
Read as: q sub four
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: q sub four
Read as: M
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: M
Read as: f open parenthesis n sub one comma and so on comma n sub k close parenthesis equals m
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f open parenthesis n sub one comma and so on comma n sub k close parenthesis equals m
Read as: input string I is a finite string over tape alphabet capital sigma
Means: Notation for a machine prime s state set, tape alphabet, or defining tuple. Read as: input string I is a finite string over tape alphabet capital sigma
Read as: Q prime
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: Q prime
Read as: f prime from the natural numbers to the natural numbers
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f prime from the natural numbers to the natural numbers
Read as: f from the natural numbers superscript k partially maps to the natural numbers
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f from the natural numbers superscript k partially maps to the natural numbers
Read as: capital sigma union capital sigma prime
Means: Notation for a machine prime s state set, tape alphabet, or defining tuple. Read as: capital sigma union capital sigma prime
Read as: C prime
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: C prime
Read as: State diagram. Purpose: Sends even input to an accepting halt state while odd input continues right on blanks. Initial state: state q sub zero. States: state q sub zero, state q sub one, state h. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub zero, when reading blank symbol, write blank symbol, stay put, and enter state h. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. States with no outgoing transition shown are state h
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Sends even input to an accepting halt state while odd input continues right on blanks. Initial state: state q sub zero. States: state q sub zero, state q sub one, state h. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub zero, when reading blank symbol, write blank symbol, stay put, and enter state h. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. States with no outgoing transition shown are state h
Read as: m prime equals m plus one
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: m prime equals m plus one
Read as: delta open parenthesis q comma sigma close parenthesis
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta open parenthesis q comma sigma close parenthesis
Read as: m prime equals m minus one
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: m prime equals m minus one
Read as: n equals zero
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: n equals zero
Read as: C sub k equals the tuple C comma m comma q
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: C sub k equals the tuple C comma m comma q
Read as: f from the natural numbers superscript k to the natural numbers superscript m
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f from the natural numbers superscript k to the natural numbers superscript m
Read as: j
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: j
Read as: State diagram. Purpose: Runs unary addition and then returns the head to the start of the output. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading left end marker, write left end marker, move right, and enter state q sub four. States with no outgoing transition shown are state q sub four
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Runs unary addition and then returns the head to the start of the output. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading left end marker, write left end marker, move right, and enter state q sub four. States with no outgoing transition shown are state q sub four
Read as: delta open parenthesis q sub zero comma blank symbol close parenthesis equals the tuple q sub six comma blank symbol comma stay put
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta open parenthesis q sub zero comma blank symbol close parenthesis equals the tuple q sub six comma blank symbol comma stay put
Read as: n
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: n
Read as: f from the natural numbers superscript k to the natural numbers
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f from the natural numbers superscript k to the natural numbers
Read as: M prime equals the tuple Q prime comma capital sigma prime comma q sub zero prime comma delta prime
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: M prime equals the tuple Q prime comma capital sigma prime comma q sub zero prime comma delta prime
Read as: zero plus zero
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: zero plus zero
Read as: m is greater than zero
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: m is greater than zero
Read as: left end marker prime
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: left end marker prime
Read as: move right
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: move right
Read as: string capital A capital B capital B capital A capital A capital B capital B capital A
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: string capital A capital B capital B capital A capital A capital B capital B capital A
Read as: delta open parenthesis q comma sigma close parenthesis equals the tuple h comma sigma comma stay put
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta open parenthesis q comma sigma close parenthesis equals the tuple h comma sigma comma stay put
Read as: movement direction D is left
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: movement direction D is left
Read as: stroke symbol superscript n sub one concatenated with blank symbol concatenated with and so on concatenated with blank symbol concatenated with stroke symbol superscript n sub k
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: stroke symbol superscript n sub one concatenated with blank symbol concatenated with and so on concatenated with blank symbol concatenated with stroke symbol superscript n sub k
Read as: m prime equals m
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: m prime equals m
Read as: the length of C prime equals the length of C plus one
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: the length of C prime equals the length of C plus one
Read as: q prime
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: q prime
Read as: f prime open parenthesis m close parenthesis
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: f prime open parenthesis m close parenthesis
Read as: f open parenthesis x close parenthesis equals two times x
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f open parenthesis x close parenthesis equals two times x
Read as: string capital B capital A capital B capital A capital A
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: string capital B capital A capital B capital A capital A
Read as: j is in the natural numbers
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: j is in the natural numbers
Read as: x
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: x
Read as: M followed by M
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: M followed by M
Read as: string capital A capital A capital B capital B
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: string capital A capital A capital B capital B
Read as: delta open parenthesis q comma left end marker close parenthesis equals the tuple q prime comma left end marker comma x
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta open parenthesis q comma left end marker close parenthesis equals the tuple q prime comma left end marker comma x
Read as: stay put
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: stay put
Read as: State diagram. Purpose: Recognizes even unary length by alternating between two states on strokes. Initial state: state q sub zero. States: state q sub zero, state q sub one. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. Every displayed state has at least one outgoing transition
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Recognizes even unary length by alternating between two states on strokes. Initial state: state q sub zero. States: state q sub zero, state q sub one. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. Every displayed state has at least one outgoing transition
Read as: C sub i plus one
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: C sub i plus one
Read as: the tuple left end marker followed by I comma one comma q sub zero
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: the tuple left end marker followed by I comma one comma q sub zero
Read as: alpha followed by alpha
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: alpha followed by alpha
Read as: string capital A capital A capital B capital B capital B capital B
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: string capital A capital A capital B capital B capital B capital B
Read as: delta open parenthesis q comma left end marker close parenthesis equals the tuple q prime comma sigma comma move left
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta open parenthesis q comma left end marker close parenthesis equals the tuple q prime comma sigma comma move left
Read as: the tuple q sub n comma sigma
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple q sub n comma sigma
Read as: State diagram. Purpose: Doubles a unary block by erasing each input stroke and writing two output strokes. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four, state q sub five. Transition one: from state q sub zero, when reading stroke symbol, write blank symbol, move right, and enter state q sub one. Transition two: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub two. Transition four: from state q sub two, when reading stroke symbol, write stroke symbol, move right, and enter state q sub two. Transition five: from state q sub two, when reading blank symbol, write stroke symbol, move right, and enter state q sub three. Transition six: from state q sub three, when reading blank symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub four. Transition eight: from state q sub four, when reading stroke symbol, write stroke symbol, move left, and enter state q sub four. Transition nine: from state q sub four, when reading blank symbol, write blank symbol, move left, and enter state q sub five. Transition ten: from state q sub five, when reading stroke symbol, write stroke symbol, move left, and enter state q sub five. Transition eleven: from state q sub five, when reading blank symbol, write blank symbol, move right, and enter state q sub zero. Every displayed state has at least one outgoing transition
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Doubles a unary block by erasing each input stroke and writing two output strokes. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four, state q sub five. Transition one: from state q sub zero, when reading stroke symbol, write blank symbol, move right, and enter state q sub one. Transition two: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub two. Transition four: from state q sub two, when reading stroke symbol, write stroke symbol, move right, and enter state q sub two. Transition five: from state q sub two, when reading blank symbol, write stroke symbol, move right, and enter state q sub three. Transition six: from state q sub three, when reading blank symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub four. Transition eight: from state q sub four, when reading stroke symbol, write stroke symbol, move left, and enter state q sub four. Transition nine: from state q sub four, when reading blank symbol, write blank symbol, move left, and enter state q sub five. Transition ten: from state q sub five, when reading stroke symbol, write stroke symbol, move left, and enter state q sub five. Transition eleven: from state q sub five, when reading blank symbol, write blank symbol, move right, and enter state q sub zero. Every displayed state has at least one outgoing transition
Read as: delta open parenthesis q sub zero comma stroke symbol close parenthesis equals the tuple q sub one comma stroke symbol comma move right
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta open parenthesis q sub zero comma stroke symbol close parenthesis equals the tuple q sub one comma stroke symbol comma move right
Read as: stroke symbol
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: stroke symbol
Read as: D
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: D
Read as: C sub i
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: C sub i
Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol. cell three contains stroke symbol. cell four contains stroke symbol. cell five contains blank symbol and is scanned in state q zero. then unshown tape squares continue to the right
Means: A left-to-right tape snapshot; a subscript marks the scanned cell and current state. Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol. cell three contains stroke symbol. cell four contains stroke symbol. cell five contains blank symbol and is scanned in state q zero. then unshown tape squares continue to the right
Read as: delta open parenthesis q comma sigma close parenthesis equals the tuple q prime comma sigma prime comma D
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta open parenthesis q comma sigma close parenthesis equals the tuple q prime comma sigma prime comma D
Read as: the tuple three comma two
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple three comma two
Read as: r
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: r
Read as: stroke symbol superscript n concatenated with blank symbol concatenated with stroke symbol superscript n
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: stroke symbol superscript n concatenated with blank symbol concatenated with stroke symbol superscript n
Read as: the tuple q comma sigma comma q prime comma sigma prime comma D
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple q comma sigma comma q prime comma sigma prime comma D
Read as: alpha
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: alpha
Read as: the function equality open parenthesis n comma m close parenthesis equals cases begin; row one: one, if n equals m; row two: zero, if n is not equal to m; cases end
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: the function equality open parenthesis n comma m close parenthesis equals cases begin; row one: one, if n equals m; row two: zero, if n is not equal to m; cases end
Read as: q sub n
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: q sub n
Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol. cell three contains stroke symbol and is scanned in state q zero. cell four contains blank symbol. then unshown tape squares continue to the right
Means: A left-to-right tape snapshot; a subscript marks the scanned cell and current state. Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol. cell three contains stroke symbol and is scanned in state q zero. cell four contains blank symbol. then unshown tape squares continue to the right
Read as: Q
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: Q
Read as: f open parenthesis x comma y close parenthesis equals x plus y
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f open parenthesis x comma y close parenthesis equals x plus y
Read as: movement direction D is right
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: movement direction D is right
Read as: minimum
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: minimum
Read as: m prime equals zero
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: m prime equals zero
Read as: the tape alphabet containing the left end marker, blank symbol, capital A symbol, and capital B symbol
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: the tape alphabet containing the left end marker, blank symbol, capital A symbol, and capital B symbol
Read as: string capital A capital B capital B capital A capital B capital B
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: string capital A capital B capital B capital A capital B capital B
Read as: C prime open parenthesis i close parenthesis equals C open parenthesis i close parenthesis
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: C prime open parenthesis i close parenthesis equals C open parenthesis i close parenthesis
Read as: the tuple q sub three comma zero comma move right
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple q sub three comma zero comma move right
Read as: capital A symbol
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: capital A symbol
Read as: the tuple q sub one comma stroke symbol comma move right
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: the tuple q sub one comma stroke symbol comma move right
Read as: n is in the natural numbers
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: n is in the natural numbers
Read as: minimum open parenthesis x comma y close parenthesis
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: minimum open parenthesis x comma y close parenthesis
Read as: i is not equal to m
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: i is not equal to m
Read as: State diagram. Purpose: Adds a blank loop in the even state so every relevant state-symbol pair has a transition and the machine never halts. Initial state: state q sub zero. States: state q sub zero, state q sub one. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub zero, when reading blank symbol, write blank symbol, move right, and enter state q sub zero. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. Every displayed state has at least one outgoing transition
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Adds a blank loop in the even state so every relevant state-symbol pair has a transition and the machine never halts. Initial state: state q sub zero. States: state q sub zero, state q sub one. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub zero, when reading blank symbol, write blank symbol, move right, and enter state q sub zero. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. Every displayed state has at least one outgoing transition
Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol. cell three contains stroke symbol and is scanned in state q zero. cell four contains stroke symbol. cell five contains blank symbol. then unshown tape squares continue to the right
Means: A left-to-right tape snapshot; a subscript marks the scanned cell and current state. Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol. cell three contains stroke symbol and is scanned in state q zero. cell four contains stroke symbol. cell five contains blank symbol. then unshown tape squares continue to the right
Read as: string capital A capital A capital A capital B capital B
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: string capital A capital A capital A capital B capital B
Read as: string capital A capital A capital B capital B capital A capital A capital B capital B
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: string capital A capital A capital B capital B capital A capital A capital B capital B
Read as: zero
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: zero
Read as: State diagram. Purpose: Moves a block of strokes left and removes the temporary right boundary marker. Initial state: state q sub six. States: state q sub six, state q sub seven, state q sub eight, state q sub nine, state q sub ten, state q sub eleven, state q sub twelve, state q sub thirteen, state q sub fourteen. Transition one: from state q sub six, when reading blank symbol, write blank symbol, move right, and enter state q sub seven. Transition two: from state q sub seven, when reading blank symbol, write blank symbol, move right, and enter state q sub seven. Transition three: from state q sub seven, when reading stroke symbol, write stroke symbol, move right, and enter state q sub eight. Transition four: from state q sub eight, when reading stroke symbol, write stroke symbol, move right, and enter state q sub eight. Transition five: from state q sub eight, when reading blank symbol, write left end marker, move left, and enter state q sub nine. Transition six: from state q sub nine, when reading stroke symbol, write stroke symbol, move left, and enter state q sub nine. Transition seven: from state q sub nine, when reading blank symbol, write blank symbol, move right, and enter state q sub ten. Transition eight: from state q sub ten, when reading stroke symbol, write blank symbol, move left, and enter state q sub eleven. Transition nine: from state q sub eleven, when reading blank symbol, write blank symbol, move left, and enter state q sub eleven. Transition ten: from state q sub eleven, when reading left end marker, write left end marker, move right, and enter state q sub twelve. Transition eleven: from state q sub eleven, when reading stroke symbol, write stroke symbol, move right, and enter state q sub twelve. Transition twelve: from state q sub twelve, when reading blank symbol, write stroke symbol, move right, and enter state q sub thirteen. Transition thirteen: from state q sub thirteen, when reading blank symbol, write blank symbol, move right, and enter state q sub thirteen. Transition fourteen: from state q sub thirteen, when reading stroke symbol, write blank symbol, move left, and enter state q sub eleven. Transition fifteen: from state q sub thirteen, when reading left end marker, write blank symbol, stay put, and enter state q sub fourteen. States with no outgoing transition shown are state q sub fourteen
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Moves a block of strokes left and removes the temporary right boundary marker. Initial state: state q sub six. States: state q sub six, state q sub seven, state q sub eight, state q sub nine, state q sub ten, state q sub eleven, state q sub twelve, state q sub thirteen, state q sub fourteen. Transition one: from state q sub six, when reading blank symbol, write blank symbol, move right, and enter state q sub seven. Transition two: from state q sub seven, when reading blank symbol, write blank symbol, move right, and enter state q sub seven. Transition three: from state q sub seven, when reading stroke symbol, write stroke symbol, move right, and enter state q sub eight. Transition four: from state q sub eight, when reading stroke symbol, write stroke symbol, move right, and enter state q sub eight. Transition five: from state q sub eight, when reading blank symbol, write left end marker, move left, and enter state q sub nine. Transition six: from state q sub nine, when reading stroke symbol, write stroke symbol, move left, and enter state q sub nine. Transition seven: from state q sub nine, when reading blank symbol, write blank symbol, move right, and enter state q sub ten. Transition eight: from state q sub ten, when reading stroke symbol, write blank symbol, move left, and enter state q sub eleven. Transition nine: from state q sub eleven, when reading blank symbol, write blank symbol, move left, and enter state q sub eleven. Transition ten: from state q sub eleven, when reading left end marker, write left end marker, move right, and enter state q sub twelve. Transition eleven: from state q sub eleven, when reading stroke symbol, write stroke symbol, move right, and enter state q sub twelve. Transition twelve: from state q sub twelve, when reading blank symbol, write stroke symbol, move right, and enter state q sub thirteen. Transition thirteen: from state q sub thirteen, when reading blank symbol, write blank symbol, move right, and enter state q sub thirteen. Transition fourteen: from state q sub thirteen, when reading stroke symbol, write blank symbol, move left, and enter state q sub eleven. Transition fifteen: from state q sub thirteen, when reading left end marker, write blank symbol, stay put, and enter state q sub fourteen. States with no outgoing transition shown are state q sub fourteen
Read as: m
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: m
Read as: f open parenthesis n sub one comma and so on comma n sub k close parenthesis equals m
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f open parenthesis n sub one comma and so on comma n sub k close parenthesis equals m
Read as: State diagram. Purpose: Runs addition, repositions the head, and continues into a renamed doubler phase. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four, state q sub five, state q sub six, state q sub seven, state q sub eight, state q sub nine. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading left end marker, write left end marker, move right, and enter state q sub four. Transition eight: from state q sub four, when reading stroke symbol, write blank symbol, move right, and enter state q sub five. Transition nine: from state q sub five, when reading stroke symbol, write stroke symbol, move right, and enter state q sub five. Transition ten: from state q sub five, when reading blank symbol, write blank symbol, move right, and enter state q sub six. Transition eleven: from state q sub six, when reading stroke symbol, write stroke symbol, move right, and enter state q sub six. Transition twelve: from state q sub six, when reading blank symbol, write stroke symbol, move right, and enter state q sub seven. Transition thirteen: from state q sub seven, when reading blank symbol, write stroke symbol, move left, and enter state q sub seven. Transition fourteen: from state q sub seven, when reading stroke symbol, write stroke symbol, move left, and enter state q sub eight. Transition fifteen: from state q sub eight, when reading stroke symbol, write stroke symbol, move left, and enter state q sub eight. Transition sixteen: from state q sub eight, when reading blank symbol, write blank symbol, move left, and enter state q sub nine. Transition seventeen: from state q sub nine, when reading stroke symbol, write stroke symbol, move left, and enter state q sub nine. Transition eighteen: from state q sub nine, when reading blank symbol, write blank symbol, move right, and enter state q sub four. Every displayed state has at least one outgoing transition
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Runs addition, repositions the head, and continues into a renamed doubler phase. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four, state q sub five, state q sub six, state q sub seven, state q sub eight, state q sub nine. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading left end marker, write left end marker, move right, and enter state q sub four. Transition eight: from state q sub four, when reading stroke symbol, write blank symbol, move right, and enter state q sub five. Transition nine: from state q sub five, when reading stroke symbol, write stroke symbol, move right, and enter state q sub five. Transition ten: from state q sub five, when reading blank symbol, write blank symbol, move right, and enter state q sub six. Transition eleven: from state q sub six, when reading stroke symbol, write stroke symbol, move right, and enter state q sub six. Transition twelve: from state q sub six, when reading blank symbol, write stroke symbol, move right, and enter state q sub seven. Transition thirteen: from state q sub seven, when reading blank symbol, write stroke symbol, move left, and enter state q sub seven. Transition fourteen: from state q sub seven, when reading stroke symbol, write stroke symbol, move left, and enter state q sub eight. Transition fifteen: from state q sub eight, when reading stroke symbol, write stroke symbol, move left, and enter state q sub eight. Transition sixteen: from state q sub eight, when reading blank symbol, write blank symbol, move left, and enter state q sub nine. Transition seventeen: from state q sub nine, when reading stroke symbol, write stroke symbol, move left, and enter state q sub nine. Transition eighteen: from state q sub nine, when reading blank symbol, write blank symbol, move right, and enter state q sub four. Every displayed state has at least one outgoing transition
Read as: Q union Q prime
Means: Notation for a machine prime s state set, tape alphabet, or defining tuple. Read as: Q union Q prime
Read as: q sub one
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: q sub one
Read as: a block of m stroke symbols
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: a block of m stroke symbols
Read as: f open parenthesis x close parenthesis equals x plus one
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f open parenthesis x close parenthesis equals x plus one
Read as: followed by
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: followed by
Read as: n plus m
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: n plus m
Read as: C
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: C
Read as: one
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: one
Read as: n is greater than m
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: n is greater than m
Read as: q sub zero is in Q
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: q sub zero is in Q
Read as: two times x equals zero
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: two times x equals zero
Read as: delta prime prime
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta prime prime
Read as: f open parenthesis x close parenthesis equals x plus two
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f open parenthesis x close parenthesis equals x plus two
Read as: f from the natural numbers superscript n to the natural numbers
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f from the natural numbers superscript n to the natural numbers
Read as: transition triple blank symbol, blank symbol, stay put
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: transition triple blank symbol, blank symbol, stay put
Read as: a block of f open parenthesis n sub one comma and so on comma n sub k close parenthesis stroke symbols
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: a block of f open parenthesis n sub one comma and so on comma n sub k close parenthesis stroke symbols
Read as: State diagram. Purpose: Computes doubling while maintaining a contiguous output block. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four, state q sub five, state q sub six, state q sub seven, state q sub eight. Transition one: from state q sub zero, when reading stroke symbol, write blank symbol, move right, and enter state q sub one. Transition two: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub two. Transition four: from state q sub two, when reading stroke symbol, write stroke symbol, move right, and enter state q sub two. Transition five: from state q sub two, when reading blank symbol, write stroke symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading blank symbol, write blank symbol, move left, and enter state q sub four. Transition eight: from state q sub four, when reading stroke symbol, write stroke symbol, move left, and enter state q sub five. Transition nine: from state q sub five, when reading stroke symbol, write stroke symbol, move left, and enter state q sub five. Transition ten: from state q sub five, when reading blank symbol, write stroke symbol, move right, and enter state q sub zero. Transition eleven: from state q sub four, when reading blank symbol, write stroke symbol, move right, and enter state q sub six. Transition twelve: from state q sub six, when reading blank symbol, write stroke symbol, move right, and enter state q sub seven. Transition thirteen: from state q sub seven, when reading stroke symbol, write stroke symbol, move right, and enter state q sub seven. Transition fourteen: from state q sub seven, when reading blank symbol, write blank symbol, move left, and enter state q sub eight. Transition fifteen: from state q sub eight, when reading stroke symbol, write blank symbol, stay put, and enter state q sub eight. Every displayed state has at least one outgoing transition
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Computes doubling while maintaining a contiguous output block. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four, state q sub five, state q sub six, state q sub seven, state q sub eight. Transition one: from state q sub zero, when reading stroke symbol, write blank symbol, move right, and enter state q sub one. Transition two: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub two. Transition four: from state q sub two, when reading stroke symbol, write stroke symbol, move right, and enter state q sub two. Transition five: from state q sub two, when reading blank symbol, write stroke symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading blank symbol, write blank symbol, move left, and enter state q sub four. Transition eight: from state q sub four, when reading stroke symbol, write stroke symbol, move left, and enter state q sub five. Transition nine: from state q sub five, when reading stroke symbol, write stroke symbol, move left, and enter state q sub five. Transition ten: from state q sub five, when reading blank symbol, write stroke symbol, move right, and enter state q sub zero. Transition eleven: from state q sub four, when reading blank symbol, write stroke symbol, move right, and enter state q sub six. Transition twelve: from state q sub six, when reading blank symbol, write stroke symbol, move right, and enter state q sub seven. Transition thirteen: from state q sub seven, when reading stroke symbol, write stroke symbol, move right, and enter state q sub seven. Transition fourteen: from state q sub seven, when reading blank symbol, write blank symbol, move left, and enter state q sub eight. Transition fifteen: from state q sub eight, when reading stroke symbol, write blank symbol, stay put, and enter state q sub eight. Every displayed state has at least one outgoing transition
Read as: M prime
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: M prime
Read as: x equals zero
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: x equals zero
Read as: the natural numbers
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: the natural numbers
Read as: h is in Q
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: h is in Q
Read as: m is a positive integer
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: m is a positive integer
Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol and is scanned in state q one. cell three contains stroke symbol. cell four contains blank symbol. then unshown tape squares continue to the right
Means: A left-to-right tape snapshot; a subscript marks the scanned cell and current state. Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol and is scanned in state q one. cell three contains stroke symbol. cell four contains blank symbol. then unshown tape squares continue to the right
Read as: string capital A capital A capital A capital B capital B capital B
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: string capital A capital A capital A capital B capital B capital B
Read as: k
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: k
Read as: M followed by M prime
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: M followed by M prime
Read as: M equals the tuple Q comma capital sigma comma q sub zero comma delta
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: M equals the tuple Q comma capital sigma comma q sub zero comma delta
Read as: two times n
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: two times n
Read as: f open parenthesis n comma m close parenthesis equals n minus m
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f open parenthesis n comma m close parenthesis equals n minus m
Read as: the tuple q comma sigma comma q prime prime comma sigma prime prime comma D prime
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple q comma sigma comma q prime prime comma sigma prime prime comma D prime
Read as: Q equals q sub zero comma q sub one next row capital sigma equals left end marker comma blank symbol comma stroke symbol comma next row delta open parenthesis q sub zero comma stroke symbol close parenthesis equals the tuple q sub one comma stroke symbol comma move right comma next row delta open parenthesis q sub one comma stroke symbol close parenthesis equals the tuple q sub zero comma stroke symbol comma move right comma next row delta open parenthesis q sub one comma blank symbol close parenthesis equals the tuple q sub one comma blank symbol comma move right
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: Q equals q sub zero comma q sub one next row capital sigma equals left end marker comma blank symbol comma stroke symbol comma next row delta open parenthesis q sub zero comma stroke symbol close parenthesis equals the tuple q sub one comma stroke symbol comma move right comma next row delta open parenthesis q sub one comma stroke symbol close parenthesis equals the tuple q sub zero comma stroke symbol comma move right comma next row delta open parenthesis q sub one comma blank symbol close parenthesis equals the tuple q sub one comma blank symbol comma move right
Read as: the tuple C prime comma m prime comma q prime
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: the tuple C prime comma m prime comma q prime
Read as: q sub three
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: q sub three
Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol and is scanned in state q one. cell three contains stroke symbol. cell four contains stroke symbol. cell five contains blank symbol. then unshown tape squares continue to the right
Means: A left-to-right tape snapshot; a subscript marks the scanned cell and current state. Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol and is scanned in state q one. cell three contains stroke symbol. cell four contains stroke symbol. cell five contains blank symbol. then unshown tape squares continue to the right
Read as: minimum open parenthesis three comma five close parenthesis equals three
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: minimum open parenthesis three comma five close parenthesis equals three
Read as: q
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: q
Read as: the tuple q sub one comma one
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple q sub one comma one
Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol. cell three contains stroke symbol. cell four contains stroke symbol and is scanned in state q one. cell five contains blank symbol. then unshown tape squares continue to the right
Means: A left-to-right tape snapshot; a subscript marks the scanned cell and current state. Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol. cell three contains stroke symbol. cell four contains stroke symbol and is scanned in state q one. cell five contains blank symbol. then unshown tape squares continue to the right
Read as: minimum open parenthesis twenty comma sixteen close parenthesis equals sixteen
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: minimum open parenthesis twenty comma sixteen close parenthesis equals sixteen
Read as: delta open parenthesis q sub one comma blank symbol close parenthesis equals the tuple q sub one comma blank symbol comma move right
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta open parenthesis q sub one comma blank symbol close parenthesis equals the tuple q sub one comma blank symbol comma move right
Read as: sigma
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: sigma
Read as: m is in the natural numbers
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: m is in the natural numbers
Read as: f open parenthesis n sub one comma and so on comma n sub k close parenthesis
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f open parenthesis n sub one comma and so on comma n sub k close parenthesis
Read as: q is in Q prime
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: q is in Q prime
Read as: y
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: y
Read as: C sub zero
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: C sub zero
Read as: q sub two
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: q sub two
Read as: blank symbol
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: blank symbol
Read as: m prime
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: m prime
Read as: left end marker
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: left end marker
Read as: I
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: I
Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol. cell three contains stroke symbol. cell four contains blank symbol and is scanned in state q one. then unshown tape squares continue to the right
Means: A left-to-right tape snapshot; a subscript marks the scanned cell and current state. Read as: Tape configuration: left end marker. cell one contains stroke symbol. cell two contains stroke symbol. cell three contains stroke symbol. cell four contains blank symbol and is scanned in state q one. then unshown tape squares continue to the right
Read as: h
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: h
Read as: the tuple C comma m comma q
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: the tuple C comma m comma q
Read as: State diagram. Purpose: Adds cleanup and a unique halt state to unary addition. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state h. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading left end marker, write left end marker, move right, and enter state h. States with no outgoing transition shown are state h
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Adds cleanup and a unique halt state to unary addition. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state h. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading left end marker, write left end marker, move right, and enter state h. States with no outgoing transition shown are state h
Read as: string capital A capital B capital B capital A
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: string capital A capital B capital B capital A
Read as: configuration tape string C is a finite string over tape alphabet capital sigma
Means: Notation for a machine prime s state set, tape alphabet, or defining tuple. Read as: configuration tape string C is a finite string over tape alphabet capital sigma
Read as: the tuple q prime comma sigma prime comma D
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple q prime comma sigma prime comma D
Read as: the tuple q comma sigma
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple q comma sigma
Read as: sigma prime
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: sigma prime
Read as: q sub zero
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: q sub zero
Read as: stroke symbol superscript n sub one blank symbol stroke symbol superscript n sub two blank symbol and so on blank symbol stroke symbol superscript n sub k
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: stroke symbol superscript n sub one blank symbol stroke symbol superscript n sub two blank symbol and so on blank symbol stroke symbol superscript n sub k
Read as: two times the quantity m plus n
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: two times the quantity m plus n
Read as: m prime equals the length of C
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: m prime equals the length of C
Read as: Tape configuration: left end marker. cell one contains stroke symbol and is scanned in state q zero. cell two contains stroke symbol. cell three contains stroke symbol. cell four contains blank symbol. then unshown tape squares continue to the right
Means: A left-to-right tape snapshot; a subscript marks the scanned cell and current state. Read as: Tape configuration: left end marker. cell one contains stroke symbol and is scanned in state q zero. cell two contains stroke symbol. cell three contains stroke symbol. cell four contains blank symbol. then unshown tape squares continue to the right
Read as: O
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: O
Read as: delta open parenthesis q comma left end marker close parenthesis
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta open parenthesis q comma left end marker close parenthesis
Read as: string capital A capital A capital B
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: string capital A capital A capital B
Read as: the tuple q comma sigma
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple q comma sigma
Read as: is less than the length of C
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: is less than the length of C
Read as: State diagram. Purpose: Shared addition state diagram whose exact chapter role is fixed in each occurrence. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, stay put, and enter state q sub two. Every displayed state has at least one outgoing transition
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Shared addition state diagram whose exact chapter role is fixed in each occurrence. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, stay put, and enter state q sub two. Every displayed state has at least one outgoing transition
Read as: q is in Q
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: q is in Q
Read as: delta prime prime open parenthesis q comma sigma close parenthesis equals cases begin; row one: delta open parenthesis q comma sigma close parenthesis, if q is in Q and delta open parenthesis q comma sigma close parenthesis is defined; row two: delta prime open parenthesis q comma sigma close parenthesis, if q is in Q prime ; row three: the tuple q sub zero prime comma sigma comma stay put, if q is in Q and delta open parenthesis q comma sigma close parenthesis is undefined; cases end
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta prime prime open parenthesis q comma sigma close parenthesis equals cases begin; row one: delta open parenthesis q comma sigma close parenthesis, if q is in Q and delta open parenthesis q comma sigma close parenthesis is defined; row two: delta prime open parenthesis q comma sigma close parenthesis, if q is in Q prime ; row three: the tuple q sub zero prime comma sigma comma stay put, if q is in Q and delta open parenthesis q comma sigma close parenthesis is undefined; cases end
Read as: delta
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta
Read as: the tuple q sub n comma sigma
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple q sub n comma sigma
Read as: two
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: two
Read as: left angle bracket Q comma capital sigma comma q sub zero comma delta right angle bracket
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: left angle bracket Q comma capital sigma comma q sub zero comma delta right angle bracket
Read as: delta open parenthesis q sub one comma stroke symbol close parenthesis equals the tuple q sub zero comma stroke symbol comma move right
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta open parenthesis q sub one comma stroke symbol close parenthesis equals the tuple q sub zero comma stroke symbol comma move right
Read as: capital sigma
Means: Notation for a machine prime s state set, tape alphabet, or defining tuple. Read as: capital sigma
Read as: q sub six
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: q sub six
Read as: i is less than the length of C
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: i is less than the length of C
Read as: State diagram. Purpose: Sends even input to an accept state and odd input to a reject state. Initial state: state q sub zero. States: state q sub zero, state q sub one, state h, state r. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub zero, when reading blank symbol, write blank symbol, stay put, and enter state h. Transition three: from state q sub one, when reading blank symbol, write blank symbol, stay put, and enter state r. Transition four: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. States with no outgoing transition shown are state h, state r
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Sends even input to an accept state and odd input to a reject state. Initial state: state q sub zero. States: state q sub zero, state q sub one, state h, state r. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub zero, when reading blank symbol, write blank symbol, stay put, and enter state h. Transition three: from state q sub one, when reading blank symbol, write blank symbol, stay put, and enter state r. Transition four: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. States with no outgoing transition shown are state h, state r
Read as: f prime after f
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f prime after f
Read as: i
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: i
Read as: the tuple q sub zero comma blank symbol
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: the tuple q sub zero comma blank symbol
Read as: capital B symbol
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: capital B symbol
Read as: Tape configuration: left end marker. cell one contains stroke symbol and is scanned in state q zero. cell two contains stroke symbol. cell three contains stroke symbol. cell four contains stroke symbol. cell five contains blank symbol. then unshown tape squares continue to the right
Means: A left-to-right tape snapshot; a subscript marks the scanned cell and current state. Read as: Tape configuration: left end marker. cell one contains stroke symbol and is scanned in state q zero. cell two contains stroke symbol. cell three contains stroke symbol. cell four contains stroke symbol. cell five contains blank symbol. then unshown tape squares continue to the right
Read as: the length of C prime equals the length of C
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: the length of C prime equals the length of C
Read as: a block of j blank symbols
Means: Notation for tape symbols, concatenated strings, or unary blocks. Read as: a block of j blank symbols
Read as: State diagram. Purpose: Introduces how one arrow encodes reading a blank, writing a stroke, moving right, and entering the target state. Initial state: state q sub zero. States: state q sub zero, state q sub one. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, move right, and enter state q sub one. States with no outgoing transition shown are state q sub one
Means: A complete source-order transition linearization of the displayed state diagram. Read as: State diagram. Purpose: Introduces how one arrow encodes reading a blank, writing a stroke, moving right, and entering the target state. Initial state: state q sub zero. States: state q sub zero, state q sub one. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, move right, and enter state q sub one. States with no outgoing transition shown are state q sub one
Read as: delta open parenthesis q sub zero comma stroke symbol close parenthesis equals the tuple q sub one comma stroke symbol comma move right comma next row delta open parenthesis q sub one comma stroke symbol close parenthesis equals the tuple q sub zero comma stroke symbol comma move right comma next row delta open parenthesis q sub one comma blank symbol close parenthesis equals the tuple q sub one comma blank symbol comma move right
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: delta open parenthesis q sub zero comma stroke symbol close parenthesis equals the tuple q sub one comma stroke symbol comma move right comma next row delta open parenthesis q sub one comma stroke symbol close parenthesis equals the tuple q sub zero comma stroke symbol comma move right comma next row delta open parenthesis q sub one comma blank symbol close parenthesis equals the tuple q sub one comma blank symbol comma move right
Read as: f open parenthesis n comma m close parenthesis equals n plus m
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: f open parenthesis n comma m close parenthesis equals n plus m
Read as: C equals left end marker concatenated with O concatenated with blank symbol superscript j
Means: Notation for tape content, head position, machine state, or a step in a run. Read as: C equals left end marker concatenated with O concatenated with blank symbol superscript j
Read as: minimum open parenthesis four comma four close parenthesis equals four
Means: A function type, value, or arithmetic relationship in the machine-computation convention. Read as: minimum open parenthesis four comma four close parenthesis equals four
Read as: the tuple Q comma capital sigma comma q sub zero comma delta
Means: Transition notation specifying a current state and symbol or the resulting state, written symbol, and head movement. Read as: the tuple Q comma capital sigma comma q sub zero comma delta
Read as: movement direction D is stay put
Means: An equation, comparison, or membership claim fixed by the surrounding source sentence. Read as: movement direction D is stay put
Read as: the tuple q sub two comma zero comma stay put
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple q sub two comma zero comma stay put
Read as: the tuple q sub two comma zero
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: the tuple q sub two comma zero
Read as: move left
Means: A Turing-machine variable or term whose role is fixed by its exact source context. Read as: move left
Read as: Machine table for the even machine. From state q zero reading blank symbol, the transition is undefined and the machine halts. From state q zero reading stroke symbol, write stroke symbol, move right, and enter state q one. From state q zero reading left end marker, the transition is undefined and the machine halts. From state q one reading blank symbol, write blank symbol, move right, and enter state q one. From state q one reading stroke symbol, write stroke symbol, move right, and enter state q zero. From state q one reading left end marker, the transition is undefined and the machine halts
Means: A row-by-row account of the displayed machine table, including undefined halting cells. Read as: Machine table for the even machine. From state q zero reading blank symbol, the transition is undefined and the machine halts. From state q zero reading stroke symbol, write stroke symbol, move right, and enter state q one. From state q zero reading left end marker, the transition is undefined and the machine halts. From state q one reading blank symbol, write blank symbol, move right, and enter state q one. From state q one reading stroke symbol, write stroke symbol, move right, and enter state q zero. From state q one reading left end marker, the transition is undefined and the machine halts
Three stacked tape-and-head snapshots illustrate the example run described by the surrounding source prose. Three successive tape snapshots. The first has a left end marker, then three stroke symbols, a blank symbol, and four more stroke symbols. The head scans the third square from the left in state q one. In the second snapshot it writes a blank symbol, stays on that square, and enters state q two. In the third snapshot it leaves the blank symbol unchanged, moves one square right, and enters state q three. Illustrates three successive snapshots of the example tape, head, and state described immediately after the figure
Figure containing three visual snapshots of a Turing machine executing the transitions described in the following paragraph.
Minimal state diagram with one transition from the initial state to a second state. State diagram. Purpose: Introduces how one arrow encodes reading a blank, writing a stroke, moving right, and entering the target state. Initial state: state q sub zero. States: state q sub zero, state q sub one. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, move right, and enter state q sub one. States with no outgoing transition shown are state q sub one
Introduces the even machine, which halts exactly on unary inputs containing an even number of strokes.
State diagram for the even machine, alternating states on strokes and looping right forever on a blank in the odd state. State diagram. Purpose: Recognizes even unary length by alternating between two states on strokes. Initial state: state q sub zero. States: state q sub zero, state q sub one. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. Every displayed state has at least one outgoing transition
Three-row transition-function listing for the even machine.
Shows a modified even machine with transitions defined for every state and tape symbol, so it never halts.
Nonhalting variant of the even machine with an added blank loop in the even state. State diagram. Purpose: Adds a blank loop in the even state so every relevant state-symbol pair has a transition and the machine never halts. Initial state: state q sub zero. States: state q sub zero, state q sub one. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub zero, when reading blank symbol, write blank symbol, move right, and enter state q sub zero. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. Every displayed state has at least one outgoing transition
Presents the even machine as a table and explains that blank cells identify halting state-symbol pairs.
Machine table with rows for states and columns for blank, stroke, and left-end symbols; its empty cells mark undefined transitions.
Develops a doubler strategy that erases each input stroke while appending two output strokes.
Figure containing the doubler state diagram.
Six-state doubler diagram that repeatedly erases one input stroke, appends two output strokes, and returns left for the next cycle. State diagram. Purpose: Doubles a unary block by erasing each input stroke and writing two output strokes. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four, state q sub five. Transition one: from state q sub zero, when reading stroke symbol, write blank symbol, move right, and enter state q sub one. Transition two: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub two. Transition four: from state q sub two, when reading stroke symbol, write stroke symbol, move right, and enter state q sub two. Transition five: from state q sub two, when reading blank symbol, write stroke symbol, move right, and enter state q sub three. Transition six: from state q sub three, when reading blank symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub four. Transition eight: from state q sub four, when reading stroke symbol, write stroke symbol, move left, and enter state q sub four. Transition nine: from state q sub four, when reading blank symbol, write blank symbol, move left, and enter state q sub five. Transition ten: from state q sub five, when reading stroke symbol, write stroke symbol, move left, and enter state q sub five. Transition eleven: from state q sub five, when reading blank symbol, write blank symbol, move right, and enter state q sub zero. Every displayed state has at least one outgoing transition
Unsolved exercise asking the reader to trace the doubler on an arbitrary input. The exercise is preserved as a task and intentionally remains unsolved.
Unsolved exercise asking for a recognizer of equal-length blocks of capital A symbols followed by capital B symbols. The exercise is preserved as a task and intentionally remains unsolved.
Unsolved exercise asking for a machine that duplicates any finite capital A and capital B string. The exercise is preserved as a task and intentionally remains unsolved.
Unsolved exercise asking for a machine that halts exactly when every capital A precedes every capital B while preserving the input. The exercise is preserved as a task and intentionally remains unsolved.
Unsolved exercise asking for a machine that rearranges a finite capital A and capital B string into alphabetical order. The exercise is preserved as a task and intentionally remains unsolved.
Defines a Turing machine as a finite state set, finite tape alphabet, initial state, and partial transition function.
Specifies the even machine formally by its states, alphabet, initial state, and three defined transitions.
Aligned specification of the even machine state set, tape alphabet, and transition function.
Defines a configuration as a tape-content sequence, a head position within that sequence, and a current state.
Defines the initial configuration by placing the input immediately after the left end marker, positioning the head on the first input square, and using the initial state.
Defines exactly when one configuration yields another by applying a transition, updating the scanned square, moving the head, extending the visited tape when necessary, and preserving every other square.
Defines runs, halting after a finite number of steps, and the output string after removing the left marker and trailing blanks.
Defines computation of a total natural-number function using unary blocks separated by blanks and a unary output block.
Unsolved exercise asking for the corresponding definition when a machine returns several natural-number outputs. The exercise is preserved as a task and intentionally remains unsolved.
Constructs an addition machine that joins two unary input blocks into one block.
Figure containing the unary addition state diagram.
Three-state addition diagram that fills the separator blank and erases the final stroke. State diagram. Purpose: Adds two unary numbers by filling their separator and erasing the final stroke. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, stay put, and enter state q sub two. Every displayed state has at least one outgoing transition
Unsolved exercise asking for an addition trace and analysis of the empty-input case. The exercise is preserved as a task and intentionally remains unsolved.
Builds a corrected doubler that keeps its output contiguous and therefore computes doubling under the chapter's output convention.
Figure containing the corrected doubler state diagram.
Nine-state doubler diagram that marks progress, appends strokes, returns left, and removes temporary separators. State diagram. Purpose: Computes doubling while maintaining a contiguous output block. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four, state q sub five, state q sub six, state q sub seven, state q sub eight. Transition one: from state q sub zero, when reading stroke symbol, write blank symbol, move right, and enter state q sub one. Transition two: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub two. Transition four: from state q sub two, when reading stroke symbol, write stroke symbol, move right, and enter state q sub two. Transition five: from state q sub two, when reading blank symbol, write stroke symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading blank symbol, write blank symbol, move left, and enter state q sub four. Transition eight: from state q sub four, when reading stroke symbol, write stroke symbol, move left, and enter state q sub five. Transition nine: from state q sub five, when reading stroke symbol, write stroke symbol, move left, and enter state q sub five. Transition ten: from state q sub five, when reading blank symbol, write stroke symbol, move right, and enter state q sub zero. Transition eleven: from state q sub four, when reading blank symbol, write stroke symbol, move right, and enter state q sub six. Transition twelve: from state q sub six, when reading blank symbol, write stroke symbol, move right, and enter state q sub seven. Transition thirteen: from state q sub seven, when reading stroke symbol, write stroke symbol, move right, and enter state q sub seven. Transition fourteen: from state q sub seven, when reading blank symbol, write blank symbol, move left, and enter state q sub eight. Transition fifteen: from state q sub eight, when reading stroke symbol, write blank symbol, stay put, and enter state q sub eight. Every displayed state has at least one outgoing transition
Builds a mover phase that shifts a separated output block back to the left of the tape.
Figure containing the mover state diagram.
Nine-state mover diagram that marks the right boundary, transfers strokes left one at a time, and deletes the temporary marker. State diagram. Purpose: Moves a block of strokes left and removes the temporary right boundary marker. Initial state: state q sub six. States: state q sub six, state q sub seven, state q sub eight, state q sub nine, state q sub ten, state q sub eleven, state q sub twelve, state q sub thirteen, state q sub fourteen. Transition one: from state q sub six, when reading blank symbol, write blank symbol, move right, and enter state q sub seven. Transition two: from state q sub seven, when reading blank symbol, write blank symbol, move right, and enter state q sub seven. Transition three: from state q sub seven, when reading stroke symbol, write stroke symbol, move right, and enter state q sub eight. Transition four: from state q sub eight, when reading stroke symbol, write stroke symbol, move right, and enter state q sub eight. Transition five: from state q sub eight, when reading blank symbol, write left end marker, move left, and enter state q sub nine. Transition six: from state q sub nine, when reading stroke symbol, write stroke symbol, move left, and enter state q sub nine. Transition seven: from state q sub nine, when reading blank symbol, write blank symbol, move right, and enter state q sub ten. Transition eight: from state q sub ten, when reading stroke symbol, write blank symbol, move left, and enter state q sub eleven. Transition nine: from state q sub eleven, when reading blank symbol, write blank symbol, move left, and enter state q sub eleven. Transition ten: from state q sub eleven, when reading left end marker, write left end marker, move right, and enter state q sub twelve. Transition eleven: from state q sub eleven, when reading stroke symbol, write stroke symbol, move right, and enter state q sub twelve. Transition twelve: from state q sub twelve, when reading blank symbol, write stroke symbol, move right, and enter state q sub thirteen. Transition thirteen: from state q sub thirteen, when reading blank symbol, write blank symbol, move right, and enter state q sub thirteen. Transition fourteen: from state q sub thirteen, when reading stroke symbol, write blank symbol, move left, and enter state q sub eleven. Transition fifteen: from state q sub thirteen, when reading left end marker, write blank symbol, stay put, and enter state q sub fourteen. States with no outgoing transition shown are state q sub fourteen
Two-line transition label on one mover edge, allowing the same state change after reading either the left-end marker or a stroke.
Unsolved exercise asking how to repair the combined doubler and mover on zero input. The exercise is preserved as a task and intentionally remains unsolved.
Unsolved exercise asking for unary subtraction when the first positive input exceeds the second. The exercise is preserved as a task and intentionally remains unsolved.
Unsolved exercise asking for a machine computing a one-or-zero equality test on positive integers. The exercise is preserved as a task and intentionally remains unsolved.
Unsolved exercise asking for a machine computing the smaller of two positive unary inputs. The exercise is preserved as a task and intentionally remains unsolved.
Defines computation of a partial natural-number function, including nonhalting or malformed output when the function is undefined.
Modifies the even machine first with an accepting halting state and then with a separate rejecting state.
Even-machine state diagram with a dedicated accepting halt state reached on a blank in the even state. State diagram. Purpose: Sends even input to an accepting halt state while odd input continues right on blanks. Initial state: state q sub zero. States: state q sub zero, state q sub one, state h. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub zero, when reading blank symbol, write blank symbol, stay put, and enter state h. Transition three: from state q sub one, when reading blank symbol, write blank symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. States with no outgoing transition shown are state h
Even-machine state diagram with distinct accept and reject terminal states. State diagram. Purpose: Sends even input to an accept state and odd input to a reject state. Initial state: state q sub zero. States: state q sub zero, state q sub one, state h, state r. Transition one: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition two: from state q sub zero, when reading blank symbol, write blank symbol, stay put, and enter state h. Transition three: from state q sub one, when reading blank symbol, write blank symbol, stay put, and enter state r. Transition four: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub zero. States with no outgoing transition shown are state h, state r
Defines a disciplined machine by a single halting state, halting on the first input square, preserving the left marker, and never attempting to move left from that marker.
Turns the earlier addition machine into a disciplined one by adding leftward cleanup and a designated halting state.
Figure containing the disciplined addition state diagram.
State diagram for disciplined addition, including cleanup to the left marker and entry into the halting state. State diagram. Purpose: Adds cleanup and a unique halt state to unary addition. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state h. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading left end marker, write left end marker, move right, and enter state h. States with no outgoing transition shown are state h
States that every Turing machine has an equivalent disciplined machine with the same halting behavior and output.
Unsolved exercise asking for a disciplined successor machine. The exercise is preserved as a task and intentionally remains unsolved.
Unsolved exercise asking for a disciplined copier that leaves two unary blocks separated by a blank. The exercise is preserved as a task and intentionally remains unsolved.
Builds a sequential machine with an addition phase followed by a doubling phase, producing twice the sum of two unary inputs.
State diagram for the addition phase used in the combined construction. State diagram. Purpose: Runs the unary addition phase. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, stay put, and enter state q sub two. Every displayed state has at least one outgoing transition
Extends the addition phase so its head returns toward the left end before the next machine starts. State diagram. Purpose: Runs unary addition and then returns the head to the start of the output. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading left end marker, write left end marker, move right, and enter state q sub four. States with no outgoing transition shown are state q sub four
Figure containing the final state diagram that combines the addition and doubling phases.
Final combined state diagram: addition and head repositioning feed directly into a renamed doubler. State diagram. Purpose: Runs addition, repositions the head, and continues into a renamed doubler phase. Initial state: state q sub zero. States: state q sub zero, state q sub one, state q sub two, state q sub three, state q sub four, state q sub five, state q sub six, state q sub seven, state q sub eight, state q sub nine. Transition one: from state q sub zero, when reading blank symbol, write stroke symbol, stay put, and enter state q sub one. Transition two: from state q sub zero, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition three: from state q sub one, when reading stroke symbol, write stroke symbol, move right, and enter state q sub one. Transition four: from state q sub one, when reading blank symbol, write blank symbol, move left, and enter state q sub two. Transition five: from state q sub two, when reading stroke symbol, write blank symbol, move left, and enter state q sub three. Transition six: from state q sub three, when reading stroke symbol, write stroke symbol, move left, and enter state q sub three. Transition seven: from state q sub three, when reading left end marker, write left end marker, move right, and enter state q sub four. Transition eight: from state q sub four, when reading stroke symbol, write blank symbol, move right, and enter state q sub five. Transition nine: from state q sub five, when reading stroke symbol, write stroke symbol, move right, and enter state q sub five. Transition ten: from state q sub five, when reading blank symbol, write blank symbol, move right, and enter state q sub six. Transition eleven: from state q sub six, when reading stroke symbol, write stroke symbol, move right, and enter state q sub six. Transition twelve: from state q sub six, when reading blank symbol, write stroke symbol, move right, and enter state q sub seven. Transition thirteen: from state q sub seven, when reading blank symbol, write stroke symbol, move left, and enter state q sub seven. Transition fourteen: from state q sub seven, when reading stroke symbol, write stroke symbol, move left, and enter state q sub eight. Transition fifteen: from state q sub eight, when reading stroke symbol, write stroke symbol, move left, and enter state q sub eight. Transition sixteen: from state q sub eight, when reading blank symbol, write blank symbol, move left, and enter state q sub nine. Transition seventeen: from state q sub nine, when reading stroke symbol, write stroke symbol, move left, and enter state q sub nine. Transition eighteen: from state q sub nine, when reading blank symbol, write blank symbol, move right, and enter state q sub four. Every displayed state has at least one outgoing transition
States that sequentially combining disciplined machines preserves discipline and computes the second function after the first.
Unsolved exercise asking for a disciplined machine that adds two by composing a successor machine with itself. The exercise is preserved as a task and intentionally remains unsolved.
Defines the Church Turing thesis: every computation achievable by an effective procedure is computable by a Turing machine.