Skip to content

Conversation

@samuelburnham
Copy link
Member

  • Fixes a Nix devShell issue where the Lean sysroot was pointing to the lean binary in the Nix store, as opposed to the full toolchain including the library files for Init, Std, etc. Setting LEAN_SYSROOT explicitly to the lean-all Nix package enables Lean to find these dependencies.
  • Changes the dev shell build in CI to actually use the Lake Nix package rather than elan, as the Nix build is now working
  • Refactors ix.nix to automatically compile and include all C files in ./c, rather than hardcoding each file.

@samuelburnham samuelburnham marked this pull request as ready for review March 18, 2025 14:09
@johnchandlerburnham johnchandlerburnham merged commit 4b3cfbe into jcb/ix-cli Mar 18, 2025
5 checks passed
@johnchandlerburnham johnchandlerburnham deleted the sb/ix-cli branch March 18, 2025 14:11
johnchandlerburnham added a commit that referenced this pull request Apr 22, 2025
* WIP: ix hash command

* make Proof serialize as an Ixon Const

* broken: connect canonicalizer to Ix.Meta

* fix: Nix devShell & light refactor (#55)

* ix store cli command

* WIP: store command and new IxM structure

* megacommit implementing Ix commitment API

* fixup merge

* fixup merge 2

* ix prove check command

* implement ix prove CLI and simplify metaprogramming

- CompileM is now persistent with the filemapped store
- constructing evaluation claims is done through MetaM rather than CompileM
- CLI now features the Prove command

* provecmd examples

* cleanup repo

* simplify ZKVoting example app

---------

Co-authored-by: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com>
johnchandlerburnham added a commit that referenced this pull request May 24, 2025
* WIP: ix hash command

* make Proof serialize as an Ixon Const

* broken: connect canonicalizer to Ix.Meta

* fix: Nix devShell & light refactor (#55)

* ix store cli command

* WIP: store command and new IxM structure

* megacommit implementing Ix commitment API

* fixup merge

* fixup merge 2

* ix prove check command

* implement ix prove CLI and simplify metaprogramming

- CompileM is now persistent with the filemapped store
- constructing evaluation claims is done through MetaM rather than CompileM
- CLI now features the Prove command

* provecmd examples

* cleanup repo

* simplify ZKVoting example app

* remove IO from the compiler core

* add level params to Ix IR to support decompilation

* refactor Ix IR to support decompilation

* implement decompilation mutdefs, compilation of mixed mutdefs, and tests for new mutdef format

* wip

* decompilation roundtrip of Ix get_env working

* WIP: new mutual definition changes

* roundtrip compilation decompilation tests now passing

* add count to roundtrip

* fixup merge

* fixup merge

* fixup merge test

* remove style guide

---------

Co-authored-by: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com>
johnchandlerburnham added a commit that referenced this pull request Oct 27, 2025
* WIP: ix hash command

* make Proof serialize as an Ixon Const

* broken: connect canonicalizer to Ix.Meta

* fix: Nix devShell & light refactor (#55)

* ix store cli command

* WIP: store command and new IxM structure

* megacommit implementing Ix commitment API

* fixup merge

* fixup merge 2

* ix prove check command

* implement ix prove CLI and simplify metaprogramming

- CompileM is now persistent with the filemapped store
- constructing evaluation claims is done through MetaM rather than CompileM
- CLI now features the Prove command

* provecmd examples

* cleanup repo

* simplify ZKVoting example app

* remove IO from the compiler core

* add level params to Ix IR to support decompilation

* refactor Ix IR to support decompilation

* implement decompilation mutdefs, compilation of mixed mutdefs, and tests for new mutdef format

* wip

* decompilation roundtrip of Ix get_env working

* WIP: new mutual definition changes

* roundtrip compilation decompilation tests now passing

* add count to roundtrip

* fixup merge

* fixup merge

* fixup merge test

* remove style guide

* merge

* Aiur2 prove/verify (#183)

* prove and verify for Aiur2
* env var to opt out of parallelism
* bump the Rust toolchain

---------

Co-authored-by: Gabriel Barreto <gabriel.aquino.barreto@gmail.com>
Co-authored-by: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com>

* Remove binius (#185)

* chore: drop Binius

* Drop the dependency on Binius
* Remove Aiur
* Rename Aiur2 to Aiur

* chore: deactivate Iroh

* update the hash for the Rust toolchain

* satisfy ci

* Bench (#186)

* add a `clock` executable for performance analysis

* clean up for a benchmarking implementation

* initial ixon serialization framework

* rustfmt

* ixon univ/expr roundtrip

* new ixon format passing proptest roundtrip

* remove old files

* implement Ixon v2 in Lean

* Ixon reconstruction in Rust from Lean pointers

* use standard formatting

* fix Ixon Lean serialization

* WIP: Lean -> Rust round-trip serialization test

* fix FFI

* WIP: synchronized Lean and Rust implementations, failing on metadata FFI?

* fix FFI for ReducibilityHints::Regular

* WIP: improved performance of mutual def sorting, but compilation still OOM on large terms

* very WIP compiler rewrite

* compiler refactored

* proptest for `Ixon` serde

* try reverting caches to RBMap

* bitblast now compiling

* full compilation of Lean->Ixon, but slow

* Tarjan's SCC algorithm for mutuals, so we can compile Recursors

* simplify mutual compilation, remove IR

* compile unsafe Lean?

* decompilation wip

* decompilation progress, but failing on _cstage2

* preprocessing GroundM step, but CondenseM breaking

* fix CondenseM, GroundM breaking

* wip

* GroundM and CondenseM working

* CompileM/DecompileM roundtrip provisionally working up to 5% of get_env!

* wip

* fixup for comments and clippy

* disable aiur benchmarks due to Ixon format change

* xclippy warnings

* disable Cli test suite

---------

Co-authored-by: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com>
Co-authored-by: Arthur Paulino <arthurleonardo.ap@gmail.com>
Co-authored-by: Gabriel Barreto <gabriel.aquino.barreto@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants