Velvet is a verifier tool embedded in the Lean proof assistant that checks imperative programs for correctness using automated math solvers and interactive proofs.
How It Works
You hear about Velvet, a helpful tool that checks if your step-by-step instructions always produce the right results, like a super-smart proofreader for recipes.
You pick up the free Lean program, a friendly math playground where you can write simple algorithms and prove they work every time.
You connect Velvet to your Lean project with one easy line, so it can start helping with the checks.
You hit the build button to set up Velvet and its helpers, and it grabs what it needs automatically.
You describe your algorithm and add promises about what it should do before and after, feeling confident as Velvet understands your goals.
Velvet automatically checks your promises using math magic, or you guide it interactively when needed, watching proofs light up green.
You test your instructions with random examples to double-check they behave as promised in real scenarios.
Your instructions are now mathematically proven correct, including that they always finish, ready for use without worries!
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.