FreeCHR: An Algebraic Framework for CHR-Embeddings

06/01/2023
by   Sascha Rechenberger, et al.
0

We introduce the framework FreeCHR, which formalizes the embedding of Constraint Handling Rules (CHR) into a host-language, using the concept of initial algebra semantics from category theory, to establish a high-level implementation scheme for CHR, as well as a common formalization for both theory and practice. We propose a lifting of the syntax of CHR via an endofunctor in the category Set and a lifting of the operational semantics, using the free algebra, generated by the endofunctor. We then lift the very abstract operational semantics of CHR into FreeCHR, and give proofs for soundness and completeness w.r.t. their original definition.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/05/2019

Operational Semantics of Games

We introduce operational semantics into games. And based on the operatio...
research
02/16/2021

Guarded Kleene Algebra with Tests: Coequations, Coinduction, and Completeness

Guarded Kleene Algebra with Tests (GKAT) is an efficient fragment of KAT...
research
04/26/2022

Non-determinsitic algebraic rewriting as adjunction

We develop a general model theoretic semantics to rewriting beyond the u...
research
07/27/2018

Witness Algebra and Anyon Braiding

Topological quantum computation employs two-dimensional quasiparticles c...
research
06/15/2021

An enriched category theory of language: from syntax to semantics

Given a piece of text, the ability to generate a coherent extension of i...
research
04/28/2023

Caos: A Reusable Scala Web Animator of Operational Semantics (Extended With Hands-On Tutorial)

This tool paper presents Caos: a methodology and a programming framework...
research
05/17/2021

A CCG-Based Version of the DisCoCat Framework

While the DisCoCat model (Coecke et al., 2010) has been proved a valuabl...

Please sign up or login with your details

Forgot password? Click here to reset