feat(builtin/tactic): add simp_no_assump tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
4317f67bd2
commit
b119c11473
1 changed files with 9 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue