The universal machine: input and result #
The input of the universal machine is the word of a tree z, its brackets in preorder
(Interpreter.tbits). The machine reads the word and builds the tree in its heap, with a frame for
every subtree that is being read (Uni.sumTo_parse), and then evaluates the formula with the
code z.hd at z.tl. For a plain instance z the sum of the weights of its runs is the plain
sum Interpreter.pv θ z, and the runs are short (Uni.sumTo_universalMachine).
Main definitions #
Main results #
Uni.sumTo_parse: reading a tree.Uni.wellFormed_initState.Uni.plainValue_one: the sumUni.plainValuewith the factors1isInterpreter.pval.Uni.sumTo_universalMachine: the universal machine is exact.
References #
- Anthropic, VP ≠ VNP over every field, paper and Lean formalization,
Proposition I.1 (the part "The pointer machine" of its proof), module
Nc.Uni.TopU
What happens when a tree o that has been read is returned to the frame at the
address k: the run sum is S, within B steps.
Reading a tree: from the mode parse with the frame at register 1, the machine reads
the word of a, builds a in the heap and returns it to the frame, in 3 * a.size steps.
The first state: the mode start₀, the empty record, and the word of z as the input.
The sum over runs that name no constants, with the factors 1, is the plain value.
The universal machine is exact: started at the word of a plain instance z, the sum of
the weights of its accepting runs is the plain sum of z, and the runs have at most
3 * z.size + codeCost supp * τ + 10 steps.