RUS  ENG
Full version
JOURNALS // Modelirovanie i Analiz Informatsionnykh Sistem // Archive

Model. Anal. Inform. Sist., 2014 Volume 21, Number 6, Pages 7–17 (Mi mais408)

Random model sampling: making Craig interpolation work when it should not

Marat Akhin, Sam Kolton, Vladimir Itsykson

Saint-Petersburg Polytechnic University, Polytechnicheskaya street, 29, Saint-Petersburg 195251 Russia

Abstract: One of the most serious problems when doing program analyses is dealing with function calls. While function inlining is the traditional approach to this problem, it nonetheless suffers from the increase in analysis complexity due to the state space explosion. Craig interpolation has been successfully used in recent years in the context of bounded model checking to do function summarization which allows one to replace the complete function body with its succinct summary and, therefore, reduce the complexity. Unfortunately this technique can be applied only to a pair of unsatisfiable formulae.
In this work-in-progress paper we present an approach to function summarization based on Craig interpolation that overcomes its limitation by using random model sampling. It captures interesting input/output relations, strengthening satisfiable formulae into unsatisfiable ones and thus allowing the use of Craig interpolation. Preliminary experiments show the applicability of this approach; in our future work we plan to do a full evaluation on real-world examples.

Keywords: bounded model checking, static program analysis, Craig interpolation, function summaries, satisfiability modulo theories.

UDC: 004.052.42+004.4'23

Received: 30.06.2014



© Steklov Math. Inst. of RAS, 2025