|
ABSTRACT
Debugging is one of the main uses of simulation. Localizing bugs or finding the reasons for unclear behavior involves going backwards in time, whereas simulation goes forward in time. Therefore, identifying causes with the aid of most existing simulation tools usually requires repeating the simulation several times, each time with reduced holes in the sieve. An alternative is simulation by deduction, a technique in which the steps in the dynamic behavior of the simulated model are deduced by a reasoning system. A simulation system that uses simulation by deduction can give direct answers to questions about the reasons for the simulation results. By recording the support for its deductions, such a system can answer “why” and “why not” questions about the scenario.
Another benefit of simulation by deduction is that it enables symbolic simulation, that is, simulating a scenario given only a partial description of the environment and the simulated model. This allows verifying properties of an evolving design at any stage of the design process, and thus checking the consequences of the design decisions made so far. In order to allow deducing as much as possible from partial information, the axiom system has to be minimalistic, i.e., axioms have to require the minimum amount of knowledge of simulation inputs.
These ideas were implemented in a system called SIP, which simulates the behavior of reactive systems. SIP is capable of answering “why,” “why not,” and “what if” questions. It also has a limited capability of dealing with partial knowledge. SIP is based on a reasoning system that is responsible for deducing the effects of the external inputs on the state of the simulated model, and recording the support for its deductions. The logical basis for the deduction of a step in SIP is provided by a minimalistic axiom system for statecharts.
Although SIP simulates reactive systems described as statecharts, the principle of simulation by deduction is applicable to other types of systems and descriptions, provided only that they have a well-defined formal semantics.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
| |
2
|
~BALZER, R.M. EXDAMS--EXtendable Debugging and Monitoring System. In Proceedzngs ~of the AFIPS 1969 Sprint Joint Computer Conference (Boston, Mass., May 1969) vol. 34, ~AFIPS Press, pp. 567-580, 1969.
|
| |
3
|
~CARVER, R., AND TAi, K. Reproducible testing of concurrent programs based on shared ~variables. In Proceedings of the Szxth International Conference on Distributed Computer ~Systems (Cambridge, Mass., 1986), pp. 428-433.
|
 |
4
|
|
 |
5
|
|
| |
6
|
~FELDMAN, Y. A. Knowledge-based editing of reactive systems: A scenario. Tech. Rep. ~CS90-15, Dept. of Applied Mathematics and Computer Science, The Weizmann Institute of ~Science. 1990.
|
| |
7
|
~FELDMAN, Y. A., AND R~CU, C. Principles of knowledge representation and reasoning in the ~FRAPPE system. In Proceedings of the 6th Israeh Symposium on Artificial Intelligence (Tel ~Aviv, Israel, Dec. 1989), pp. 133-148.
|
| |
8
|
|
| |
9
|
~FELDMAN, Y. A., AND SCHNEIDER, H. Simulating the behaviour of reactive systems by a ~deduction system. Tech. Rep. 201/91, Tel Aviv Univ,, March 1991.
|
| |
10
|
|
| |
11
|
David Harel , Amir Pnueli , Hagi Lachover , Amnon Naamad , Michal Politi , Rivi Sherman , Aharon Shtull-Trauring , Mark Trakhtenbrot, STATEMATE: A Working Environment for the Development of Complex Reactive Systems, IEEE Transactions on Software Engineering, v.16 n.4, p.403-414, April 1990
[doi> 10.1109/32.54292
]
|
| |
12
|
|
| |
13
|
~HAREL, D., PNUELI, A., SCHMIDT, J. P., AND SHERMAN, R. On the formal semantics of ~statecharts. In Proceedings of the 2nd IEEE Symposium on Logic in Computer Science ~(1987), pp. 54-64.
|
| |
14
|
~HUIZING, C., GERTH, R., AND DE ROEVER, W.P. A compositional semantics for statecharts. ~Technical report, Eindhoven Univ. of Technology, 1987.
|
| |
15
|
|
| |
16
|
|
| |
17
|
~i-Logix. The semantics of statecharts. Tech. Rep. i-Logix, Inc., Burlington, MA, 1989.
|
 |
18
|
|
| |
19
|
~MILLER, B., AND LEBLANC, T. J., Eds. Proceedings of the ACM SIGPLAN/SIGOPS Work- ~shop on Parallel and Dzstributed Debugging (Madison, Wise., May 1988). SIGPLAN Notices ~24, I (1989).
|
| |
20
|
~PNUELI, A., AND SHALEV, M. What is in a step? In J. W. De Bakker, 25 Jaar Semantlek. ~CWI, 1989, 373-399.
|
| |
21
|
~RIcI4, C. Knowledge representation languages and predicate calculus: How to have your ~cake and eat i~ too. In Proceedings of the 2nd National Conference on Artiflctal lntelhgence ~(Pittsburgh, PA, Aug. 1982), pp. 193-196.
|
| |
22
|
|
 |
23
|
|
| |
24
|
|
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE conference on Design automation
Gwo-Dong Chen
, Daniel D. Gajski
|