Skip to content

feat(frontier): realize handled free programs on polynomial-time machines - #511

Open
dtumad wants to merge 2 commits into
mainfrom
dtumad/review-frontier-realization
Open

dtumad wants to merge 2 commits into
mainfrom
dtumad/review-frontier-realization

Conversation

@dtumad

@dtumad dtumad commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Installing a two-read handler changes how a free program branches. On the tape
[false, true, false, true], the one-read handler returns false with three bits
left. The two-read handler returns true with an empty tape. PPTProgram.substitute
uses the handler composition law to carry the derivation through installation.
Branching example

Samuel Schlesinger's polytime tactic proves the primitive word-operation bound
in cslib-frontier. The scoped-term theorem composes these bounds. PolyFun then
combines local steps and handled requests into a uniform machine realization. Its
output law holds on encoded inputs, and its polynomial clock bounds every supported
run on every input word. Scoped bound · Machine construction

In ElGamal, the reduction asks the adversary to choose and remember two messages,
draws a challenge bit, and asks for a guess. VCVio installs those procedures and
identifies the resulting machine's output with its original reduction. ElGamal walkthrough ·
Handled reduction · Machine equality · Security bound

Stable and Frontier builds passed, including the branching regression. Stable checks · Frontier checks

Depends on #510.

The full downstream implementation and proofs are open in Verified-zkEVM/VCVio#1206.

dtumad and others added 2 commits November 25, 2026 23:29
…bound

Co-Authored-By: Codex <noreply@openai.com>
…ines

Instantiate scoped terms on framed word inputs and carry a compositional proof through handler installation. The chosen finite machine realizes the installed program with one polynomial clock. Check the complete two-read branching example and its tape semantics.

Co-Authored-By: Samuel Schlesinger <SamuelSchlesinger@users.noreply.github.com>
Co-Authored-By: Codex <noreply@openai.com>
@dtumad
dtumad force-pushed the dtumad/review-frontier-realization branch from 55b625e to b2d0e22 Compare November 25, 2026 23:29

This branch has not been deployed

No deployments
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