File: mk_fthm.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 (31 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (4)
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
\DOC mk_fthm

\TYPE {mk_fthm : term list * term -> thm}

\SYNOPSIS
Create arbitrary theorem by adding additional `false' assumption.

\DESCRIBE
The call {mk_fthm(asl,c)} returns a theorem with conclusion {c} and assumption
list {asl} together with the special assumption {_FALSITY_}, which is defined
to be logically equivalent to {F} (false). This is the closest approach to 
{mk_thm} that does not involve adding a new axiom and so potentially 
compromising soundness. 

\FAILURE
Fails if any of the given terms does not have Boolean type.

\EXAMPLE
{
  # mk_fthm([],`1 = 2`);;
  val it : thm = _FALSITY_ |- 1 = 2
}

\USES
Used for validity-checking of justification functions as a sanity check in 
tactic applications: see {VALID}.

\SEEALSO
CHEAT_TAC, mk_thm, new_axiom, VALID.

\ENDDOC