All research stack related work and material is folded here, each project subdivided into it's own folders.
Find a file
Devin AI c946319be1 Add math-first tooling: receipt schema, claims registry, pre-commit, CI, MCP
Adds automated guardrails so mathematical rigor is enforced by tooling
instead of by convention. See docs/math-first-tooling.md for the full
contract.

Schemas + registry:
- shared-data/schemas/deepseek-review-receipt.schema.json
  Draft 2020-12 schema for the existing ollama_deepseek_review_receipt_v1
  and ollama_deepseek_review_continuation_receipt_v1 receipt formats. Pins
  sha256:<hex> hashes, non-negative token counts, repo-relative POSIX
  paths, and rejects additional fields.
- shared-data/schemas/claims-registry.schema.json
  Schema for claims.yaml. Requires review_receipts when status is
  verified-by-ai and a lean source when status is formally-proven.
- claims.yaml
  Initial registry entry: prime-gap-entropy-collapse (verified-by-ai)
  linked to the two existing receipts under
  shared-data/artifacts/deepseek_review/.

Validators (scripts/math-first/):
- validate_deepseek_receipts.py: validates tracked or passed receipts
  against the JSON Schema; shared by pre-commit and CI.
- test_validate_deepseek_receipts.py: positive + 7 negative fixtures
  asserting exit-code behaviour.
- validate_claims_registry.py: schema check + unique id check + on-disk
  existence check for every referenced repo-relative path.
- require_math_evidence.py: gate that requires a DeepSeek receipt, a
  Lean change, or a claims.yaml update alongside edits to math-track
  surfaces (Lean Semantics kernels, ArithmeticSpec docs, stack
  solidification receipts).

Pre-commit (.pre-commit-config.yaml):
- check-json, check-yaml, end-of-file-fixer, trim trailing whitespace,
  detect-private-key (scoped to math-first files only per AGENTS.md
  Do Not Sweep).
- Local hooks wiring all three math-first validators above.

CI (.github/workflows/math-check.yml):
- validate-schemas: compiles every schema, runs both validators, runs
  the validator self-tests, then re-invokes the canonical Ollama
  emitter in --verify-only mode against every tracked receipt to
  re-check answer_sha256 against the answer-file bytes on disk.
- require-evidence: enforces the math-track evidence rule at PR scope.
- pre-commit: runs all pre-commit hooks against the PR diff so the
  contract holds even for contributors who skip installing hooks
  locally.

MCP (.mcp.json):
- filesystem, sympy, wolfram-alpha, lean, deepseek-review entries
  pointing at off-the-shelf upstream servers and at the canonical
  ollama_deepseek_review_emitter.py. Secrets stay in the runtime env
  (WOLFRAM_ALPHA_APPID, OLLAMA_API_KEY) and are never embedded.

Docs (docs/math-first-tooling.md):
- Philosophy, surfaces, schema reference, registry workflow, hook
  catalogue, CI catalogue, MCP catalogue, end-to-end verify command.

shared-data/schemas/*.schema.json and claims.yaml live under paths the
top-level .gitignore would normally exclude; they are force-added via
git add -f the same way existing promoted receipts under
shared-data/artifacts/deepseek_review/ are tracked (per AGENTS.md).

Co-Authored-By: Allaun Silverfox <bigdataiscoming+9i37y6j2@protonmail.com>
2026-05-12 04:25:52 +00:00
.agents/plugins Consolidate research stack updates 2026-05-05 21:09:48 -05:00
.consolidation-manifests initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
.github Add math-first tooling: receipt schema, claims registry, pre-commit, CI, MCP 2026-05-12 04:25:52 +00:00
.vscode Document portable setup and review receipts 2026-05-11 23:01:51 -05:00
0-Core-Formalism Update repository agent operating contracts 2026-05-11 22:48:54 -05:00
1-Distributed-Systems Scrub tracked API key material 2026-05-11 22:25:43 -05:00
2-Search-Space Scrub tracked API key material 2026-05-11 22:25:43 -05:00
3-Mathematical-Models Track remaining source and documentation inventory 2026-05-11 22:18:31 -05:00
4-Infrastructure Update repository agent operating contracts 2026-05-11 22:48:54 -05:00
5-Applications Add verified Ollama DeepSeek review emitter 2026-05-11 23:13:54 -05:00
6-Documentation Add verified Ollama DeepSeek review emitter 2026-05-11 23:13:54 -05:00
6-Kernel-Shim Consolidate research stack updates 2026-05-05 21:09:48 -05:00
ai-math-discovery-systems chore: update AI-Newton submodule (merge conflict fix) 2026-05-06 23:44:25 -05:00
docs Add math-first tooling: receipt schema, claims registry, pre-commit, CI, MCP 2026-05-12 04:25:52 +00:00
hardware/tangnano9k/rtl/generated initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
hooks initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
info initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
plugins/substack-connector Consolidate research stack updates 2026-05-05 21:09:48 -05:00
scripts Add math-first tooling: receipt schema, claims registry, pre-commit, CI, MCP 2026-05-12 04:25:52 +00:00
shared-data Add math-first tooling: receipt schema, claims registry, pre-commit, CI, MCP 2026-05-12 04:25:52 +00:00
tools/kotc initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
workspace-config initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
.codeiumignore Add workspace load-shedding ignores 2026-05-11 15:53:59 -05:00
.gitattributes Add ENE research topic candidates, compression-core, notion-native-tauri, linear-native-tauri 2026-05-04 19:08:20 -05:00
.gitignore Track remaining source and documentation inventory 2026-05-11 22:18:31 -05:00
.gitmodules Fix external repository references 2026-05-05 21:15:26 -05:00
.mcp.json Add math-first tooling: receipt schema, claims registry, pre-commit, CI, MCP 2026-05-12 04:25:52 +00:00
.pre-commit-config.yaml Add math-first tooling: receipt schema, claims registry, pre-commit, CI, MCP 2026-05-12 04:25:52 +00:00
.python-version Track DeepSeek review receipts and CAD setup tasks 2026-05-11 22:41:44 -05:00
Agda_Test.agda collapse: prover orchestration layers, FAMM verilator harness, swarm topological prober, spec sheets, virtual FPGA system tests, merge conflict resolution 2026-05-06 23:42:01 -05:00
Agda_Test.agdai collapse: prover orchestration layers, FAMM verilator harness, swarm topological prober, spec sheets, virtual FPGA system tests, merge conflict resolution 2026-05-06 23:42:01 -05:00
AGENTS.md Add verified Ollama DeepSeek review emitter 2026-05-11 23:13:54 -05:00
ARCHITECTURE.md Consolidate research stack updates 2026-05-05 21:09:48 -05:00
CHANGELOG.md Consolidate research stack updates 2026-05-05 21:09:48 -05:00
changes.zip initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
CITATION.cff Track HCMMR sources and ignore generated mirrors 2026-05-11 21:53:32 -05:00
claims.yaml Add math-first tooling: receipt schema, claims registry, pre-commit, CI, MCP 2026-05-12 04:25:52 +00:00
CONCEPTS.md initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
config initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
description initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
GETTING_STARTED.md Consolidate research stack updates 2026-05-05 21:09:48 -05:00
HEAD initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
lean_hardware_checker_summary.json Consolidate research stack updates 2026-05-05 21:09:48 -05:00
LICENSE initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
NOTICE Track HCMMR sources and ignore generated mirrors 2026-05-11 21:53:32 -05:00
package-lock.json collapse: prover orchestration layers, FAMM verilator harness, swarm topological prober, spec sheets, virtual FPGA system tests, merge conflict resolution 2026-05-06 23:42:01 -05:00
package.json Track DeepSeek review receipts and CAD setup tasks 2026-05-11 22:41:44 -05:00
PROJECT_MAP.md initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
pyrightconfig.json wip: refined investigation script for Erdős–Gyárfás conjecture 2026-05-08 14:50:03 -05:00
README.md docs: set heretical science engineering as official repo image in README 2026-05-07 02:49:09 -05:00
test.lean initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00
THIRD_PARTY_NOTICES.md collapse: prover orchestration layers, FAMM verilator harness, swarm topological prober, spec sheets, virtual FPGA system tests, merge conflict resolution 2026-05-06 23:42:01 -05:00
TODO_MAP.md Add RRC projection receipts and roadmap mirrors 2026-05-08 14:50:03 -05:00

Research-Stack (OTOM)

Heretical Science Engineering

Ultra-low power, zero-decimal data routing and compression.

If you just stumbled across this repository, you might see words like "Topological State Machine" and "Manifold Points" and assume this is dense, academic magic. It isn't.

This project is actually built on a very simple, grounded idea: Modern computing is incredibly wasteful.

Right now, running AI or compressing massive datasets requires giant, power-hungry GPUs because they rely on Floating-Point Math (heavy decimals like 3.14159...). We prove that you don't need decimals. You can map complex data (like the grammar of the English language) into structural shapes, and navigate them using only simple integers (whole numbers).

Because we only use addition, subtraction, multiplication, and modulo, this system can run on a $15 blank-slate microchip (an FPGA) instead of a massive server farm.

🛠️ How we know it works (Zero Guesswork)

We do not guess that our integer math works. We prove it. The core of this project is written in Lean 4, a strict mathematical theorem prover. If our logic has a flaw, the code physically will not compile. We currently have over 3,500 mathematically verified proofs securing this engine.

Python, Rust, and Verilog only exist in this repository to act as "dumb pipes" to feed data into our proven mathematical core.


📁 Repository Structure (By Goal)

Everything is numbered so you know exactly what depends on what.

Folder What it actually is (Plain English)
0-Core-Formalism/ The Brain. Lean 4 code. The mathematically proven integer arithmetic. This is the source of truth.
1-Distributed-Systems/ The Network. Code for making multiple computers talk to each other to share the workload.
2-Search-Space/ The Navigator. Algorithms that search through our data shapes to find the best routes.
3-Mathematical-Models/ The Library. Where we store our databases of equations and compressed English grammar shapes.
4-Infrastructure/ The Drivers. Code that physically talks to the hardware, GPUs, and APIs.
5-Applications/ The Executables. Python scripts that run the system end-to-end. (These are just shims connecting data to our Lean 4 Brain).
6-Documentation/ The Manual. Where you'll find plain-English explanations and our theoretical papers.
shared-data/ Raw data, cache, and exported files.

📖 Where to start?

If you are new here, read these two files first:

  1. Explanation for Humans - A translation guide for our technical jargon.
  2. Calculator-Plain Math - Proof that every complex concept we use can be calculated on a high-school graphing calculator.

🚀 Quick Start

# 1. Compile the mathematically proven core (Takes ~1-2 minutes)
cd "0-Core-Formalism/lean/Semantics"
lake build

# 2. Run the English Manifold Builder (Compresses English via grammar shapes)
cd "../../.."
python3 5-Applications/scripts/redpajama_english_manifold.py

⚖️ The One Rule for Contributors

Lean is the source of truth. If you add logic, it goes in 0-Core-Formalism/lean/Semantics/ and must be mathematically proven. Python scripts may not contain complex math, branching logic, or cost functions. Python is just the delivery boy for Lean.


Research Stack — All Rights Reserved