0xMiden / 0xMiden/air-script

Implement Plonky3 `AirBuilder` main trace constraints code generation

Aperta
#450 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
codegen
Lingua principale
Rust
Stelle
96
Fork
39
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

In light of upcoming support for Plonk3, we should start implementing support for generating constraints using the [`AirBuilder`](https://github.com/Plonky3/Plonky3/blob/main/air/src/air.rs) interface. There are several examples in the plonky3 repository on how to implement it, such as [`keccak`](https://github.com/Plonky3/Plonky3/blob/main/keccak-air/src/air.rs).

We should focus on outputting the main trace constraints before handling bus constraints in the auxiliary trace, though these should be easy to support once the main ones are handled.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Study the Plonky3 repository's AirBuilder interface and the keccak-air example to understand how constraints are defined. The main trace constraints generation code needs to be added to air-script, likely in a module responsible for code generation. Start by examining existing constraint generation logic and map it to the AirBuilder methods. Verify the output by testing with a simple AIR program.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
compilers
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.