Encodes SAT in OCaml GADT types. See the blog post for an explanation!
- Install Python dependencies with
pip install -r requirements.txt - Install OCaml by following the official installation guide
- Run the Python script to generate OCaml code:
python3 main.py > example.ml - Compile the generated OCaml code:
ocamlc example.ml