Abstract
Classical logic has so far been the logic of choice in formal hardware verification. This paper proposes the application of intuitionistic logic to the timing analysis of digital circuits. The intuitionistic setting serves two purposes. The model-theoretic properties are exploited to handle the second-order nature of bounded delays in a purely propositional setting without need to introduce explicit time and temporal operators. The proof-theoretic properties are exploited to extract quantitative timing information and to reintroduce explicit time in a convenient and systematic way.
We present a natural Kripke-style semantics for intuitionistic propositional logic, as a special case of a Kripke constraint model for Propositional Lax Logic (Information and Computation, Vol. 137, No. 1, 1–33, 1997), in which validity is validity up to stabilisation, and implication ⊃ comes out as “boundedly gives rise to.” We show that this semantics is equivalently characterised by a notion of realisability with stabilisation bounds as realisers. Following this second point of view an intensional semantics for proofs is presented which allows us effectively to compute quantitative stabilisation bounds.
We discuss the application of the theory to the timing analysis of combinational circuits. To test our ideas we have implemented an experimental prototype tool and run several examples.
Similar content being viewed by others
References
ACM, in International Workshop on Timing Issues in the Specification and Synthesis of Digital Systems, Intermar Hotel Malente, Germany, September 1993.
S. Akers, "Binary decision diagrams,” IEEE Transactions on Computers, Vol. C-27, pp. 509–516, 1978.
D. Basin, “Extracting circuits from constructive proofs,” in Int'l Workshop on: Formal Methods for VLSI Design, Miami, USA, January 1991. IFIP-IEEE.
D. Basin and N. Klarlund, “Hardware verification using monadic second-order logic,” in Proc. Computer Aided Verification CAV'95. LNCS, Vol. 939, Springer, 1995, pp. 31–41.
J.A. Bergstra and J.W. Klop, “A proof rule for restoring logic circuits,” INTEGRATION, the VLSI Journal, Vol. 1, pp. 161–178, 1983.
M.A. Breuer, “A note on three-valued logic simulation,” IEEE Transactions on Computers, Vol. C-21, No. 4, pp. 399–402, April 1972.
R.E. Bryant, “A switch-level model and simulator for MOS digital systems,” IEEE Transactions on Computers, Vol. C-33, pp.160–177, February 1984.
R.E. Bryant, “Boolean analysis of MOS circuits,” IEEE Transactions on Computer-Aided Design, Vol. 6, No.4, pp. 634–649, July 1987.
J.A. Brzozowski and M. Yoeli, “On a ternary model of gate networks,” IEEE Transactions on Computers, Vol. C-28, pp. 178–184, 1979.
A. Church, “Logic, arithmetic and automata,” in Proc. of the Int. Congr. of Mathematicians, Stockholm, 1962, Almquist and Wiksells, 1963, pp. 23–35.
A.G. Dragalin, Mathematical Intuitionism. Introduction to Proof Theory, American Mathematical Society,1988.
R. Dyckhoff, “Contraction-free sequent calculi for intuitionistic logic,” The Journal of Symbolic Logic, Vol.57, No. 3, pp. 795–807, September 1992.
E.B. Eichelberger, “Hazard detection in combinational and sequential switching circuits,” IBM J. Res. Div., Vol. 9, pp. 90–99, 1965.
H. Eveking and Ch. Mai, “Formal verification of timing conditions,” in European Design Automation Conference,1990, pp. 512–517.
M. Fairtlough and M. Mendler, “Propositional lax logic,” Information and Computation, Vol. 137, No. 1, pp.1–33, August 1997.
M. Fourman, “ Proof and design,” in M. Broy (Ed.), Deductive Program Design, Springer, 1996, pp. 397–439.
T. Franzén, “Algorithmic aspects of intuitionistic propositional logic,” Research Report SICS R87010, Swedish Institute of Computer Science, 1987.
J. Fröl and Th. Kropf, “A new model to uniformly represent function and timing of MOS circuits and its application to VHDL simulation,” in European Design Automation Conference, 1994.
G. Gentzen, “Untersuchungen über das Logische Schlieβen,” Math. Z., Vol. 39, pp. 176–210, 405-431,1934-1935.
J.Y. Girard, Y. Lafont, and P. Taylor, Proofs and Types, Cambridge University Press, 1989.
K. Gödel, “Zum Intuitionistischen Aussagenkalkül,” Akademie der Wissenschaften in Wien, Mathematisch-Naturwissenschaftliche Klasse. Anzeiger., Vol. 69, pp. 65–66, 1932.
M. Gordon, “Why higher-order logic is a good formalism for specifying and verifying hardware,” in P.A. Subrahmanyam and G. Milne (Eds.), Formal Aspects of VLSI Design, North Holland, 1986, pp. 153–178.
M.J.C. Gordon, P. Loewenstein, and M. Shahaf, “Formal verification of a cell library: A case study in technology transfer,” in L.J.M. Claesen (Ed.), Proceedings of the IFIP International Workshop on Applied Formal Methods for Correct VLSI Design, Leuven, Belgium, 1990, North-Holland, Vol. 2, pp. 409–417.
C.T. Gray, W. Liu, and R.K. Cavin III, “Exact timing analysis considering data dependent delays,” in Internatinal Workshop on Timing Issues in the Specification and Synthesis of Digital Systems, Malente, September1993. ACM/GMD.
D.J. Gurr, “Semantic frameworks for complexity,” PhD Thesis, Edinburgh University, Department of Computer Science, January 1991.
S. Hayashi and H. Nakano, PX, A Computational Logic, MIT Press, 1989.
J.P. Hayes, “Uncertainty, energy, and multiple-valued logics,” IEEE Transactions on Computers, Vol. C-35, No. 2, pp. 107–114, February 1986.
J. Herbert, “Formal verification of basic memory devices,” Technical Report 124, University of Cambridge, Computer Laboratory, February 1988.
C.A.R. Hoare, “A theory for the derivation of C-mos circuit designs,” in W.H.J. Feijen, A.J.M. van Fasteren, D. Fries, and J. Misra (Eds.), Beauty is our Business, Springer, 1990.
S.C. Kleene, Introduction to Metamathematics, North Holland, Amsterdam, 1952, Ch. XII, Par. 64.
A. Kolmogoroff, “Zur Deutung der intuitionistischen Logik,” Mathematische Zeitschrift, Vol. 35, pp. 58–65,1932.
K.C. Lam and R.K. Brayton, Timed Boolean Functions. A Unified Formalism for Exact Timing Analysis, Kluwer, 1994.
S. Malik, “Analysis of cyclic combinational circuits,” in International Conference on Computer-Aided Design, IEEE, 1993, pp. 618–625.
T. Margaria and M. Mendler, “Model-based automatic synthesis and analysis in second-order monadic logic,” in Proceedings First ACM SIGPLAN Workshop on Automated Analysis of Software, Paris, France, January1997, pp. 99–112.
L.R. Marino, “General theory of metastable operation,” IEEE Transactions on Computers, Vol. 30, No. 2, pp.107–115, February 1981.
P.C. McGeer and R.K. Brayton, Integrating Functional and Temporal Domains in Logic Design, Kluwer,1991.
Ju.T. Medvedev, “Interpretation of logical formulas by means of finite problems,” Soviet Math. Dokl., Vol. 7, No. 4, pp. 857–860, 1966.
M. Mendler, “Characterising timing analysis in intuitionistic modal logic,” in R.J.G.B. de Queiroz and M. Finger (Eds.), Workshop on Logic, Language, Information, and Computation, Department of Computer Science, IME/USP University of São Paulo, Brazil, 1998, pp. 132–140.
M. Mendler and M. Fairtlough, “Ternary simulation: A refinement of binary functions or an abstraction of real-time behaviour?” in M. Sheeran and S. Singh (Eds.), Proceedings of the 3rd Workshop on Designing Correct Circuits (DCC96), Springer, October 1996. Springer Electronic Workshops in Computing.
M. Mendler and T. Stroup, “Newtonian arbiters cannot be proven correct,” Formal Methods in System Design, Vol. 3, No. 3, pp. 233–257, November/December 1993.
P. Miglioli, U. Moscato, M. Ornaghi, S. Quazza, and G. Usberti, “Some results on intermediate constructive logics,” Notre Dame Journal of Formal Logic, Vol. 30, No. 4, pp. 543–562, 1989.
I. Mitchell and M.R. Greenstreet, “Proving newtonian arbiters correct, almost surely,” in M. Sheeran and S. Singh (Eds.), Designing Correct Circuits, Springer Electronic Workshops in Computing, 1996.
E. Moggi, “The partial lambda calculus,” PhDThesis, Edinburgh University, Department of Computer Science, August 1988.
E. Moggi, “Notions of computation and monads,” Information and Computation, Vol. 93, pp. 55–92, 1991.
B. Moszkowski, “A temporal logic for multilevel reasoning about hardware,” IEEE Computer, Vol. 18, No.2, pp. 10–19, 1985.
M. Parigot, “Programming with proofs: A second-order type theory,” in H. Ganzinger (Ed.), European Symposium on Programming. LNCS, Vol. 300, Springer, 1988, pp. 145–159.
K. Schütte, Systeme Modaler und Intuitionistischer Logik, Vol. 42, Ergebnisse der Mathematik und ihrer Grenzgebiete, Springer, 1968.
R. Statman, “Intuitionistic propositional logic is polynomial space complete,” Theoretical Computer Science,Vol. 9, pp. 67–72, 1973.
P.A. Subrahmanyam, “Towards a framework for dealing with system timing in very high level silicon compilers,” in G. Birtwistle and P. Subrahmanyam (Eds.), VLSI Specification, Verification, and Synthesis, Kluwer,1988, pp. 159–215. Workshop on Hardware Verification.
P. Tharau, BinProlog 4.0 User Guide, Department d'Informatique, Université de Moncton, Canada, September1995.
A.S. Troelstra, “Realizability,” in S.R. Buss (Ed.), Handbook of Proof Theory, Elsevier, 1998, Ch. VI, pp.407–474.
D. van Dalen, “Intuitionistic logic,” in D. Gabbay and F. Guenthner (Ed.), Handbook of Philosophical Logic, Vol. III, Reidel, 1986, Ch. 4, pp. 225–339.
G. von Bochmann, “Hardware specification with temporal logic: An example,” IEEE Transactions on Computers, Vol. C-31, No. 3, pp. 223–231, March 1982.
D. Weise, “Multilevel verification of MOS circuits,” IEEE Transactions on Computer-Aided Design, Vol. 9, No. 4, pp. 341–351, April 1990.
G. Winskel, “A compositional model of MOS circuits,” in G.M. Birtwistle and P.A. Subrahmanyam (Eds.), VLSI Specification, Verification and Synthesis, Kluwer, 1987.
M. Yoeli and J.A. Brzozowski, “Ternary simulation of binary gate networks,” in J.M. Dunn and G. Epstein (Eds.), Modern Uses of Multiple-Valued Logic, D. Reidel, 1977, pp. 41–50.
M. Yoeli and S. Rinon, “Application of ternary algebra to the study of static hazards,” Journal of the ACM, Vol. 11, pp. 84–97, 1964.
Chaochen Zhou and C.A.R. Hoare, “A model for synchronous switching circuits and its theory of correctness,” Formal Methods in System Design, Vol. 1, No. 1, pp. 7–28, July 1992.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Mendler, M. Timing Analysis of Combinational Circuits in Intuitionistic Propositional Logic. Formal Methods in System Design 17, 5–37 (2000). https://doi.org/10.1023/A:1008780817617
Issue Date:
DOI: https://doi.org/10.1023/A:1008780817617