Skip to content

Basic Syntactic Mutation (BSM) is a mutation based unification algorithm for the theories that are saturated by paramodulation.

Notifications You must be signed in to change notification settings

ajayeeralla/BSM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 

Repository files navigation

Basic Syntactic Mutation

Basic Syntactic Mutation (BSM) is a mutation based unification algorithm for the theories that are saturated by paramodulation. The algorithm has been introduced by Christopher Lynch et al. in the paper Basic Syntactic Mutation.

Inspired by the above work, we developed a new and simplified mutation-based unification algorithm for solving a unification problem modulo the theories that are both convergent and forward closed. We call the algorithm as BSM'. The BSM' procedure consists of inference rules such as Coalesce, Split, Imit, MutConflict, and ImitCycle. The inference procedure prioritize the rules in the following order: Coalesce, Split, and then applies the rules Imit, MuConflict, and ImitCycle in a non-deterministic way. We have implemented the procedure in Maude, a high performance reflective language.

For more details about the BSM' procedure, please see the following paper.

Prerequisites

To run the algorithm you will need to have installed Maude.

Install

Download and install Maude from here.

Instructions to run the program

Download .maude file(s) to a directory. Then navigate to the directory and run the following commands.

  1. Load the file using the following command

> load filename.maude 
  1. Testing

> red in myBSMPrime : bsmUnify ( UnPr , RWS, BAL, N, SUB ) 

where UnPr is an unification problem, RWS is a rewrite system, BAL is a data structure that keeps tracking the box-status of the terms (Empty at the begining), N is a new-variable-counter (0 initially), and SUB is the substitution or solution. Of course, SUB is none at the begining.

Publications

About

Basic Syntactic Mutation (BSM) is a mutation based unification algorithm for the theories that are saturated by paramodulation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published