Repository navigation
docs(language): the relations page shows a variable masked by a bare relation, so it exists only at the pairs the relation lists - #946
Merged
Conversation
…relation, so it exists only at the pairs the relation lists Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0113aUbLChfQVBrVR5FVQnJq
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0113aUbLChfQVBrVR5FVQnJq
This was referenced Oct 23, 2026
Open
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
The "Tests" section of the relations reference gains a worked example. A variable masked by a bare relation,
where: connection, has a column only at the listed(generator, bus)pairs, so a balance adds up only the wired generators.Method, gates, and what was not done
Method. The page's full YAML block was loaded with
python -m mathspec check. The two equations under it are copied fromto_markdownof that spec, with\left( g,\ b \right)written as(g, b).Gates. pixi is not installed in this container, so the gates ran in a uv venv on Python 3.13, with
zensical==0.0.63. They ran onorigin/mainat13fba32, plus this commit.pytest -q -n auto: 3063 passed, 3 skipped.python -m zensical build --strict: no issues.prettier --checkandtypos --force-excludeon the page: clean.compile-texwas not run, because the container has no tectonic. The PR changes no spec in its corpus.Not done. On
main, the only examples of a relation as a mask were on constraints:looked_upon the linear-maps page, andconnectedon the notation page. This adds the variable case only. A parameter masked by a relation is #945, which is stacked on #894 and does not touch this page.Why
#935 asks how a quantity over several dimensions can be limited to the valid combinations. For a variable, the language can already say this. The page now shows it, so #935 and #945 can link to
main.Generated by Claude Code