TypeScript proof toolchain
Built to
spec.
Give your TypeScript a rule. Pud sends it to Lean and brings back the verdict.
Join the alpha

Inspection sheet / Clamp
Keep it in bounds.
expect(result).to(pud.bigint().gte(lower).lte(upper))For any bigint and any ordered pair of bounds, the clamp must return a value inside the interval.
Read the proof suite ↗