File: NUM_LESS_EQ_PLUS_CONV.doc

package info (click to toggle)
hol88 2.02.19940316-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 63,052 kB
  • ctags: 19,365
  • sloc: ml: 199,939; ansic: 9,300; sh: 7,118; makefile: 6,076; lisp: 2,747; yacc: 894; sed: 201; cpp: 87; awk: 5
file content (29 lines) | stat: -rw-r--r-- 608 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
\DOC NUM_LESS_EQ_PLUS_CONV

\TYPE {NUM_LESS_EQ_PLUS_CONV : (term -> conv)}

\SYNOPSIS
Adds a given expression of type {:num} to both sides of a less-than-or-equal
expression. 

\KEYWORDS
addition, conversion.

\LIBRARY more_arithmetic

\DESCRIBE
When applied to terms of the form {"n"} and {"p <= q"}, where
{n}, {p} and {q} have type {:num}, the conversion
{NUM_LESS_EQ_PLUS_CONV} returns the theorem:
{
   |-  p <= q = (p + n) <= (q + n)
}

\FAILURE
Fails if the first term does not have type {:num} or the second does not have
the form {"p <= q"}.

\SEEALSO
NUM_EQ_PLUS_CONV, NUM_LESS_PLUS_CONV.

\ENDDOC