Skip to content

feat: Add Bytecode.Toplevel.execute for proof-free execution#324

Open
arthurpaulino wants to merge 1 commit intomainfrom
ap/aiur-execute
Open

feat: Add Bytecode.Toplevel.execute for proof-free execution#324
arthurpaulino wants to merge 1 commit intomainfrom
ap/aiur-execute

Conversation

@arthurpaulino
Copy link
Member

Introduce an execute API on Bytecode.Toplevel that runs Aiur bytecode without generating a proof or requiring
CommitmentParameters/FriParameters. Returns the raw function output and updated IOBuffer.

  • Lean: Bytecode.Toplevel.execute in Ix/Aiur/Protocol.lean
  • Rust FFI: rs_aiur_toplevel_execute in src/ffi/aiur/protocol.rs
  • Tests: Tests/Aiur/Common.lean exercises execute alongside prove
  • Refactor: extract decode_io_buffer/build_lean_io_buffer helpers to deduplicate IO buffer marshaling between execute and prove

Introduce an `execute` API on `Bytecode.Toplevel` that runs Aiur
bytecode without generating a proof or requiring
`CommitmentParameters`/`FriParameters`. Returns the raw function
output and updated `IOBuffer`.

- Lean: `Bytecode.Toplevel.execute` in `Ix/Aiur/Protocol.lean`
- Rust FFI: `rs_aiur_toplevel_execute` in `src/ffi/aiur/protocol.rs`
- Tests: `Tests/Aiur/Common.lean` exercises `execute` alongside `prove`
- Refactor: extract `decode_io_buffer`/`build_lean_io_buffer` helpers
  to deduplicate IO buffer marshaling between `execute` and `prove`
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.

1 participant