Skip to main content

Riemannian geometry for transformer compression, speculative decoding, safety, and the Riemann Hypothesis

Project description

IRIS-MD (3)

DOI License: CC BY 4.0

A geometric framework for understanding, compressing, and extending transformer language models. Eighteen papers spanning compression theory, living-model adaptation, and a geometric attack on the Riemann Hypothesis.

Papers Volume (I-XV) · Volume Extended (I-XVIII) · Jury Proof
Website nagusamecs.github.io/HyperTensor
DOI (Volume v1) 10.5281/zenodo.20077378
Reproduction REPRODUCTION.md
Status 15/18 papers at 100% · External verification 14/14 · Jury 53× at N=1M

What This Project Contains

Papers I-X: Empirical Kernel. GRC attention compression (106% throughput at k=1024 via L2 cache residency), cross-GPU transfer (3 GPU architectures validated), speculative geodesic decoding, OTT manifold runtime, CECI model grafting (7 published chimeras, 5/7 improve MMLU), and cluster compression.

Papers XI-XV: Living-Model Stack. Universal Geodesic Taxonomy for shared coordinate systems across models (bilateral subspace overlap 0.968 at 1.5B, 7B demonstrated). Native geodesic training directly in compressed manifolds. Safe OGD with mathematical safety guarantee (0% TEH by construction). Behavioral sniping at 7.4× specificity. COG+TEH for lifelong learning (10,000 interaction convergence confirmed by Mann-Kendall test).

Papers XVI-XVIII: Riemann Hypothesis. A geometric attack using Z₂-symmetry from the functional equation. AGT detects critical-line zeros at 100% accuracy across 50,000 primes and 1,030 zeta zeros (1D critical subspace at all scales, 800× separation). ACM learns the involution in latent space. The Bridge protocol composes all three papers into a unified proof-search pipeline validated on 105 known zeros (jury confidence J ≈ 1 − 10⁻³¹⁵).

The Geometric Jury. Eight proven theorems provide the mathematical foundation: aggregation uniqueness (J = 1 − ∏(1−cᵢ)), instinct horizon derivation, convergence rate, centroid entanglement, contrastive separation, ensemble optimality, regression superiority, and sample complexity. The jury is the unifying principle across all 18 papers.

Key Results (May 5, 2026)

Result Measurement
AGT at 50K primes + 1K zeros 100% detection, k90=k95=1, 800× separation
COG 10K interactions 14 trajectories, metric saturates, MK p=0.015
Bilateral UGT 1.5B Subspace overlap 0.968
7B bilateral UGT Principal angles 0.01–0.11° (L40S, 4-bit + checkpointing)
Jury scaling at N=1M 53× faster than O(N) full scan
External verification 14/14 (100%) on real 1.5B model (sklearn/scipy/numpy)
Performance optimizations 9/12 verified (randomized SVD 9×, svd_lowrank 10.6×, batch cosine 220×)

Quick Start

# External verification (requires Qwen2.5-1.5B, ~3.1GB VRAM)
python scripts/verifyexternal15b.py

# AGT at scale (fits 8GB VRAM)
python scripts/agt_10k.py --scale 50000

# COG lifelong learning
python scripts/cog_10k.py --n 10000

# Universal domain brain mapper (any HuggingFace model)
python scripts/ugtdomainmapper.py --model Qwen/Qwen2.5-0.5B-Instruct

# Jury bridge (Riemann meta-jury)
python scripts/jury_bridge.py

Repository Layout

Directory Contents
ARXIVSUBMISSIONS/ 18 paper TeX sources, compiled PDFs, juryproof.tex
scripts/ Python research scripts, benchmarks, verification tools
benchmarks/ All measurement data (AGT, COG, verification, optimization results)
docs/ Handoff documents, Riemann proof, comprehensive state, papers
runtime/ C inference runtime, JIT kernels, tensor operations
host/ Geodessical host, MCP server, GPU daemon
legacy/ TensorOS freestanding-OS code (boot, kernel, virt) — preserved, not required

Build (C Runtime)

.\build_host.ps1

License

HyperTensor is dual-licensed:

The Zenodo deposit (10.5281/zenodo.20077378) releases the manuscript under CC BY 4.0. Reuse of either layer requires attribution; see the respective license texts for full terms.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hypertensor_framework-1.1.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hypertensor_framework-1.1.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file hypertensor_framework-1.1.0.tar.gz.

File metadata

  • Download URL: hypertensor_framework-1.1.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for hypertensor_framework-1.1.0.tar.gz
Algorithm Hash digest
SHA256 edf95084701aedb13d47f4dc65b76a7fa55202c673e0648882635bf7ba83e398
MD5 f23ff6dcd647c3d7915d55efc828f8d4
BLAKE2b-256 32fee4d1a3a037b79c49f6f7ea0f9f355f6f3cfed01c26d5f860126bb1fe5000

See more details on using hashes here.

File details

Details for the file hypertensor_framework-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hypertensor_framework-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aacfbc45c9514fd0d293118820d37b244e9e2ec2ad9207814ece876327d2a3e5
MD5 b9a65c16c0e2673189eef9eea2ad38f9
BLAKE2b-256 104b3f73cc1d27d413baaff062f5cec51f94c3688b21efb8e27633e72c93ceb0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page