Repository navigation
Conversation
…cenarios and failing named tests Rows, SPEC.md §31 rows, scenarios, and conformance_<id> tests only; the four tests fail because no case is wired. No implementation, no identity moves. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
#91 stage 4's) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
The reference interpreter, the TargetSemantics denotation, and the SPEC.md 17.14 cost rules charge Expr.value its weight (one for a scalar). The case conformance_tc_08 passes; the 14 fixtures with a literal heavier than one node, their generated statements, and compiler/lexlean.lock are not regenerated, so conformance_tc_01/03/04/05 fail on this tree until the maintainer sequences it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…-per-thread constant ItemDef::Constant (a thread-local cell and a clone per call) is lowered for a nullary, infallible function whose body is a closed literal with a heap type in rust-std; validate refuses a constant that calls or can fail; the machine reads it as the function it caches. conformance_rb_18 counts allocations under the pinned rustc, with the rebuilding rendering as a plant, and the calculus fixture cached-literal puts a constant in TC-07's differential. rb_01 and rb_07 wait on the maintainer's regeneration of the committed packages and the rust_renderer record. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…ed program The lowering folds an artifact definition's Nil/Cons-of-literals body to one Expr::Value, keyed on the declaration. Certificate A relates the source's cons chain to the literal by conv_value (stated for every Value), so the library does not grow. conformance_md_14 decodes each artifact file from its bytes and compares; conformance_sp_24 certifies and Lean-checks the models example and plants a wrong lemma. The committed models records (programs, crates, certificates) are not regenerated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
|
Sweep on this branch (unregenerated tree): So none of the Generated by Claude Code |
…e records of spec/src Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…mand and the limit of the text check Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
ItemDef.constant in RustSyntax with arms in RustSemantics; certificate B encodes it as itself; the rule (infallible, closed literal, no binding) is stated by validate and by the bootstrap RustValidate, held by five committed crates in the BS-05 differential; the library repairs its one lemma that eliminates ItemDef (findDispatch_some._f). A declared algebraic type is not a constant. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…pec/src; certificate B states the machine's constant Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
afflom
left a comment
There was a problem hiding this comment.
Maintainer review of SP-24 and MD-14 at 775bba0.
Verdict: ready with should-fixes. R3 order held (rows and tests from #228, implementation in 3d73651). The Corr library cost is zero: git diff pr238 pr239 -- language/ is empty, certificate A uses the existing conv_value (data_a/prove.rs:185-200; Core.lex.tex:1039, Corr p env (Expr.value t v) (Obs.value v)), no new lemma or constructor. The lowering folds only artifact declarations (production/source.rs:137-146, lower.rs:2512-2524), the classification is total, the cons spine is walked iteratively, and the new production code has no unwrap on user input. The machine's constant is covered: certificate B encodes each of the ten as ItemDef.constant and the B derivation is the nullary-function derivation over the literal. Rows are records in spec/src with validate-model and validate-spec-links at 438 on this head. With the three locks rewritten locally, conformance_md_14 passes and conformance_sp_24 passes its non-Lean half and then stops at the committed RustSyntax.lean lacking ItemDef.constant (the regeneration's).
Should fix
VERIFICATION.md:4102-4130has noCommand:line (§27.9; the TC-08 and RB-18 records have one) and says "Planted, three ways" before four items.- MD-14's plants 2 (
cases/models.rs:3950-3985) are self-checks on values the test builds (builds_per_callon a chain it just built;assert_ne!of a list it just changed): they do not run the case's detection against a planted lowering. Either apply the per-root checks to a mutatedlowered.program, or drop the "planted/detected" wording for them (plant 1,is_artifact→ false, is a real plant and is recorded with its message). - Add the certificate-B assertion from #238's review here, where the ten constants are counted: a certificate B text for a constant contains
ItemDef.constant. - PR body: "
conformance_md_14passes unregenerated" is stale on this head (it fails atLLC0102on the models lock and passes afterlexlean lock); say also thatconformance_sp_24on this head fails at the committedRustSyntax.leanuntil regeneration.
Notes
Certificate A's kernel check relates the lowered literal to its own value (conv_value has no source argument), as the existing SemanticTerm::Value path does; fidelity of the literal to the artifact's bytes is established only by MD-14's independent decoding (models.rs:3779-3830). State that split in the PR body. The (Nil|Cons, Value) branch in prove.rs:188-200 is keyed on shape, not on the artifact declaration; harmless while only artifacts fold, worth a comment. Type::heap() makes Option<List<_>> and Pair<List,_> literals constants too, broader than the statement's "list, string, or byte string" but as §17.16 says.
Order: the stack is on 42ce948 and does not merge with release/v0.5 at c00c252 (SPEC.md); the forward merge comes once #237 and #232 have landed, and the SPEC prose then moves into the chapter modules. The #230 repair of sem_value goes in first.
Generated by Claude Code
…alue v (weight v)) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…rust-constant # Conflicts: # VERIFICATION.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…ted, Then clause points at BS-05 and SP-24 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…, certificate B asserted, record has its command Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…rojection Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…ojection) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…PEC.md is their projection) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…d is its projection) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
…and MD IDs (RP-11) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
… has 446 IDs Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
|
Landing status: the regeneration of this stack under its new identity is done on the maintainer's tree (locks, goldens, calculus modules, production export, fixtures; the renderer record moved the identity once more and was folded in). One blocker before the verify sweep and the gate: which Generated by Claude Code |
…ctor counts On the regenerated corpus the seeded mutation search drew heap-list-match twice in 400,000 draws, below the three runs each refusal is held to, and any change of the base crates moves the draws. The refusal is therefore reached by three hand-built rust-core crates (BY_HAND_ONLY), asserted at least three times; the template leaves the seeded list. The regenerated corpus holds a constant crate, which brings constant-shape into the seeded search. Vectors: validateCrate 415 (172 refused), correspondCrate 270 (46 refused), 685 in all; evaluator 201 crates, 392 + 247 vectors, 500 seeded mutants with 270 and 260 refused. Restated in SPEC 17.23, the BS-05 row, the scenario and VERIFICATION.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ
|
Generated by Claude Code |
|
Maintainer status audit against current release/v0.5 at 2849449: this draft is still substantive, not superseded by another landing. The release has no artifact-specific Please resume this existing branch as the owner delivery for #115 rather than preparing a duplicate patch. Its stated prerequisite PRs #230 and #238 are closed without merging, so refresh the dependency/landing plan along with the v0.5 integration and recount already requested above. The earlier reported BS-05 heap-list-match corpus failure and final integrated regeneration/full gate still need current evidence; this read-only comparison does not claim to have rerun them. Keep #115 open until the artifact-as-data acceptance and final-tree checks are established. |
|
Not landed on Generated by Claude Code |
|
I merged release/v0.5 (6c36829) into this branch locally to check the v0.5 landing. The text conflicts resolve: IDs MD-14/RB-18/SP-24/TC-08 are free, Chapter17 ports cleanly, and BS-05 takes the line's one heap-list-match crate plus this branch's 5 constant crates. The real blocker is that v0.5's bootstrap Rust pipeline ( Generated by Claude Code |
Part of #115 (L3.2 of #106), PR 4 of the stack. Stacked on #238 (round two and its review fixes merged in) → #230 → #228.
Change.
production/lower.rs: an artifact definition (recognised bySemanticDeclaration::kind() == "artifact", not by the shape of a term) whose lowered body is aNil/Consspine of literals becomes oneExpr::Value. Any other definition that builds the same list keeps its construction, so no other root's program moves. The classification is total (Folding), as the RP-15 audit requires.data_a/prove.rs: a sourceNil/Conslowered to a literal is proved byconv_value, which the library states for everyValue. The branch is keyed on the shape (a comment says so): only an artifact's list folds, so no other definition meets it. No new lemma and noCorrconstructor for certificate A (measured on [0.5.0] Content-addressed artifacts as compile-time constants of production roots #115: [0.5.0] Content-addressed artifacts as compile-time constants of production roots #115 (comment)); this PR changes nothing underlanguage/.ItemDef.constant(from #115 PR 3/5: RB-18, a heap literal read from a function of no parameters is a once-per-thread constant #238).spec/src/IdsSP.lex.tex,IdsMD.lex.tex), scenarios, VERIFICATION.md record (with its command).What each certificate establishes (stated per review). Certificate A relates the lowered literal to its own value (
conv_valuehas no source argument, as the existing path for a scalar literal). That the literal equals the artifact's bytes decoded by the closed schemas is established only byconformance_md_14's independent decoding. Neither does the other's job.Tests.
conformance_md_14: lowers every root ofexamples/models, decodes each of the 8 artifact files by the closed schemas from its bytes alone, and runscheck_artifacts_as_dataon every root (each artifact definition is a literal equal to that decoding, 10 in R0..R2; no nullary function builds a list). Plants, all run through that same check: the fold disabled in the lowering (refused atRecognizer.outputBias), and on a clone of a real lowered program a literal turned back into its chain and an element changed (each returns its defect).conformance_sp_24(Lean): certifies the models example, stages and compiles every certificate A/B/E, audits the axioms, checks 10 literals render as 10Constants, asserts certificate B's text and data nameItemDef.constantexactly for the roots with a constant, and plants a wrong lemma for the literal (refused by Lean).Gates on this head. fmt, clippy
-D warnings,validate-model(438 ids),validate-spec-links,--test bdd. With the three machine modules regenerated and thecompiler/and models locks rewritten locally, none committed:conformance_md_14andconformance_sp_24pass (108 s).Without that regeneration (the unregenerated tree).
conformance_md_14fails atLLC0102on the committed models lock until it is rewritten;conformance_sp_24passes its non-Lean half and then fails at the committedRustSyntax.lean, which lacksItemDef.constant(and, in the library compile, the committedTargetSemantics.lean). Both are the landing regeneration's.Sweep. On the head before the #238 rework,
conformance_md_,_sp_,_pd_,_ne_,_px_,_ex_passed (70, 0 failed; comment on this PR); not re-run on this head.Wait for the regeneration (yours). Everything on #230 and #238, plus the committed
examples/models/expected/verify/preserve(programs, crates, certificates), theexamples/modelsandcompilerlocks, and any bundle that embeds them.Not established. Whether other consumers of the models records (
oraclecorpus, production-export bundles) include a root with an artifact.Type::heap()makesOption<List<_>>andPair<List,_>literals constants too, broader than the statement's wording, as §17.16 says. No fulljust vv.🤖 Generated with Claude Code
https://claude.ai/code/session_01NZLb4yopYgjBGQngfSuFeQ