Equality in logarithmic space #
Compare two encoded words by rereading their bits with two counters, without storing either word. The counters are bounded by the input length. This supplies equality for the active self-query test in bounded truth-table autoreductions.
Main results #
Turing.MultiTapeTM.ComputableInLogSpace.equal: equality of two computed encoded instances.
theorem Turing.MultiTapeTM.ComputableInLogSpace.equal {α β : Type} {encIn : α ↪ List Bool} {enc : β ↪ List Bool} [DecidableEq β] {f g : α → β} (hf : ComputableInLogSpace f encIn enc) (hg : ComputableInLogSpace g encIn enc) :
Equality of two logspace-computed instances, by injectivity of their common encoding.