Skip to content
No description or website provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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.


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


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.

You can’t perform that action at this time.