feat(uc): add reassociation-stable scheduler model - #174
Open
quangvdao wants to merge 1 commit into
Open
Conversation
quangvdao
force-pushed
the
codex/uc-scheduler-frontier
branch
from
August 29, 2026 04:15
674b328 to
e5395b3
Compare
This was referenced Aug 29, 2026
quangvdao
force-pushed
the
codex/uc-scheduler-frontier
branch
from
August 29, 2026 05:27
e5395b3 to
0288b73
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The legacy UC process model installs the same Boolean sampler at every binary composition node. Consequently, a three-component system gives different effective scheduling weights to its leaves depending on whether it is parsed as
(P ∥ Q) ∥ C,P ∥ (C ∥ Q), orQ ∥ (C ∥ P).This PR adds the generic, probability-free foundation for fixing that problem:
ScheduleMassrecords a strictly positive frontier weight and adds under composition.BinarySchedulerreceives the masses of both subtrees instead of blindly flipping the same Boolean sampler.IsFlatstates the key semantic law: every hierarchical three-way draw agrees with one parenthesization-free flat draw;IsCoherentderives the swap and reassociation laws needed by UC factorization.ScheduledOpenProcesspreserves the existing binary process representation while carrying total frontier mass and using the mass-aware scheduler at composition nodes.IsFlatpremise is substantive.This is deliberately probability-neutral. The next PolyFun slice is #176, and the concrete downstream
ProbCompscheduler and its exact denotational flatness proof are in Verified-zkEVM/VCVio#572.Validation
./scripts/validate.sh --lint --test --axioms