1 unstable release
Uses new Rust 2024
| 0.4.0 | Dec 25, 2025 |
|---|
#640 in Algorithms
1,330 downloads per month
Used in 3 crates
130KB
2.5K
SLoC
Miden Plonky3
Miden-specific Plonky3 crates for the Miden VM STARK prover.
Crates
| Crate | Based On | Purpose |
|---|---|---|
p3-miden-goldilocks |
p3-goldilocks |
Goldilocks field with const constructors for miden-crypto compatibility |
p3-miden-air |
p3-air |
AIR traits supporting auxiliary and periodic columns |
p3-miden-uni-stark |
p3-uni-stark |
Extended Entry enum with Aux and Periodic variants |
p3-miden-fri |
p3-fri |
Miden FRI implementation with configurable folding factors |
p3-miden-prover |
- | Miden STARK prover combining the above crates |
Modifications
p3-miden-goldilocks
- Adds
constconstructors (new,from_u64_unchecked,from_u64_array) for compile-time field element creation - Provides
inner()andas_int()accessors for miden-crypto compatibility - Implements
try_checked()for validated construction (replacesTryFrom<u64>)
p3-miden-air & p3-miden-uni-stark
- Extends
Entryenum withAux(auxiliary trace columns) andPeriodic(periodic columns) variants - Required for Miden's permutation arguments and periodic column constraints
p3-miden-fri
- Supports higher folding factors for Miden's FRI implementation
- Configurable folding strategy for future transition to lifted FRI
p3-miden-prover
- Orchestrates proof generation with auxiliary trace support
- Includes LogUp argument implementation for permutation checks
- Constraint folding for auxiliary constraints
Upstream Compatibility
Core Plonky3 crates remain unchanged from upstream:
p3-field, p3-matrix, p3-commit, p3-challenger, p3-symmetric, p3-merkle-tree, p3-dft, p3-interpolation, p3-util
License
This project is dual-licensed under MIT and Apache-2.0.
Dependencies
~8–11MB
~117K SLoC