A two-level logic approach to reasoning about typed specification languages

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The two-level logic approach (2LL) to reasoning about computational specifications, as implemented by the Abella theorem prover, represents derivations of a specification language as an inductive definition in a reasoning logic. This approach has traditionally been formulated with the specification and reasoning logics having the same type system, and only the formulas being translated. However, requiring identical type systems limits the approach in two important ways: (1) every change in the specification language's type system requires a corresponding change in that of the reasoning logic, and (2) the same reasoning logic cannot be used with two specification languages at once if they have incompatible type systems. We propose a technique based on adequate encodings of the types and judgements of a typed specification language in terms of a simply typed higher-order logic program, which is then used for reasoning about the specification language in the usual 2LL. Moreover, a single specification logic implementation can be used as a basis for a number of other specification languages just by varying the encoding. We illustrate our technique with an implementation of the LF dependent type theory as a new specification language for Abella, co-existing with its current simply typed higher-order hereditary Harrop specification logic, without modifying the type system of its reasoning logic.

Original languageEnglish
Title of host publication34th International Conference on Foundation of Software Technology and Theoretical Computer Science, FSTTCS 2014
EditorsVenkatesh Raman, S. P. Suresh
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Pages557-569
Number of pages13
ISBN (Electronic)9783939897774
DOIs
Publication statusPublished - 1 Dec 2014
Event34th International Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2014 - New Delhi, India
Duration: 15 Dec 201417 Dec 2014

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume29
ISSN (Print)1868-8969

Conference

Conference34th International Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2014
Country/TerritoryIndia
CityNew Delhi
Period15/12/1417/12/14

Keywords

  • Abella theorem prover
  • Two-level logic
  • Typed specification languages

Fingerprint

Dive into the research topics of 'A two-level logic approach to reasoning about typed specification languages'. Together they form a unique fingerprint.

Cite this