Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:
File size: 769 Bytes
4365a98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
\DOC ADD_ASSUM

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

\SYNOPSIS
Adds an assumption to a theorem.

\KEYWORDS
rule, assumption.

\DESCRIBE
When applied to a boolean term {s} and a theorem {A |- t}, the inference
rule {ADD_ASSUM} returns the theorem {A u {{s}} |- t}.
{
       A |- t
   --------------  ADD_ASSUM `s`
    A u {{s}} |- t
}
\noindent {ADD_ASSUM} performs straightforward set union with the new
assumption; it checks for identical assumptions, but not for alpha-equivalent
ones. The position at which the new assumption is inserted into the assumption
list should not be relied on.

\FAILURE
Fails unless the given term has type {bool}.

\EXAMPLE
{
  # ADD_ASSUM `q:bool` (ASSUME `p:bool`);;
  val it : thm = p, q |- p
}

\SEEALSO
ASSUME, UNDISCH.

\ENDDOC