Formal Verification of Divide and Square Algorithms Using Series Calculation

IBM Power4TM processor uses series apprmimation to calculate divide and square root. We formally verified that the algorithms with a series of rigorous error hound analysis using the ACLZ theorem prover. In order to carry out the verification, we need to show that the error of the Chebyshev series used in the square root algorithm is suitably bounded. This was performed by analyzing the Chebyshev series using Taylor series. In general, Taylor series has less accuracy than Chebyshev series, however, we used ACLZ’s mwo extensions and computed hints to automatically generate Taylor serious approximation for small segments, and proved that the approximation error in each of these segments is smaller than the requirement.

By: Jun Sawada

Published in: RC22444 in 2002

LIMITED DISTRIBUTION NOTICE:

This Research Report is available. This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). I have read and understand this notice and am a member of the scientific community outside or inside of IBM seeking a single copy only.

RC22444.pdf

Questions about this service can be mailed to reports@us.ibm.com .