Git Product home page Git Product logo

certifying-unification-in-aml's Introduction

Certifying (anti)unification in Matching Logic

This repo contains a series of Maude scripts for generating and checking proof certificates for syntactic unification and anti-unification in (Applicative) Matching Logic.

How to use

Prerequisites: Python 3, Maude, and Git.

Step 1: Open a terminal, cd into your working dir and type:

-$ git clone https://github.com/andreiarusoaie/certifying-unification-in-aml.git
-$ cd certifying-unification-in-aml

Step 2: Create an input file. Here is an example from our test suite:

-$  cat tests/samples/13_paper_cons_succ.in
variables: x1, x2, l1, l2
symbols: cons, succ, zero
problem: cons(succ(x1), cons(zero, l1)) =? cons(x2, cons(succ(x2), l2))

The variables and symbols sections describe the syntax of the input terms. problem is the (anti)unification problem to be solved.

Step 3: Generate the certificate (anti-unification):

-$ python3 ml-antiunify.py tests/samples/13_paper_cons_succ.in
...

This will generate the proof and it will also check whether the proof is correct (i.e., certification). The output for this particular call is available here.

Note: The certificates for unification can be generated by calling the ml-unify.py script on the same input:

-$ python3 ml-unify.py tests/samples/13_paper_cons_succ.in

Additional information can be found here.

Contact

You can contact me at andrei . arusoaie at uaic ro.

certifying-unification-in-aml's People

Contributors

andreiarusoaie avatar dlucanu avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.