Lemmascript

Verify TypeScript formally with LemmaScript: write `//@` specification annotations in ordinary TypeScript, generate Dafny or Lean artefacts with `lsc`, and discharge proof obligations so properties hold for all inputs, not just sampled ones. Trigger whenever the user mentions LemmaScript, lsc, formal verification or model checking of TypeScript or JavaScript, proving a TypeScript function correct, `//@ requires` / `//@ ensures` annotations, .dfy.gen files, or wants machine-checked guarantees (invariant preservation, conservation, soundness, completeness) for TypeScript code. Covers LemmaScript 0.5.x (tech preview) with the Dafny and Lean backends.

leynos 806c836 3 files · 31.9 KB Updated

File contents

leynos/agent-helper-scripts/tree/main/skills/lemmascript commit 806c836a47

Frequently asked questions

npx skillmds@latest add leynos/lemmascript