Quite often I would like to have sledgehammer find a proof using an explicit fact by name and not just based on simp. How could I restrict sledgehammer to not find a proof by simp or auto?
sledgehammer [dont_try0]
This only uses metis and not the automatic tools
Since when does Sledgehammer try the basic tools? What I know is that Sledgehammer precisely doesn’t use those tools that try0 tries, and part of the point of try is to employ both try0 and sledgehammer.
no no no no
we had this discussion on the mailing list recently
sledgehammer has an option that only tries metis to reconstruct proof steps (no auto, so simp, no blast, ...)
this option is called dont_try0
It has absolutely nothing to do with the try0 command
Last updated: Nov 13 2025 at 08:29 UTC