Zulip Chat Archive
Stream: new members
Topic: Eliminating `finish`
Stuart Presnell (Nov 28 2021 at 11:36):
If I'm trying to eliminate the use of the finish
tactic from a proof, is there a variant of it (or an option I can set) to make it spell out explicitly what it's done (like simp
has the simp?
and squeeze_simp
alternatives)? Or more generally, is there a good strategy for how to go about eliminating the use of finish
?
Kevin Buzzard (Nov 28 2021 at 12:06):
Does tidy
solve the goal?
Patrick Massot (Nov 28 2021 at 12:38):
There is no squeeze_finish
but you can always use show_term { finish }
. And usually there is no surprise with finish, the fastest way to eliminate it is probably to write the proof term by hand.
Last updated: Dec 20 2023 at 11:08 UTC