Skip to main navigation Skip to search Skip to main content

Lem: A lightweight tool for heavyweight semantics

  • University of Cambridge

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

22 Citations (Scopus)

Abstract

Many ITP developments exist in the context of a single prover, and are dominated by proof effort. In contrast, when applying rigorous semantic techniques to realistic computer systems, engineering the definitions becomes a major activity in its own right. Proof is then only one task among many: testing, simulation, communication, community review, etc. Moreover, the effort invested in establishing such definitions should be re-usable and, where possible, irrespective of the local proof-assistant culture. For example, in recent work on processor and programming language concurrency (x86, Power, ARM, C++0x, CompCertTSO), we have used Coq, HOL4, Isabelle/HOL, and Ott-often using multiple provers simultaneously, to exploit existing definitions or local expertise. In this paper we describe Lem, a prototype system specifically designed to support pragmatic engineering of such definitions. It has a carefully designed source language, of a familiar higher-order logic with datatype definitions, inductively defined relations, and so on. This is typechecked and translated to a variety of programming languages and proof assistants, preserving the original source structure (layout, comments, etc.) so that the result is readable and usable. We have already found this invaluable in our work on Power, ARM and C++0x concurrency.

Original languageEnglish
Title of host publicationInteractive Theorem Proving - Second International Conference, ITP 2011, Proceedings
Pages363-369
Number of pages7
DOIs
Publication statusPublished - 2 Sept 2011
Event2nd International Conference on Interactive Theorem Proving, ITP 2011 - Berg en Dal, Netherlands
Duration: 22 Aug 201125 Aug 2011

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume6898 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference2nd International Conference on Interactive Theorem Proving, ITP 2011
Country/TerritoryNetherlands
CityBerg en Dal
Period22/08/1125/08/11

Fingerprint

Dive into the research topics of 'Lem: A lightweight tool for heavyweight semantics'. Together they form a unique fingerprint.

Cite this