Repository navigation
Conversation
Source-only implementation for #434, preserving shared Decimal parse evidence, exact policies and frozen older-language files. Runtime/compiler identities and official products remain deliberately stale until the coordinated v0.5 wave. This known-incomplete source commit skips CI; final changed-head full acceptance and CI are mandatory before merge. No post-fix policy, output or certificate pass is claimed.
update bytes at byte is the byte string with the byte at `at` replaced, or none past its end. rust-std renders it as Bytes::update (update_bytes, Item.updateBytes, Machine.bytesUpdate, family 40), writing in place when the buffer is unique and copying, counted, when it is shared; the Lean runtime uses ByteArray.set!. RustStd states refines_update_bytes, certificate A gains prim_update_bytes, the preservation library's RustCorr, RustLemmas, and Primitives gain the cases of the new constructors (kernel-checked), and the bootstrap twins, conformance encoders and the RB-20 differential follow. The compiler-semantics ID moves; the records bound to it are regenerated (uor-atlas verification records excepted). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3Nk2H9geAZ2GKFCNvM
|
Was based on Generated by Claude Code |
SM-39..SM-41 are claimed on release/v0.4 (#493), so decimal formatting isolation is registered as SM-43. The generated projections are release/v0.5's, rewritten by the landing regeneration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
#441 lands first on release/v0.5; this head follows it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
Decimal formatting's runtime and certificate sources move the language-1.2 compiler-semantics ID to 6558e37caeeccfcdd86a54c31db6143364f4c8ae4a0c409c4d07dfaec5c11df2. Every tracked lock whose only change is that ID is relocked with the built compiler (267); LANGUAGE_1_2_SEMANTICS_ID takes the recomputed ID. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
release/v0.5 numbers the decimal machines 40..43, so the byte update is machine family 44 (item family 50 is unchanged): ast.rs, the certificate-B names, the bootstrap printer and validator, RustSyntax/RustSemantics (both the source and the committed Lean), and the conformance counts follow. The std crate, its refinement theorems and RuntimeStd gain update_bytes beside the decimal functions; every theorem unfolds the same definitions. Portable gains LexLeanRuntime.update over release/v0.5's slice. Generated outputs are release/v0.5's, rewritten by the landing regeneration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
The ToString operands of Portable, Fixed and RustLemmas were written under the node labels they replaced, but each new constant is a node of its own, so the labels after it named the wrong nodes (LLP2001: "this statement defines node 3602, not node 3600"). The edited statements are unchanged; `lexlean fmt` numbers the nodes again from symbolic labels. All 19 runtime and preservation modules are canonical. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
Portable and RustLemmas carry both changes: #437's ToString operands for formatting and this branch's LexLeanRuntime.update and its cases, numbered again by `lexlean fmt`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
The landing regeneration writes every generated output again; the ones this branch committed were made on its old base. rust_renderer records the merged renderer sources. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
The SPEC.md text of this branch is written into its chapter module, at the machine family release/v0.5 leaves free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
The canonical graphs move the ID to 8c54fe7b15d5ddf9ff9848559747031aaf161e3793ffa932e46c63e6df475972; written by `just relock-identity`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
Update joins the primitives nat_bitwise_function maps to None (the match v0.5 added), the merge marker left between refines theorems in RustStd is removed, and rust_runtime_std is written by `cargo xtask semantics-records --write` (#545). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
…olation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
…-core The byte update moves the ID to cddcb1b0bef5b765fcabe89be5e25ef0ec8a3b736049f058c782adb3df03be6f and the rust-core descriptor to 4bf56bf9 (the renderer record moves). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
The semantics records take #443's renderer and std runtime with this change's semantic_ir 17; README counts both landings (523). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
The isolated decimal formatting no longer reaches Classical.choice or Quot.sound, so the exact policy of the production-coverage root follows (LLV7005 on regeneration). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
Its lock came from #441 under that change's ID and was skipped by the relock (LLC0102 in fixtures-write). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3M8ULnzEQwLLngyBBX
The merge of release/v0.5 brought the fixture with release/v0.5's 1.1 identity (6dc2bc4d), while every other 1.1 lock on this branch carries bb4bccab, the ID this compiler computes. relock-identity moves only locks on the majority ID, so it kept the fixture back and the oracles writer saw LLC0102 (exit 2) instead of LLT4001 (exit 1). Written by `lexlean lock`; `check --all` now exits 1 with LLT4001. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
|
Fixed at the root.
Both regenerate refs were moved to these heads, which supersedes runs 43848401495 and 43848560938. The identity stage now moves all thirteen 1.1 locks together if the composed compiler moves the 1.1 ID. Generated by Claude Code |
The write recipes of SPEC.md §9.2, run by regenerate.yml (https://github.com/UOR-Foundation/lexlean/actions/runs/43860484653), rewrote 7084 paths. The counts writer reported: counts: no count moved
…o fmt) fmt-check on the delivered head reflows crates/lexlean/src/calculus/mod.rs and crates/conformance/src/cases/bootstrap/calculus_check.rs. Neither is a compiler-semantics input; layout only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy # Conflicts: # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R0.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R1.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R10.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R11.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R12.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R13.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R14.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R15.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R16.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R17.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R18.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R19.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R2.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R20.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R21.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R22.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R23.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R24.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R25.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R26.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R27.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R28.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R29.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R3.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R30.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R31.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R32.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R33.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R34.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R35.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R36.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R37.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R38.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R39.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R4.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R40.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R41.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R42.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R43.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R44.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R45.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R46.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R47.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R48.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R49.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R5.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R50.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R51.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R52.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R53.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R54.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R55.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R56.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R57.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R58.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R59.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R6.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R60.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R61.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R7.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R8.lex.tex # bootstrap/expected/verify/preserve/LexLeanPreserve/C2ee0173a5a920c78788fdf101ab63f44/R9.lex.tex # bootstrap/expected/verify/preserve/preservation.json # examples/helpdesk/expected/verify/preserve/LexLeanPreserve/Ccfc71ddbf027d937d1dc66cd11b44fde/R0.lex.tex # examples/helpdesk/expected/verify/preserve/LexLeanPreserve/Ccfc71ddbf027d937d1dc66cd11b44fde/R1.lex.tex # examples/helpdesk/expected/verify/preserve/LexLeanPreserve/Ccfc71ddbf027d937d1dc66cd11b44fde/R2.lex.tex # examples/helpdesk/expected/verify/preserve/preservation.json # examples/models/expected/verify/preserve/LexLeanPreserve/Ce1d7c2d7ad46d0ec6a462cf180203d1b/R0.lex.tex # examples/models/expected/verify/preserve/LexLeanPreserve/Ce1d7c2d7ad46d0ec6a462cf180203d1b/R1.lex.tex # examples/models/expected/verify/preserve/LexLeanPreserve/Ce1d7c2d7ad46d0ec6a462cf180203d1b/R2.lex.tex # examples/models/expected/verify/preserve/LexLeanPreserve/Ce1d7c2d7ad46d0ec6a462cf180203d1b/R3.lex.tex # examples/models/expected/verify/preserve/LexLeanPreserve/Ce1d7c2d7ad46d0ec6a462cf180203d1b/R4.lex.tex # examples/models/expected/verify/preserve/LexLeanPreserve/Ce1d7c2d7ad46d0ec6a462cf180203d1b/R5.lex.tex # examples/models/expected/verify/preserve/LexLeanPreserve/Ce1d7c2d7ad46d0ec6a462cf180203d1b/R6.lex.tex # examples/models/expected/verify/preserve/preservation.json # examples/performance-corpus/expected/verify/preserve/LexLeanPreserve/C8630037de2e192eb3ebca9b3fb8e13fe/R0.lex.tex # examples/performance-corpus/expected/verify/preserve/LexLeanPreserve/C8630037de2e192eb3ebca9b3fb8e13fe/R1.lex.tex # examples/performance-corpus/expected/verify/preserve/LexLeanPreserve/C8630037de2e192eb3ebca9b3fb8e13fe/R4.lex.tex # examples/performance-corpus/expected/verify/preserve/preservation.json # examples/production-coverage/expected/verify/preserve/LexLeanPreserve/C27e2f04c213e278fbc03706131f6c5f5/R10.lex.tex # examples/production-coverage/expected/verify/preserve/LexLeanPreserve/C27e2f04c213e278fbc03706131f6c5f5/R15.lex.tex # examples/production-coverage/expected/verify/preserve/LexLeanPreserve/C27e2f04c213e278fbc03706131f6c5f5/R30.lex.tex # examples/production-coverage/expected/verify/preserve/LexLeanPreserve/C27e2f04c213e278fbc03706131f6c5f5/R31.lex.tex # examples/production-coverage/expected/verify/preserve/preservation.json # examples/reasoning/expected/verify/preserve/LexLeanPreserve/C8fbfbdea3770d51a1234c8a63996d4f3/R2.lex.tex # examples/reasoning/expected/verify/preserve/LexLeanPreserve/C8fbfbdea3770d51a1234c8a63996d4f3/R3.lex.tex # examples/reasoning/expected/verify/preserve/LexLeanPreserve/C8fbfbdea3770d51a1234c8a63996d4f3/R6.lex.tex # examples/reasoning/expected/verify/preserve/preservation.json # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R0.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R1.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R10.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R11.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R12.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R13.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R14.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R15.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R16.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R17.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R2.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R3.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R4.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R5.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R6.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R7.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R8.lex.tex # kappa/expected/verify/preserve/LexLeanPreserve/C33b73b2e788713990dfe94c58c97a86e/R9.lex.tex # kappa/expected/verify/preserve/preservation.json # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R0.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R1.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R10.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R11.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R12.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R13.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R14.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R15.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R16.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R17.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R18.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R19.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R2.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R20.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R21.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R22.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R25.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R26.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R28.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R29.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R3.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R30.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R31.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R32.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R34.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R35.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R37.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R38.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R4.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R40.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R41.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R43.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R45.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R5.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R6.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R7.lex.tex # stdlib/expected/verify/preserve/LexLeanPreserve/C8c92b1912a54722a45e96237fa1abe16/R9.lex.tex # stdlib/expected/verify/preserve/preservation.json
|
Generated by Claude Code |
SP-06 requires every runtime construct of the registry to be exercised by a root of the certified examples; primitive.update had none. Coverage.Prims.updates is `prim update b i v : (Option Bytes)`, eligible for rust-std with exactly the allocation effect (its eligibility report names primitive.update and type.bytes as the sources). Its expected products are written by regenerate.yml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
|
Fixed in Generated by Claude Code |
What the CI on 9106296 found prim update had left out: - LM-09: the semantic-module-v2 schema's operation enumeration names `update`. - PD-01: the reviewed registry rows list primitive.update (runtime, allocating). - TC-06: `prim:update` allocates in the realization, as the registry says (it returns a new byte string). - SP-23/SP-29: the std runtime's machine calls end with bytesUpdate; SP-29's register row, scenario and SPEC row name update_bytes, bytesUpdate and the calculus primitive `update`. - RP-11: the README states the 523 IDs (SM-43 and SM-44). OR-02, RB-01 and SP-06 are met by Coverage.Prims.updates (95e0c6d). validate-model and validate-spec-links: 523 ids, clean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
|
The CI on
Generated by Claude Code |
The language-model audit lists update as a total primitive returning Option Bytes, and the byte-updates calculus fixture exercises it in range and past the end. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
afflom
left a comment
There was a problem hiding this comment.
Bounded review of the new source delta from 9106296 through 76164df credits the certified Coverage.Prims.updates root and the schema, PD-01, allocation, std-machine, SP-29 and README registration repairs. The latest commit also adds LM-09's update/option_bytes classification and calculus coverage for in-range and end-of-buffer updates. No new actionable defect was found in this delta; generated products and execution remain pending.
The schema change is a semantics input, so the earlier layout-only product receipt cannot qualify these additions. Reuse the existing producer 43899818065 at exact 76164df, then review its delivered products and resulting final-head/actual-tree acceptance. Keep canceled producers 43897616933 and 43894761302 separate. Existing owner retains implementation; no additional producer is requested. Reconcile the body's inherited family40 wording with the current registration.
Receipt pr443-7616-registration-review-20261116.json; SHA256 2fcedaced178904cf134d702b876ace43e712d1f36514df3ed77318260e300df. Full acceptance remains open.
… types The canonical rewrite of Portable (b209368) renumbered the node table but left the equation information of LexLeanRuntime.listIndex at its old numbers (type 4316, value 4354), two nodes before its type and its value. Lean then failed to generate listIndex.eq_1 in LexLeanCertification.Tail (GC-09): 'could not find .brecOn application'. The equations name 4318 and 4356 again. The notation now refuses equation information whose type is not the declaration's own type node, so a renumbering cannot strand it silently: 93 of the 94 equation records in the tree already held this, and the 94th was this one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
afflom
left a comment
There was a problem hiding this comment.
Bounded review of76164df1→6fe2cc41→7a5e84b5 credits the listIndex equation-record correction and the general formatter check rejecting eqn_info.type that differs from the declaration's type. This is a partial safeguard for #552: equation-reference remapping, value correspondence and a renumbering regression remain unestablished. The new source test covers matching/mismatched types; no independent test execution is claimed here.
The Option.zip rewrite preserves checked update outcomes; its additional eager conversion is pure. No new actionable defect was found in these three changed files. The PR body's family44 correction resolves the previous prose finding.
Existing owner retains the BS-07 certificate-size repair, #559's BS-11 repair/integration and resulting product/final-head/actual-tree qualification. Producer43909169458 is already active at7a5; keep canceled predecessors separate and use its eventual input-bound delivery. Current CI/repro failures do not qualify this head. No additional producer or competing patch is requested.
Receipt pr443-7a5-eqn-source-review-20261116.json; SHA256f65814e69ca60e50c94d18f7004e96104447e4f642cac4314e5d9e94a77f49ac.
#443 had merged the open #437 (decimal formatting through ToString, SM-43) several times. That change is not on release/v0.5 and the certification library is stated against the base formatting graph, so GC-09 refused LexLeanCertification.Factor (primitive.eq_3170 and match_29.eq_1 are not what the elaborator's construction makes once formatDecimal takes ToString). This branch now differs from release/v0.5 by the update primitive alone: - Portable is the base module plus LexLeanRuntime.update (112c5ee). - RustLemmas is the base module plus the update cases (42919b1). - Fixed, IdsSM, the semantic-ir feature, README and VERIFICATION are the base's. - The tostring_instance writer, the decimal_format case and the tests/decimal-format fixture are removed. #437 stays its own PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
The update arm gives TargetSemantics.primitive's 29th matcher another alternative. Every equation of that matcher, and its splitter, quantifies over all the alternatives, so the 42 native rows Factor kept were no longer what the elaborator's construction makes (GC-09: match_29.eq_1). Nothing in the library uses them; they were the reserved names its elaboration made. They are now derived rows, which the decoder has the construction remake, as the preservation library already does for matcher equations (Compose). GC-09 passes locally on this tree, relocked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
|
#443 now differs from release/v0.5 by the update primitive alone (34f88b9, b768135). This branch had absorbed the open #437 (decimal formatting through
The stale The update arm adds an alternative to GC-09 passes locally on this tree after relocking. BS-07's Generated by Claude Code |
afflom
left a comment
There was a problem hiding this comment.
Bounded scope review credits removal of the absorbed #437 decimal-formatting work. Fixed, IdsSM, semantic-ir.feature, README and VERIFICATION match the v0.5 base by blob identity. Portable's160 existing declarations match after node-reference normalization, with update as the sole added declaration. listIndex returns with the base graph; the general equation-type guard/test remain. RustLemmas' claimed base-plus-update equivalence was not independently established from its oversized content.
Factor changes42 equation rows plus one splitter—43 declarations—to derived rows. Within Factor, these names occur only in their declaration headers. The decoder reconstructs reserved names and checks existence/kind; derived rows intentionally cease asserting stored levels/type/value identity. Certificate A refuses a derived row without a stored type. This is bounded source credit, not blanket native-to-derived acceptance or an exhaustive whole-library unused-name claim. Empty-axiom policy and final verification still apply; local GC-09 success remains owner-reported.
No new actionable defect was found in the inspected delta. Existing owner retains BS-07 measurement, #559's BS-11 repair/integration and resulting product/final-head/actual-tree qualification. Producer43924107489 already runs atb768; canceled predecessors remain separate. #437 and #552's broader obligations stay open. No additional producer or retry requested.
Receipt pr443-b768-scope-review-20261116.json; SHA25614469dbebb2ed73247f57f1959819085054fcd9c4ac616c9655312c10db98a06.
The write recipes of SPEC.md §9.2, run by regenerate.yml (https://github.com/UOR-Foundation/lexlean/actions/runs/43924107489), rewrote 5675 paths. The counts writer reported: BS-05 COMMITTED_CRATES: 306 -> 307 (crates/conformance/src/cases/bootstrap/rust_validate.rs) BS-05 COMMITTED_FIXTURES: 122 -> 123 (crates/conformance/src/cases/bootstrap/rust_validate.rs) BS-05 COMMITTED_MANIFESTS: 330 -> 331 (crates/conformance/src/cases/bootstrap/rust_validate.rs) BS-05 COMMITTED_PROGRAMS: 247 -> 248 (crates/conformance/src/cases/bootstrap/rust_validate.rs) BS-05 EVALUATOR_CORRESPOND: 326 -> 327 (crates/conformance/src/cases/bootstrap/rust_validate.rs) BS-05 EVALUATOR_CRATES: 221 -> 222 (crates/conformance/src/cases/bootstrap/rust_validate.rs) BS-05 EVALUATOR_VALIDATE: 461 -> 462 (crates/conformance/src/cases/bootstrap/rust_validate.rs) BS-05 SEEDED_REFUSED_CORRESPOND: 253 -> 255 (crates/conformance/src/cases/bootstrap/rust_validate.rs) BS-05 SEEDED_REFUSED_VALIDATE: 273 -> 266 (crates/conformance/src/cases/bootstrap/rust_validate.rs) BS-05 VECTORS_CORRESPOND: 411 -> 412 (crates/conformance/src/cases/bootstrap/rust_validate.rs) BS-05 VECTORS_VALIDATE: 546 -> 547 (crates/conformance/src/cases/bootstrap/rust_validate.rs) BS-06 COMMITTED_CRATES: 306 -> 307 (crates/conformance/src/cases/bootstrap/rust_print.rs) BS-06 COMMITTED_DISTINCT: 612 -> 614 (crates/conformance/src/cases/bootstrap/rust_print.rs) BS-06 COMMITTED_FIXTURES: 122 -> 123 (crates/conformance/src/cases/bootstrap/rust_print.rs) BS-06 COMMITTED_MANIFESTS: 330 -> 331 (crates/conformance/src/cases/bootstrap/rust_print.rs) BS-06 COMMITTED_PACKAGES: 330 -> 331 (crates/conformance/src/cases/bootstrap/rust_print.rs) BS-06 COMMITTED_PROGRAMS: 247 -> 248 (crates/conformance/src/cases/bootstrap/rust_print.rs) BS-06 EVALUATOR_CRATE: 612 -> 614 (crates/conformance/src/cases/bootstrap/rust_print.rs) BS-06 RUSTC_SEEDED_RUNS: 2989 -> 2990 (crates/conformance/src/cases/bootstrap/rust_print.rs) BS-06 SEEDED_EXPR: 400 -> 397 (crates/conformance/src/cases/bootstrap/rust_print.rs) BS-06 VECTORS_CRATE: 785 -> 787 (crates/conformance/src/cases/bootstrap/rust_print.rs) BS-06 VECTORS_EXPR: 2272 -> 2273 (crates/conformance/src/cases/bootstrap/rust_print.rs) BS-07 VECTORS: 411 -> 413 (crates/conformance/src/cases/bootstrap/rust_lower.rs) BS-07 VECTORS_WITHIN: 309 -> 311 (crates/conformance/src/cases/bootstrap/rust_lower.rs) BS-08 CRATES: 444 -> 445 (crates/conformance/src/cases/bootstrap/rust_moves.rs) BS-08 WITHIN: 359 -> 360 (crates/conformance/src/cases/bootstrap/rust_moves.rs) BS-11 EVALUATOR_MUTANTS: 270 -> 251 (crates/conformance/src/cases/bootstrap/rust_bodies.rs) BS-11 VECTORS: 158 -> 160 (crates/conformance/src/cases/bootstrap/rust_bodies.rs) BS-11 VECTORS_WITHIN: 157 -> 159 (crates/conformance/src/cases/bootstrap/rust_bodies.rs) BS-12 EVALUATOR_MUTANTS: 153 -> 154 (crates/conformance/src/cases/bootstrap/rust_succeed.rs) BS-13 EVALUATOR_MUTANTS: 137 -> 125 (crates/conformance/src/cases/bootstrap/rust_loops.rs) BS-14 EVALUATOR_MUTANTS: 553 -> 527 (crates/conformance/src/cases/bootstrap/rust_assemble.rs) BS-14 VECTORS: 415 -> 417 (crates/conformance/src/cases/bootstrap/rust_assemble.rs) BS-14 VECTORS_WITHIN: 313 -> 315 (crates/conformance/src/cases/bootstrap/rust_assemble.rs) BS-15 ACCEPTED: 330 -> 331 (crates/conformance/src/cases/bootstrap/rust_package.rs) BS-15 MANIFESTS: 349 -> 350 (crates/conformance/src/cases/bootstrap/rust_package.rs) BS-15 RENDER_MUTANTS: 330 -> 331 (crates/conformance/src/cases/bootstrap/rust_package.rs) BS-05: §31 row: 122 -> 123 (x1), 221 -> 222 (x1), 247 -> 248 (x1), 306 -> 307 (x1), 330 -> 331 (x1) BS-05: the §31 row does not state 253 (-> 255) BS-05: the §31 row does not state 273 (-> 266) BS-05: the §31 row does not state 326 (-> 327) BS-05: the §31 row does not state 411 (-> 412) BS-05: the §31 row does not state 461 (-> 462) BS-05: the §31 row does not state 546 (-> 547) BS-05: register: 122 -> 123 (x1), 221 -> 222 (x1), 247 -> 248 (x1), 306 -> 307 (x1), 330 -> 331 (x1) BS-05: scenario: 122 -> 123 (x1), 221 -> 222 (x1), 247 -> 248 (x1), 306 -> 307 (x1), 330 -> 331 (x1) BS-06: 3057 is VECTORS_CRATE + VECTORS_EXPR: -> 3060 BS-06: §31 row: 122 -> 123 (x1), 247 -> 248 (x1), 330 -> 331 (x3), 612 -> 614 (x2), 785 -> 787 (x1), 2272 -> 2273 (x2), 2989 -> 2990 (x1), 3057 -> 3060 (x1) BS-06: the §31 row does not state 306 (-> 307) BS-06: register: 122 -> 123 (x1), 247 -> 248 (x1), 330 -> 331 (x3), 612 -> 614 (x2), 785 -> 787 (x1), 2272 -> 2273 (x2), 2989 -> 2990 (x1), 3057 -> 3060 (x1) BS-06: scenario: 122 -> 123 (x1), 247 -> 248 (x1), 330 -> 331 (x3), 612 -> 614 (x2), 785 -> 787 (x1), 2272 -> 2273 (x2), 2989 -> 2990 (x1), 3057 -> 3060 (x1) BS-07: §31 row: 309 -> 311 (x1), 411 -> 413 (x1) BS-07: register: 309 -> 311 (x1), 411 -> 413 (x1) BS-07: scenario: 309 -> 311 (x1), 411 -> 413 (x1) BS-08: §31 row: 359 -> 360 (x1), 444 -> 445 (x1) BS-08: register: 359 -> 360 (x1), 444 -> 445 (x1) BS-08: scenario: 359 -> 360 (x1), 444 -> 445 (x1) BS-11: §31 row: 157 -> 159 (x1), 158 -> 160 (x1), 270 -> 251 (x1) BS-11: register: 157 -> 159 (x1), 158 -> 160 (x1), 270 -> 251 (x1) BS-11: scenario: 157 -> 159 (x1), 158 -> 160 (x1), 270 -> 251 (x1) BS-12: §31 row: 153 -> 154 (x1) BS-12: register: 153 -> 154 (x1) BS-12: scenario: 153 -> 154 (x1) BS-13: §31 row: 137 -> 125 (x1) BS-13: register: 137 -> 125 (x1) BS-13: scenario: 137 -> 125 (x1) BS-14: §31 row: 415 -> 417 (x1), 553 -> 527 (x1) BS-14: the §31 row does not state 313 (-> 315) BS-14: register: 415 -> 417 (x1), 553 -> 527 (x1) BS-14: scenario: 415 -> 417 (x1), 553 -> 527 (x1) BS-15: §31 row: 330 -> 331 (x2), 349 -> 350 (x1) BS-15: register: 330 -> 331 (x2), 349 -> 350 (x1) BS-15: scenario: 330 -> 331 (x2), 349 -> 350 (x1) SPEC.md:8861: 158 -> 160 (every holder) SPEC.md:8788: 330 -> 331 (every holder) SPEC.md:8786: 444 -> 445 (BS-08) SPEC.md:8754: 309 -> 311 (every holder) SPEC.md:8748: 153 -> 154 (BS-12) SPEC.md:8748: 309 -> 311 (every holder) SPEC.md:8663: 330 -> 331 (every holder) SPEC.md:8660: 122 -> 123 (every holder) SPEC.md:8649: 2,989 -> 2,990 (every holder) SPEC.md:8646: 2,272 -> 2,273 (BS-06) SPEC.md:8646: 612 -> 614 (BS-06) SPEC.md:8643: 330 -> 331 (every holder) SPEC.md:8641: 2,272 -> 2,273 (BS-06) SPEC.md:8639: 330 -> 331 (every holder) SPEC.md:8638: 122 -> 123 (BS-06) SPEC.md:8638: 330 -> 331 (every holder) SPEC.md:8637: 247 -> 248 (BS-05) SPEC.md:8637: 612 -> 614 (BS-06) SPEC.md:8636: 785 -> 787 (every holder) SPEC.md:8636: 3,057 -> 3,060 (every holder) SPEC.md:8635: 330 -> 331 (every holder) SPEC.md:8577: 306 -> 307 (every holder) SPEC.md:8577: 221 -> 222 (every holder) SPEC.md:8572: 546 -> 547 (every holder) SPEC.md:8562: 306 -> 307 (every holder) SPEC.md:8561: 122 -> 123 (every holder) SPEC.md:8560: 330 -> 331 (BS-05) SPEC.md:8560: 247 -> 248 (BS-05) VERIFICATION.md rows for the landing (counts | before | after): | `BS-05` COMMITTED_CRATES, COMMITTED_FIXTURES, COMMITTED_MANIFESTS, COMMITTED_PROGRAMS, EVALUATOR_CORRESPOND, EVALUATOR_CRATES, EVALUATOR_VALIDATE, SEEDED_REFUSED_CORRESPOND, SEEDED_REFUSED_VALIDATE, VECTORS_CORRESPOND, VECTORS_VALIDATE | 306, 122, 330, 247, 326, 221, 461, 253, 273, 411, 546 | 307, 123, 331, 248, 327, 222, 462, 255, 266, 412, 547 | | `BS-06` COMMITTED_CRATES, COMMITTED_DISTINCT, COMMITTED_FIXTURES, COMMITTED_MANIFESTS, COMMITTED_PACKAGES, COMMITTED_PROGRAMS, EVALUATOR_CRATE, RUSTC_SEEDED_RUNS, SEEDED_EXPR, VECTORS_CRATE, VECTORS_EXPR | 306, 612, 122, 330, 330, 247, 612, 2,989, 400, 785, 2,272 | 307, 614, 123, 331, 331, 248, 614, 2,990, 397, 787, 2,273 | | `BS-07` VECTORS, VECTORS_WITHIN | 411, 309 | 413, 311 | | `BS-08` CRATES, WITHIN | 444, 359 | 445, 360 | | `BS-11` EVALUATOR_MUTANTS, VECTORS, VECTORS_WITHIN | 270, 158, 157 | 251, 160, 159 | | `BS-12` EVALUATOR_MUTANTS | 153 | 154 | | `BS-13` EVALUATOR_MUTANTS | 137 | 125 | | `BS-14` EVALUATOR_MUTANTS, VECTORS, VECTORS_WITHIN | 553, 415, 313 | 527, 417, 315 | | `BS-15` ACCEPTED, MANIFESTS, RENDER_MUTANTS | 330, 349, 330 | 331, 350, 331 | For a reader: BS-06 SEEDED_EXPR: 400 is also the value of ["EVALUATOR_CAP", "EVALUATOR_MUTANTS", "SEEDED_CRATE"]; rewrite its statements by hand (400 -> 397) SPEC.md:8573 still states 411 (-> 413 for BS-07?) before "of `correspondCrate` (104 refused), and" SPEC.md:8745 still states 411 (-> 413 for BS-07?) before "per root: the committed target programs" wrote /home/runner/work/lexlean/lexlean/CONFORMANCE.md and /home/runner/work/lexlean/lexlean/ERRORS.md written, with SPEC.md and the model projected again; next: the parts without LEXLEAN_COUNTS
|
honesty on b07b5aa: Generated by Claude Code |
afflom
left a comment
There was a problem hiding this comment.
b07b5aa is the direct generated child of reviewed b768135. Producer43924107489 completed all seven jobs, and its identity/part/combined/final artifact metadata remain bound to b768; that is production credit, not delivered-tree acceptance. TargetFixtures is generated by check-calculus, although it lives under compiler/src. The delivered source adds byteUpdatesProgram/Run/Outcome, while its committed TargetFixtures.lean build output has none, confirming the specific stale-product gap in owner6927794785.
The workflow exposes two ordering edges: records starts from original+identity without the newly generated fixtures, and the oracles leg itself runs golden-write before calculus-write. The smallest future owner fix is fixture emission before both golden publication and dependent records, with explicit artifact/input custody, reusing completed independent outputs. Existing second producer43946279519 is already running at b07; no additional run is requested. Await its delivered products and final qualification. Prior bounded source credit and all existing obligations/STOPs remain unchanged.
…get) With prim update, certificate A of CalculusCheck.siteTrees measured 3,166,544 bytes, 20,816 over three quarters of max_file_bytes (3,145,728). The 62 guarded typings in CalculusCheck bound the accepting and the refusing outcome (let yesN, let noN) and then selected one. Each now reads as one conditional over the two outcomes. The program computes the same results, and the two bindings and their environment entries leave every certificate of the closure. Measured part A of each root, written by the certificate generator on this tree: siteTrees 3,111,074 (34,654 below the bound) useTrees 3,112,500 deadFunctions 1,343,409 fallibleFunctions 1,073,690 lowerTypes 1,592,526 Chapter 17 states the new figures. Nothing is added to the closure of siteTrees. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
Vector counts add both lines' fixtures: rust_lower 419, rust_assemble 423. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
afflom
left a comment
There was a problem hiding this comment.
At2445e350 the new producer43958196397 has a distinct delivery blocker: oracles133629895631 checks out that exact head and applies identity, then golden-write fails on kappa LLC0102 (stale/noncanonical lock) at21:39:06Z. It never reaches fixtures/calculus or capture/upload, so its earlier golden console writes are not a delivered artifact. Please reconcile the kappa lock with identity-relock coverage while preserving its oracle; no retry or additional producer is requested. The prior fixture-ordering mechanism also remains in both2445 and5595106: golden precedes calculus, and records receives only identity.patch.559's shared __taken_true/false lemma repair is now present in source and preserves the explicit rewrite/transport path; its kernel, size and delivered-product qualification remain owed. Existing owners and prior source credit remain retained.
The merge of release/v0.5 took kappa/lexlean.lock from the merged line, whose compiler_semantics is release/v0.5's identity; every other lock of this branch carries the branch's, so relock-identity kept kappa's back and golden-write refused it as stale (LLC0102). `lexlean lock` in kappa/ moves only that line, and the regeneration's relock moves it with the rest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Asa3PPDQti4rghmmPSZGy
afflom
left a comment
There was a problem hiding this comment.
The new exact deltas are narrow: #443 (2445→6ba) and #559 (5106→023) change only kappa/lexlean.lock's compiler_semantics pin, a1477c2e→c0978bf3, matching the inspected compiler/collections pin. The oracle lanes of existing producers43962840356 and43962881592 now pass, resolving the specific prior Kappa writer blocker within those runs; exact-head repros also pass. This does not change general relock coverage or establish delivered products.
The fixture-ordering defect remains: the unchanged workflow still runs golden before calculus and gives records only identity.patch. Existing owners retain fixture-before-consumer custody and full delivered-head qualification; prior #559 shared-lemma source credit remains. No new producer or retry requested. Receipt pr443-559-lock-delta-review-20261116.json, SHA2566162107897144d2a48b4b321c0a316c83fa93e48dde040d8eb2e2609c3e3ff22.
Summary
Adds an in-place byte update primitive,
prim update. Programs get an O(1) table write, for match finders and adaptive models, where they previously needed a persistent tree with O(log n) cost and an allocation per write.TargetSyntax.Prim.update:update bytes at byteissomeof the byte string with the byte atatreplaced, ornonewhenatis past its end. TheTargetSemantics.primitivearm is inline and last, so the existing matcher numbering is unchanged.update_bytes(Item.updateBytes,Machine.bytesUpdate, machine family 44, as SPEC §17.16 numbers it after the merge of release/v0.5), printed asBytes::update(a, at, byte).RuntimeStd'sBytes::updatewrites in place throughRc::get_mutwhen the buffer is unique.RustStdgainsupdate_bytesand its refinement theoremrefines_update_bytes.PortablegainsLexLeanRuntime.updateviaByteArray.set!, in place when unique.prim_update_bytes.RustCorr,RustLemmasandPrimitivesgain the cases for the newPrim,ItemandMachineconstructors.slicesibling and substituting the constructor, then kernel-checked.RustLemmasgets one new helper theorem,wt_fixedTyped_update.CalculusCheck,RustPrintandRustValidatemirror the new primitive, item and machine.LAWSrow is added forupdate_bytes.update_bytessection. It runs every byte case at positions 0, 1, n/2, n-1, n, n+1 and MAX, with bytes 0, 0x5a and 255, each on a unique buffer and on a shared one.rust_rendererandrust_runtime_stddigestsVerification
cargo test -p lexlean --lib: 219 passed.lexlean verify --allincompiler/: all 38 modules verified, includingrefines_update_bytes.cargo xtask check-golden --write,check-calculus --write,verify-examples --writeandcheck-production-export --writewere run.Generated by Claude Code
Generated by Claude Code