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>
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.

2 participants