Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Prefix Closure Fails for Squares with Three Digits

Abstract

A fifteen-block decimal word has a square with digits in {0,2,5}, but deleting its last block gives a square containing digit one.

Definition 1.1 (The literal decimal word).

Formalization. D5/S1/Digit/SquaresThreeDigitsPrefixRefutation.decimalWord (✓ std3).

Citation. Michael Geißer, Theresa Körner, Sascha Kurz and Anne Zahn (2021). Squares with three digits. URL: https://arxiv.org/abs/2112.00444v2.

Commentary.

For each natural entry a, block(a) is the digit 4 followed by exactly a copies of 9. Concatenate those blocks in their listed order and append one final digit 5. Entries equal to zero produce a lone 4. This is the shorthand in Section 3.3, page 25 of the source.

Definition 1.2 (The ordinary decimal integer).

Formalization. D5/S1/Digit/SquaresThreeDigitsPrefixRefutation.encode (✓ std3).

Citation. Michael Geißer, Theresa Körner, Sascha Kurz and Anne Zahn (2021). Squares with three digits. URL: https://arxiv.org/abs/2112.00444v2.

Commentary.

Mathlib’s Nat.ofDigits reads least significant digits first, so the literal decimal word is reversed exactly once. No polynomial surrogate or alternative digit predicate enters the definition.

Definition 1.3 (The actual square digits).

Formalization. D5/S1/Digit/SquaresThreeDigitsPrefixRefutation.GoodSquare (✓ std3).

Citation. Michael Geißer, Theresa Körner, Sascha Kurz and Anne Zahn (2021). Squares with three digits. URL: https://arxiv.org/abs/2112.00444v2.

Commentary.

GoodSquare tests every digit of the ordinary natural integer square. It requires subset membership in {0,2,5}; it does not require that all three digits occur. The Boolean list test is true exactly when every digit satisfies that membership condition.

Definition 1.4 (The whole prefix implication).

Formalization. D5/S1/Digit/SquaresThreeDigitsPrefixRefutation.claim (✓ std3).

Citation. Michael Geißer, Theresa Körner, Sascha Kurz and Anne Zahn (2021). Squares with three digits. URL: https://arxiv.org/abs/2112.00444v2.

Commentary.

Conjecture 1 on page 26 quantifies over every finite tuple of natural entries of length at least two. There is no bound on entries or length. Deletion removes the last entry and its entire 4/nines block; the final digit 5 remains.

Definition 1.5 (A fifteen-block tuple).

Formalization. D5/S1/Digit/SquaresThreeDigitsPrefixRefutation.counterexample (✓ std3).

Source. Repository-derived.

Acknowledgement. Michael Geißer, Theresa Körner, Sascha Kurz and Anne Zahn (2021). Squares with three digits. URL: https://arxiv.org/abs/2112.00444v2.

Commentary.

The tuple is [0,1,3,7,15,31,63,127,2,6,14,62,14,6,2]. Its cumulative block lengths are 1,3,7,15,31,63,127,255,258,265,280,343,358,365,368. The full root has 369 decimal digits. Removing the final block leaves a root with 366 decimal digits.

Theorem 1.6 (Prefix closure is false).

Proof. Machine-checked in Lean as D5/S1/Digit/SquaresThreeDigitsPrefixRefutation.result (✓ std3). ∎

Resolves. Problems/geisser-2021-squares-prefix (refuted) by D5/S1/Digit/SquaresThreeDigitsPrefixRefutation.result.

Source. Repository-derived.

Acknowledgement. Michael Geißer, Theresa Körner, Sascha Kurz and Anne Zahn (2021). Squares with three digits. URL: https://arxiv.org/abs/2112.00444v2.

Commentary.

The full tuple passes the literal square-digit test, while its dropLast tuple fails it. Both assertions are reduced by the Lean kernel. The implication at this tuple therefore contradicts claim. The carry mechanism can be seen from S, the cumulative lengths: N = 510^368(1-sum(10^(-s),s in S)). Write S as {1,3,7,15,31,63,127} union (255+T), where T={0,3,10,25,88,103,110,113}. The four pairs (0,113),(3,110),(10,103),(25,88) have sum 113. In the normalized square N^2/10^738, decimal positions are counted after the decimal point. They contribute four 5s in position 624; their sum 20 carries a 2 into position 623. Deleting 113 leaves three such pairs, whose sum 15 carries a forbidden 1 instead. This refutes the entire universal implication; it makes no assertion of a least counterexample or historical priority.

References