Pierre Hyvernat - The Size-Change Principle for Mixed Inductive and Coinductive types

lmcs:13902 - Logical Methods in Computer Science, September 3, 2025, Volume 21, Issue 3 - https://doi.org/10.46298/lmcs-21(3:20)2025
The Size-Change Principle for Mixed Inductive and Coinductive typesArticle

Authors: Pierre Hyvernat

    This paper shows how to use Lee, Jones and Ben Amram's size-change principle to check correctness of arbitrary recursive definitions in an ML / Haskell like programming language with inductive and coinductive types. Naively using the size-change principle to check productivity and termination is straightforward but unsound when inductive and coinductive types are nested. We can however adapt the size-change principle to check ``totality'', which corresponds exactly to correctness with respect to the corresponding (co)inductive type.


    Volume: Volume 21, Issue 3
    Published on: September 3, 2025
    Accepted on: December 27, 2024
    Submitted on: July 9, 2024
    Keywords: Logic in Computer Science

    Consultation statistics

    This page has been seen 520 times.
    This article's PDF has been downloaded 135 times.