Skip to content

Optsponge#107

Open
martyall wants to merge 4 commits intomainfrom
optsponge
Open

Optsponge#107
martyall wants to merge 4 commits intomainfrom
optsponge

Conversation

@martyall
Copy link
Member

No description provided.

martyall and others added 4 commits February 26, 2026 15:28
Add sponge_and_challenges circuit JSON comparison test verifying exact
constraint system match with OCaml for the Fiat-Shamir transcript
reconstruction: OptSponge challenge digest, polynomial eval absorption,
xi/r squeeze and endo expansion. 1392 gates, 0 differences.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds the combined_inner_product sub-circuit with exact JSON match
against OCaml (357 gates, 0 differences). Implements:
- Challenge polynomial evaluation via bPolyCircuit (sg_evals)
- Horner evaluation scheme matching OCaml's combine_split_evaluations
- Two separate combines (zeta/zetaw) with correct right-to-left ordering
- Type1 shifted value comparison for claimed CIP

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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