File: ACCEPT_TAC.doc

package info (click to toggle)
hol88 2.02.19940316dfsg-5
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 65,816 kB
  • sloc: ml: 199,939; ansic: 9,666; sh: 6,913; makefile: 6,032; lisp: 2,747; yacc: 894; sed: 201; cpp: 87; awk: 5
file content (39 lines) | stat: -rw-r--r-- 805 bytes parent folder | download | duplicates (11)
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
33
34
35
36
37
38
39
\DOC ACCEPT_TAC

\TYPE {ACCEPT_TAC : thm_tactic}

\SYNOPSIS
Solves a goal if supplied with the desired theorem (up to alpha-conversion).

\KEYWORDS
tactic.

\DESCRIBE
{ACCEPT_TAC} maps a given theorem {th} to a tactic that solves any goal whose
conclusion is alpha-convertible to the conclusion of {th}.

\FAILURE
{ACCEPT_TAC th (A,g)} fails if the term {g} is not alpha-convertible to the
conclusion of the supplied theorem {th}.

\EXAMPLE
{ACCEPT_TAC} applied to the axiom
{
   BOOL_CASES_AX = |- !t. (t = T) \/ (t = F)
}
\noindent will solve the goal
{
   ?- !x. (x = T) \/ (x = F)
}
\noindent but will fail on the goal
{
   ?- !x. (x = F) \/ (x = T)
}
\USES
Used for completing proofs by supplying an existing theorem, such as an axiom,
or a lemma already proved.

\SEEALSO
MATCH_ACCEPT_TAC.

\ENDDOC