Interaction trees: representing recursive and impure programs in Coq

L Xia, Y Zakowski, P He, CK Hur, G Malecha… - Proceedings of the …, 2019 - dl.acm.org
Interaction trees (ITrees) are a general-purpose data structure for representing the behaviors
of recursive programs that interact with their environments. A coinductive variant of “free …

[图书][B] Concrete semantics: with Isabelle/HOL

T Nipkow, G Klein - 2014 - Springer
Part I of this book is a practical introduction to working with the Isabelle proof assistant. It
teaches you how to write functional programs and inductive definitions and how to prove …

Biorthogonality, step-indexing and compiler correctness

N Benton, CK Hur - ACM Sigplan Notices, 2009 - dl.acm.org
We define logical relations between the denotational semantics of a simply typed functional
language with recursion and the operational behaviour of low-level programs in a variant …

Strongly typed term representations in Coq

N Benton, CK Hur, AJ Kennedy, C McBride - Journal of automated …, 2012 - Springer
There are two approaches to formalizing the syntax of typed object languages in a proof
assistant or programming language. The extrinsic approach is to first define a type that …

Partiality, revisited: The partiality monad as a quotient inductive-inductive type

T Altenkirch, NA Danielsson, N Kraus - International Conference on …, 2017 - Springer
Capretta's delay monad can be used to model partial computations, but it has the “wrong”
notion of built-in equality, strong bisimilarity. An alternative is to quotient the delay monad by …

HALO: Haskell to logic through denotational semantics

D Vytiniotis, S Peyton Jones, K Claessen… - Proceedings of the 40th …, 2013 - dl.acm.org
Even well-typed programs can go wrong in modern functional languages, by encountering a
pattern-match failure, or simply returning the wrong answer. An increasingly-popular …

Operational semantics using the partiality monad

NA Danielsson - Proceedings of the 17th ACM SIGPLAN international …, 2012 - dl.acm.org
The operational semantics of a partial, functional language is often given as a relation rather
than as a function. The latter approach is arguably more natural: if the language is …

Quotienting the delay monad by weak bisimilarity

J Chapman, T Uustalu, N Veltri - Mathematical Structures in …, 2019 - cambridge.org
The delay datatype was introduced by Capretta (Logical Methods in Computer Science, 1
(2), article 1, 2005) as a means to deal with partial functions (as in computability theory) in …

Denotational semantics of recursive types in synthetic guarded domain theory

RE Møgelberg, M Paviotti - Proceedings of the 31st Annual ACM/IEEE …, 2016 - dl.acm.org
Guarded recursion is a form of recursion where recursive calls are guarded by delay
modalities. Previous work has shown how guarded recursion is useful for reasoning …

Domain theory in constructive and predicative univalent foundations

T De Jong, MH Escardó - arXiv preprint arXiv:2008.01422, 2020 - arxiv.org
We develop domain theory in constructive univalent foundations without Voevodsky's
resizing axioms. In previous work in this direction, we constructed the Scott model of PCF …