Isabelle Theories for Machine Words

Jeremy Dawson*

*Corresponding author for this work

    Research output: Contribution to journalArticlepeer-review

    12 Citations (Scopus)

    Abstract

    We describe a collection of Isabelle theories which facilitate reasoning about machine words. For each possible word length, the words of that length form a type, and most of our work consists of generic theorems which can be applied to any such type. We develop the relationships between these words and integers (signed and unsigned), lists of booleans and functions from index to value, noting how these relationships are similar to those between an abstract type and its representing set. We discuss how we used Isabelle's bin type, before and after it was changed from a datatype to an abstract type, and the techniques we used to retain, as nearly as possible, the convenience of primitive recursive definitions. We describe other useful techniques, such as encoding the word length in the type.

    Original languageEnglish
    Pages (from-to)55-70
    Number of pages16
    JournalElectronic Notes in Theoretical Computer Science
    Volume250
    Issue number1
    DOIs
    Publication statusPublished - 1 Sept 2009

    Fingerprint

    Dive into the research topics of 'Isabelle Theories for Machine Words'. Together they form a unique fingerprint.

    Cite this