proof-cat 0.3.0

PLONKish bridge to sumcheck proving (built on proof-cat-core)
Documentation
//! proof-cat: PLONKish bridge to sumcheck proving.
//!
//! Given a [`ConstraintSet`](plonkish_cat::ConstraintSet) (the output of
//! `plonkish_cat::compile`) and a satisfying [`Witness`](prove::Witness),
//! this crate produces a cryptographic [`Proof`](prove::Proof) that the
//! witness is valid, without the verifier needing to know the witness.
//!
//! # Architecture
//!
//! ```text
//! plonkish_cat::compile(graph, path) -> ConstraintSet<F>
//!                                            |
//!                            proof_cat::prove(constraints, witness)
//!                                            |
//!                                        Proof<F>
//!                                            |
//!                            proof_cat::verify(constraints, proof)
//!                                            |
//!                                       Ok(true)
//! ```
//!
//! Internally the proof uses the **sumcheck protocol** over
//! multilinear polynomials, with a **Merkle tree** commitment to
//! the witness.  The sumcheck protocol, Merkle commitment,
//! multilinear polynomial type, and Fiat-Shamir transcript all
//! live in [`proof_cat_core`] so they can be shared with
//! STARK-flavored downstreams.
//!
//! # Modules
//!
//! - [`prove`] -- End-to-end proof generation and verification.
//! - [`error`] -- The hand-rolled [`Error`] enum.
//!
//! Field types live in [`field_cat`].  Sumcheck, multilinear
//! polynomial, Merkle tree, and transcript primitives live in
//! [`proof_cat_core`].

pub mod error;
pub mod prove;

pub use error::Error;
pub use prove::{Proof, Witness, prove, verify};