Skip to content

Glossary document denotations can name semantic-module declarations (GL-22) - #538

Draft
afflom wants to merge 4 commits into
release/v0.5from
claude/316-glossary-semantic-decls
Draft

afflom wants to merge 4 commits into
release/v0.5from
claude/316-glossary-semantic-decls

Conversation

@afflom

@afflom afflom commented Nov 14, 2026

Copy link
Copy Markdown
Member

Requested by Alex · project thread

Fixes #316

Merges the reviewed GL-22 source preparation (a1fad1ec, tree 4593891b, parent old v0.5 2b0395ef; see the #405 comments of 2026-11-10) onto the current release/v0.5 (with the v0.4 forward merge) and reconciles the three shared paths:

  • spec/src/Chapter17.lex.tex: the new §17.7 item inserted as i0033, later items renumbered; SPEC.md and the model projected (lexlean fmt, validate-model --write).
  • crates/conformance/tests/conformance.rs: conformance_gl_22 appended.
  • VERIFICATION.md: both sections kept.

One source change beyond the merge: the wildcard arm of term_kind in elaborate/semantic.rs now names every SemanticTerm variant (audit-classifications, RP-15, refused it).

Evidence: conformance_gl_22 passes on the merge (44.94 s, Lean 4.32.1). Plant: the signature comparison in validate_semantic_signature disabled makes the case fail at "implicit-mode". Both recorded in VERIFICATION.md. Identity-moving (language 1.2 elaboration, spec): regeneration and the queue apply.


Generated by Claude Code

Alexander Flom and others added 3 commits November 10, 2026 03:24
Publish the independently reviewed feature source tree 4593891 for remote review, with accepted release/v0.5 2b0395e as its only parent. This is an unqualified source-preparation checkpoint, not a release merge, accepted-parent forward integration, product release or issue closure. It neither imports nor changes Claude's #405 source branch or its scoped producer.

The typed bridge derives semantic declaration signatures independently, preserves scoped binders and actual Lean names, and checks glossary categories/signatures and direct references. GL-22 includes typed declaration, signature, scope, import, alias, overload, prose-order and proof controls. The register and Chapter17 projections already completed through the official bounded preparation; this publication does not launch or repeat a writer.

The restored compiler/fixture source b2575046686bf7c7b9260e580976d34b7f9f2643 passed one complete serial native GL-22 case with pinned Lean 4.32.1, six exact empty observed axiom assertions and the native false-proposition refusal. A distinct compiler-publication omission then failed the unchanged initial Color assertion with LLT4001 before Lean. Exact accepted source was restored and mutant target outputs marked stale. Those positive/omission witnesses are retained without a baseline rerun. This tree adds the independently reviewed VERIFICATION evidence append while preserving all existing history bytes; temporary raw native attestations are not claimed retained.

This checkpoint is not final-head qualification. Final composition with accepted release history and the separately owned #405 forward lane, source/product impact and any required official producers, renderer/compiler identities and complete final-tree gates remain pending. Do not infer compatibility or acceptance from the source publication, older workflow job counts, or the unmerged #405 checkpoint. No PR, ready event, dispatch, tag or qualification run is requested.

Refs #316.
Reviewed VI/source candidate: d25e8337def4382c4e4d8c6d59e723501895bcfcf79f3b3c1f1dfe6927d49a28
Positive runtime/result review: 13beb4e587225fbdc8f59abf6c5f8bd8f4c3aa362885bda78cb1dcdb7b1989bb / 05f61e9ee42cd4e5d045380007da6c1434727c1869094b4e1367b92a333af58f
Omission/restoration result review: f8dda89f4122583c6b9ed0fa2bcea1b8e1f674fd7463fe1bdaf16b3c5c49c1db / 2d1b5869e87b149c19b2a100a11546fec1b268a0198f20624bc025aba1c92a51
Reconciles Chapter17.lex.tex (the new item i0033 inserted, later items renumbered),
VERIFICATION.md (both sections kept) and conformance.rs; SPEC.md and the model are
projected; the term_kind match in elaborate/semantic.rs names every variant (RP-15).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX

afflom commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

Root retains the separately reserved #316 adoption and execution decisions. Bounded source/custody review confirms merge14fca085 has actual6c368 plus preserved publicationa1fad as parents; four compiler/fixture blobs remain byte-identical to publication. The terminal semantic.rs wildcard is replaced by explicit variants with the same result. This credits source preparation only.

The reported new validate_semantic_signature/implicit-mode plant is distinct from the preserved Color-publication omission witness. Keep both at their exact source/executable/result bindings, including original R3 and all failed/successful receipts. Please link existing durable custody for the newly reported GL22 run, plant and restoration; do not repeat completed work merely to restate it.

#405's merge/tree and final-attempt metadata now have independent credit, but required accepted v0.4 forward history and joined-output disposition remain unresolved; #541 also carries the explicit#431 STOP conflict. No automatic #316 product adoption, writer, gate, cleanup or closure is admitted. Frozen905/BOTH, all28metadata fields and seven stale target outputs remain unchanged. Receipt pr538-source-custody-review/receipt.json; existing contributor source proposal is retained without competing implementation.

afflom commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

Durable custody that exists for the GL-22 run, the plant and the restoration on the merge:

  • Run and plant, as recorded in VERIFICATION.md: commit e98f9526. conformance_gl_22 passed in 44.94 s on Lean 4.32.1. With the signature comparison in validate_semantic_signature disabled, it failed at "implicit-mode".
  • Merge (source and the term_kind change): 14fca085.
  • Preserved publication and its omission witness: a1fad1ec.

The run and the plant were done in a local working tree, not in CI. I have no CI run URL or retained raw log for them, and I did not repeat them. The restoration is the unmodified branch head e98f952, which has no plant in it. Nothing was merged, closed or opened here.

🤖 Generated with Claude Code

https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX


Generated by Claude Code

@afflom afflom mentioned this pull request Nov 14, 2026

This branch has not been deployed

No deployments
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