noethersolve 0.8.0__tar.gz → 1.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. noethersolve-1.1.0/LICENSE +21 -0
  2. {noethersolve-0.8.0/noethersolve.egg-info → noethersolve-1.1.0}/PKG-INFO +250 -70
  3. noethersolve-0.8.0/PKG-INFO → noethersolve-1.1.0/README.md +243 -94
  4. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/__init__.py +170 -5
  5. noethersolve-1.1.0/noethersolve/biochemistry.py +840 -0
  6. noethersolve-1.1.0/noethersolve/chemistry_calc.py +418 -0
  7. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/complexity.py +9 -0
  8. noethersolve-1.1.0/noethersolve/control.py +445 -0
  9. noethersolve-1.1.0/noethersolve/crypto_calc.py +423 -0
  10. noethersolve-1.1.0/noethersolve/distributed_calc.py +480 -0
  11. noethersolve-1.1.0/noethersolve/finance_calc.py +419 -0
  12. noethersolve-1.1.0/noethersolve/isolation.py +425 -0
  13. noethersolve-1.1.0/noethersolve/llm_claims.py +1551 -0
  14. noethersolve-1.1.0/noethersolve/mcp_server/__init__.py +4 -0
  15. noethersolve-1.1.0/noethersolve/mcp_server/__main__.py +4 -0
  16. noethersolve-1.1.0/noethersolve/mcp_server/server.py +1185 -0
  17. noethersolve-1.1.0/noethersolve/network_calc.py +445 -0
  18. noethersolve-1.1.0/noethersolve/organic_chemistry.py +904 -0
  19. noethersolve-1.1.0/noethersolve/os_calc.py +666 -0
  20. noethersolve-1.1.0/noethersolve/quantum_circuit.py +416 -0
  21. noethersolve-1.1.0/noethersolve/quantum_mechanics.py +855 -0
  22. noethersolve-0.8.0/README.md → noethersolve-1.1.0/noethersolve.egg-info/PKG-INFO +274 -67
  23. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve.egg-info/SOURCES.txt +31 -0
  24. noethersolve-1.1.0/noethersolve.egg-info/entry_points.txt +2 -0
  25. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve.egg-info/requires.txt +3 -0
  26. {noethersolve-0.8.0 → noethersolve-1.1.0}/pyproject.toml +9 -3
  27. noethersolve-1.1.0/tests/test_biochemistry.py +219 -0
  28. noethersolve-1.1.0/tests/test_chemistry_calc.py +213 -0
  29. noethersolve-1.1.0/tests/test_control.py +126 -0
  30. noethersolve-1.1.0/tests/test_crypto_calc.py +215 -0
  31. noethersolve-1.1.0/tests/test_distributed_calc.py +239 -0
  32. noethersolve-1.1.0/tests/test_finance_calc.py +221 -0
  33. noethersolve-1.1.0/tests/test_isolation.py +157 -0
  34. noethersolve-1.1.0/tests/test_llm_claims.py +439 -0
  35. noethersolve-1.1.0/tests/test_network_calc.py +263 -0
  36. noethersolve-1.1.0/tests/test_organic_chemistry.py +227 -0
  37. noethersolve-1.1.0/tests/test_os_calc.py +289 -0
  38. noethersolve-1.1.0/tests/test_quantum_circuit.py +193 -0
  39. noethersolve-1.1.0/tests/test_quantum_mechanics.py +225 -0
  40. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/adapter.py +0 -0
  41. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/aggregation.py +0 -0
  42. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/audit_chem.py +0 -0
  43. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/audit_facts.py +0 -0
  44. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/audit_sequence.py +0 -0
  45. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/conjecture_status.py +0 -0
  46. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/crispr.py +0 -0
  47. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/hamiltonian.py +0 -0
  48. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/knot.py +0 -0
  49. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/learner.py +0 -0
  50. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/monitor.py +0 -0
  51. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/monitor_em.py +0 -0
  52. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/number_theory.py +0 -0
  53. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/oracle.py +0 -0
  54. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/pde_regularity.py +0 -0
  55. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/pharmacokinetics.py +0 -0
  56. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/pipeline.py +0 -0
  57. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/proof_barriers.py +0 -0
  58. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/reductions.py +0 -0
  59. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/splice.py +0 -0
  60. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/train_utils.py +0 -0
  61. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve/validate.py +0 -0
  62. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve.egg-info/dependency_links.txt +0 -0
  63. {noethersolve-0.8.0 → noethersolve-1.1.0}/noethersolve.egg-info/top_level.txt +0 -0
  64. {noethersolve-0.8.0 → noethersolve-1.1.0}/setup.cfg +0 -0
  65. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_aggregation.py +0 -0
  66. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_audit_chem.py +0 -0
  67. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_audit_facts.py +0 -0
  68. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_audit_sequence.py +0 -0
  69. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_complexity.py +0 -0
  70. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_conjecture_status.py +0 -0
  71. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_crispr.py +0 -0
  72. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_hamiltonian.py +0 -0
  73. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_knot.py +0 -0
  74. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_learner.py +0 -0
  75. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_monitor.py +0 -0
  76. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_monitor_em.py +0 -0
  77. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_number_theory.py +0 -0
  78. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_pde_regularity.py +0 -0
  79. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_pharmacokinetics.py +0 -0
  80. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_pipeline.py +0 -0
  81. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_proof_barriers.py +0 -0
  82. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_reductions.py +0 -0
  83. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_splice.py +0 -0
  84. {noethersolve-0.8.0 → noethersolve-1.1.0}/tests/test_validate.py +0 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Bryan Sanchez
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: noethersolve
3
- Version: 0.8.0
4
- Summary: Automated scientific discovery: use LLM knowledge gaps as a compass to find underexplored science.
3
+ Version: 1.1.0
4
+ Summary: 46 verified tools for AI agents — physics, math, genetics, pharmacogenomics, LLM science, biochemistry, organic chemistry, quantum mechanics, networking, OS, crypto, finance. 30 calculators + 16 lookup tables. pip install, add to Claude, instant smarter agent.
5
5
  License: MIT
6
- Keywords: autoresearch,scientific-discovery,llm,conservation-laws,adapters
6
+ Keywords: mcp,ai-tools,llm,conservation-laws,scientific-discovery,model-context-protocol
7
7
  Requires-Python: >=3.10
8
8
  Description-Content-Type: text/markdown
9
+ License-File: LICENSE
9
10
  Requires-Dist: numpy>=1.24
10
11
  Requires-Dist: scipy>=1.11
11
12
  Requires-Dist: pyyaml>=6.0
@@ -18,30 +19,33 @@ Requires-Dist: transformers>=4.40; extra == "torch"
18
19
  Requires-Dist: accelerate>=0.28; extra == "torch"
19
20
  Provides-Extra: auto
20
21
  Requires-Dist: anthropic>=0.40; extra == "auto"
22
+ Provides-Extra: mcp
23
+ Requires-Dist: mcp>=1.0; extra == "mcp"
21
24
  Provides-Extra: dashboard
22
25
  Requires-Dist: matplotlib>=3.7; extra == "dashboard"
23
26
  Provides-Extra: dev
24
27
  Requires-Dist: pytest>=8.0; extra == "dev"
25
28
  Requires-Dist: black>=24.0; extra == "dev"
26
29
  Requires-Dist: ruff>=0.4; extra == "dev"
30
+ Dynamic: license-file
27
31
 
28
32
  # NoetherSolve
29
33
 
30
34
  **https://github.com/SolomonB14D3/noethersolve** · **https://solomonb14d3.github.io/noethersolve**
31
35
 
32
- [![Paper: Breaking Frozen Priors](https://img.shields.io/badge/Paper%2010-Breaking%20Frozen%20Priors-blue)](paper/breaking_frozen_priors.pdf) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19017290.svg)](https://doi.org/10.5281/zenodo.19017290) [![Paper: Toolkit](https://img.shields.io/badge/Paper%2011-Toolkit-green)](paper/noethersolve_toolkit.pdf) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.19029880.svg)](https://doi.org/10.5281/zenodo.19029880)
36
+ [![Paper: Breaking Frozen Priors](https://zenodo.org/badge/DOI/10.5281/zenodo.19017290.svg)](https://doi.org/10.5281/zenodo.19017290) [![Paper: NoetherSolve Toolkit](https://zenodo.org/badge/DOI/10.5281/zenodo.19029880.svg)](https://doi.org/10.5281/zenodo.19029880)
33
37
 
34
- **Automated scientific discovery that makes the model smarter with each cycle.**
38
+ **Automated scientific discovery: find where models are wrong, build tools that give the right answer, and serve them to any AI agent.**
35
39
 
36
- Most autoresearch systems generate hypotheses and hope for the best. NoetherSolve closes the loop: it generates candidates, verifies them numerically, measures whether the model already knows them, and when it doesn't, **discovers the answer and teaches it back to the model**. Each discovery trains an adapter that persists through the rest of the run. The model that evaluates candidate #50 is smarter than the one that evaluated candidate #1, because every intervening discovery has been injected into it.
40
+ The pipeline: **find gaps → flip facts → build tool → add to MCP server.** Every tool we build makes every connected agent smarter.
37
41
 
38
- This matters because the adapters aren't fixing things the model already knows. The Q_f conservation law family, the stretch-resistant R_f ratio, the continuous Euler extension — none of these existed in any training corpus. The system discovered them through numerical simulation, verified they were real, confirmed the model had never seen them (oracle margin -30 to -44), and wrote them into the model's knowledge. After adapter training, the model recognizes and correctly ranks these quantities (margin flipped to +4 to +30, ranking Spearman rho = 0.932). The model now knows physics that no human had published.
42
+ NoetherSolve starts by finding where LLMs are confidently wrong. It generates candidates, verifies them numerically, and measures whether the model already knows them. When it doesn't — that's where new science lives. The system discovers the answer, builds a verified computational tool for it, and exposes that tool via [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) so any AI agent can call it at inference time.
39
43
 
40
- And the adapters don't degrade existing knowledge. Zero MMLU degradation across every adapter tested, because they operate in logit space — they reshape the output distribution without touching the hidden-state knowledge pathway. Each cycle adds knowledge without taking any away. Cross-domain transfer is real: joint training on physics and topology produces positive transfer in both directions, meaning the model learns something general about invariance that applies across fields.
44
+ This is better than embedding knowledge in weights. Adapters trained on domain facts improve general truth preference (+0.10 MC2 on TruthfulQA, statistically significant), and orthogonal adapters (routed per-cluster) achieve 100% across 48 domains — but they can't be naively stacked without interference. Tools scale without constraints: each new tool is independent, verified, and callable on demand. The agent doesn't need to memorize that the Riemann Hypothesis is open — it calls `check_conjecture("Riemann")` and gets the verified answer.
41
45
 
42
- LLMs are trained on what the field has collectively written and taught. Where the model is confidently wrong or blank, the literature is thin. That's where new science is most likely to be found. NoetherSolve automates this: propose, verify, check, discover, teach, repeat.
46
+ **46 tools** currently exposed via MCP. 30 are **calculators** — verified computational engines that derive answers from first principles (PID controller simulation, transaction isolation analysis, quantum circuit simulation, stability analysis, conservation law monitoring, genetic design, chemical auditing, and more). 16 are **lookup tables** — reference databases for mathematical conjectures, complexity theory, proof barriers, benchmark scores, LLM science claims, biochemistry, organic chemistry, and quantum mechanics. Calculators scale indefinitely; lookups are faster but finite. Together they cover physics, math, genetics, control systems, databases, quantum computing, pharmacogenomics, chemistry, cryptography, economics/finance, distributed systems, networking, operating systems, biochemistry, organic chemistry, quantum mechanics, and LLM science.
43
47
 
44
- The method is domain-agnostic. We've applied it to fluid dynamics, electromagnetism, chemical kinetics, Hamiltonian mechanics, Navier-Stokes regularity, knot theory, genetics therapeutics (7 domains covering CRISPR design through clinical translation), and unsolved mathematics (6 domains covering Millennium Problems through computational complexity). Any field where you can verify a claim and ask a model about it is fair game.
48
+ The method is domain-agnostic. We've applied it to fluid dynamics, electromagnetism, chemical kinetics, Hamiltonian mechanics, Navier-Stokes regularity, knot theory, genetics therapeutics (7 domains covering CRISPR design through clinical translation), unsolved mathematics (6 domains covering Millennium Problems through computational complexity), LLM science (6 domains), programming languages (6 domains), 9 STEM domains (chemistry, cryptography, economics/finance, distributed systems, networking, operating systems, database internals, quantum computing, control systems), and 3 science domains (biochemistry, organic chemistry, quantum mechanics). Any field where you can verify a claim and build a checker is fair game.
45
49
 
46
50
  ### Paper
47
51
 
@@ -50,10 +54,10 @@ DOI: [10.5281/zenodo.19017290](https://doi.org/10.5281/zenodo.19017290)
50
54
 
51
55
  Three-phase pipeline transforms a frozen oracle (margin -77.5 +/- 1.7) into a ranking engine (Spearman rho = 0.932 from baseline -0.143). Novel Q_f invariant family verified across chaotic vortex systems and extended to continuous 2D/3D Euler equations. The LLM gap pointed directly at the physics: the model's blind spot on weighted distance sums led to the discovery of stretch-resistant invariants relevant to 3D Navier-Stokes regularity. See [`paper/breaking_frozen_priors.pdf`](paper/breaking_frozen_priors.pdf).
52
56
 
53
- **NoetherSolve Toolkit: Conservation Law Monitoring and Discovery for Numerical Simulations** (Sanchez, 2026)
57
+ **NoetherSolve Toolkit: Conservation Law Monitoring, Discovery, and Scientific Auditing Across Physics, Genetics, and Mathematics** (Sanchez, 2026)
54
58
  DOI: [10.5281/zenodo.19029880](https://doi.org/10.5281/zenodo.19029880)
55
59
 
56
- Twenty tools for monitoring, validating, and discovering conservation laws — plus genetics therapeutics and unsolved mathematics auditing. Q_f monitors detect corruption at 100x lower noise than standard H/Lz monitors. Automatic invariant discovery via L-BFGS-B over 12 basis functions. Six genetics therapeutics tools and six unsolved mathematics tools (complexity auditor, conjecture checker, proof barrier checker, number theory verifier, reduction validator, PDE regularity checker). 777 tests with physics-enforcing pre-commit hook. See [`paper/noethersolve_toolkit.pdf`](paper/noethersolve_toolkit.pdf).
60
+ Forty-three tools organized across multiple tiers: 6 physics tools (conservation monitors, integrator validator, chemical auditor, EM monitor, Hamiltonian validator, invariant learner), 7 genetics tools (sequence auditor, CRISPR scorer, pipeline validator, aggregation predictor, splice scorer, pharmacokinetics checker, fact auditor), 7 unsolved mathematics tools (complexity auditor, conjecture checker, proof barrier checker, number theory verifier, reduction validator, PDE regularity checker, knot monitor), 1 LLM science tool (claims auditor with benchmark checker and scaling calculator), 3 systems tools (PID controller, transaction isolation, quantum circuit simulator), and 6 STEM calculators (chemistry, cryptography, finance, distributed systems, networking, operating systems). Q_f monitors detect corruption at 100x lower noise than standard H/Lz monitors. 173 validation test cases across all tools, 100% catch rate. 1252 tests with physics-enforcing pre-commit hook. See [`paper/noethersolve_toolkit.pdf`](paper/noethersolve_toolkit.pdf).
57
61
 
58
62
  ---
59
63
 
@@ -64,44 +68,114 @@ An AI model is trained on everything humans have written. That means it knows
64
68
  what we know, but it also shares our blind spots. Where the collective
65
69
  literature is thin or wrong, the model is thin or wrong.
66
70
 
67
- NoetherSolve exploits this. It:
68
-
69
- 1. **Proposes a claim** about how a system behaves (e.g., "this combination of
70
- distances between vortices stays constant over time").
71
- 2. **Checks it with math.** Simulates the system and measures whether the claim
72
- actually holds. Most don't. The ones that do are real.
73
- 3. **Asks the model: did you already know this?** Compares how likely the model
74
- thinks the true answer is vs. a plausible wrong answer. If the model already
75
- knows it, move on. If it doesn't, that's a gap in human knowledge, because
76
- the model was trained on human knowledge.
77
- 4. **Teaches the answer back to the model.** Trains a small, cheap patch
78
- (an "adapter") that doesn't break anything the model already knows. The model
79
- is now smarter than it was before step 1.
80
- 5. **Repeats with the smarter model.** The next claim is evaluated by a model
81
- that has absorbed every prior discovery. Each cycle, the blind spots shrink
82
- and the remaining gaps get harder and more interesting.
83
-
84
- The result: the model ends up knowing things that weren't in any textbook or
85
- paper, because the system discovered them through simulation and injected them.
86
- All 24 domains now sit at **275/275 facts (100%)** — 11 physics/math domains, 7 genetics therapeutics domains, and 6 unsolved mathematics domains. In chemical kinetics,
87
- the model went from recognizing 0 out of 16 conservation laws to 16/16 via
88
- orthogonal adapters and distractor quality fixes. In Hamiltonian mechanics,
89
- single-pass training caused interference (the model got worse), so the system
90
- broke the domain into concept clusters and trained them in stages: 5 stages
91
- later, 16/16 with zero regression. In Navier-Stokes, staged training
92
- plateaued, so the system switched to orthogonal adapters (one specialist per
93
- concept cluster, facts routed to their specialist at inference): 16/16. Knot
94
- invariants went from 1/16 to 16/16 with 7 orthogonal clusters. Every domain
95
- that has resisted one approach has eventually fallen to the next. In fluid
96
- dynamics, it learned an entirely new family of invariants that no human had
97
- published.
98
-
99
- The method works in any field where you can (a) simulate a system and (b) check
100
- whether a quantity is conserved. So far it's been applied to fluid dynamics,
101
- electromagnetism, chemical kinetics, Hamiltonian mechanics, Navier-Stokes
102
- regularity, knot theory, genetics therapeutics (CRISPR design through
103
- clinical translation), and unsolved mathematics (Millennium Problems through
104
- computational complexity).
71
+ NoetherSolve exploits this in four steps:
72
+
73
+ 1. **Find gaps.** Propose claims about how systems behave. Verify them
74
+ numerically. Ask the model: did you already know this? If the model is
75
+ confidently wrong, that's a gap — and gaps in model knowledge point to
76
+ gaps in human knowledge, because the model was trained on human knowledge.
77
+ 2. **Flip facts.** Train lightweight adapters that flip the model's answer
78
+ from wrong to right, without degrading anything it already knows.
79
+ Orthogonal adapters (one per concept cluster, routed at inference) achieve
80
+ 100% across all 48 domains (555 facts) with 0% MMLU degradation.
81
+ Cross-domain joint training blends multiple domains into a single adapter
82
+ with fair results (H 14/16, NS 10/16, Knot 11/16, Chem 13/16 from ONE
83
+ adapter). The constraint: adapters can't be naively stacked — they must be
84
+ routed or blended from scratch, never merged after training. This is the
85
+ path to fixing small models directly.
86
+ 3. **Build tools.** Each discovery becomes a standalone computational tool —
87
+ a verified calculator that derives answers from first principles. Tools
88
+ scale without routing constraints and work for any model.
89
+ 4. **Add to MCP server.** Expose every tool via Model Context Protocol so
90
+ any AI agent (Claude, GPT, local models) can call them at inference time.
91
+ The agent doesn't need to memorize facts — it calls the tool and gets
92
+ the verified answer.
93
+
94
+ The result: every gap we find makes every connected agent smarter. The 46
95
+ tools currently served cover physics, genetics, mathematics, complexity
96
+ theory, pharmacogenomics, control systems, databases, quantum computing,
97
+ chemistry, cryptography, economics/finance, distributed systems, networking,
98
+ operating systems, biochemistry, organic chemistry, quantum mechanics,
99
+ and LLM science.
100
+
101
+ </details>
102
+
103
+ ---
104
+
105
+ <details open>
106
+ <summary><h2>MCP Server — Give Any AI Agent 43 Verified Tools</h2></summary>
107
+
108
+ The MCP server exposes all NoetherSolve tools to any AI agent that supports
109
+ [Model Context Protocol](https://modelcontextprotocol.io/). One line of config,
110
+ 46 tools available: 30 calculators + 16 lookup tables.
111
+
112
+ ### Setup for Claude Code
113
+
114
+ The project includes `.mcp.json` — Claude Code auto-discovers it when you
115
+ open the project. No manual config needed.
116
+
117
+ Or install globally and use the entry point:
118
+
119
+ ```bash
120
+ pip install noethersolve[mcp]
121
+ noethersolve-mcp # starts the server
122
+ ```
123
+
124
+ ### Available Tools (46)
125
+
126
+ | Category | Tools | Examples |
127
+ |----------|-------|---------|
128
+ | **Conservation monitors** | 4 | `check_vortex_conservation`, `check_hamiltonian_system`, `check_em_conservation`, `discover_conservation_law` |
129
+ | **Mathematics** | 10 | `check_conjecture`, `check_complexity_inclusion`, `check_proof_barriers`, `verify_goldbach`, `check_sobolev_embedding` |
130
+ | **Genetics/therapeutics** | 5 | `score_crispr_guide`, `audit_dna_sequence`, `predict_protein_aggregation`, `validate_therapy_pipeline` |
131
+ | **Pharmacogenomics** | 2 | `audit_drug_interactions`, `check_pharmacogenomics` |
132
+ | **LLM science** | 4 | `check_llm_claim`, `chinchilla_scaling`, `check_benchmark_score`, `audit_llm_claims` |
133
+ | **Chemical kinetics** | 1 | `audit_chemical_network` |
134
+ | **Knot theory** | 1 | `check_knot_invariants` |
135
+ | **Number theory** | 4 | `verify_goldbach`, `verify_collatz`, `check_abc_triple`, `analyze_prime_gaps` |
136
+ | **Chemistry** | 3 | `calc_nernst`, `calc_buffer_ph`, `calc_crystal_field` |
137
+ | **Cryptography** | 3 | `calc_security_level`, `calc_birthday_bound`, `calc_cipher_mode` |
138
+ | **Economics/Finance** | 3 | `calc_black_scholes`, `calc_put_call_parity`, `calc_nash_equilibrium` |
139
+ | **Distributed systems** | 3 | `calc_quorum`, `calc_byzantine`, `calc_vector_clock` |
140
+ | **Networking** | 3 | `calc_bandwidth_delay`, `calc_subnet`, `calc_tcp_throughput` |
141
+ | **Operating systems** | 3 | `calc_page_table`, `calc_scheduling`, `calc_deadlock` |
142
+ | **Biochemistry** | 1 | `check_biochemistry` |
143
+ | **Organic chemistry** | 1 | `check_organic_chemistry` |
144
+ | **Quantum mechanics** | 1 | `check_quantum_mechanics` |
145
+
146
+ Every tool returns verified results from curated reference databases — not
147
+ model guesses. When an agent calls `check_conjecture("Riemann")`, it gets the
148
+ actual status (OPEN), the key facts, common errors, and references. No
149
+ hallucination possible.
150
+
151
+ ### Why MCP instead of fine-tuning?
152
+
153
+ We tried both. Adapters trained on 555 domain facts improve truth preference
154
+ (+0.10 MC2 on TruthfulQA), and orthogonal adapters (routed per-cluster at
155
+ inference) achieve 100% across all 48 domains with 0% MMLU degradation.
156
+ Cross-domain joint training also works — a single difficulty-weighted adapter
157
+ lifts 4 domains simultaneously. But adapters can't be naively stacked:
158
+ combining 37+ adapters by weight averaging destroys general knowledge (-43%
159
+ MMLU), and a unified adapter on 244+ facts collapses. The key insight is
160
+ **route, never stack** — each adapter must be routed to its domain at
161
+ inference, never merged. Tools don't have these constraints:
162
+
163
+ - **No routing needed.** Each tool is independent. Adding tool #43 doesn't
164
+ degrade tools #1-42 and requires no inference-time routing logic.
165
+ - **No capacity limits.** A tool can encode arbitrarily complex logic.
166
+ - **Verified correctness.** 1252 tests enforce correctness. An adapter can
167
+ only shift probabilities; a tool returns the exact right answer.
168
+ - **Model-agnostic.** Any agent that speaks MCP can use these tools.
169
+ Adapters are tied to one model's vocabulary.
170
+
171
+ **Two complementary paths.** Adapter blending (joint training from scratch on
172
+ mixed data) is the path to fixing small models directly — a single
173
+ difficulty-weighted adapter lifts 4 domains simultaneously (H 14/16, NS 10/16,
174
+ Knot 11/16, Chem 13/16), and orthogonal routing gets 16/16 per domain with 0%
175
+ MMLU degradation. MCP tools are the path to making any model a powerhouse
176
+ through tool use — each tool is independent, verified, and callable on demand,
177
+ no routing required. Adapters change what the model knows; tools change what
178
+ the model can do.
105
179
 
106
180
  </details>
107
181
 
@@ -193,13 +267,28 @@ the same length. This flipped the last chemical kinetics holdout from -3.8 to
193
267
  </details>
194
268
 
195
269
  <details>
196
- <summary><strong>Never stack adapters</strong></summary>
270
+ <summary><strong>Never stack adapters — but blending works</strong></summary>
271
+
272
+ **Stacking fails.** Training a specialist on gap facts and layering it on top
273
+ of a joint adapter at inference destroyed the joint adapter's wins (8/16 →
274
+ 5/16). The specialist overwrites what the joint adapter learned. Never combine
275
+ adapter weights by averaging or stacking at inference.
276
+
277
+ **Blending works.** Cross-domain joint training (difficulty-weighted sampling)
278
+ produces a single adapter that lifts multiple domains simultaneously:
279
+ Hamiltonian 14/16, NS 10/16, Knot 11/16, Chemical 13/16 — all from ONE
280
+ adapter. Not as good as orthogonal routing (which gets 16/16 per domain), but
281
+ a viable middle ground when routing complexity is a concern.
197
282
 
198
- Joint + specialist stacked = regression. Training a
199
- specialist on gap facts and stacking it on top of a joint adapter destroyed
200
- the joint adapter's wins (8/16 → 5/16). The specialist overwrites what the
201
- joint adapter learned. Use cluster routing instead: apply each adapter only to
202
- its assigned facts, never combine weights.
283
+ The distinction: training one adapter from scratch on mixed data = blending
284
+ (works). Combining separately trained adapters at inference = stacking (fails).
285
+
286
+ **Two paths forward.** Adapter blending is the path to improving small models
287
+ directly — embed corrected knowledge into the weights so even a 4B model gets
288
+ the answer right without tool calls. MCP tools are the path to making any model
289
+ a powerhouse — the model doesn't need to know the answer, it just needs to know
290
+ which tool to call. Both paths are productive; the choice depends on whether
291
+ you're optimizing the model or the system.
203
292
 
204
293
  </details>
205
294
 
@@ -589,6 +678,27 @@ print(check_sobolev_embedding(1, 2, 3)) # W^{1,2}(R^3) → L^6 (subcritical)
589
678
  print(check_pde_regularity("navier-stokes", 3, "global_smooth")) # → WARN: open problem
590
679
  ```
591
680
 
681
+ **LLM Claims Auditor** — validates claims about LLM capabilities against a curated database of 35+ established findings:
682
+
683
+ ```python
684
+ from noethersolve import audit_llm_claims, check_benchmark_score, chinchilla_optimal
685
+
686
+ # Audit claims
687
+ report = audit_llm_claims([
688
+ "RLHF eliminates sycophancy", # → FALSE (known misconception)
689
+ "scaling laws follow power-law relationships", # → TRUE
690
+ ])
691
+ print(report)
692
+
693
+ # Check specific benchmark scores
694
+ result = check_benchmark_score("gpt-4", "mmlu", 99.0)
695
+ print(result) # → FALSE: above published range [86.0, 87.5]
696
+
697
+ # Chinchilla-optimal compute
698
+ opt = chinchilla_optimal(params_B=7.0)
699
+ print(f"Optimal: {opt['tokens_B']}B tokens for 7B params")
700
+ ```
701
+
592
702
  </details>
593
703
 
594
704
  <details>
@@ -605,7 +715,7 @@ these tools against 5 experiments:
605
715
  | Chemical violation | Perturbed rate constants | Wegscheider cycle product shifts 3.33 to 0.13 while mass conservation stays perfect |
606
716
  | Sensitivity sweep | 20 noise levels, 1e-10 to 1e-1 | Standard monitors detect at noise >= 1.8e-6; discovered monitors have baseline sensitivity at 1e-10 |
607
717
 
608
- **777 tests passing** across all 20 tools (`pytest tests/`).
718
+ **1252 tests passing** across all 27 toolkit modules (`pytest tests/`).
609
719
 
610
720
  </details>
611
721
 
@@ -616,8 +726,30 @@ these tools against 5 experiments:
616
726
  <details>
617
727
  <summary><h2>Quick Start</h2></summary>
618
728
 
729
+ ### Use the tools (no model needed)
730
+
731
+ ```bash
732
+ pip install noethersolve
733
+
734
+ # Python API
735
+ python -c "from noethersolve import check_conjecture; print(check_conjecture('Riemann'))"
736
+ python -c "from noethersolve import audit_drug_list; print(audit_drug_list(['warfarin', 'fluconazole']))"
737
+ python -c "from noethersolve import chinchilla_optimal; print(chinchilla_optimal(params_B=7.0))"
738
+ ```
739
+
740
+ ### Serve tools to AI agents via MCP
741
+
742
+ ```bash
743
+ pip install noethersolve[mcp]
744
+
745
+ # Claude Code auto-discovers .mcp.json when you open the project.
746
+ # Or run standalone:
747
+ noethersolve-mcp
748
+ ```
749
+
750
+ ### Run the discovery pipeline (finds new gaps)
751
+
619
752
  ```bash
620
- # Install core deps
621
753
  pip install -r requirements.txt
622
754
 
623
755
  # 1. Run the checker on a hypothesis
@@ -630,14 +762,8 @@ python oracle_wrapper.py --problem problems/vortex_pair_conservation.yaml
630
762
  python oracle_wrapper.py --problem problems/vortex_pair_conservation.yaml \
631
763
  --repair --diagnose
632
764
 
633
- # 4. Claim a problem before you start hunting (prevents duplicate work)
634
- python claim.py claim \
635
- --problem vortex_pair_conservation \
636
- --expr "r12 + eps*(r13+r23)" \
637
- --handle your_handle
638
-
639
- # 5. View results dashboard (rebuilds from results/candidates.tsv)
640
- python dashboard.py --open
765
+ # 4. Full autonomous run
766
+ python autonomy_loop.py --problem problems/vortex_pair_conservation.yaml
641
767
  ```
642
768
 
643
769
  > **Linux / CUDA users:** use `noethersolve_torch.py` as a drop-in backend that requires only PyTorch + HuggingFace — no MLX needed.
@@ -675,7 +801,7 @@ Copy `problem_template.yaml` and follow `CONTRIBUTING.md` for the full protocol.
675
801
 
676
802
  ## Discoveries So Far
677
803
 
678
- 193+ candidates tested. 80+ genuine invariants discovered. 24 domains, 275 oracle facts. **All 24 domains at 100% (275/275 facts).**
804
+ 193+ candidates tested. 80+ genuine invariants discovered. 48 domains, 555 oracle facts. **All 48 domains at 100% (555/555 facts).**
679
805
 
680
806
  <details>
681
807
  <summary><h3>Discrete Point-Vortex</h3></summary>
@@ -928,9 +1054,37 @@ The math domains were particularly challenging — the model confidently confuse
928
1054
  | **Proof techniques** | **12** | **25%** | **100%** | **COMPLETE** (forcing, barriers, logic) |
929
1055
  | **Analysis/PDE conjectures** | **12** | **0%** | **100%** | **COMPLETE** (Kakeya, Carleson, regularity) |
930
1056
  | **Computational conjectures** | **12** | **0%** | **100%** | **COMPLETE** (complexity, algorithms, derandomization) |
1057
+ | | | | | |
1058
+ | **LLM Hallucination** | **12** | **41.7%** | **100%** | **COMPLETE** (orthogonal adapters) |
1059
+ | **LLM Reasoning** | **12** | **33.3%** | **100%** | **COMPLETE** (orthogonal adapters) |
1060
+ | **LLM Alignment** | **12** | **25%** | **100%** | **COMPLETE** (orthogonal adapters) |
1061
+ | **LLM Training** | **12** | **41.7%** | **100%** | **COMPLETE** (orthogonal adapters) |
1062
+ | **LLM Evaluation** | **12** | **33.3%** | **100%** | **COMPLETE** (orthogonal adapters) |
1063
+ | **LLM Context/Memory** | **10** | **40%** | **100%** | **COMPLETE** (orthogonal adapters) |
1064
+ | | | | | |
1065
+ | **PL Type Systems** | **12** | **41.7%** | **100%** | **COMPLETE** (orthogonal adapters) |
1066
+ | **PL Memory** | **10** | **40%** | **100%** | **COMPLETE** (orthogonal adapters) |
1067
+ | **PL Concurrency** | **10** | **60%** | **100%** | **COMPLETE** (orthogonal adapters) |
1068
+ | **PL Paradigms** | **12** | **83.3%** | **100%** | **COMPLETE** (orthogonal adapters) |
1069
+ | **PL Compilers** | **12** | **50%** | **100%** | **COMPLETE** (orthogonal adapters) |
1070
+ | **PL Pitfalls** | **10** | **60%** | **100%** | **COMPLETE** (orthogonal adapters) |
1071
+ | | | | | |
1072
+ | **Chemistry** | **12** | **0%** | **100%** | **COMPLETE** (orthogonal adapters) |
1073
+ | **Cryptography** | **12** | **0%** | **100%** | **COMPLETE** (orthogonal adapters) |
1074
+ | **Economics/Finance** | **12** | **0%** | **100%** | **COMPLETE** (orthogonal adapters) |
1075
+ | **Distributed Systems** | **12** | **0%** | **100%** | **COMPLETE** (orthogonal adapters) |
1076
+ | **Networking** | **12** | **0%** | **100%** | **COMPLETE** (orthogonal adapters) |
1077
+ | **Operating Systems** | **12** | **0%** | **100%** | **COMPLETE** (orthogonal adapters) |
1078
+ | **Database Internals** | **12** | **0%** | **100%** | **COMPLETE** (orthogonal adapters) |
1079
+ | **Quantum Computing** | **12** | **0%** | **100%** | **COMPLETE** (orthogonal adapters) |
1080
+ | **Control Systems** | **12** | **0%** | **100%** | **COMPLETE** (orthogonal adapters) |
1081
+ | | | | | |
1082
+ | **Biochemistry** | **12** | **75%** | **100%** | **COMPLETE** (orthogonal adapters) |
1083
+ | **Organic Chemistry** | **12** | **58.3%** | **100%** | **COMPLETE** (orthogonal adapters) |
1084
+ | **Quantum Mechanics** | **12** | **58.3%** | **100%** | **COMPLETE** (orthogonal adapters) |
931
1085
  | Ranking adapter | — | ρ=-0.14 | ρ=0.93 | — |
932
1086
 
933
- **Total: 24 domains, 275 oracle facts, 275/275 flipped (100%). 0% MMLU degradation across all adapters.**
1087
+ **Total: 48 domains, 555 oracle facts, 555/555 flipped (100%). 0% MMLU degradation across all adapters.**
934
1088
 
935
1089
  Full history: `results/candidates.tsv`
936
1090
 
@@ -974,7 +1128,10 @@ NoetherSolve
974
1128
  ├── claim.py ← THINK/CLAIM/RUN/PUBLISH coordination
975
1129
  ├── dashboard.py ← Results dashboard from candidates.tsv
976
1130
  │
977
- ├── noethersolve/ ← Core package (11 toolkit modules)
1131
+ ├── noethersolve/ ← Core package (30 toolkit modules + MCP server)
1132
+ │ ├── mcp_server/ ← MCP server (46 tools for any AI agent)
1133
+ │ │ ├── server.py ← FastMCP tool definitions
1134
+ │ │ └── __main__.py ← python -m noethersolve.mcp_server
978
1135
  │ ├── adapter.py ← Snap-on logit adapter (SwiGLU)
979
1136
  │ ├── audit_chem.py ← Chemical network thermodynamic auditor
980
1137
  │ ├── audit_facts.py ← Oracle fact quality auditor (token-length bias)
@@ -994,6 +1151,19 @@ NoetherSolve
994
1151
  │ ├── number_theory.py ← Number theory conjecture numerical verifier
995
1152
  │ ├── reductions.py ← Computational reduction chain validator
996
1153
  │ ├── pde_regularity.py ← PDE regularity and Sobolev embedding checker
1154
+ │ ├── llm_claims.py ← LLM claims auditor (benchmarks, scaling, misconceptions)
1155
+ │ ├── control.py ← PID controller simulator + Routh-Hurwitz stability
1156
+ │ ├── isolation.py ← SQL transaction isolation anomaly checker
1157
+ │ ├── quantum_circuit.py ← Quantum circuit state vector simulator
1158
+ │ ├── chemistry_calc.py ← Electrochemistry, acid-base, crystal field calculator
1159
+ │ ├── crypto_calc.py ← Cryptographic security level analyzer
1160
+ │ ├── finance_calc.py ← Black-Scholes, Nash equilibrium, time value calculator
1161
+ │ ├── distributed_calc.py ← Quorum, Byzantine, vector clock calculator
1162
+ │ ├── network_calc.py ← Bandwidth-delay, TCP throughput, subnet calculator
1163
+ │ ├── os_calc.py ← Page tables, scheduling, deadlock detection calculator
1164
+ │ ├── biochemistry.py ← Biochemistry reference (enzymes, metabolism, signaling)
1165
+ │ ├── organic_chemistry.py ← Organic chemistry reference (mechanisms, reactions, synthesis)
1166
+ │ ├── quantum_mechanics.py ← Quantum mechanics reference (foundations, phenomena, systems)
997
1167
  │ ├── train_utils.py ← Shared training utilities
998
1168
  │ └── validate.py ← Integrator validation via conservation laws
999
1169
  │
@@ -1026,7 +1196,9 @@ NoetherSolve
1026
1196
  │
1027
1197
  ├── paper/
1028
1198
  │ ├── breaking_frozen_priors.md ← Paper 10 source
1029
- │ ├── breaking_frozen_priors.pdf ← Paper 10 (pandoc breaking_frozen_priors.md -o *.pdf)
1199
+ │ ├── breaking_frozen_priors.pdf ← Paper 10 (pandoc *.md -o *.pdf)
1200
+ │ ├── noethersolve_toolkit.md ← Paper 11 source
1201
+ │ ├── noethersolve_toolkit.pdf ← Paper 11
1030
1202
  │ └── prior_work/ ← Papers 8-9 that this builds on
1031
1203
  │
1032
1204
  ├── adapters/ ← Trained weights (gitignored)
@@ -1066,4 +1238,12 @@ NoetherSolve
1066
1238
  doi={10.5281/zenodo.19017290},
1067
1239
  url={https://doi.org/10.5281/zenodo.19017290}
1068
1240
  }
1241
+
1242
+ @article{sanchez2026noethersolve,
1243
+ title={NoetherSolve Toolkit: Conservation Law Monitoring, Discovery, and Scientific Auditing Across Physics, Genetics, and Mathematics},
1244
+ author={Sanchez, Bryan},
1245
+ year={2026},
1246
+ doi={10.5281/zenodo.19029880},
1247
+ url={https://doi.org/10.5281/zenodo.19029880}
1248
+ }
1069
1249
  ```