Skip to content

Conversation

@zlangley
Copy link
Contributor

@zlangley zlangley commented Dec 3, 2025

No description provided.

@zlangley zlangley force-pushed the feat/update-plonky3 branch 10 times, most recently from db491c8 to 59c24a6 Compare December 4, 2025 19:49
@zlangley zlangley force-pushed the feat/update-plonky3 branch 9 times, most recently from ab5520a to 07368a8 Compare December 15, 2025 13:48
zlangley and others added 7 commits December 16, 2025 22:24
- Bumped rust toolchain to 1.90.0 to match Plonky3.
- Bumped workspace `rand` to 0.9 to match Plonky3.
- Swapped renamed traits and APIs:
  - `FieldAlgebra` → `PrimeCharacteristicRing`
  - `FieldExtensionAlgebra` → `BasedVectorSpace`
  - `sample_ext_element` → `sample_algebra_element`
  - `::D` → `::DIMENSION`
  - `from_canonical_*` → `from_*`
  - `monomial` → `ith_basis_element` (now returns `Option`)
  - `p3_fri::FriConfig` → `p3_fri::FriParameters`
  - `p3_bn254_fr` → `p3_bn254`
- `Matrix::get` now returns `Option`, so matrix accesses unwrap with `copied()`/`expect`.
- `SubMatrixRowSlices` was rewritten to conform to the new `Matrix`
  trait (no `Row` assoc type; explicit `get`/`row_subseq_unchecked`/`row_slice`).
- `AB::Var` no longer implements `Copy`, and `AB::F` no longer implements `Field`,
  but we these trait bounds back in `InteractionBuilder.`
This reverts commit 07368a8.
@jonathanpwang jonathanpwang marked this pull request as ready for review December 17, 2025 06:51
@jonathanpwang jonathanpwang changed the base branch from main to develop-v1.3.0 December 17, 2025 07:17

let (local, next) = (main.row_slice(0), main.row_slice(1));
let (local, next) = (
main.row_slice(0).expect("window should have two elements"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to do this in every AIR?

Copy link
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

It is unfortunate that .row_slice(0) needs .unwrap(), but I think it is safer to unwrap than to use row_slice_unchecked, especially since we only use the AIR code for symbolic DAG extraction.

@jonathanpwang
Copy link
Contributor

This is merging into develop-v1.3.0 branch

@jonathanpwang jonathanpwang merged commit 40e0be8 into develop-v1.3.0 Dec 17, 2025
6 checks passed
@jonathanpwang jonathanpwang deleted the feat/update-plonky3 branch December 17, 2025 07:33
jonathanpwang added a commit to openvm-org/openvm that referenced this pull request Dec 18, 2025
Updates to plonky3 v0.4.0. Syncs with
openvm-org/stark-backend#195

closes INT-4245

---------

Co-authored-by: Jonathan Wang <[email protected]>
branch-rebase-bot bot pushed a commit to openvm-org/openvm that referenced this pull request Dec 19, 2025
Updates to plonky3 v0.4.0. Syncs with
openvm-org/stark-backend#195

closes INT-4245

---------

Co-authored-by: Jonathan Wang <[email protected]>
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