Skip to content

CLAUDE.md: a new variant is an element of its interface's list - #4708

Merged
alex merged 2 commits into
mainfrom
claude/vg-docs-variant-lists
Nov 8, 2026
Merged

alex merged 2 commits into
mainfrom
claude/vg-docs-variant-lists

Conversation

@alex

@alex alex commented Nov 8, 2026

Copy link
Copy Markdown
Member

Part of #4548. This is stacked on #4706. It changes documentation only.

The variants of a function are now one list, best first (Proof/Variants/<Iface>/<Target>.lean), and its callers' registrations map over that list. So a new variant edits that one list and none of its callers. Two places in CLAUDE.md now say so:

  • "An optimized implementation reaches everything built on it" used to say a variant reaches its callers "without anyone listing it". It now says the variant is added to its interface's list, best first.
  • "Keeping parallel PRs from conflicting" now names that list as the one exception to adding files rather than editing lists. Only the PRs about that one function's implementations edit it.

Generated by Claude Code

@alex
alex force-pushed the claude/vg-tcb-no-qualified-name branch from 36ec3a2 to 212a532 Compare November 8, 2026 20:43
@alex
alex force-pushed the claude/vg-docs-variant-lists branch from cc2bcfd to da618d3 Compare November 8, 2026 20:43
@alex
alex force-pushed the claude/vg-tcb-no-qualified-name branch from 212a532 to 7017272 Compare November 8, 2026 21:22
@alex
alex force-pushed the claude/vg-docs-variant-lists branch from da618d3 to 599a430 Compare November 8, 2026 21:22
@alex
alex force-pushed the claude/vg-tcb-no-qualified-name branch from 7017272 to 915788b Compare November 8, 2026 21:46
@alex
alex force-pushed the claude/vg-docs-variant-lists branch from 599a430 to fd3d06a Compare November 8, 2026 21:46
@alex
alex force-pushed the claude/vg-tcb-no-qualified-name branch from 915788b to 0a60d26 Compare November 8, 2026 22:01
@alex
alex force-pushed the claude/vg-docs-variant-lists branch from fd3d06a to 879e67e Compare November 8, 2026 22:01
@alex
alex force-pushed the claude/vg-tcb-no-qualified-name branch from 0a60d26 to 4153c78 Compare November 8, 2026 22:27
@alex
alex force-pushed the claude/vg-docs-variant-lists branch from 879e67e to f420b30 Compare November 8, 2026 22:27
Base automatically changed from claude/vg-tcb-no-qualified-name to main November 8, 2026 22:41
Since the variants of a function are a list
(`Proof/Variants/<Iface>/<Target>.lean`) and its callers' registrations
map over it, a new variant edits that list, best first, and none of its
callers: say so, here and as the one list "Keeping parallel PRs from
conflicting" allows.

Part of #4548.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TKUFHFjAR7Byf513R4zuFy
It no longer takes generic groups, which no longer exist: a generic
caller's instances are in its registration file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TKUFHFjAR7Byf513R4zuFy
@alex
alex force-pushed the claude/vg-docs-variant-lists branch from f420b30 to b3f9001 Compare November 8, 2026 22:41
@alex
alex enabled auto-merge November 8, 2026 22:41
@alex
alex added this pull request to the merge queue Nov 8, 2026
Merged via the queue into main with commit 3c9431f Nov 8, 2026
20 checks passed
@alex
alex deleted the claude/vg-docs-variant-lists branch November 8, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants