arrow
Return

Coco: Corecursion with Compositional Heterogeneous Productivity

delete2026-01-01
delete0
PRE
AI
J
Jae-Woo Kim *
Y
Yeonwoo Nam
C
Chung-Kil Hur
DOI:10.1145/3776733delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Contemporary proof assistants impose restrictive syntactic guardedness conditions that reject many valid corecursive definitions. Existing approaches to overcome these restrictions present a fundamental trade-off between coverage and automation. We present Compositional Heterogeneous Productivity (CHP), a theoretical framework that unifies high automation with extensive coverage for corecursive definitions. CHP introduces heterogeneous productivity applicable to functions with diverse domain and codomain types, including non-coinductive types. Its key innovation is compositionality: the productivity of composite functions is systematically computed from their components, enabling modular reasoning about complex corecursive patterns. Building on CHP, we develop Coco, a corecursion library for Rocq that provides extensive automation for productivity computation and fixed-point generation.
Keywords:
Rocq
coinduction
corecursion
compositionality
interactive theorem proving
semantic productivity

Journal

P
Proceedings of the ACM on Programming Languages-PACMPL
IF:
2.8
Papers:
308
Citations:
4.7K

Organization

S
seoul national university (snu)
Scholars:
7.2W
Papers: 6.6W
Citations: 86