[0] https://github.com/xrchz/CollatzLean Paulson (mercifully?) did not link to Kumar's repository or paper [1]
[1] https://websim.com/@BookwormKevin/collatz-conjecture-simulat... this is a visualization of the Collatz sequence of numbers that is conjectured - but not proven - to always terminate at 1.
Paulson laments this as there are ways of building up the rules from axioms (program objects?), but it is really tedious. He recounts crafting a "system of combinators" (in 1986) that one could build on to express recursive functions.
[2] https://www.sciencedirect.com/science/article/pii/S074771718... DOI 10.1016/S0747-7171(86)80002-5