Repository navigation
feat(packages): the bootstrap pilot imports the stdlib; the vendored Text is deleted (PK-05, #161) - #165
Conversation
…xt as a source package (PK-05, Refs #161) Deletes bootstrap/src/Text.lex.tex and the equivalence assertion of BS-01, declares stdlib as a source package of bootstrap/, adds the root lexlean-workspace.toml, stages a project with its packages in xtask, and regenerates the bootstrap/ records. SPEC 10.5 states why version is required and why a package manifest declares builtin lexicon sources only. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AinddrUH9xHeNmR6FTWypN
|
Maintainer review: approved at 7440de2. Checked against #161's acceptance, item by item, on this head (which contains main
R3 order holds (register row + SPEC §31 row, scenario, "Closes #161" is justified. Merging with a merge commit, pinned to this head. Generated by Claude Code |
…3f0c7 into #155) Main moved under this branch with #162 (source packages), #153 (stdlib), #160 (bootstrap) and #165 (PK-05). The merge keeps this branch's side of the four points that matter (the 53 renamed private names of LexLeanText.lex.tex, legacy certificate E rendered with legacy_decoder() and no `import all`, SM-33, the decoder) and takes main's tree for every generated record, which is regenerated here. - register 404 (403 on main + SM-33): README, SPEC §31 total, table.len(), spec_links.rs set by hand; - language-1.2 compiler-semantics ID 91b3cb51... -> 63dd4c08...: every lock that carried the old one is substituted and `lock --check` is current; - regenerated in order: check-golden, check-fixtures, check-calculus, check-production-export, verify-examples (the language-1.2 examples, compiler, stdlib, bootstrap; languages 1.0/1.1 examples are untouched by this branch and were not rewritten), validate-model --write; - local checks passed: validate-model, validate-spec-links, check-test-inventory, check-golden, conformance_{sm_33,lm_02,sp_14,rt_02,rt_04,bs_01,pk_05,rp_07,rp_14, rp_11,sl_01,sp_05,sp_09}. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013QppGKetUURseXowZun9KY
Closes #161
Second and last part of #161, on main ea0a4ed (which has #162: source packages,
PK-01..PK-04, and the one language-1.2 identity move). This PR moves no identity; onlybootstrap/'s records change.What is here (
PK-05, register 403)bootstrap/lexlean.tomldeclaresstdlibas a source package (std);AxiomOutputimportsLexLeanStd.Textand callsLexLeanStd.Text::….bootstrap/src/Text.lex.tex(the vendored copy) is deleted.BS-01losesvendored_textand its equivalence assertion, and asserts the project holds noTextof its own and linksLexLeanStd.Text.lexlean-workspace.toml(members = ["bootstrap", "stdlib"]).P::bootstrap()stagesbootstrap/,stdlib/and the workspace file;xtaskstages a project that declares source packages with the members it needs (check-golden,check-reproducibility,verify-examples).bootstrap/README.mdno longer call anything temporary; SPEC §10.5 records that the two limits (versionrequired in[[source_package]]; a package manifest declares builtin lexicon sources only and noartifact_source/[pdf]) are deliberate and what lifts them.bootstrap/locks, oracles, verification records and the production-export packages are regenerated; nothing else moves.Acceptance of #161, by item
PK-03(tests/packages/workspace) andBS-01(bootstrap/importingstdlib/), no network.PK-01(LLC0105,LLC0105,LLC0106/LLR3009,LLC0107,LLS8001; alsoLLC0108for the workspace rule).PK-02coversLLR3009.bootstrap/pilot (feat(bootstrap): the axiom-output parser as language-1.2 source (BS-01) #160) and the stdlib (feat(stdlib): the first member, bytes and text over Bytes (#92) #153) use it; no vendored copy remains:PK-05.check-goldenleaves every 1.0/1.1 oracle untouched; the identity moved once, in feat(packages): source packages, a project imports the modules of a locked package (PK-01..PK-04) #162 (VERIFICATION.md, "source packages can fail").just vv: green on feat(packages): source packages, a project imports the modules of a locked package (PK-01..PK-04) #162's head; this PR's own run is the evidence for its head.Local evidence
Linux x86-64, Lean 4.32.1:
conformance_pk_01,pk_05,bs_01,sl_01,rp_07,rp_11,rp_14;validate-model(403 ids, 85 codes),validate-spec-links,check-test-inventory,check-golden,cargo fmt --check, clippy-D warnings.Generated by Claude Code