File: sub.tex

package info (click to toggle)
hol88 2.02.19940316dfsg-8
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 65,960 kB
  • sloc: ml: 199,939; ansic: 9,666; sh: 6,913; makefile: 6,032; lisp: 2,747; yacc: 894; sed: 201; cpp: 87; awk: 5
file content (24 lines) | stat: -rw-r--r-- 841 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
\section{The Theory {\tt sub}}

The theory \ml{sub}\index{sub, theory@{\ptt sub}, theory} contains an
\adhoc\ collection of 
theorems about subtraction. It contains no new definitions.
The theorems that have been pre-proved in this theory include but are not
restricted to the following:
\begin{hol}
\index{SUB\_LE\_ADD@{\ptt SUB\_LE\_ADD}}
\index{NOT\_0\_SUB@{\ptt NOT\_0\_SUB}}
\index{ADD\_SUB\_SYM@{\ptt ADD\_SUB\_SYM}}
\index{SUB\_ADD\_SELF@{\ptt SUB\_ADD\_SELF}}
\index{SUB\_BOTH\_SIDES@{\ptt SUB\_BOTH\_SIDES}}
\begin{verbatim}
  SUB_LE_ADD      |- !n m p. n <= p ==> (m <= (p - n) = (n + m) <= p)

  NOT_0_SUB       |- !m n. ~(m - n = 0) ==> ~(m = 0)

  ADD_SUB_SYM     |- !a c. (c + a) - c = a

  SUB_ADD_SELF    |- !m n. ~m < n ==> ((m - n) + n = m)

  SUB_BOTH_SIDES  |- !m n p. (m = n) ==> (m - p = n - p)
\end{verbatim}\end{hol}