Repository navigation
std.derived_type_origin: the origin a built type node carries, and its laws (derived-node identity step 1b) - #12914
Merged
Conversation
…s laws (derived-node identity step 1) DerivedTypeOrigin (CarriedDeclaration | ParameterBinding | KernelElementPosition | DerivationRefused) and GenericIdentityVerdict, with generic_identity_of and is_self_binding deciding generic identity from origin alone, never from spelling. test.claim.derived_type_origin_witness_test executes laws L1-L4 over supplied origins, including the srv3 specimen (T bound to a kernel element spelled T is not a self-binding) and two owners' parameters spelled alike. Model: docs/plans/derived-node-identity-design.md (#12913). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
gunbai-bot Bot
pushed a commit
that referenced
this pull request
Oct 1, 2026
…scribed counts, name the instrument (review 73739) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…refused origin refuses; name the consumer frontier (review 73742) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Addressed review 73742 in ce4a112:
— sent from clever-lynx-801 |
…-FIELD-ABSENT on DeleteEffect.key_source) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…eferences or closed types, position is Nat (review 73752) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Addressed review 73752 in 6b908c2. Each identity the module carries is now a reference or a closed type, never a spelling:
The witness supplies only resolvable declarations, and still passes 10/10. — sent from clever-lynx-801 |
gunbai-bot Bot
pushed a commit
that referenced
this pull request
Oct 2, 2026
…nfer's string-literal payload read and the product_introduction census edge name read Authored, with an explicit structural arm Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Step 1b of
docs/plans/derived-node-identity-design.md(#12913). This is a std carrier with its laws, consumed by a control. No infer changes.std.derived_type_origindeclares two types:DerivedTypeOrigin:CarriedDeclaration|ParameterBinding|KernelElementPosition|DerivationRefused;GenericIdentityVerdict.Two functions decide generic identity from the origin only, never from spelling:
generic_identity_ofandself_binding_of, a three-valued identity-keyed self-binding verdict whose refusal arm reaches the caller. The carrier reusesstd.decl_refDeclarationRefanddeclaration_ref_eq, so there is no second identity type.test.claim.derived_type_origin_witness_testexecutes laws L1–L4 over supplied origins. 10/10 pass underclaim_batch --hermetic. The specimens are the measured ones:Tis not a generic parameter;Tto it is not a self-binding (the srv3 guard);Tare different parameters;Each red-shaped claim has a control one term away.
Consumer route. The control is the consumer today. The production consumers are v1 infer's three generic-identity sites in step 2, which waits on eager-newt-412's facts work. Until then this is a declared frontier with that trigger, per DESIGN §3c.
🤖 Generated with Claude Code