Stream: Beginner Questions

Topic: Make sledgehammer not use simp


view this post on Zulip waynee95 (Mar 28 2023 at 08:47):

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?

view this post on Zulip Gergely Buday (Mar 28 2023 at 10:16):

sledgehammer [dont_try0]

This only uses metis and not the automatic tools

view this post on Zulip Wolfgang Jeltsch (Mar 28 2023 at 14:26):

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.

view this post on Zulip Mathias Fleury (Mar 28 2023 at 16:41):

no no no no

view this post on Zulip Mathias Fleury (Mar 28 2023 at 16:41):

we had this discussion on the mailing list recently

view this post on Zulip Mathias Fleury (Mar 28 2023 at 16:42):

sledgehammer has an option that only tries metis to reconstruct proof steps (no auto, so simp, no blast, ...)

view this post on Zulip Mathias Fleury (Mar 28 2023 at 16:42):

this option is called dont_try0

view this post on Zulip Mathias Fleury (Mar 28 2023 at 16:42):

It has absolutely nothing to do with the try0 command

view this post on Zulip Kevin Kappelmann (Mar 29 2023 at 05:45):

Reference: https://isabelle.zulipchat.com/#narrow/stream/247541-Mirror.3A-Isabelle-Users-Mailing-List/topic/.5Bisabelle.5D.20Apparent.20dovetailing.2Fscheduling.20problem.20with.20S.2E.2E.2E/near/340544083


Last updated: Dec 21 2024 at 16:20 UTC