feat(builtin/tactic): add simp_no_assump tactic

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-02-09 20:28:30 -08:00
parent 4317f67bd2
commit b119c11473

View file

@ -27,6 +27,15 @@ tactic_macro("simp", { macro_arg.Ids },
end
)
tactic_macro("simp_no_assump", { macro_arg.Ids },
function (env, ids)
if #ids == 0 then
ids[1] = "default"
end
return simp_tac(ids, options({"simp_tac", "assumptions"}, false))
end
)
-- Create a 'bogus' tactic that consume all goals, but it does not create a valid proof.
-- This tactic is useful for momentarily ignoring/skipping a "hole" in a big proof.
-- Remark: the kernel will not accept a proof built using this tactic.