Streamed schedule window membership #
Window membership is computed from four streamed digit counts. The schedule, target interval, port and candidate predecessor are binary runtime data. No interval list or runtime power is allocated; tape number and digit offset are fixed machine parameters.
@[reducible, inline]
Schedule, target interval, target port and candidate preceding interval.
noncomputable def Turing.MultiTapePTM.BlockComputation.ScheduleRead.encWindowArgs :
Binary encoding of all window-membership inputs.
Compare the positive/negative counts defining two windows, using streamed readers.
theorem Turing.MultiTapePTM.BlockComputation.ScheduleRead.inWindow_inSpace (k c : ℕ) :
MultiTapeTM.ComputableInSpace (inWindow k c) encWindowArgs MultiTapeTM.encBool fun (a : WindowArgs) =>
(encWindowArgs a).length
Native window membership uses space linear in actual binary input storage.