Repository navigation
BS-50: the tables and predicates of the lexicon entry schema as source (#269) - #522
Draft
humuhumu33 wants to merge 3 commits into
Draft
humuhumu33 wants to merge 3 commits into
humuhumu33 wants to merge 3 commits into
Conversation
#269) LexiconSchema holds six production roots to lexicon::entry and lexicon::package: tokenIndex (the category, frame, channel, associativity and feature tokens), shapeFacts (frame_permitted, fixed_arity and the category facts), surfaceSafety (surface_safety over the atoms of BS-03, with is_math_safe_scalar), isLeanName, tomlCommentAt and entryPath. None admits recursion. The case holds them to the oracle on 838 named vectors, the committed lexicon entries and TOML files, and seeded inputs; 24 planted defects are each detected by their own vector. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ificate checks Certificate B of leanStep was rejected by the kernel (LLV7015 in regeneration run 43316802288): the preservation proof of an `if` whose condition is `(second st)` of a pair does not type-check. The condition now reads the flag through `segAt`, as every certified condition that is a call does; the two plant sites follow it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This was referenced Nov 13, 2026
This branch has not been deployed
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.
First slice of the lexicon closure of #269.
bootstrap/src/LexiconSchema.lex.texholds six production roots tolexicon::entryandlexicon::package:tokenIndex: the category, frame, channel, associativity and feature tokensshapeFacts:frame_permitted,Frame::fixed_arityand the category factssurfaceSafety:surface_safetyover the atoms of BS-03, withis_math_safe_scalarisLeanName,tomlCommentAt,entryPathNone admits recursion; all declare
allocationandoverflow.Case (
conformance_bs_50, run on WSL over26e5e0ace). 838 named vectors, the committed lexicon entries (1,064 forms, 725 Lean names, 1,007 entry IDs) and 2,738 TOML files, plus seeded inputs. The evaluator agrees on 8,317 runs and rustc on 18,500; all 24 planted defects are detected by their own vectors.Regenerated.
25a32dba5aapplies regenerate.yml run 43335516555 (base20cc174194): the export with LexiconSchema's six packages, the oracles, the verify records, and the counts of BS-05 to BS-08 and BS-11 to BS-15 (manifests 330 -> 336). Two commits before it:max_child_output_bytes = 268435456(the maintainer's decision), andsegAt, because the kernel rejected certificate B of anifwhose condition is(second st)of a pair (LLV7015 in run 43316802288; the message names the rootCalculusCheck.checkProgram, but the function isLexiconSchema.leanStep). Ready for the parent's batch landing; it stays a draft.🤖 Generated with Claude Code
Supersedes #500 (rebuilt onto release/v0.4 after RB-24 moved the compiler-semantics ID; the old branch and PR are left untouched).