The monadic shallow linear (MSL) class is a decidable fragment of first-order Horn clauses that was discovered and rediscovered around the turn of the century, with applications in static analysis and verification. We propose a new class of higher-order Horn constraints which extend MSL to higher-order logic and develop a resolution-based decision procedure. Higher-order MSL Horn constraints can quite naturally capture the complex patterns of call and return that are possible in higher-order programs, which make them well suited to higher-order program verification. In fact, we show that the higher-order MSL satisfiability problem and the HORS model checking problem are interreducible, so that higher-order MSL can be seen as a constraint-based approach to higher-order model checking. Finally, we describe an implementation of our decision procedure and its application to verified socket programming.
翻译:月度浅线类(MSL)是本世纪之交发现和重新发现的第一阶合恩条款的可分数的碎片,在静态分析和核查中应用。我们建议了一个新的高阶合恩限制类别,将MSL扩大到更高阶逻辑,并制定了基于解决的决定程序。高阶MSL合恩限制可以自然地捕捉到在较高阶方案中可能采用的复杂的调用和返回模式,从而使它们非常适合更高阶程序核查。事实上,我们表明,较高阶调的MSL可探测性和高ors模型检查问题互不相容,因此,高阶MSL可被视为一种基于约束的更高阶模式检查方法。最后,我们描述了我们决定程序的执行情况及其适用于经核实的套接程序。