noethersolve 0.8.0__tar.gz → 1.0.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.
- noethersolve-1.0.0/LICENSE +21 -0
- {noethersolve-0.8.0/noethersolve.egg-info → noethersolve-1.0.0}/PKG-INFO +154 -62
- noethersolve-0.8.0/PKG-INFO → noethersolve-1.0.0/README.md +147 -86
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/__init__.py +32 -5
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/complexity.py +9 -0
- noethersolve-1.0.0/noethersolve/llm_claims.py +1550 -0
- noethersolve-1.0.0/noethersolve/mcp_server/__init__.py +4 -0
- noethersolve-1.0.0/noethersolve/mcp_server/__main__.py +4 -0
- noethersolve-1.0.0/noethersolve/mcp_server/server.py +575 -0
- noethersolve-0.8.0/README.md → noethersolve-1.0.0/noethersolve.egg-info/PKG-INFO +178 -59
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve.egg-info/SOURCES.txt +7 -0
- noethersolve-1.0.0/noethersolve.egg-info/entry_points.txt +2 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve.egg-info/requires.txt +3 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/pyproject.toml +9 -3
- noethersolve-1.0.0/tests/test_llm_claims.py +438 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/adapter.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/aggregation.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/audit_chem.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/audit_facts.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/audit_sequence.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/conjecture_status.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/crispr.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/hamiltonian.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/knot.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/learner.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/monitor.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/monitor_em.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/number_theory.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/oracle.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/pde_regularity.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/pharmacokinetics.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/pipeline.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/proof_barriers.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/reductions.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/splice.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/train_utils.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve/validate.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve.egg-info/dependency_links.txt +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/noethersolve.egg-info/top_level.txt +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/setup.cfg +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_aggregation.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_audit_chem.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_audit_facts.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_audit_sequence.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_complexity.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_conjecture_status.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_crispr.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_hamiltonian.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_knot.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_learner.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_monitor.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_monitor_em.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_number_theory.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_pde_regularity.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_pharmacokinetics.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_pipeline.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_proof_barriers.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_reductions.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.0}/tests/test_splice.py +0 -0
- {noethersolve-0.8.0 → noethersolve-1.0.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.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: 32 verified tools for AI agents — physics, math, genetics, pharmacogenomics, LLM science. pip install, add to Claude, instant smarter agent.
|
|
5
5
|
License: MIT
|
|
6
|
-
Keywords:
|
|
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
|
-
[](https://doi.org/10.5281/zenodo.19017290) [](https://doi.org/10.5281/zenodo.19029880)
|
|
33
37
|
|
|
34
|
-
**Automated scientific discovery that
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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), but they can't scale to thousands of facts without interference. Tools scale indefinitely: 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
|
-
|
|
46
|
+
**32 tools** currently exposed via MCP, covering conservation law monitoring, mathematical conjectures, complexity theory, proof barriers, number theory, PDE regularity, pharmacogenomics, LLM claims auditing, genetics therapeutics, chemical kinetics, knot theory, and conservation law discovery. All backed by verified reference databases, not model guesses.
|
|
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
|
|
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), and unsolved mathematics (6 domains covering Millennium Problems through computational complexity). 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
|
|
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
|
|
60
|
+
Twenty-one tools organized in four 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), and 1 LLM science tool (claims auditor with benchmark checker and scaling calculator). Q_f monitors detect corruption at 100x lower noise than standard H/Lz monitors. 173 validation test cases across all tools, 100% catch rate. 842 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,81 @@ 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
|
|
68
|
-
|
|
69
|
-
1. **
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
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
|
+
3. **Build tools.** Each discovery becomes a standalone computational tool —
|
|
80
|
+
verified reference databases, not model guesses. Tools don't have the
|
|
81
|
+
scaling problems that adapters do (interference, capacity limits).
|
|
82
|
+
4. **Add to MCP server.** Expose every tool via Model Context Protocol so
|
|
83
|
+
any AI agent (Claude, GPT, local models) can call them at inference time.
|
|
84
|
+
The agent doesn't need to memorize facts — it calls the tool and gets
|
|
85
|
+
the verified answer.
|
|
86
|
+
|
|
87
|
+
The result: every gap we find makes every connected agent smarter. The 32
|
|
88
|
+
tools currently served cover physics, genetics, mathematics, complexity
|
|
89
|
+
theory, pharmacogenomics, and LLM science.
|
|
90
|
+
|
|
91
|
+
</details>
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
<details open>
|
|
96
|
+
<summary><h2>MCP Server — Give Any AI Agent 32 Verified Tools</h2></summary>
|
|
97
|
+
|
|
98
|
+
The MCP server exposes all NoetherSolve tools to any AI agent that supports
|
|
99
|
+
[Model Context Protocol](https://modelcontextprotocol.io/). One line of config,
|
|
100
|
+
32 tools available.
|
|
101
|
+
|
|
102
|
+
### Setup for Claude Code
|
|
103
|
+
|
|
104
|
+
The project includes `.mcp.json` — Claude Code auto-discovers it when you
|
|
105
|
+
open the project. No manual config needed.
|
|
106
|
+
|
|
107
|
+
Or install globally and use the entry point:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
pip install noethersolve[mcp]
|
|
111
|
+
noethersolve-mcp # starts the server
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Available Tools (32)
|
|
115
|
+
|
|
116
|
+
| Category | Tools | Examples |
|
|
117
|
+
|----------|-------|---------|
|
|
118
|
+
| **Conservation monitors** | 4 | `check_vortex_conservation`, `check_hamiltonian_system`, `check_em_conservation`, `discover_conservation_law` |
|
|
119
|
+
| **Mathematics** | 10 | `check_conjecture`, `check_complexity_inclusion`, `check_proof_barriers`, `verify_goldbach`, `check_sobolev_embedding` |
|
|
120
|
+
| **Genetics/therapeutics** | 5 | `score_crispr_guide`, `audit_dna_sequence`, `predict_protein_aggregation`, `validate_therapy_pipeline` |
|
|
121
|
+
| **Pharmacogenomics** | 2 | `audit_drug_interactions`, `check_pharmacogenomics` |
|
|
122
|
+
| **LLM science** | 4 | `check_llm_claim`, `chinchilla_scaling`, `check_benchmark_score`, `audit_llm_claims` |
|
|
123
|
+
| **Chemical kinetics** | 1 | `audit_chemical_network` |
|
|
124
|
+
| **Knot theory** | 1 | `check_knot_invariants` |
|
|
125
|
+
| **Number theory** | 4 | `verify_goldbach`, `verify_collatz`, `check_abc_triple`, `analyze_prime_gaps` |
|
|
126
|
+
|
|
127
|
+
Every tool returns verified results from curated reference databases — not
|
|
128
|
+
model guesses. When an agent calls `check_conjecture("Riemann")`, it gets the
|
|
129
|
+
actual status (OPEN), the key facts, common errors, and references. No
|
|
130
|
+
hallucination possible.
|
|
131
|
+
|
|
132
|
+
### Why MCP instead of fine-tuning?
|
|
133
|
+
|
|
134
|
+
We tried both. Adapters trained on 411 domain facts improve truth preference
|
|
135
|
+
(+0.10 MC2 on TruthfulQA), but they can't scale: stacking 37+ adapters
|
|
136
|
+
destroys general knowledge (-43% MMLU), and a unified adapter on 244 facts
|
|
137
|
+
collapses to a degenerate mode. Tools don't have these problems:
|
|
138
|
+
|
|
139
|
+
- **No interference.** Each tool is independent. Adding tool #33 doesn't
|
|
140
|
+
degrade tools #1-32.
|
|
141
|
+
- **No capacity limits.** A tool can encode arbitrarily complex logic.
|
|
142
|
+
- **Verified correctness.** 842 tests enforce correctness. An adapter can
|
|
143
|
+
only shift probabilities; a tool returns the exact right answer.
|
|
144
|
+
- **Model-agnostic.** Any agent that speaks MCP can use these tools.
|
|
145
|
+
Adapters are tied to one model's vocabulary.
|
|
105
146
|
|
|
106
147
|
</details>
|
|
107
148
|
|
|
@@ -589,6 +630,27 @@ print(check_sobolev_embedding(1, 2, 3)) # W^{1,2}(R^3) → L^6 (subcritical)
|
|
|
589
630
|
print(check_pde_regularity("navier-stokes", 3, "global_smooth")) # → WARN: open problem
|
|
590
631
|
```
|
|
591
632
|
|
|
633
|
+
**LLM Claims Auditor** — validates claims about LLM capabilities against a curated database of 35+ established findings:
|
|
634
|
+
|
|
635
|
+
```python
|
|
636
|
+
from noethersolve import audit_llm_claims, check_benchmark_score, chinchilla_optimal
|
|
637
|
+
|
|
638
|
+
# Audit claims
|
|
639
|
+
report = audit_llm_claims([
|
|
640
|
+
"RLHF eliminates sycophancy", # → FALSE (known misconception)
|
|
641
|
+
"scaling laws follow power-law relationships", # → TRUE
|
|
642
|
+
])
|
|
643
|
+
print(report)
|
|
644
|
+
|
|
645
|
+
# Check specific benchmark scores
|
|
646
|
+
result = check_benchmark_score("gpt-4", "mmlu", 99.0)
|
|
647
|
+
print(result) # → FALSE: above published range [86.0, 87.5]
|
|
648
|
+
|
|
649
|
+
# Chinchilla-optimal compute
|
|
650
|
+
opt = chinchilla_optimal(params_B=7.0)
|
|
651
|
+
print(f"Optimal: {opt['tokens_B']}B tokens for 7B params")
|
|
652
|
+
```
|
|
653
|
+
|
|
592
654
|
</details>
|
|
593
655
|
|
|
594
656
|
<details>
|
|
@@ -605,7 +667,7 @@ these tools against 5 experiments:
|
|
|
605
667
|
| Chemical violation | Perturbed rate constants | Wegscheider cycle product shifts 3.33 to 0.13 while mass conservation stays perfect |
|
|
606
668
|
| 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
669
|
|
|
608
|
-
**
|
|
670
|
+
**842 tests passing** across all 21 tools (`pytest tests/`).
|
|
609
671
|
|
|
610
672
|
</details>
|
|
611
673
|
|
|
@@ -616,8 +678,30 @@ these tools against 5 experiments:
|
|
|
616
678
|
<details>
|
|
617
679
|
<summary><h2>Quick Start</h2></summary>
|
|
618
680
|
|
|
681
|
+
### Use the tools (no model needed)
|
|
682
|
+
|
|
683
|
+
```bash
|
|
684
|
+
pip install noethersolve
|
|
685
|
+
|
|
686
|
+
# Python API
|
|
687
|
+
python -c "from noethersolve import check_conjecture; print(check_conjecture('Riemann'))"
|
|
688
|
+
python -c "from noethersolve import audit_drug_list; print(audit_drug_list(['warfarin', 'fluconazole']))"
|
|
689
|
+
python -c "from noethersolve import chinchilla_optimal; print(chinchilla_optimal(params_B=7.0))"
|
|
690
|
+
```
|
|
691
|
+
|
|
692
|
+
### Serve tools to AI agents via MCP
|
|
693
|
+
|
|
694
|
+
```bash
|
|
695
|
+
pip install noethersolve[mcp]
|
|
696
|
+
|
|
697
|
+
# Claude Code auto-discovers .mcp.json when you open the project.
|
|
698
|
+
# Or run standalone:
|
|
699
|
+
noethersolve-mcp
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
### Run the discovery pipeline (finds new gaps)
|
|
703
|
+
|
|
619
704
|
```bash
|
|
620
|
-
# Install core deps
|
|
621
705
|
pip install -r requirements.txt
|
|
622
706
|
|
|
623
707
|
# 1. Run the checker on a hypothesis
|
|
@@ -630,14 +714,8 @@ python oracle_wrapper.py --problem problems/vortex_pair_conservation.yaml
|
|
|
630
714
|
python oracle_wrapper.py --problem problems/vortex_pair_conservation.yaml \
|
|
631
715
|
--repair --diagnose
|
|
632
716
|
|
|
633
|
-
# 4.
|
|
634
|
-
python
|
|
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
|
|
717
|
+
# 4. Full autonomous run
|
|
718
|
+
python autonomy_loop.py --problem problems/vortex_pair_conservation.yaml
|
|
641
719
|
```
|
|
642
720
|
|
|
643
721
|
> **Linux / CUDA users:** use `noethersolve_torch.py` as a drop-in backend that requires only PyTorch + HuggingFace — no MLX needed.
|
|
@@ -974,7 +1052,10 @@ NoetherSolve
|
|
|
974
1052
|
├── claim.py ← THINK/CLAIM/RUN/PUBLISH coordination
|
|
975
1053
|
├── dashboard.py ← Results dashboard from candidates.tsv
|
|
976
1054
|
│
|
|
977
|
-
├── noethersolve/ ← Core package (
|
|
1055
|
+
├── noethersolve/ ← Core package (21 toolkit modules + MCP server)
|
|
1056
|
+
│ ├── mcp_server/ ← MCP server (32 tools for any AI agent)
|
|
1057
|
+
│ │ ├── server.py ← FastMCP tool definitions
|
|
1058
|
+
│ │ └── __main__.py ← python -m noethersolve.mcp_server
|
|
978
1059
|
│ ├── adapter.py ← Snap-on logit adapter (SwiGLU)
|
|
979
1060
|
│ ├── audit_chem.py ← Chemical network thermodynamic auditor
|
|
980
1061
|
│ ├── audit_facts.py ← Oracle fact quality auditor (token-length bias)
|
|
@@ -994,6 +1075,7 @@ NoetherSolve
|
|
|
994
1075
|
│ ├── number_theory.py ← Number theory conjecture numerical verifier
|
|
995
1076
|
│ ├── reductions.py ← Computational reduction chain validator
|
|
996
1077
|
│ ├── pde_regularity.py ← PDE regularity and Sobolev embedding checker
|
|
1078
|
+
│ ├── llm_claims.py ← LLM claims auditor (benchmarks, scaling, misconceptions)
|
|
997
1079
|
│ ├── train_utils.py ← Shared training utilities
|
|
998
1080
|
│ └── validate.py ← Integrator validation via conservation laws
|
|
999
1081
|
│
|
|
@@ -1026,7 +1108,9 @@ NoetherSolve
|
|
|
1026
1108
|
│
|
|
1027
1109
|
├── paper/
|
|
1028
1110
|
│ ├── breaking_frozen_priors.md ← Paper 10 source
|
|
1029
|
-
│ ├── breaking_frozen_priors.pdf ← Paper 10 (pandoc
|
|
1111
|
+
│ ├── breaking_frozen_priors.pdf ← Paper 10 (pandoc *.md -o *.pdf)
|
|
1112
|
+
│ ├── noethersolve_toolkit.md ← Paper 11 source
|
|
1113
|
+
│ ├── noethersolve_toolkit.pdf ← Paper 11
|
|
1030
1114
|
│ └── prior_work/ ← Papers 8-9 that this builds on
|
|
1031
1115
|
│
|
|
1032
1116
|
├── adapters/ ← Trained weights (gitignored)
|
|
@@ -1066,4 +1150,12 @@ NoetherSolve
|
|
|
1066
1150
|
doi={10.5281/zenodo.19017290},
|
|
1067
1151
|
url={https://doi.org/10.5281/zenodo.19017290}
|
|
1068
1152
|
}
|
|
1153
|
+
|
|
1154
|
+
@article{sanchez2026noethersolve,
|
|
1155
|
+
title={NoetherSolve Toolkit: Conservation Law Monitoring, Discovery, and Scientific Auditing Across Physics, Genetics, and Mathematics},
|
|
1156
|
+
author={Sanchez, Bryan},
|
|
1157
|
+
year={2026},
|
|
1158
|
+
doi={10.5281/zenodo.19029880},
|
|
1159
|
+
url={https://doi.org/10.5281/zenodo.19029880}
|
|
1160
|
+
}
|
|
1069
1161
|
```
|