File: RULE_ASSUM_TAC.doc

package info (click to toggle)
hol-light 20170109-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 36,568 kB
  • ctags: 8,549
  • sloc: ml: 540,018; cpp: 439; lisp: 286; java: 279; makefile: 262; sh: 229; yacc: 108; perl: 78; ansic: 57; sed: 39
file content (32 lines) | stat: -rw-r--r-- 805 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
\DOC RULE_ASSUM_TAC

\TYPE {RULE_ASSUM_TAC : (thm -> thm) -> tactic}

\SYNOPSIS
Maps an inference rule over the assumptions of a goal.

\KEYWORDS
tactic, assumption, rule.

\DESCRIBE
When applied to an inference rule {f} and a goal {({{A1;...;An}} ?- t)},
the {RULE_ASSUM_TAC} tactical applies the inference rule to each of the
assumptions to give a new goal.
{
             {{A1,...,An}} ?- t
   ====================================  RULE_ASSUM_TAC f
    {{f(.. |- A1),...,f(.. |- An)}} ?- t
}

\FAILURE
The application of {RULE_ASSUM_TAC f} to a goal fails iff {f} fails when
applied to any of the assumptions of the goal.

\COMMENTS
It does not matter if the goal has no assumptions, but in this case
{RULE_ASSUM_TAC} has no effect.

\SEEALSO
ASSUM_LIST, MAP_EVERY, MAP_FIRST, POP_ASSUM_LIST.

\ENDDOC