Sequential composition before a nondeterministic machine #
NTM.compositionTM tmF N runs the deterministic function computation tmF,
pipes its output to a fresh virtual-input tape, and then runs the
nondeterministic machine N on that virtual input.
The construction shares TM.compositionTM's state skeleton: none of the
deterministic composition's states, start/halt markers, or tape layout
depend on the second machine's transition function, so branch b of the
composite can be defined as the deterministic composition with branch b
of N. The det projections then coincide with the deterministic
compositions definitionally (compositionNTM_det), which lets every
deterministic simulation lemma about TM.compositionTM be reused for the
composite's traces through NTM.trace_of_det_prefix.
Sequential composition of a deterministic function computation with a
nondeterministic machine. Branch b of the composite is the
deterministic composition TM.compositionTM tmF (N.det b); the state
skeleton is branch-independent.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The det projections of the composite are exactly the deterministic
compositions with the corresponding branch of N.
Branch agreement on the deterministic phases #
The composite's two branches consult N's transition functions only inside
the placed retargeted phase (the innermost Sum.inr block of the state
space). At every other state the transition is the same term for both
branches, so agreement holds definitionally once the state shape is fixed.
Branch agreement at first-computation states.
Branch agreement at raw-output-rewind states.
Branch agreement at copy states.
Branch agreement at live virtual-input-rewind states. The rewind
phase's halt state is excluded: the seam out of it enters the placed
retargeted phase at N's post-first-transition state, which is the
composite's first branch-dependent transition.