Title :
Detection of infeasible paths using Presburger arithmetic
Author :
Naoi, Kuniaki ; Takahashi, Naohisa
Author_Institution :
NTT Software Labs., Tokyo, Japan
Abstract :
Detecting infeasible paths (IFPs) allows accurate computation of various kinds of program slices, and accurate detection of semantic errors that may occur when two variants of a program are merged. We propose a method of efficiently determining the truth of a prenex normal form Presburger sentence (P-sentence) bounded only by existential quantifiers, which is suitable for detecting IFPs. In this method, a coefficients matrix is converted into a triangular matrix based on the method proposed by Cooper (1972). If the rank of the matrix is lower than the degree of the matrix, the matrix is triangulated by using a method for solving one linear equation with three or more unknowns, so that the matrix can be back-substituted. This paper shows that an implementation of our method provides a slower increase in computation time than the previous method and reduces computation time by up to 3,000,000 times
Keywords :
computational complexity; formal logic; matrix algebra; program debugging; program diagnostics; programming theory; Presburger arithmetic; coefficients matrix; computation; computation time; existential quantifiers; infeasible path detection; linear equation; prenex normal form Presburger sentence; program slices; semantic error detection; triangular matrix; Arithmetic; Equations; Laboratories; Matrix converters; Prototypes;
Conference_Titel :
Computer Software and Applications Conference, 1996. COMPSAC '96., Proceedings of 20th International
Conference_Location :
Seoul
Print_ISBN :
0-8186-7579-9
DOI :
10.1109/CMPSAC.1996.544614