File: DISCH_TAC.doc

package info (click to toggle)
hol-light 20120602-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 23,452 kB
  • sloc: ml: 348,797; cpp: 438; java: 279; makefile: 252; sh: 183; yacc: 108; perl: 78; ansic: 57; sed: 39
file content (33 lines) | stat: -rw-r--r-- 801 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
33
\DOC DISCH_TAC

\TYPE {DISCH_TAC : tactic}

\SYNOPSIS
Moves the antecedent of an implicative goal into the assumptions.

\KEYWORDS
tactic, undischarge, antecedent, implication.

\DESCRIBE
{
    A ?- u ==> v
   ==============  DISCH_TAC
    A u {{u}} ?- v
}
\noindent Note that {DISCH_TAC} treats {`~u`} as {`u ==> F`}, so will also work
when applied to a goal with a negated conclusion.

\FAILURE
{DISCH_TAC} will fail for goals which are not implications or negations.

\USES
Solving goals of the form {`u ==> v`} by rewriting {`v`} with {`u`}, although
the use of {DISCH_THEN} is usually more elegant in such cases.

\COMMENTS
If the antecedent already appears in the assumptions, it will be duplicated.

\SEEALSO
DISCH, DISCH_ALL, DISCH_THEN, STRIP_TAC, UNDISCH, UNDISCH_ALL, UNDISCH_TAC.

\ENDDOC