Repository navigation
Bound one-sided generators by Strassen's convex order - #88
Merged
Merged
Conversation
added 2 commits
December 4, 2026 08:59
New sofic.generators.strassen_bound: strassen_lower_bound(bidir) bounds from below the state entropy of every generator that is sufficient on one side, with any number of states. Such a generator is a law on the simplex of beliefs that dominates its image under the belief updates in convex order (Strassen 1965), so it passes every concave piecewise-linear cut. The bound is found by cutting planes on sides with at most three causal states; each master replaces -w log2 w by its chords, an SOS2 MILP solved by SCIP, since SCIP's spatial branch and bound on the logarithm returned bounds above a known generator's entropy on 13 of 406 census sides. generative_model(..., strassen_bound=True) runs it after the simplex-chain search and reports strassen_lower and strassen_certified per side, never in lower or certified. The stage is skipped on truncated and exploding builds, for the Wyner objective, and without PySCIPOpt. Validated with 30 cuts per side: no bound above the census value on the 406 three-state sides at 120 s each, one open bracket closed and three lower ends raised, and 5 of 30 two-state processes certified at 600 s.
The changelog and the generator docs said that SCIP's spatial branch and bound on -w log w returned bounds above a known generator's entropy on 13 of 406 census sides. Say also that 7 of those were small (1.8e-6 to 2.6e-5 bits) and that it called the master infeasible on 3 more sides, each of which has a generator.
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
sofic.generators.strassen_bound:strassen_lower_bound(bidir)bounds from below the state entropy of every generator that is sufficient on one side, with any number of states. A reverse-sufficient generator is a law on the simplex of beliefs that dominates its image under the belief updates in convex order (Strassen 1965), so it passes every concave piecewise-linear cut; the bound is the least entropy over laws with the right mean that pass the cuts, by cutting planes from the canonical-heights cut of the side's chain, on sides with at most three causal states.-w log2 wby its chords (an SOS2 MILP, Beale & Tomlin 1970, solved by SCIP). SCIP's spatial branch and bound on the logarithm returned bounds above a known generator's entropy on 13 of 406 census sides (by 0.09 to 1.86 bits on 6) and called the master infeasible on 3 more, so it is not used. Failed rounds are retried with looser settings;certifiedneeds a solved master whose minimizer passes separation and the coupling LP.generative_model(..., strassen_bound=True)runs the stage after the simplex-chain search, seeded with its chains, and reportsstrassen_lowerandstrassen_certifiedper side and in the reliability summary, never inlowerorcertified(the bounds hold forC_gonly if some minimal generator is one-sided, which is open). Skipped on truncated and exploding builds, for the Wyner objective, and without PySCIPOpt.Validation
30 cuts per side.
-6e-9); 2 certified, 10 within1e-6, median bound 0.88 of the valueC_gbrackets (66 with both sides at most three causal states)s3-n2-t0012-d4closed, certified on both sides; none above an upper end1e-6generative_model_from_bidirectional(..., strassen_bound=True)onn3-t045-d3, 180 slowerTest plan
tests/test_strassen_bound.py(22 tests)ruff check,ruff format --checkon the changed filesty check sofic: no new diagnostics (202 onmainand on the branch)