HPV block computation as an implicit Tree Evaluation instance #
Each interval has one control dependency and three window dependencies per work tape. Their
indices strictly decrease. The existing Ary.Tree unfolds those dependencies, with constant
source gates padding shorter paths. Its value is exactly the encoded functional block value.
The supplied codec must decode every encoded value correctly. A guard maps every word outside its image to the distinct FAIL value, so the gate is defined on all bit strings. Codec size, native gate computation, input access and space certification are separate obligations.
Main results #
Turing.MultiTapePTM.BlockComputation.eval_tree: the unfolded tree preserves the coded value.Turing.MultiTapePTM.BlockComputation.nodeAt_tree: every path has the implicit label.Turing.MultiTapePTM.BlockComputation.eval_tree_final_eq_some_iff: success validates the complete movement schedule.Turing.MultiTapePTM.BlockComputation.eval_tree_final_eq_fail_iff: wrong guesses return FAIL.
Valid codewords are unaffected by the validity guard.
Every word outside the encoding's image is decoded as FAIL.
The unencoded interval gate, with a source gate at zero and FAIL beyond the horizon.
Decode all children, run the local interval gate, and encode its result.
The complete uniform-height Tree Evaluation instance, unfolded without a new tree model.
At an interval inside the horizon, the unencoded gate applied to the values of its children is the interval's value.
Unfolding an interval computation preserves its encoded value.
The implicit node lookup follows dependency indices along the path.
The final tree returns the encoded true view exactly for the true complete movement guess.
A wrong movement guess evaluates to the encoded FAIL value.