Back to Search Start Over

Hector: An Equivalence Checker for a Higher-Order Fragment of ML

Authors :
C.-H. Luke Ong
Andrzej S. Murawski
David Hopkins
Source :
Computer Aided Verification ISBN: 9783642314230, CAV
Publication Year :
2012
Publisher :
Springer Berlin Heidelberg, 2012.

Abstract

We present Hector, an observational equivalence checker for a higher-order fragment of ML. The input language is RML, the canonical restriction of standard ML to ground-type references. Hector accepts programs from a decidable fragment of RML identified by us at ICALP'11, which comprises programs of short-type (order at most 2 and arity at most 1) that may contain free variables whose arguments are also of short-type. This is an expressive fragment that contains complex higher-order types, and includes many examples from the literature which have proven challenging to verify using other methods. To our knowledge, Hector is the first fully-automated equivalence checker for higher-order, call-by-value programs. Both sound and complete, the tool relies on the fully abstract game semantics of RML to construct, on-the-fly, visibly pushdown automata which precisely capture program behaviour. These automata are then checked for language equivalence, and if they are inequivalent a counterexample (in the form of a separating context) is constructed.

Details

ISBN :
978-3-642-31423-0
ISBNs :
9783642314230
Database :
OpenAIRE
Journal :
Computer Aided Verification ISBN: 9783642314230, CAV
Accession number :
edsair.doi...........b0c570fac230b6dd858fb439e2afa345
Full Text :
https://doi.org/10.1007/978-3-642-31424-7_63