Skip to content

feat(language): a where may compare arithmetic over parameters, so an assumption can say what a formula has to satisfy - #466

Closed
FBumann wants to merge 2 commits into
claude/zealous-archimedes-k13bq7from
claude/zealous-archimedes-k13bq7-expressions
Closed

FBumann wants to merge 2 commits into
claude/zealous-archimedes-k13bq7from
claude/zealous-archimedes-k13bq7-expressions

Conversation

@FBumann

@FBumann FBumann commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Note

The following content was generated by AI.

Closed: the same change now targets main directly, since it applies to every where and not only to assumptions:. The replacement carries the change rebuilt on main; #465 is rebuilt on top of it, so the stack reads arithmetic-in-a-where first, assumptions second.

🤖 Generated with Claude Code

https://claude.ai/code/session_013HceuCYNepeQX8SdZtiMf1

… assumption can say what a formula has to satisfy

Either side of a comparison in a where string may be an expression, read as
an expression is: macros and named expressions expand, every operator keeps its
rule, and a variable or a dual is refused. Resolution types it as
`ArithmeticComparisonNode` over the core syntax tree for the spec-side readers;
lowering rebuilds every mask with `ExpressionComparisonNode` over program
expressions, so a program's masks are program vocabulary throughout. The
expression form stands aside for the plain shapes, so `p > 0` keeps its node.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013HceuCYNepeQX8SdZtiMf1
…'s own heading

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013HceuCYNepeQX8SdZtiMf1
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.

2 participants