Repository navigation
integrate(math-foundry): land #1694/#1695 catalogue and heritage stages on main - #1696
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. 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. Comment |
Additional P1 correctness gate from post-merge code review: inconsistent premises
Required invariant before promoting arbitrary E1 fixtures: every resolved premise is checked, including duplicate LHS, cycles, and goal==target constraints; contradictory values under an admitted assignment refuse. For a universally reusable symbolic capsule, prove premise consistency/parameterization in the declared integer theory rather than checking only four sample values. Add paired This is an independent correctness finding, separate from #1696's six-file integration scope. Fix in a follow-up owned by the E1 probe, not by introducing |
Additional P1 semantic gap: Exact proof ≠ checked-i64 execution equivalence
Concrete future-E1 negative fixture: Gate: either (A) explicitly define this compiler's source semantics as unbounded exact integer mathematics with checked i64 only at the final boundary (so there is no claim of checked-source observational equivalence), or (B) require effect/refusal-preserving extraction (eggcc-style) or guards proving intermediate checked operations equivalent to the original order. Add the zero-times-overflow adversary and compare success/error outcomes, not only result integers. No generalized |
Additional #1690–#1695 source review (coordination, not a request to expand this integration diff)I verified that #1696's six-file restoration corresponds to the original #1695 head. Please keep the recovery PR minimal and do not merge on root CI alone: the new tests live in New P0 candidate for a separate, owned code correction: Counterexample to pre-register (not executed): Additional explicit identity separation: What is not established by #1690–#1695: independent durable proof certificates, authenticated binding witnesses, accurate measured I placed a full review matrix, counterexample, proposed reference schema and falsifier plan in a read-only review file on the superseded branch: REVIEW_1690_1695.md. No owner-controlled board files or executors changed there. |
|
Coordination update: the full cross-PR review is now proposed separately as docs-only #1699, adding only |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…xecuted P0 falsifiers #1696 merged (df214bb), so #1694/#1695 are no longer stranded; the contradictory-premise counterexample has been executed (14 vs 21 by premise order) and is fixed for linear E1 in #1698 (11ca3fe), together with the checked-overflow range guard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G22yT6htkcdyXsihxxXdrg
Why this PR exists
PRs #1694 and #1695 are reported merged, but they merged into preceding feature branches, not the default branch.
maincontains #1693 (artifact.rs) and does not containcatalogue.rs,heritage.rs,HERITAGE_STUDY.md, or their tests. This is a base-branch integration correction, not a new implementation.Diff verified against current
mainExactly six paths:
crates/egglog-r2il-probe/{HERITAGE_STUDY.md,src/catalogue.rs,src/heritage.rs,src/lib.rs,tests/catalogue.rs,tests/heritage.rs}. The only existing-file modification is two module exports insrc/lib.rs. No core contract/R2IL/Quack/mask-risc/Thought-Git modifications.Review and release gates
cd crates/egglog-r2il-probe && cargo test && cargo fmt --check && cargo clippy --all-targets -- -D warningswith pinned sibling OGAR/ndarray, or a dedicated CI job for this excluded crate. Root Build/Rust Tests do not exercise the entire Math Foundry probe.ReplayCapsule::recheckregenerates proof with egglog and compares text; this is not an independent portable proof checker or durable certificate. Preserve the distinction.Catalogue::promoteaccepts caller-suppliedBindingWitness/CostEvidence, including synthetic cost fixtures. Those are lab policy inputs, not trusted source attestation or measured performance. Do not admit production JIT.Follow-ups separate from this integration PR
Do not merge on green root CI alone.