Repository navigation
probe(cg-5): def-use rows closed by egglog classify division sites - #2007
Draft
AdaWorldAPI wants to merge 4 commits into
Draft
AdaWorldAPI wants to merge 4 commits into
AdaWorldAPI wants to merge 4 commits into
Conversation
…XO-237) Lab crate cg-defuse-probe (own workspace root) and the extractor, mutants and disable script under .claude/probes/2026-11-11-cg5-defuse. Three arms: egglog in proofs mode over def-use rows from Charon LLBC, a plain fixpoint over the same rows, and a source-only scan. Read-only: no rewrite, no lowering, no per-query path. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMPJjVvasjwqhjJ6c9p
…ever needs Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMPJjVvasjwqhjJ6c9p
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMPJjVvasjwqhjJ6c9p
… 11 Rem) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMPJjVvasjwqhjJ6c9p
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This branch has not been deployed
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.
CG-5 (Linear EXO-237), the bounded read-only probe allowed by D-CODEGRAPH-BOARD-RULING-2. Lab only: no row format, opcode, lowering, rewrite or per-query path. Independent of #2004 and #2006; based on
main.Question
foundry-parity-labhas four/sites (the ndarray PR 422 case). Two build one threshold before any row is read; two divide once per recipe ingredient. The effects rows of CG-8 find all four and cannot tell the kinds apart. Does a def-use derivation tell them apart, with a proof, and does it move when the code moves?The expected answer was posted on EXO-237 before any derivation existed.
What is added
crates/cg-defuse-probe(own workspace root, likeegglog-r2il-probe): rows parser, egglog arm in proofs mode, plain fixpoint arm, source-only scan, 18 tests, areportexample..claude/probes/2026-11-11-cg5-defuse/:extract_defuse.py(LLBC to def-use rows),mutate.py,regenerate.sh,disable_runs.pywith its receipt,REPORT.md.Result
method.rs:58arm_b.rs:245arm_a.rs:75oracle.rs:62All three arms match the pre-registered table. Loop nesting is wrong on
arm_b.rs:245, because Charon copies the tail ofcook_opsinto the loop's exit paths.Mutants of
method.rs, each run through Charon again:Remsites are unknown (divisor is a global place) and carry no proof.disable_runs.receipt.tsv). Two guards were found without a test on the first run; one got a test, one was inert in the plain fixpoint and was removed.regenerate.shwas run after the fixtures were committed and changed no byte.Cost (reported, not a gate)
One cold derivation with proofs: 1.65 to 2.10 s per crate (783 rows, 26 steps). The plain fixpoint over the same rows: about 1 ms. egglog adds the checked proof, not the answer.
Limits
cd crates/cg-defuse-probe && cargo test --release.Generated by Claude Code