Repository navigation
Conversation
MN-02 claimed the root's runtime closure contains no recursion. The source has none, but the package renders each list fold as a function that calls itself (UOR-Foundation/LexLean#105; docs/evidence/rendering.md already says so), so the claim was false of the shipped crate. MN-02 now states what holds: the admitted effects, and a stack depth bounded by the list lengths the 784-byte precondition fixes. conformance_mn_02 ties the statement to the crate: it finds the generated functions that call themselves and fails when there are none, which is the signal to restore the stronger claim once LexLean renders folds as loops. The README sentence that repeated the claim says the same. Refs #4, #3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Eo1UJoRXDrVSdkPw8UC35
A package whose generated functions no longer call themselves makes conformance_mn_02 fail with its restore-the-claim diagnostic; the committed package restored passes and names its 15 self-calling functions. Refs #4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Eo1UJoRXDrVSdkPw8UC35
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.
Item M1 of the completion plan #3, closes #4.
The false claim. MN-02 said the root's runtime closure contains no recursion. The source has none, but the committed package renders each list fold as a function that calls itself. This is UOR-Foundation/LexLean#105, and
docs/evidence/rendering.mdalready describes the fold drivers as recursive. 15 generated functions ofdist/packages/rust-std/mnist/src/lib.rscall themselves.The change.
CONFORMANCE.md, and the README sentence that repeated it) now states what holds: exactly theallocationandoverfloweffects; no recursion in the source; a stack depth bounded by the list lengths the 784-byte precondition fixes.conformance_mn_02keeps its eligibility checks and adds the fact: it finds the generated functions that call themselves and fails when there are none. That failure is the signal to restore the stronger claim once LexLean renders folds as loops (LexLean#105, item L0.1 of [0.5.0] Completion plan: optimal compilation for every production root LexLean#106).Falsified. A package whose generated functions no longer call themselves makes the test fail with
no generated function of the package calls itself: restore MN-02's claim of no recursion; the committed package restored passes. Recorded indocs/evidence/planted-defects.md.Checked locally, with Rust 1.97.0 (1.97.1 was not downloadable in this session) and LexLean built at the pinned 54f2ec41:
conformance_mn_01,_02,_03,_06pass;cargo fmt --check,cargo clippy --workspace --all-targets -D warningsandxtask check-modelpass. Theacceptancejobs fail onmaintoo (prismpm.lockis absent until #11); themodeljob is the gate this change must pass.🤖 Generated with Claude Code
https://claude.ai/code/session_013Eo1UJoRXDrVSdkPw8UC35
Generated by Claude Code