Pud.Join the alpha ↗

TypeScript × Lean

Pocket Debugger.

Flip eight input bits. Watch a signed byte become an unsigned 64-bit word.

An orange portable computer with a coiled cable and eight mechanical bit keys.
low64(n) = n mod 2⁶⁴
SIGNED BYTE-7n
UNSIGNED HEXFF FF FF FF FF FF FF F9

Pud proves the same rule for every bigint. The keys select one signed byte.

Read the Lean-checked claim ↗