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 foobar
you might not notice thatfoobar
doesn't actually exist becausesimp
closed the goal. - The "unnecessary
<;>
" linter will warn if you usetac1 <;> tac2
whentac1
only 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: Dec 20 2023 at 11:08 UTC