Program Equivalence is Coinductive

Dirk Pattinson, Lutz Schröder

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

    2 Citations (Scopus)

    Abstract

    We describe computational models, notably Turing and counter machines, as state transition systems with side effects. Side effects are expressed via an algebraic signature and interpreted over comodels for that signature: comodels describe the memory model while the transition system captures the control structure. Equational reasoning over comodels is known to be subtle. We identify a criterion on equational theories and classes of comodels that guarantees completeness, over the given class of comodels, of the standard equational calculus, and show that this criterion is satisfied in our leading examples. Based on a complete equational axiomatization of the memory (co)model, we then give a complete inductive-coinductive calculus for simulation between states, where a state simulates another if it has at least the same terminating computations, with the same cumulative effect on global state. Extensional equivalence of computations can then be expressed as mutual simulation. The crucial use of coinduction is to deal with non-termination of the simulated computation where the coinductive rule permits infinite unfolding.

    Original languageEnglish
    Title of host publicationProceedings of the 31st Annual ACM-IEEE Symposium on Logic in Computer Science, LICS 2016
    PublisherInstitute of Electrical and Electronics Engineers Inc.
    Pages337-346
    Number of pages10
    ISBN (Electronic)9781450343916
    DOIs
    Publication statusPublished - 5 Jul 2016
    Event31st Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2016 - New York, United States
    Duration: 5 Jul 20168 Jul 2016

    Publication series

    NameProceedings - Symposium on Logic in Computer Science
    Volume05-08-July-2016
    ISSN (Print)1043-6871

    Conference

    Conference31st Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2016
    Country/TerritoryUnited States
    CityNew York
    Period5/07/168/07/16

    Fingerprint

    Dive into the research topics of 'Program Equivalence is Coinductive'. Together they form a unique fingerprint.

    Cite this