Skip to content

Web app for minimizing expressions using Quine-McCluskey from JS oracle, truth table, or SAT instance with don’t-cares, DNF/CNF conversion, Karnaugh maps, and logic circuits.

License

Notifications You must be signed in to change notification settings

Simewu/boolean-minify

Repository files navigation

Boolean Expression Minimization

Canonical form: A standard representation used to demonstrate equivalence between different forms.

This browser-based tool simplifies Boolean expressions by converting them to their canonical form. It accepts a JavaScript oracle function, truth table, or DIMACS SAT instance (DNF or CNF) and produces a minimized JavaScript function, truth table, DIMACS SAT instance, logic circuit diagram, or Karnaugh map.

Screenshot 1 Screenshot 2

Minimization uses the Quine-McCluskey algorithm, which is NP-complete and runs in exponential time complexity.

Logic Circuit Renderer

A minimal rendering library (logicCircuitRenderer.js) is included for drawing schematic diagrams. For example usage, see logicCircuitRenderer_example.html.

About

Web app for minimizing expressions using Quine-McCluskey from JS oracle, truth table, or SAT instance with don’t-cares, DNF/CNF conversion, Karnaugh maps, and logic circuits.

Topics

Resources

License

Stars

Watchers

Forks