Conversation
A layer reads what another model holds and adds math of its own. It reads a column through `given_variables:`, which #507 added, and now the dual of a row family through `given_constraints:` — a frame and nothing else, because the body is the owner's and a sense written here would be a claim no file could check. `dual(balance)` is the only place one may be named, and the frame is what gives the reported expression its dimensions. The program carries both groups, apart from the ones it builds. That is the distinction a builder needs and nothing else can supply: `variables` is a column to create, `given_variables` is a column to bind. Creating one instead of binding it would be a second column nothing else refers to, in a model that solves and is wrong. `reading.md` states the three things a consumer owes them: bind each name, check the frame, and refuse what it cannot bind. So `to_program` no longer refuses a file that reads what it does not build. That rule fitted a library, where `merge` folds each given declaration into the file that introduces it; a layer has nothing to fold into. What replaces it is a note from `advice`, under a third kind, naming each declaration a consumer has to bind. The two tests that asserted the refusal now asserts what the program carries instead. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CA5v9XJvgYViUHP7hSiKPU
Documentation build overview
15 files changed ·
|
This was referenced Sep 16, 2026
FBumann
added this pull request to stack #512
September 17, 2026 06:48
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CA5v9XJvgYViUHP7hSiKPU
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.
Note
The following content was generated by AI.
What this changes
A layer reads what another model holds and adds math of its own. It reads a column through
given_variables:, and now the dual of a row family throughgiven_constraints:.The program carries both groups apart from the ones it builds. That is the distinction a builder needs and nothing else can supply:
variablesis a column to create,given_variablesis a column to bind. Creating one instead of binding it is a second column nothing else refers to, in a model that solves and is wrong.senseis gone, and that is deliberate#452 required a
senseon a given constraint so a dual could be read against the right sign. The layer does not normalise anything — the number comes back under the host's convention andprice * loadmultiplies whatever it gets. What the field bought was a claim no file could check and no consumer was obliged to check.dimsis the opposite: it is required, because the reported expression has no dimensions without it, and it is the one claim a binder can settle against the host. So the section carries a frame and nothing else.The rule this replaces, and where its coverage went
#507 had
to_programrefuse a file that reads what it does not build. That rule fitted a library, wheremergefolds each given declaration into the file that introduces it. A layer has nothing to fold into, so the refusal would make the case impossible.What replaces it:
advicegains a third kind,given, naming each declaration a consumer has to bind.ADVICE_KINDSgrows, andtest_advice.py's claim that the fixtures produce every kind now reads across two fixtures instead of one.program.variablesholds only what it builds,program.given_variablesonly what it binds, and the frame is there for the binder to check.reading.mdgains what a program does not build, which states the three things a consumer owes these groups: bind each name, check the frame, refuse what it cannot bind. Its examples are executed bytests/test_reading_page.pylike every other claim on that page.What a layer prints
The
Givenlegend lists both, and the dual renders where the reported expression uses it: