Skip to content

feat(math-foundry): E1 cold proof capsule and replayable R2IL recipe - #1693

Merged
AdaWorldAPI merged 3 commits into
mainfrom
lab/math-foundry-1-proof-replay-20261022
Oct 22, 2026
Merged

AdaWorldAPI merged 3 commits into
mainfrom
lab/math-foundry-1-proof-replay-20261022

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Stack 1/3 — E1 proof replay capsule

Base: merged #1690 (main). Stage: C1 / D-RFT-2 / E1, lab-only.

Adds egglog-r2il-probe::artifact::ReplayCapsule over #1690's existing compiled E1 mathematics. Retains exact premises, checked egglog extraction/proof rendering, and executable R2IL scalar steps.

  • Cold certify requires complete saturation, a closed term, a checked equality (via the existing egglog public prove command), and a successful R2IL lowering.
  • Cold recheck regenerates the proof and compares the complete extracted term, rendered proof and program to the retained capsule. Conservative E1 replay check; not a standalone proof verifier or cryptographic artifact.
  • execute reuses the saved R2IL steps without calling egglog. replay rechecks before execution and compares to the independent i128 oracle.
  • Tests for E1 parity, rejected missing premise, forged extracted term/proof/program, and overflow.

Not included: durable serialized proof format, 27-atom language, new law admissions, physical-register binding/ABI, production JIT, source writes or changes to contract/R2IL/mask-risc/Thought-Git. No duplicate executor.

Verification: tests authored, not locally executed (this assistant runtime has no Rust toolchain/checkout). CI and code review required. Do not merge autonomously.

Review commands: cd crates/egglog-r2il-probe && cargo test; cargo fmt --check; cargo clippy --all-targets -- -D warnings.

Next stacked PR: certified in-memory catalogue and guarded trusted-baseline fallback (base this branch). EXO-50 ownership claim posted.

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fedbc2f0-ac65-4885-ba11-ca3b59403a1a
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review October 22, 2026 06:56
@AdaWorldAPI
AdaWorldAPI merged commit f741474 into main Oct 22, 2026
10 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T06:58:16.032321Z 02425e1 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant