Skip to content

Bound one-sided generators by Strassen's convex order - #88

Merged
Autoplectic merged 2 commits into
mainfrom
strassen-stage
Dec 4, 2026
Merged

Autoplectic merged 2 commits into
mainfrom
strassen-stage

Conversation

@Autoplectic

@Autoplectic Autoplectic commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Summary

  • 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. 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.
  • Each master puts one atom in each cell of the cuts' common refinement and replaces -w log2 w by 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; certified needs 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 reports strassen_lower and strassen_certified per side and in the reliability summary, never in lower or certified (the bounds hold for C_g only 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.

run result
406 three-state census sides, 120 s each no bound above the census value (largest difference -6e-9); 2 certified, 10 within 1e-6, median bound 0.88 of the value
133 open C_g brackets (66 with both sides at most three causal states) lower end raised on 3; s3-n2-t0012-d4 closed, certified on both sides; none above an upper end
30 two-state processes, 600 s each 5 certified, 7 within 1e-6
generative_model_from_bidirectional(..., strassen_bound=True) on n3-t045-d3, 180 s stage ran in 76 s, reported beside lower

Test plan

  • tests/test_strassen_bound.py (22 tests)
  • full suite: 2987 passed, 13 skipped
  • ruff check, ruff format --check on the changed files
  • ty check sofic: no new diagnostics (202 on main and on the branch)

Ryan James 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.
@Autoplectic
Autoplectic merged commit 7a73dd1 into main Dec 4, 2026
10 checks passed
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