Abstract
AbstractSuppose that a sequence of $${\varvec{n}}$$
n
cards, numbered 1 to $${\varvec{n}}$$
n
, is placed face up in random order. Let $${\varvec{k}}$$
k
be the number on the first card in the sequence. Then take the first $${\varvec{k}}$$
k
cards from the sequence, rearrange that subsequence of $${\varvec{k}}$$
k
cards in reverse order, and return them to the original sequence. Repeat this prefix reversal until the number on the first card in the sequence becomes 1. This is a one-player card game called Topswops. The computational complexity of Topswops has not been thoroughly investigated. For example, letting $${\varvec{f}}({\varvec{n}})$$
f
(
n
)
denote the maximum number of prefix reversals for Topswops with $${\varvec{n}}$$
n
cards, values of $${\varvec{f}}({\varvec{n}})$$
f
(
n
)
for $${\varvec{n}}\ge 20$$
n
≥
20
remain unknown. In general, there is no known efficient algorithm for finding an initial sequence of $${\varvec{n}}$$
n
cards that requires exactly $$\ell $$
ℓ
prefix reversals for any integers $${\varvec{n}}$$
n
and $${\varvec{\ell }}$$
ℓ
. In this paper, using a deck of cards, we propose a physical zero-knowledge proof protocol that allows a prover to convince a verifier that the prover knows an initial sequence of $${\varvec{n}}$$
n
cards that requires $${\varvec{\ell }}$$
ℓ
prefix reversals without leaking knowledge of that sequence. We also deal with Botdrops, a variant of Topswops.
Funder
Japan Society for the Promotion of Science
Publisher
Springer Science and Business Media LLC
Reference77 articles.
1. Komano, Y., Mizuki, T.: Physical zero-knowledge proof protocol for topswops. In: Su, C., Gritzalis, D., Piuri, V. (eds.) Information Security Practice and Experience—17th International Conference, ISPEC 2022. Lecture Notes in Computer Science, vol. 13620, pp. 537–553. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-21280-2_30
2. Morales, L., Sudborough, H.: A quadratic lower bound for topswops. Theor. Comput. Sci. 411(44), 3965–3970 (2010). https://doi.org/10.1016/j.tcs.2010.08.011
3. Klamkin, M.S.: Problems in applied mathematics: selections from. SIAM Rev. (1990). https://doi.org/10.1137/1.9781611971729.ch4
4. Knuth, D.E.: The Art of Computer Programming, Volume 4, Fascicle 2: Generating All Tuples and Permutations (Art of Computer Programming). Addison-Wesley Professional (2005)
5. Pepperdine, A.: 73.23 topswops. Math. Gaz. 73(464), 131–133 (1989)