MCSP playground
Minimal, focused view of the Minimum Circuit Size Problem: encode truth tables, search for small circuits, and visualize the complexity landscape.
Compact, at-a-glance graphs from recent MCSP sampling runs.
pip install -r requirements.txt # z3/torch optional (torch not needed for tests)
python main.py # runs truth tables, SAT/QMC/GA solvers, analysis, and ML demo
Want something faster? Run individual components:
python -m pytest # full test suite
python -c "from mcsp.core.truth_table import TruthTable; print(TruthTable.parity(3))"
python -c "from mcsp.solvers.sat_solver import MCSPSatSolver, TruthTable;
solver = MCSPSatSolver(2, 5);
print(solver.find_minimum_circuit(TruthTable(2, [0,1,1,0])))"
2^n / n.main and Folder to /docs.https://arnavd371.github.io/Heuristic-Complexity-Mapping-of-MCSP/
The page you are reading is fully self-contained; update this file to refresh the site.