Giter VIP home page Giter VIP logo

polygraph's Introduction

Polygraph

Polygraph is a desktop application I wrote back in my undergraduate Logic course back in March 2016. It is a simple SAT solver that takes a formula in propositional logic, and checks whether the formula is satisfiable.

An unsatisfiable formula, is a formula that will evaluate to false, no matter what values are assigned to its variables. For example the formula p∧¬p is unsatisfiable, regardless of the value of p.

Screenshots

p∨q

p∨q

p∧¬p

p∧¬p

(p∨q)∧¬(p∨q)

(p∨q)∧¬(p∨q)

Some Details

The project is in C#, uses Windows.Forms (it was the only thing I knew back then) and originally targeted .Net Framework 4.5.2. I can see many problems with the code base. Weird naming conventions, unused usings, non-responsive UI, etc. These can easily be fixed, however, I chose not to do so. The point of this repo is to remind me how I used to think and code back in 2016.

I only updated the .Net Framework version to v4.8 because I don't have v4.5.2 currently installed.

polygraph's People

Contributors

phorks 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.