Skip to content

test(math-foundry): typed tanh/atanh rewrites for NARS, Bayes and Fisher - #1717

Merged
AdaWorldAPI merged 8 commits into
mainfrom
lab/egglog-tanh-typed-laws-20261022
Oct 22, 2026
Merged

AdaWorldAPI merged 8 commits into
mainfrom
lab/egglog-tanh-typed-laws-20261022

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

The search-derived mathematical compiler ideas, mapped onto Math Foundry

Compile NARS, Bayesian log-likelihood, Fisher correlation and hyperbolic transforms as typed distinct algebras. Mine monotonic and tanh identities only when exact domain laws hold; neither the foreign MORK/MeTTa/OpenNARS runtimes nor the sample Google e-graph replaces R2IL/mask-risc.

Included

Executable stand-alone law-admission/negative-control tests for open-unit real cancellation, hyperbolic addition, independent NARS counts vs log-odds, and forbidden unconditional 3σ pruning. The companion board note describes the next cold egglog-to-R2IL stage.

Prior art and owner

Math Foundry merged #1690, #1693, #1696, #1698; DR mathematical compiler charter #1700. No duplicate evaluator, no new opcodes, no production law admission.

Run

cargo test --manifest-path crates/egglog-r2il-probe/Cargo.toml --test palette256_typed_evidence_laws

Draft, not locally executed, no production optimizer/performance claim.

@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
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 948a12be-7fb1-49bc-8f00-ae3fa0a87dbe
  • 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.

…type the float literal so the test compiles

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G22yT6htkcdyXsihxxXdrg
@chatgpt-codex-connector

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 🔄 Running since 2026-10-22T21:55:32.210521Z c1015ea 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.

@AdaWorldAPI
AdaWorldAPI merged commit f16318d into main Oct 22, 2026
12 checks passed
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.

2 participants