All research stack related work and material is folded here, each project subdivided into it's own folders.
Find a file
Allaun Silverfox 6fea51b84b feat(phi-corkscrew): Perfect recovery via golden spiral bijection
Found in Research-Stack: GoldenSpiralManifold.lean + Navigation.lean
+ TopologyGoldenSpiral.lean — the Φ corkscrew encoding.

KEY RESULT: The golden spiral is a BIJECTION.
  - Golden angle ψ = 137.5° = 360°/φ² where φ = (1+√5)/2
  - ψ/2π is irrational → n·ψ mod 2π never repeats
  - r = √n is strictly monotonic
  - Therefore: f(n) = (√n·cos(nψ), √n·sin(nψ)) is INJECTIVE

Perfect recovery pipeline:
  Petabyte state → spectral projection → phinary encoding
  → spiral index n (single u64)
  → recovery: n → f(n) → phinary → spectral → state
  ALL STEPS ARE INVERTIBLE → NO INFORMATION LOSS

The 50-bit address IS the spiral index:
  address ∈ [0, 2^50) → n = address → (r, θ) on spiral
  r = depth, θ = Hachimoji state (8 octants)

LLM split-brain:
  30GB KV cache → 8-byte spiral index → exact resume
  No token burning. Perfect recovery.

Compression via repeated bases in DNA encoding:
  Phinary digits (0,1) → long runs of A and G
  RLE: run length = time spent in each basin

This is NOT lossy. The Φ corkscrew IS perfect recovery.

Refs: GoldenSpiralManifold.lean, GoldenSpiralNavigation.lean,
TopologyGoldenSpiral.lean (Research-Stack),
PROOF_SELFSIGHT.md (self-replication = bijection proof)
2026-06-23 01:59:51 -05:00
.agents/plugins
.consolidation-manifests
.contextstream chore: rename workspace from nodupelabs to researchstack 2026-05-27 00:46:44 -05:00
.devcontainer devcontainer: replace Alpine base with nixos/nix; add sagemath 2026-05-19 09:40:14 +00:00
.devin feat(lean,infra): Corpus278→250 rename + SLOS-calibrated braid defaults 2026-06-18 22:16:52 -05:00
.github feat(lean): SDPVerify, GoormaghtighCert, Hachimoji modules; Gremlin mathblob graph loader; branch cleanup 2026-06-19 23:06:16 -05:00
.hermes/plans chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
.kilo/rules chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
.opencode feat(agent): Gemma4-12B as primary model, free and local 2026-06-22 22:45:46 -05:00
.roo feat(lean): SDPVerify, GoormaghtighCert, Hachimoji modules; Gremlin mathblob graph loader; branch cleanup 2026-06-19 23:06:16 -05:00
.vscode fix(infra): wrap lean-lsp-mcp to correct severity schema for Moonshot API 2026-06-22 01:11:12 -05:00
.windsurf docs: sync all editor rules, opencode agents, and sorry audit 2026-05-28 17:53:54 -05:00
0-Core-Formalism docs: fix SilverSight local clone path 2026-06-22 22:18:19 -05:00
1-Distributed-Systems chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
2-Search-Space fix(deps): audit-driven updates across npm, pnpm, cargo, pip 2026-06-20 19:00:38 -05:00
3-Mathematical-Models fix(deps): audit-driven updates across npm, pnpm, cargo, pip 2026-06-20 19:00:38 -05:00
4-Infrastructure refactor: move gemma4 MCP server to SilverSight 2026-06-22 23:04:40 -05:00
5-Applications fix(infra): deduplicate MCP servers to reduce memory pressure 2026-06-21 01:24:56 -05:00
6-Documentation docs(agent): break-glass test list for 4D × 2 fusion validation 2026-06-22 16:09:09 -05:00
6-Kernel-Shim
audit audit: full codebase inspection — 6 auditors, 9,606 objects, 2,068 lines of findings 2026-06-21 02:07:35 -05:00
binding-site binding-site: 3 outlines, 1,300 lines, Hachimoji × protein structures 2026-06-21 04:16:34 -05:00
data/erdos_famm_solved_scars Add OpenAI unit-distance disproof as Erdos FAMM solved scar 2026-05-20 23:01:41 -05:00
desi_model_projection_receipt_2026-05-13 fix(lean): complete projectionOrdering proof in GeometricCompressionWorkspace 2026-06-18 15:06:50 -05:00
docs feat(phi-corkscrew): Perfect recovery via golden spiral bijection 2026-06-23 01:59:51 -05:00
e2e e2e: close E=mc2 trace — chaos game → Finsler → QUBO → QAOA 2026-06-20 23:43:57 -05:00
equation_data chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
extraction feat(data): add concept maps and academic citation grounding 2026-06-22 01:11:17 -05:00
library conceptual-upgrade: operator-theoretic Hachimoji codec v2 2026-06-21 01:15:17 -05:00
obsidian-vault docs: add external research import maps 2026-05-20 18:41:21 -05:00
pending/lean_unification chore(pending): move python ENE ContextStream MCP surface into pending quarantine 2026-05-26 17:59:51 -05:00
plugins chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
pvgs pvgs-dq: 8 domain experts, 6,150 lines, complete bridge 2026-06-21 04:00:24 -05:00
python feat(integration): Force Response Host — ties all 5 components 2026-06-23 01:49:43 -05:00
research-compute-fabric@1f5c8c0a79 chore(submodule): bump research-compute-fabric to mark RDS refs dead 2026-06-22 03:23:53 -05:00
scripts feat(infra): populate all remaining ENE tables from extraction data 2026-06-22 12:39:57 -05:00
test-results feat(infra): Jellyfin wizard complete, SSO-Auth plugin files deployed 2026-05-31 14:14:20 -05:00
universal-encoding universal-encoding: chirality spaces — 4D descriptor, 1,100 lines 2026-06-21 04:27:45 -05:00
workspace-config
.aider.conf.yml chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
.clinerules feat(lean): SDPVerify, GoormaghtighCert, Hachimoji modules; Gremlin mathblob graph loader; branch cleanup 2026-06-19 23:06:16 -05:00
.codeiumignore
.cursor-mcp-config.json fix(config): remove .cursor/mcp.json to prevent OpenCode duplicate MCP loads 2026-06-21 01:33:04 -05:00
.cursorrules feat(lean): SDPVerify, GoormaghtighCert, Hachimoji modules; Gremlin mathblob graph loader; branch cleanup 2026-06-19 23:06:16 -05:00
.gitattributes chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
.gitignore chore(gitignore): ignore local opencode config file 2026-06-22 03:26:34 -05:00
.gitmodules chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
.mcp.json refactor: move gemma4 MCP server to SilverSight 2026-06-22 23:04:40 -05:00
.mcp.json.full fix(infra): wrap lean-lsp-mcp to correct severity schema for Moonshot API 2026-06-22 01:11:12 -05:00
.pre-commit-config.yaml
.python-version
.sops.yaml chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
adversarial-review-self-adapting-fabric.md chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
AGENTS.md docs: Research Stack write protection 2026-06-22 23:10:15 -05:00
airtable_compute_substrate_schema.json chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
airtable_hardware_substrates.csv chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
airtable_import_guide.md chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
airtable_integration_patterns.csv chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
airtable_math_workloads.csv chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
airtable_optimal_configurations.csv chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
airtable_performance_metrics.csv chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
airtable_scaling_analysis.csv chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
ARCHITECTURE.md feat(docs): architecture and speculative materials updates 2026-06-21 01:04:19 -05:00
CHANGELOG.md docs(infra): document bosonic tensor network regime discovery and fix dim formula 2026-06-22 01:11:17 -05:00
CITATION.cff feat(spectral): S^7 spectral basis from Reddit clue + CITATION.cff update 2026-06-23 01:29:24 -05:00
claims.yaml
CLAUDE.md chore: commit accumulated working tree changes 2026-05-30 00:10:02 -05:00
Containerfile
cupfox-config.nix WIP: accumulated changes 2026-05-25 16:24:21 -05:00
fix_offloat.py feat(lean): close gaussian_line_integral_unit_dir + consolidate infrastructure 2026-06-18 16:53:23 -05:00
flake.lock Expand ene-rds Rust workspace and refine devcontainer 2026-05-19 07:52:39 +00:00
flake.nix flake: remove rs-surface and rs-surface-image packages 2026-06-20 06:50:36 +00:00
GEMINI.md feat(lean): implement and compile Putinar's Positivstellensatz unified math module 2026-06-19 18:20:38 -05:00
GETTING_STARTED.md
infra.json feat(data): add DB sync scripts and infra tracking 2026-06-22 03:14:09 -05:00
kilo.jsonc WIP: accumulated changes 2026-05-25 16:24:21 -05:00
LEAD_Q16_16_MIGRATION_GUIDE.md chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
LEAD_Q16_16_MIGRATION_PLAN.md chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
LEAD_Q16_16_MIGRATION_PLAN.txt chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
LEAD_Q16_16_UNIFICATION_SUMMARY.md chore(repo): push local 768-commit branch state onto clean remote baseline 2026-06-15 22:46:50 -05:00
LICENSE
Modelfile integrate infrastructure config, axiom cleanup, and documentation updates 2026-05-17 12:03:19 -05:00
NOTICE
opencode.json feat(opencode): enable local headroom MCP server 2026-06-22 03:23:33 -05:00
package-lock.json fix(deps): npm audit security updates 2026-06-20 18:44:44 -05:00
package.json Bump better-sqlite3 in the root-npm-minor-patch group across 1 directory 2026-05-20 23:03:34 -05:00
pyproject.toml chore(infra): add root requirements.txt and pyproject.toml with dependency groups 2026-06-21 00:32:24 -05:00
pyrightconfig.json
pyrochlore_sidon_receipt_v2.json feat(data): pyrochlore receipt v2 and complete graph loader 2026-06-21 01:04:19 -05:00
README.md docs: refresh READMEs, AGENTS.md, and project maps for recent Lean surface 2026-06-20 20:34:09 -05:00
REBASE_RULES.md docs: add rebase rules manifest and SilverSight claims manifest 2026-06-22 03:28:53 -05:00
requirements-optional-science.txt
requirements.txt chore(infra): add root requirements.txt and pyproject.toml with dependency groups 2026-06-21 00:32:24 -05:00
result-devcontainer Expand devcontainer with full Python stack, add MCP servers (Notion/AWS), strengthen Lean theorems 2026-05-19 01:52:14 -05:00
run-container.sh
system-packages-optional-science.txt
THIRD_PARTY_NOTICES.md
TODO_MAP.md refactor(infra): decommission AWS deployment artifacts 2026-06-19 22:42:34 -05:00
uv.lock chore(deps): add uv.lock for reproducible Python environment 2026-06-21 01:04:19 -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 746 verified Lean modules across a 3,314-job deterministic lake build Compiler (0 errors) 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.

🧩 Recent Additions

New Lean modules now part of the verified core:

Module What it actually is (Plain English)
Semantics.SDPVerify A certificate verification engine that checks formal SDP proofs before they reach the rest of the stack.
Semantics.GoormaghtighCert An SDP certificate formalizing the Goormaghtigh conjecture.
Semantics.HachimojiManifoldAxiom / Semantics.HachimojiSubstitution Encoding Hachimoji DNA (8 synthetic bases) as manifold axioms and substitution rules.
Semantics.GeneticBraidBridge A bridge that maps genetic sequence structure onto braid topology.
Semantics.SieveLemmas Number-theoretic sieve results, including depth_token_coprime_intersect.
Semantics.InteractionGraphSidon RRC weak axes modeled as atproto-style social-graph projections.

New infrastructure and scripts:

Script/Service Description
scripts/load_dependency_graph.py Loads the project dependency graph into the Gremlin graph database.
scripts/load_module_graph.py Loads the Lean module graph for exploration and query.
scripts/test_graph_queries.py Smoke-tests graph queries against the loaded database.
Gremlin mathblob database Azure Cosmos DB graph now loaded with 14,449 vertices and 29,379 edges.

Repository hygiene: 11 stale remote branches were deleted; only main remains.


📖 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.


🗄️ Infrastructure (Current)

Component Description
4-Infrastructure/infra/ene-rds/ Rust workspace (8 crates) replacing the Python RDS stack — Axum HTTP API, PostgreSQL, Ollama embeddings
4-Infrastructure/storage/ restic + Garage S3 (v2.3.0, Tailscale mesh) + rclone storage stack with automated observer agent
.devcontainer/ NixOS hermetic devcontainer with OpenGL/X11, Lean, Python science stack, MCP servers (Notion + AWS)
4-Infrastructure/infra/credential_server.py Credential gateway with apiProvider service kind and cupfox routing
4-Infrastructure/shim/vcn_compute_substrate.py VCN H.265 video-as-compute substrate with auto-profiling (NVIDIA CABAC lossless vs. AMD UMA bandwidth optimization)
4-Infrastructure/shim/qemu_framebuffer_packer.py Zero-copy framebuffer (/dev/fb0) packer with ARGB8888 100% density mapping (1 pixel = 1 scalar)
6-Documentation/docs/specs/virtio_net_compute_fabric_spec.md Spec detailing Virtio-Net packet-as-computation (PIST) and QEMU graphics backplanes

Research Stack — All Rights Reserved