Published on August 9, 2024 2:03 PM GMT
This repo provides an easy way to use an HVM1 version from the dup_labels branch. Note that HVM1 is deprecated in favor of HVM2 and bend. The only reason to use it is to experiment with lazy SUP nodes. See
- Fast Discrete Program Search with HVM Superpositions (SUP nodes) - finding ADD-CARRYSolving SAT via interaction net superpositions
Usage:
- Install Nix.Get a shell with hvm1 with SUP labels available via
nix --experimental-features 'nix-command flakes' shell github:johannesCmayer/HVM1-SUP-Flake
.Use HVM, e.g. hvm1 run -t 1 "(+ 2 3)"
or hvm1 run -d true -t 1 "(+ 2 3)"
to see all reduction steps.-t 1
makes HVM use a single thread (There is a bug in the parallizer of HVM1).
See the HVM1 guide for more (have GPT read it and then try to understand the source code here by asking questions).
Discuss