The New Rewriting Engine of Dedukti

10/30/2020
by   Gabriel Hondet, et al.
0

Dedukti is a type-checker for the λΠ-calculus modulo rewriting, an extension of Edinburgh's logicalframework LF where functions and type symbols can be defined by rewrite rules. It thereforecontains an engine for rewriting LF terms and types according to the rewrite rules given by the user.A key component of this engine is the matching algorithm to find which rules can be fired. In thispaper, we describe the class of rewrite rules supported by Dedukti and the new implementation ofthe matching algorithm. Dedukti supports non-linear rewrite rules on terms with binders usinghigher-order pattern-matching as in Combinatory Reduction Systems (CRS). The new matchingalgorithm extends the technique of decision trees introduced by Luc Maranget in the OCamlcompiler to this more general context.

READ FULL TEXT
research
05/05/2018

Confluent terminating extensional lambda-calculi with surjective pairing and terminal type

For the lambda-calculus with surjective pairing and terminal type, Curie...
research
02/19/2018

Size-based termination of higher-order rewriting

We provide a general and modular criterion for the termination of simply...
research
05/05/2021

Simulation and estimation of a point-process market-model with a matching engine

The extent to which a matching engine can cloud the modelling of underly...
research
10/20/2017

An impure solution to the problem of matching fans

We present an algorithm to solve the problem of matching fans in interac...
research
12/12/2021

Reflective Metagraph Rewriting as a Foundation for an AGI "Language of Thought"

MeTTa (Meta Type Talk) is a novel programming language created for use i...
research
09/29/2020

RP-Rewriter: An Optimized Rewriter for Large Terms in ACL2

RP-Rewriter (Retain-Property) is a verified clause processor that can us...
research
04/21/2015

Learning Opposites with Evolving Rules

The idea of opposition-based learning was introduced 10 years ago. Since...

Please sign up or login with your details

Forgot password? Click here to reset