Open grjte opened 1 year ago
Once we've decided on (2) we can turn each of these items into an issue.
My general opinion is that it makes sense to write the constraints that we have already written in Rust in the VM, since this gives us a point of comparison for correctness, and we also already have some integration tests in the VM for those constraints.
That would include the following:
We may want to reduce the number of stack constraints that we try to do, and we may want to consider including some of the multiset checks that weren't implemented in Rust yet. However, the multiset checks could be done subsequently as separate tasks.
Goal(s)
Details
While we don't expect to be able to define all Miden VM constraints in AirScript by the 2023/03/28 milestone, we want to support a core subset of them so that the full recursive verification pipeline is in place.
The constraints are all described in the Miden VM docs, and some of them are also implemented in Rust.
The first thing we need to do is identify which constraints we will aim to write in AirScript for this milestone.
Working group:
@Al-Kindi-0, @grjte, @Overcastan, @tohrnii
Workflow
- Discussion should happen here or in the related sub-issues. - PRs should only be merged by the coordinator, to ensure everyone is able to review. - Aim to complete reviews within 24 hours. - When a related sub-issue is opened: - add it to the list of sub-issues in this tracking issue - When opening a related PR: - request review from everyone in this working group - When a sub-issue is completed: - close the related issue with a comment that links to the PR where the work was completedCoordinator: @tohrnii