Zulip Chat Archive
Stream: lean4
Topic: New std4 linters
Mario Carneiro (Nov 13 2022 at 09:29):
I just want to advertise two cool new linters that were just added to Std:
- The "unreachable tactic" linter will warn if a tactic is never called, for example if you do something like
simp <;> apply foobaryou might not notice thatfoobardoesn't actually exist becausesimpclosed the goal. - The "unnecessary
<;>" linter will warn if you usetac1 <;> tac2whentac1only produces one subgoal. This is amazing for lean 3 porting!
I'm open to upstreaming these to lean core if desired (these use the lean core linter framework).
Last updated: May 02 2025 at 03:31 UTC