Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
156 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

The Size-Change Principle for Mixed Inductive and Coinductive types (2407.05715v1)

Published 8 Jul 2024 in cs.LO

Abstract: 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 arenested. We can however adapt the size-change principle to check ``totality'', which corresponds exactly to correctness with respect to the corresponding (co)inductive type.

Citations (4)

Summary

We haven't generated a summary for this paper yet.