// ---
// tags: nox, rust
// crystal-type: source
// crystal-domain: comp
// ---
//! call โ non-deterministic witness injection (Layer 2)
//! look โ deterministic state read (BBG polynomial evaluation)
//!
//! the prover provides a witness; Layer 1 constraints validate it.
//! the verifier never calls provide() โ it checks the zheng proof.
//! look reads committed polynomial state โ same inputs always produce same output.
use Goldilocks;
use crate;
/// look provider trait โ deterministic BBG state reads
///
/// namespace: evaluation dimension of BBG_poly (0..9)
/// key: evaluation point within that dimension
///
/// returns Some(value) or None (= lookup unavailable)
/// null look provider โ always returns None (no BBG state available)
/// used for testing without an authenticated state layer
;
/// call provider trait โ the prover's interface to inject witnesses
///
/// extends LookProvider: every call provider also supports deterministic lookups.
/// NullCalls provides both (returning None for both).
/// null call provider โ always returns None (no calls or lookups available)
/// used for pure Layer 1 execution without privacy/search/BBG
;
nox/rs/call.rs
ฯ 0.0%