Abstract
This paper is concerned with the design and analysis of improved algorithms for determining the optimal length resolution refutation (OLRR) of a system of difference constraints over an integral domain. The problem of finding short explanations for unsatisfiable Difference Constraint Systems (DCS) finds applications in a number of design domains including program verification, proof theory, real-time scheduling, and operations research. These explanations have also been called “certificates” and “refutations” in the literature. This problem was first studied in Subramani (J Autom Reason 43(2):121–137, 2009), wherein the first polynomial time algorithm was proposed. In this paper, we propose two new strongly polynomial algorithms which improve on the existing time bound. Our first algorithm, which we call the edge progression approach, runs in O(n 2 · k + m · n · k) time, while our second algorithm, which we call the edge relaxation approach, runs in O(m · n · k) time, where m is the number of constraints in the DCS, n is the number of program variables, and k denotes the length of the shortest refutation. We conducted an extensive empirical analysis of the three OLRR algorithms discussed in this paper. Our experiments indicate that in the case of sparse graphs, the new algorithms discussed in this paper are superior to the algorithm in Subramani (J Autom Reason 43(2):121–137, 2009). Likewise, in the case of dense graphs, the approach in Subramani (J Autom Reason 43(2):121–137, 2009) is superior to the algorithms described in this paper. One surprising observation is the superiority of the edge relaxation algorithm over the edge progression algorithm in all cases, although both algorithms have the same asymptotic time complexity.
Similar content being viewed by others
References
Alekhnovich M, Buss S, Moran S, Pitassi T (1998) Minimum propositional proof length is NP-hard to linearly approximate. In: Mathematical foundations of computer science (MFCS), Lecture Notes in Computer Science Springer, Berlin
P. Beame, T. Pitassi (1996) Simplified and improved resolution lower bounds. In: 37th Annual symposium on foundations of computer science, IEEE, pp 274–282. Burlington, Vermont, 14–16 October 1996
Buss SR, Pitassi T (1997) Resolution and the weak pigeonhole principle. In: CSL: 11th Workshop on computer science logic. LNCS, Springer, Berlin
Cormen TH, Leiserson CE, Rivest RL, Stein C (2001) Introduction to algorithms. MIT Press, Cambridge
Demetrescu C, Goldberg AV, Johnson D (2005) 9th DIMACS implementation challenge—shortest paths. http://www.dis.uniroma1.it/~challenge9/
de Moura LM, Owre S, Ruess H, Rushby JM, Shankar N (2004) The ICS decision procedures for embedded deduction. In: IJCAR, pp 218–222
Fourier JBJ (1827) Reported in: Analyse de travaux de l’Academie Royale des Sciences, pendant l’annee 1824, Partie Mathematique, Histoire de ’Academie Royale de Sciences de l’Institue de France 7, pp xlvii-lv. (Partial English translation in: Kohler DA (1973) Translation of a report by fourier on his work on linear inequalities. Opsearch 10:38–42), Academic Press, Dordrecht
Ford J, Shankar N (2002) Formal verification of a combination decision procedure. In: CADE, pp 347–362
Goldberg AV (1995) Scaling algorithms for the shortest paths problem. SIAM J Comput 24(3): 494–504
Haken A (1985) The intractability of resolution. Theor Comput Sci 39(2–3): 297–308
Han CC, Lin KJ (1989) Job scheduling with temporal distance constraints. Technical report UIUCDCS-R-89-1560, Department of Computer Science, University of Illinois at Urbana-Champaign
Hochbaum DS, Naor J (1994) Simple and fast algorithms for linear and integer programs with two variables per inequality. SIAM J Comput 23(6): 1179–1192
Nemhauser GL, Wolsey LA (1999) Integer and combinatorial optimization. Wiley, New York
Pinedo M (1995) Scheduling: theory, algorithms, and systems. Prentice-Hall, Englewood Clif
Robinson JA (1965) A machine-oriented logic based on the resolution principle. J. ACM 12(1): 23–41
Seshia SA, Bryant RE (2004) Deciding quantifier-free presburger formulas using parameterized solution bounds. In: LICS, pp 100–109
Schrijver A (1987) Theory of linear and integer programming. Wiley, New York
Stankovic JA, Ramamritham K (1988) Hard real-time systems. IEEE Computer Society Press, Los Alamitos
Subramani K (2004) On deciding the non-emptiness of 2SAT polytopes with respect to first order queries. Math Logic Quart 50(3): 281–292
Subramani K (2004) Optimal length tree-like resolution refutations for 2sat formulas. ACM Trans Comput Logic 5(2): 316–320
Subramani K (2005) An analysis of totally clairvoyant scheduling. J Schedul 8(2): 113–133
Subramani K (2005) A comprehensive framework for specifying clairvoyance, constraints and periodicty in real-time scheduling. Comput J 48(3): 259–272
Subramani K (2009) Optimal length resolution refutations of difference constraint systems. J Autom Reason (JAR) 43(2): 121–137
Tseitin G (1970) On the complexity of derivation in propositional calculus. In: Studies in constructive mathematics and mathematical logic, pp 115–125
Urquhart A (1995) The complexity of propositional proofs. Bull Symbol Logic 1(4): 425–467
Williams HP (1976) Fourier–Motzkin elimination extension to integer programming. J Combin Theory 21: 118–123
Author information
Authors and Affiliations
Corresponding author
Additional information
Jim Woodcock
K. Subramani’s research was supported in part by a research grant from the Air-Force Office of Scientific Research under contract FA9550-06-1-0050 and in part by the National Science Foundation through Award CCF-0827397. A portion of this research was conducted at the Carnegie Mellon University, where the first author was a Visiting Professor.
M. Williamson’s research was supported by the NASA WV Space Grant Consortium through a NASA Grant and Cooperative Agreement Number NNX10AK62H.
Rights and permissions
About this article
Cite this article
Subramani, K., Williamson, M. & Gu, X. Improved algorithms for optimal length resolution refutation in difference constraint systems. Form Asp Comp 25, 319–341 (2013). https://doi.org/10.1007/s00165-011-0186-3
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00165-011-0186-3