minicomplexity
long length
definition

Given a long unary string, check that its length is exactly $2^h$.

details

For every $h\geq 1$, long length$h$ (or just llen$h$) is defined over the unary alphabet $\{\mathtt0\}$. Its instances are all unary strings of length $\leq2^h$. The unary string of length exactly $2^h$ is the only positive instance. All other instances are negative.

E.g., $\mathtt{00000000}$ is the only positive instance of llen$3$; all unary strings of length $\lt8$ are negative instances. (Strings of length $\gt8$ are not instances of the problem.)

notes

Introduced by Kapoutsis 2009, as a straightforward example of a problem in 22D\2D. (The original definition allowed arbitrarily long instances, but this is not essential in this context.)

The name “long length” is suggested by this site. huh?

See iterated long length for the variant where the length must be a multiple of $2^h$, and length for the variant where the length must be $h$.

1N
1N 1D re-1D re-1N co-1D rc-1D 1D/uny 1N/uny re-1D/uny re-1N/uny co-1D/uny rc-1D/uny
21D/uny
21D/uny 21D e1D r1D f1D 21N e1N r1N f1N 2RD eRD rRD fRD 2RN eRN rRN fRN 2SD eSD rSD fSD 2SN eSN rSN fSN 22D e2D r2D f2D 22N e2N r2N f2N re-21D re-e1D re-r1D re-f1D re-21N re-e1N re-r1N re-f1N re-2RD re-eRD re-rRD re-fRD re-2RN re-eRN re-rRN re-fRN re-2SD re-eSD re-rSD re-fSD re-2SN re-eSN re-rSN re-fSN re-22D re-e2D re-r2D re-f2D re-22N re-e2N re-r2N re-f2N co-21D co-e1D co-r1D co-f1D co-21N co-e1N co-r1N co-f1N co-2RD co-eRD co-rRD co-fRD co-2RN co-eRN co-rRN co-fRN co-2SD co-eSD co-rSD co-fSD co-2SN co-eSN co-rSN co-fSN co-22D co-e2D co-r2D co-f2D co-22N co-e2N co-r2N co-f2N rc-21D rc-e1D rc-r1D rc-f1D rc-21N rc-e1N rc-r1N rc-f1N rc-2RD rc-eRD rc-rRD rc-fRD rc-2RN rc-eRN rc-rRN rc-fRN rc-2SD rc-eSD rc-rSD rc-fSD rc-2SN rc-eSN rc-rSN rc-fSN rc-22D rc-e2D rc-r2D rc-f2D rc-22N rc-e2N rc-r2N rc-f2N e1D/uny r1D/uny f1D/uny 21N/uny e1N/uny r1N/uny f1N/uny 2RD/uny eRD/uny rRD/uny fRD/uny 2RN/uny eRN/uny rRN/uny fRN/uny 2SD/uny eSD/uny rSD/uny fSD/uny 2SN/uny eSN/uny rSN/uny fSN/uny 22D/uny e2D/uny r2D/uny f2D/uny 22N/uny e2N/uny r2N/uny f2N/uny re-21D/uny re-e1D/uny re-r1D/uny re-f1D/uny re-21N/uny re-e1N/uny re-r1N/uny re-f1N/uny re-2RD/uny re-eRD/uny re-rRD/uny re-fRD/uny re-2RN/uny re-eRN/uny re-rRN/uny re-fRN/uny re-2SD/uny re-eSD/uny re-rSD/uny re-fSD/uny re-2SN/uny re-eSN/uny re-rSN/uny re-fSN/uny re-22D/uny re-e2D/uny re-r2D/uny re-f2D/uny re-22N/uny re-e2N/uny re-r2N/uny re-f2N/uny co-21D/uny co-e1D/uny co-r1D/uny co-f1D/uny co-21N/uny co-e1N/uny co-r1N/uny co-f1N/uny co-2RD/uny co-eRD/uny co-rRD/uny co-fRD/uny co-2RN/uny co-eRN/uny co-rRN/uny co-fRN/uny co-2SD/uny co-eSD/uny co-rSD/uny co-fSD/uny co-2SN/uny co-eSN/uny co-rSN/uny co-fSN/uny co-22D/uny co-e2D/uny co-r2D/uny co-f2D/uny co-22N/uny co-e2N/uny co-r2N/uny co-f2N/uny rc-21D/uny rc-e1D/uny rc-r1D/uny rc-f1D/uny rc-21N/uny rc-e1N/uny rc-r1N/uny rc-f1N/uny rc-2RD/uny rc-eRD/uny rc-rRD/uny rc-fRD/uny rc-2RN/uny rc-eRN/uny rc-rRN/uny rc-fRN/uny rc-2SD/uny rc-eSD/uny rc-rSD/uny rc-fSD/uny rc-2SN/uny rc-eSN/uny rc-rSN/uny rc-fSN/uny rc-22D/uny rc-e2D/uny rc-r2D/uny rc-f2D/uny rc-22N/uny rc-e2N/uny rc-r2N/uny rc-f2N/uny
complete for:
– no record –
also hard for:
– no record –
at least as hard as:
– no record –
llen$^r$:$\leq_\text{id}$
llen$^r$:$\leq_\text{id}$ llen$^r$:$\leq^\text{t}_\text{h}$ llen$^r$:$\leq_\text{h}$ llen$^r$:$\leq^\text{lac}_\text{1D}$ llen$^r$:$\leq_\text{1D}$ llen$^r$:$\leq^\text{lac}_\text{RD}$ llen$^r$:$\leq_\text{RD}$ llen$^r$:$\leq^\text{lac}_\text{2D}$ llen$^r$:$\leq_\text{2D}$ llen$^r$:$\leq^\text{lac}_\text{1N}$ llen$^r$:$\leq_\text{1N}$
illen:$\leq_\text{id}$
illen:$\leq_\text{id}$ illen:$\leq^\text{t}_\text{h}$ illen:$\leq_\text{h}$ illen:$\leq^\text{lac}_\text{1D}$ illen:$\leq_\text{1D}$ illen:$\leq^\text{lac}_\text{RD}$ illen:$\leq_\text{RD}$ illen:$\leq^\text{lac}_\text{2D}$ illen:$\leq_\text{2D}$ illen:$\leq^\text{lac}_\text{1N}$ illen:$\leq_\text{1N}$ illen$^r$:$\leq_\text{id}$ illen$^r$:$\leq^\text{t}_\text{h}$ illen$^r$:$\leq_\text{h}$ illen$^r$:$\leq^\text{lac}_\text{1D}$ illen$^r$:$\leq_\text{1D}$ illen$^r$:$\leq^\text{lac}_\text{RD}$ illen$^r$:$\leq_\text{RD}$ illen$^r$:$\leq^\text{lac}_\text{2D}$ illen$^r$:$\leq_\text{2D}$ illen$^r$:$\leq^\text{lac}_\text{1N}$ illen$^r$:$\leq_\text{1N}$