Verifying the SRT division algorithm using theorem proving techniques

  • E. M. Clarke
  • S. M. German
  • X. Zhao
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 1102)


We verify the correctness of an SRT division circuit similar to the one in the Intel Pentium processor. The circuit and its correctness conditions are formalized as a set of algebraic relations on the real numbers. The main obstacle to applying theorem proving techniques for hardware verification is the need for detailed user guidance of proofs. We overcome the need for detailed proof guidance in this example by using a powerful theorem prover called Analytica. Analytica uses symbolic algebra techniques to carry out the proofs in this paper fully automatically.


Model Check Theorem Prover Partial Remainder Division Circuit Quotient Digit 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    APT Data Services. Pentium bug fiasco costs Intel dear. Computer Business Review, January 3, 1995.Google Scholar
  2. 2.
    D. E. Atkins. Higher-radix division using estimates of the divisor and partial remainders. IEEE Transactions on Computers, C-17(10):925–934, October 1968.Google Scholar
  3. 3.
    W. W. Bledsoe. The UT natural deduction prover. Technical Report ATP-17B, Mathematical Dept., University of Texas at Austin, 1983.Google Scholar
  4. 4.
    W. W. Bledsoe, P. Bruell, and R. Shostak. A prover for general inequalities. Technical Report ATP-40A, Mathematical Dept., University of Texas at Austin, 1979.Google Scholar
  5. 5.
    R. S. Boyer and J. S. Moore. A Computational Logic Handbook. Academic Press, 1988.Google Scholar
  6. 6.
    E. M. Clarke and X. Zhao. Analytical A theorem prover for Mathematica. The Journal of Mathematica, 3(1), 1993.Google Scholar
  7. 7.
    E. M. Clarke, M. Khaira and X. Zhao. Word Level Symbolic Model Checking — Avoiding the Pentium FDIV Error. Design Automation Conference, June, 1996.Google Scholar
  8. 8.
    J. H. Gallier. Logic for Computer Science: Foundations of Automatic Theorem Proving. Harper & Row, 1986.Google Scholar
  9. 9.
    S. M. German. Towards automatic verification of arithmetic hardware. Lecture notes, March 1995.Google Scholar
  10. 10.
    J. Joyce and C. Seger. The HOL-Voss system: model-checking inside a general-purpose theorem prover. In Proceedings of the 6th International Workshop on Higher Order Logic Theorem Proving and its Applications, HUG '93, LNCS 780. Springer Verlag, 1993.Google Scholar
  11. 11.
    J. O'Leary, M. Leeser, J. Hickey, and M. Aagaard. Non-restoring integer square root: a case study in design by principled optimization. In Proceedings of the Theorem Provers in Circuit Design '94, LNCS 901. Springer Verlag, 1995.Google Scholar
  12. 12.
    S. Rajan, N. Shankar, and M. K. Srivas. An integration of model checking with automated proof checking. In Proceedings of the Seventh Workshop on Computer-Aided Verification, 1995.Google Scholar
  13. 13.
    E. Sacks. Hierarchical inequality reasoning. Technical report, MIT Laboratory for Computer Science, 1987.Google Scholar
  14. 14.
    H. P. Sharangpani and M. L. Barton. Statistical analysis of floating point flaw in the Pentium processor(1994). Technical report, Intel Corporation, November 1994.Google Scholar
  15. 15.
    R. Shostak. On the sup-inf method for proving Presburger formulas. Journal of the Association for Computing Machinery, 24:529–543, 1977.Google Scholar
  16. 16.
    G. S. Taylor. Compatible hardware for division and square root. In Proceedings of the the 5th IEEE Symposium on Computer Arithmetic, May 1981.Google Scholar
  17. 17.
    D. Verkest, L. Claesen, and H. De Man. A proof of the nonrestoring division algorithm and its implementation on an ALU. Formal Methods in System Design, 4:5–31, January 1994.CrossRefGoogle Scholar
  18. 18.
    S. Wolfram. Mathematica: A System for Doing Mathematics by Computer. Wolfram Research Inc., 1988.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1996

Authors and Affiliations

  • E. M. Clarke
    • 1
  • S. M. German
    • 2
  • X. Zhao
    • 1
  1. 1.School of Computer ScienceCarnegie Mellon UniversityPittsburghUSA
  2. 2.IBM Watson Research CenterYorktown HeightsUSA

Personalised recommendations