Sign inSign up

credkellar/math-the-matrix

By credkellar

•Updated 3 days ago

MATH-THE-MATRIX lab: 56 formulas, 46 candidates, 2048+ tests, sandbox deploy only, 12 HOLD gates v2.

Image
Languages & frameworks
Machine learning & AI
Developer tools
1

47

credkellar/math-the-matrix repository overview

⁠MATH-THE-MATRIX

A testing lab that uses equations and formulas to score ideas for future evolution — medical and natural-medicine hypotheses (not proven cures), tech inventions, biology, science, data science, robotics, transportation, levitation, computers, the AI ladder (LLM, SLM, ML, NNL, ANI, AGI, ASI), atoms and protons, natural resources (solar, hydro, oil), fruits and vegetables nutrition maths, supercomputers and quantum computers.

⁠Quick start

docker pull credkellar/math-the-matrix:latest
docker run --rm credkellar/math-the-matrix

Inside the image / repo:

python3 main.py                    # full CHECKS + 2048-test battery
python3 main.py --tests 5000       # bigger battery
python3 main.py --hold-demo        # print the 12 HOLD gates (exit 2, on purpose)
python3 main.py --deploy-sandbox   # write sandbox registry for promoted creations
python3 -m pytest -q               # test suite

⁠What it is

Every idea must stand on a real formula, and every formula must pass a real numeric check, before the idea is even scored.

  • 56 formulas, 24 domains, each with a numeric self-check — PEMDAS, the quadratic formula, Schwarzschild radius, Kruskal-Szekeres coordinates, SIR epidemic model, Michaelis-Menten enzyme kinetics, Hardy-Weinberg, Bayes theorem, Shannon entropy, transformer softmax + attention, maglev force balance, acoustic levitation nodes, Avogadro atom count, proton charge, Amdahl's law, FLOPS scaling, qubit 2^n state space, Grover iterations, and more
  • 46 candidates in 22 kinds, each standing on a catalog formula, scored deterministically (same seed, same score, every run)
  • Seeded test battery: 2,048 tests by default, 5,000 verified — formula checks plus algebraic property tests, all actually executed
  • Zero dependencies — Python 3.12 standard library only, fully offline

⁠The council

  • Gemini Carbon 4 Extended Thinking — DECIDER (full seat): MAP → MODEL → STRESS → DECIDE, tiers 2048 / 8192 / 32768 (32768 default), offline-authoritative, key by name only. It can only tighten, never lifts a HOLD.
  • Muse AI — ADVISOR (full seat): Muse Spark / Wonder via the Meta Model API, key by name only. Authority: none. It returns 4 advice items per evaluation and can never override the decider or a gate. Key creation is free; usage is billed.
  • Google Flows — all 4, plan-only, for both brains: FlowX (13-subtask graph), Workspace Studio, Filmmaking (script → storyboard, never rendered, never evidence), DataX (telemetry plan).
  • Strictest verdict wins.

⁠Deploy = sandbox only

Candidates scoring 0.72+ are promoted to a local verified-creations registry (output/verified_creations.json) — 15 promoted in the verified run. That is the only "deploy" this lab does.

12 HOLD gates block everything real-world: clinical_use, medical_advice, real_deployment, live_hardware, human_testing, animal_testing, mainnet_or_money, external_publish_claim, untrusted_code_exec, live_data_fetch, regulatory_filing, patent_filing.

⁠Honest scope

  • Medical entries are hypotheses and maths models, NOT proven cures, and never medical advice.
  • Natural-medicine entries are lab maths only (e.g. extraction yield) — not remedies; ingestion and human use are HOLD.
  • Invention, robotics and levitation entries are simulation-scored concepts, not working builds.
  • Quantum entries are local teaching simulations — no live quantum hardware. Supercomputer entries are planning maths — no live cluster.
  • AGI / ASI entries are an evaluation rubric only (ANI < AGI < ASI) — this lab does not build AGI or ASI.

⁠Verified

pytest:                 11 passed
main CHECKS:            13/13 PROCEED
Test battery:           2048/2048 passed · 5000/5000 passed
Formulas:               56/56
--hold-demo:            exit 2, 12 gates
--deploy-sandbox:       15 promoted creations, real-world deployment HOLD
CI + Docker Publish:    success on GitHub (credkellar/MATH-THE-MATRIX)

⁠Project structure

MATH-THE-MATRIX/
├── main.py
├── math_matrix/
│   ├── catalog.py      # 56 formulas, 24 domains
│   ├── labs.py         # 46 candidates, 22 kinds
│   ├── test_runner.py  # seeded 1000s-test battery
│   ├── brains.py       # Carbon 4 decider + Muse advisor
│   ├── flows.py        # 4 Google Flows, plan-only
│   ├── gates.py        # 12 HOLD gates
│   └── deploy.py       # sandbox registry deploy
├── tests/
├── Dockerfile
└── requirements.txt    # zero dependencies

Source: https://github.com/credkellar/MATH-THE-MATRIX⁠ — built by Darion Kellar.

Tag summary

Content type

Image

Digest

sha256:0ada117bf…

Size

41.7 MB

Last updated

3 days ago

docker pull credkellar/math-the-matrix