File: SIMPLE_EXISTS.doc

package info (click to toggle)
hol-light 20131026-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 26,264 kB
  • ctags: 4,620
  • sloc: ml: 400,325; cpp: 438; java: 279; lisp: 261; makefile: 256; sh: 190; yacc: 108; perl: 78; ansic: 57; sed: 39
file content (30 lines) | stat: -rw-r--r-- 778 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
\DOC SIMPLE_EXISTS

\TYPE {SIMPLE_EXISTS : term -> thm -> thm}

\SYNOPSIS
Introduces an existential quantifier over a variable in a theorem.

\DESCRIBE
When applied to a pair consisting of a variable {v} and a theorem {|- p}, 
{SIMPLE_EXISTS} returns the theorem {|- ?v. p}. It is not compulsory for {v} to 
appear free in {p}, but otherwise the quantification is vacuous.

\FAILURE
Fails only if {v} is not a variable.

\EXAMPLE
{
  # SIMPLE_EXISTS `x:num` (REFL `x:num`);;
  val it : thm = |- ?x. x = x
}

\COMMENTS
The {EXISTS} function is more general: it can introduce an existentially 
quantified variable to replace chosen instances of any term in the theorem. 
However, {SIMPLE_EXISTS} is easier to use when the simple case is needed.

\SEEALSO
CHOOSE, EXISTS.

\ENDDOC