| || || |
| || |
The existing Tempura system is a simulator that tries to construct the sequence of states of the system corresponding to the specification. One drawback of the simulator is that it has only ASCII output. In addition, the correctness of systems is shown with help of ITL proof system [30, 14]. Experience with this proof system shows that a whole range of properties can be proven. However, these proofs are done ‘by hand’. For simple systems the proof task is still manageable but for complex systems, like the EP/3, it is nearly impossible.
PVS is an interactive environment, developed at SRI, for writing formal specifications and checking formal proofs. The specification language used in PVS is a strongly typed higher order logic. The powerful interactive theorem prover/proof checker of PVS has a large set of basic deductive steps and the facility to combine these steps into proof strategies. PVS is implemented in Common Lisp –with ancillary functions provided in C, Tcl/TK and LaTeX– and uses GNU Emacs for its interface. PVS is freely available for IBM RS6000 machines as well as Sun Sparcs under license from SRI. See PVS homepage for more information.
Here is a sample proof of ITL:
The following shows the same proof as a PVS session:
Tempura, the C-Tempura interpreter version 2.7 developed originally by Roger Hale and now maintained by Antonio Cau and Ben Moszkowski, is an interpreter for executable Interval Temporal Logic formulae. The first Tempura interpreter was programmed in Prolog by Ben Moszkowski, and was operational around December 2, 1983. Subsequently he rewrote the interpreter in Lisp (mid Mar, 1984), and in late 1984 modified the program to handle a two-level memory and multi-pass scanning. The C-Tempura interpreter was written in early 1985 by Roger Hale at Cambridge University.
AnaTempura, which is built upon C-Tempura, is a tool for the runtime verification of systems using Interval Temporal Logic (ITL) and its executable subset Tempura. The runtime verification technique uses assertion points to check whether a system satisfies timing, safety or security properties expressed in ITL. The assertion points are inserted in the source code of the system and will generate a sequence of information (system states), like values of variables and timestamps of value change, while the system is running. Since an ITL property corresponds to a set of sequences of states (intervals), runtime verification is just checking whether the sequence generated by the system is a member of the set of sequences corresponding to the property we want to check. The Tempura interpreter is used to do this membership test.
The graphical interface of (Ana)Tempura is included in the source code and requires Tcl/Tk version 8.0 or higher and expect. You can get Tcl/Tk from Tcl/Tk site and you can get Expect from the Expect homepage. A convenient way of installing these is using the ActiveTcl package which includes both. ActiveTcl is the complete, ready-to-install Tcl/Tk distribution for Windows, Mac OS X, Linux, Solaris, AIX and HP-UX.
(Ana)Tempura can be compiled with the Gnu C compiler under a Unix like operating system like Sunos 4.1.3, Solaris 2.5.1 (and higher), Linux, cygwin etc.
Contact: Email firstname.lastname@example.org in case of problems.
Overview: Figure 2 shows an overview of AnaTempura.
Figure 3 shows the interface of AnaTempura.
Figure 4 shows a graphical snapshot of a simulation of the ep/3 microprocessor specified in Tempura.
| || |