FILTER_ONCE_ASM_REWRITE_RULE : ((term -> bool) -> thm list -> thm -> thm)

SYNOPSIS
Rewrites a theorem once including built-in rewrites and some of its assumptions.

DESCRIBE
The first argument is a predicate applied to the assumptions. The theorem is rewritten with the assumptions for which the predicate returns true, the given list of theorems, and the tautologies stored in basic_rewrites. It searches the term of the theorem once, without applying rewrites recursively. Thus it avoids the divergence which can result from the application of FILTER_ASM_REWRITE_RULE. For more information on rewriting rules, see GEN_REWRITE_RULE.

FAILURE
Never fails.

USES
This function is useful when rewriting with a subset of assumptions of a theorem, allowing control of the number of rewriting passes.

SEEALSO  ASM_REWRITE_RULE,   FILTER_ASM_REWRITE_RULE,   FILTER_PURE_ASM_REWRITE_RULE,   FILTER_PURE_ONCE_ASM_REWRITE_RULE,   GEN_REWRITE_RULE,   ONCE_ASM_REWRITE_RULE,   ONCE_DEPTH_CONV,   PURE_ASM_REWRITE_RULE,   PURE_ONCE_ASM_REWRITE_RULE,   PURE_REWRITE_RULE,   REWRITE_RULE

HOL  Kananaskis 0