Repository navigation
#91 stage 4, H5a: the types, impls, and helpers of the std runtime as source (RB-20, RB-19, BS-09) - #298
Conversation
…ster statements, SPEC.md rows, and the failing named tests The std runtime's types, impls, and helpers become a second module, RuntimeStd; RB-20 states it, RB-19 states the associated function the validator learns for it, BS-09 the two plants that follow (648 crates). The tests are red: the module is not shipped, and the validator and its Lean twin refuse the associated call only by name.
…ociated-call rule and its twin, the printer's compound assignment, the library table
…s records what a call returned and counted, the handwritten runtime and the printed one agree on them, and the golden transcripts are recorded (the last pass of the differential)
|
Maintainer review of Blocking
Should fix
Nits: the miscount plants ( What checked out: Generated by Claude Code |
…rated at landing)
…ow, the SPEC.md row and paragraph, the scenario, the failing named test; RB-16, RB-17, RB-20 state the golden transcripts; the register order of RB-20 and two stale ranges
…ed, the cases compare the golden transcripts, and nothing holds runtime text but the printed modules
… into claude/issue-91-stage4-heap-h5
…--write, a changed-byte plant, and the statements say the comparison is against a recorded transcript of the removed oracle
…ranscript, its writer, and the red lines of the plants
|
Maintainer review of The round of The four conditions hold. (1) RB-21 ( Should fix
Nits: CHANGELOG.md:37 and Landing: #298 is the last identity wave of the heap half and lands after #297; the renderer and runtime-std records, the compiler-semantics ID, the locks and every bound record are mine then. With it, #91's heap half is complete on Generated by Claude Code |
…nts, the one transcript file named, the old counts, the module doc of runtime.rs, the unreachable decimal branch dropped, the decimal text's history and the largest module's Lean time
|
Maintainer: On #91's remainder after the heap half, decided here so the issue's record is explicit: the DoD line "every runtime item has its refinement statement kernel-checked" is not met by the heap half alone. The 14 Generated by Claude Code |
…overflow at u64::MAX (wrapping_add), so the transcript names index_list
…ed; statement, SPEC §17.23, CHANGELOG Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018vK7Tm6xHF5etAwKM6r9HG
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018vK7Tm6xHF5etAwKM6r9HG
…mantics identity; locks, goldens, calculus, packages, fixtures and provenance regenerated Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013QppGKetUURseXowZun9KY
…but the Atlas, on the moved identity Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013QppGKetUURseXowZun9KY
…een shard artifacts of the first gate run Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013QppGKetUURseXowZun9KY
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013QppGKetUURseXowZun9KY
The case checked that the scan read the runtime sources by comparing each repo-relative path with a forward-slash literal; on Windows the stripped path carries backslashes, so the first gate on x86_64-pc-windows-msvc failed with "the scan reads crates/lexlean/src/calculus/rust/runtime.rs" while the scan had read it. Normalising the separator is what the other cases that show paths already do. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013QppGKetUURseXowZun9KY
…e branch Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013QppGKetUURseXowZun9KY
…30-slice-4 The line gained #298, #309 (the 0.4.0 bump) and #318-#320 (release gate; register 457); conflicts were the register count (README.md, SPEC.md section 31 total, cases/repository.rs, xtask/src/spec_links.rs) and the CHANGELOG. The register is 460: the line plus this branch's three rows. The line records v0.4.0 as tagged at its own commit, so this branch's entry moves to a new Unreleased section above 0.4.0 instead of joining the released section. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Stacked on H4b (#297); draft. H5a of two commits on this PR (H5b follows as the second slice).
What
The std runtime's
Str,Bytes,Node,Repr,Listwith impls,chars, and theSame/Keyimpls are the language-1.2 moduleRuntimeStd(compiler project, shipped byte for byte atlanguage/rust-runtime-1.2/RuntimeStd.lex.tex), decoded, validated with the support items, and printed in place of the handwritten text (the closurewalkbecomes cursor loops). The decimal text stays handwritten (STD_DECIMAL) until H5b.Rows (statements amended, no new row; R3 commit ab3ebed first)
RB-20 (the module and its differential, now over lists of texts in four shapes, building/uncons order, text and byte equality/order, and lost types/impls), RB-19 (the associated-function rule), BS-09 (648 crates; twin port). Evidence, not proof: nothing new is kernel-checked here; the module's term is accepted by Lean.
Shipped-crate changes (plants)
rt_validate.rs: associated function of a declared type checked against its impl (plantsGauge::fresh(),Gauge::absent).rt.rs: printsx = x + easx += e(Clippyassign_op_patternrefused the first in rb_06/07/09).rt_decode.rs,runtime.rs:decode_std,std_types_from,std_base.RuntimeValidate:tyOwner,associatedArity,addAssociated,addImpl.rust_library.rs: rows forRc::*,mem::replace,str::from_utf8, imports,pop; unused rows removed.RENDERER_FILESthat move:runtime.rs(sorust_rendererandrust_runtime_stdregenerate at landing). Locks, goldens, packages and records are not committed.Measured
See VERIFICATION.md and the #91 comment: Lean 12 s, 295,564 KiB; BS-09 648 vectors agree.
Generated by Claude Code