Repeated Word List: Difference between revisions

From BusyBeaverWiki
Jump to navigation Jump to search
Polygon (talk | contribs)
Added block simulation
Polygon (talk | contribs)
Added regex branching
Line 1: Line 1:
'''Repeated Word List''' (short '''RepWL''') is a [[decider]]. It works by splitting the tape contents into blocks ("words") of a given length <math>l</math>. Consecutive blocks grouped into powers. If there are moreconsecutive repetitions than a predefined repeat threshhold <math>T</math>, the exponent is given as <math>T+</math>. Consecutive blocks with no <math>+</math> in their exponent are called constant blocks. When the TM head is facing a constant block, the TM is simulated until it either leaves the constant block, halts, or exceeds a predefined step limit <math>B</math>. Once the TM has left the constant block, identical contiguous blocks are regrouped into powers.
'''Repeated Word List''' (short '''RepWL''') is a [[decider]]. It works by splitting the tape contents into blocks ("words") of a given length <math>l</math>. Consecutive blocks grouped into powers. If there are more consecutive repeating blocks than a predefined repeat threshhold <math>T</math>, the exponent is given as <math>T+</math>. Consecutive blocks with no <math>+</math> in their exponent are called constant blocks. When the TM head is facing a constant block, the TM is simulated until it either leaves the constant block, halts, or exceeds a predefined step limit <math>B</math>. Once the TM has left the constant block, identical contiguous blocks are regrouped into powers. If the TM head is facing a group of blocks with a <math>+</math> in its exponent, the block directly faced by the TM head is separated from the group and the simulation splits into two branches: One where the original groups multiplicity is reduced to <math>T-1</math> and one where it stays at <math>T+</math>.


[[Category:Deciders]]
[[Category:Deciders]]
{{Stub}}
{{Stub}}

Revision as of 22:19, 20 February 2026

Repeated Word List (short RepWL) is a decider. It works by splitting the tape contents into blocks ("words") of a given length l. Consecutive blocks grouped into powers. If there are more consecutive repeating blocks than a predefined repeat threshhold T, the exponent is given as T+. Consecutive blocks with no + in their exponent are called constant blocks. When the TM head is facing a constant block, the TM is simulated until it either leaves the constant block, halts, or exceeds a predefined step limit B. Once the TM has left the constant block, identical contiguous blocks are regrouped into powers. If the TM head is facing a group of blocks with a + in its exponent, the block directly faced by the TM head is separated from the group and the simulation splits into two branches: One where the original groups multiplicity is reduced to T1 and one where it stays at T+.