Three-colour cuboids from four-colour cubes
Version 2 / Nov 04, 2026 / CC BY 4.0
Abstract
We determine the least number of four-colour cubes that guarantees a cuboid with monochromatic faces using exactly three colours. Each source uses all four colours of a fixed palette; only proper rotations are allowed, and interior faces need not match. For integer side lengths , the sharp threshold for the corner-and-edge frame is , and the complete-cuboid threshold is . The three frame bounds arise from colour-bucket capacity, the number of positions and balanced checkerboards. The upper bound combines corner containment, a weighted graph selecting edge directions, and Hall's theorem. For cubic frames the threshold is , with exactly two failing collections of size . For we classify every failure of size at least and count these collections and the inclusion-maximal ones. The case answers the threshold question in Problem 2 of Berkove, Eickemeyer and Schulman (2018). All threshold, stability and counting results are formalised in Lean.
Provenance statement
Tools used
- Anthropic
- Claude CodeVersion Claude Opus 5.5
- OpenAI
- CodexVersion GPT-6-Astra
- Lean
- LeanVersion 4
References
- E. Berkove, A. Eickemeyer and M. Schulman, The 4-Color Cubes Puzzle , Integers 18 (2018), A68. Journal PDF (https://math.colgate.edu/~integers/s68/s68.pdf).link
- L. de Moura and S. Ullrich, The Lean 4 Theorem Prover and Programming Language , in Automated Deduction---CADE 28, LNCS 12699 , Springer (2021), 625--635. doi: 10.1007/978-3-030-79876-5_37 (https://doi.org/10.1007/978-3-030-79876-5_37).DOI
- The mathlib Community, The Lean Mathematical Library , in Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020), ACM (2020), 367--381. doi: 10.1145/3372885.3373824 (https://doi.org/10.1145/3372885.3373824). arXiv:1910.09336 (https://arxiv.org/abs/1910.09336).arXivDOI
- J. Davies, colour-cubes-core : palette-independent Lean definitions and proofs for face-coloured cubes, Lean library (2026). Release v1.0.0 (https://github.com/jasondavies/colour-cubes-core/tree/v1.0.0), https://github.com/jasondavies/colour-cubes-core.link
Version history
- v1 · 12 pagesSubmitted by Jason DaviesInitial depositSupersededNov 03, 2026
- v2 · 16 pagesSubmitted by Jason DaviesSubmitted as a new versionCurrentNov 08, 2026