Lean Mwe

USE FOR: creating minimal working examples (MWEs) from Lean 4 errors for upstream bug reports, capturing diagnostics with `#guard_msgs`, capturing panics with `#guard_panic`, running `lake exe minimize`, resuming long minimisations with `--resume`, verifying repros with `lake env lean`. DO NOT USE FOR: bisecting which Lean version introduced the bug (use @lean-bisect after MWE), building or validating the live project (use @lean-build), repairing the proof itself (use @lean-proof), filing the report (use @lean-pr after MWE + bisect). TRIGGERS: MWE, minimal repro, "minimise the error", "#guard_msgs", "#guard_panic", `lake exe minimize`, upstream bug report.

r-irbe 1c99a7f 2 files · 7.4 KB Updated

File contents

r-irbe/proof-skills/tree/main/skills/_overrides/lean-mwe commit 1c99a7ff20

Frequently asked questions

npx skillmds@latest add r-irbe/lean-mwe