file.pdf (219.23 kB)

A Coverage Checking Algorithm for LF

Download (219.23 kB)
journal contribution
posted on 01.01.2015, 00:00 by Carsten Schurmann, Frank Pfenning
Coverage checking is the problem of deciding whether any closed term of a given type is an instance of at least one of a given set of patterns. It can be used to verify if a function defined by pattern matching covers all possible cases. This problem has a straightforward solution for the first-order, simply-typed case, but is in general undecidable in the presence of dependent types. In this paper we present a terminating algorithm for verifying coverage of higher-order, dependently typed patterns. It either succeeds or presents a set of counterexamples with free variables, some of which may not have closed instances (a question which is undecidable). Our algorithm, together with strictness and termination checking, can be used to certify the correctness of numerous proofs of properties of deductive systems encoded in a system for reasoning about LF signatures.

History

Publisher Statement

Copyright 2015, Association for the Advancement of Artificial Intelligence (www.aaai.org)

Date

01/01/2015

Exports

Exports