File: errors.tex

package info (click to toggle)
hol88 2.02.19940316-28
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 65,924 kB
  • ctags: 21,595
  • sloc: ml: 199,939; ansic: 9,666; sh: 7,118; makefile: 6,075; lisp: 2,747; yacc: 894; sed: 201; cpp: 87; awk: 5
file content (53 lines) | stat: -rw-r--r-- 1,582 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
\section{Error messages}

\index{errors!illegal pattern construction}
This session illustrates some of the top-level error messages caused by using
an illegal pattern constructor within a side-condition.

\setcounter{sessioncount}{1}

\begin{session}\begin{verbatim}

          _  _    __    _      __    __
   |___   |__|   |  |   |     |__|  |__|
   |      |  |   |__|   |__   |__|  |__|
   
          Version 2

#load_library `trs`;;
Loading library `trs` ...
Updating help search path
.............................................................................
......................
Library `trs` loaded.
() : void

#find_theorems ((conc "x:bool") Where (kind Axiom))
#              (Paths [Theory `arithmetic`]);;
evaluation failed     Where -- `Kind' used in side-condition

#find_theorems ((conc "x:bool") Where (conc "a * b"))
#              (Paths [Theory `arithmetic`]);;
evaluation failed     Where -- `Conc' used in side-condition

#find_theorems ((conc "x:bool")
#                 Where (("x:bool" contains "a * b")
#                          Where ("a:num" contains "l - m")))
#              (Paths [Theory `arithmetic`]);;
evaluation failed     Where -- `Where' used in side-condition

#find_theorems (((conc "x:bool") Where ("x:bool" contains "a * b"))
#                 Where ("a:num" contains "l - m"))
#              (Paths [Theory `arithmetic`]);;
Searching theory arithmetic
Step([((Theorem),
       `arithmetic`,
       `RIGHT_SUB_DISTRIB`,
       |- !m n p. (m - n) * p = (m * p) - (n * p))],
     -)
: searchstep

#quit();;
$
\end{verbatim}\end{session}