GithubHelp home page GithubHelp logo

katsolver2's Introduction

KATSolver2

Running Instructions:

[core], [menhir], and [ocamllex] are needed for both implementations (as is a version of the OCaml compiler. This was made with Ocaml 5.1.1).

To install [core], run: [opam install core]

To install [menhir], run: [opam instasll menhir]

To use [ka_solver], run: [dune exec ka_solver help] from the [ka_solver] directory

To use [kat_solver], run: [dune exec kat_solver help] from [kat_solver]

More info:

[ka_solver] is a simple implementation of a kleene algebra expression equivalence checker, using bisimulations on regular set automatons to determine equivalence. This uses ideas from class and from https://www.cs.cornell.edu/courses/cs6861/2024sp/Papers/Pous.pdf.

[kat_solver] is also a simple implementation of a KAT expression equivalence checker, using bisimulations on guarded string set automatons to determine equivalence. This uses more ideas from https://www.cs.cornell.edu/courses/cs6861/2024sp/Papers/Pous.pdf, except memoization.

There already exists a KAT expression equivalence checker made by Pous at https://perso.ens-lyon.fr/damien.pous/symbolickat/. I don't add anything new and this implementation is not nearly as fast or efficient; regardless, this was a useful and time-intensive exercise. In this project I thought about translating concepts from class (automaton exploration, bisimulations + coalgebras, Brzozowski derivatives) into actual code. Most of all it took a while to plan the data structures needed for representing symbolic derivatives. Even though the paper is quite explicit it took a few read-throughs for me to understand what objects the symbolic derivatives dealt with.

katsolver2's People

Contributors

almathaler avatar

Watchers

 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.