One finite-alphabet Turing machine for bottom-up evaluation of finite tree automata
ProvedBinaryTreeAutomata.Postfix.eval_postfix_tablesautomatacomputational-complexity
A single binary multitape stack Turing machine evaluates every well-formed binary tree of explicit finite transition tables. It returns the root state in unary. The run takes at most one transition per three-bit instruction token plus one transition to halt. Both its input and work stacks use a Boolean alphabet, and its finite control is independent of the states, transition tables and tree.
Preamble
import Mathlib import Definitions.Def_BinaryTreeAutomata_PostfixTables import Definitions.Def_HMBinPacking_OutputsWithin open BinaryTreeAutomata BinaryTreeAutomata.TableTree
Formal statement
namespace BinaryTreeAutomata.Postfix
theorem eval_postfix_tables :
∃ M : Turing.TM2ComputableAux Bool Bool, (∀ i, Finite (M.tm.Γ i)) ∧
∀ (t : TableTree) (q : ℕ), t.Evaluates q →
HMBinPacking.OutputsWithin M t.encode (stateWord q) (t.tokens.length + 1) := by sorry
end BinaryTreeAutomata.PostfixSource
Bottom-up finite tree automata on binary terms. Auxiliary lemma for Chakraborty, Ordyniak and Siebertz, arXiv:2610.41974, Theorem 2.8, p. 17.