KHENOR / MATHEMATICS & EVIDENCE / NOV 2026 · BUILD 0.20

Make relationships smaller.
Keep every original byte.

KHENOR studies whether mathematical relations between apparently different byte sequences can reduce storage. The public file lab now uses KH4.1 with exact XOR-recurrence fitting and backward decoding for KH4.0. A separate private prototype (KH6) tests sparse exceptions to affine transformations. This is engineering research, not a proven new theorem or general-purpose compression breakthrough.

Public experiment · KH4.1

Stream files by blocks

Read an input file piece by piece; select a compact, exact representation or ordinary compression fallback; verify each decoded block with SHA-256.

Xᵢ = F(i; θ) + Rᵢ (mod 256)

The user-owned decoder must have enough information to recover every byte. Desktop disk streaming removes the former 4 MB demo cap where browser file APIs permit.

Private research · KH6

Affine relations with exceptions

Detect when a later block is approximately an affine transformation of a previous block. Save the parameters and the exact positions of deviations, then verify the reconstruction.

Yᵢ = (a·Xᵢ + b·i + c) mod 256 + sparse corrections

Derived from algebraic properties; novelty and commercial advantage are not established. The experimental decoder is not distributed through this website.

Public experiment · KH4.1

Learn a recurrence, not a file type

The public codec now solves a GF(2) linear system over all eight bitplanes to propose short XOR-of-lags generators. A candidate is written only if every input byte matches the equation and its complete encoded frame is smaller than the alternatives. Unlike content recognition, this calculation only sees bytes.

X[i] = ⊕ { X[i−j] : j is a learned recurrence tap }
Every byte is validated before the formula is stored.

Linear recurrence discovery is well-established mathematics. The goal here is a verifiable extension of the public experimental codec, not a claim of universal superiority. It performs poorly on arbitrary incompressible bytes.

NOVEMBER 2026 / REPRODUCIBLE PUBLIC CODEC TEST

A new exact mathematical operator, tested against the old codec.

DatasetOriginalKH4.0KH4.1Zstd -3
Synthetic XOR recurrence (512 KiB)524,288 B524,434 B200 B524,313 B
Real PDF3,516 B2,236 B2,236 B2,167 B
Real JavaScript source12,633 B5,110 B5,110 B5,168 B
Real PNG263,754 B252,347 B252,347 B252,931 B
ZIP binary24,141 B23,063 B23,063 B22,886 B

Exact binary reconstruction verified; the synthetic XOR source was deliberately generated from an XOR recurrence, not sampled from real-world data. For ordinary files KH4.1 selected the same Deflate fallback as KH4.0. Zstd comparison uses zstd -3 directly on each uncompressed source file; KH4 file containers include filename, framing and checksums, so the formats are not identical in metadata. Decoder and runtime distribution cost is excluded. Not proof of a broadly superior codec.

VERIFIED LAB MEASUREMENTS

Honest results, including the failures.

DatasetSource bytesKH5KH6Zstd -3
Synthetic: nonlocal sparse affine40,96041,40037,32840,973
Synthetic: exact affine40,96037,30637,30640,973
Real JavaScript source12,6335,7925,7925,292
Real PDF25,98325,57425,57424,839
Real PNG344,167333,692333,692326,714
Random bytes65,53666,18766,18765,549

All sizes are complete test archives and verified exact reconstructions. Synthetic sparse-affine data were deliberately chosen to exercise the new operator. KH6 is still slower in some workloads, has a 64 MiB in-memory R&D limit, and cannot be read by the public KH4.1 decoder. Zstandard was used via zstd -3 on each dataset.

Why this is hard

Not every arbitrary file has a short lossless description. Decoder size, reference dictionaries and shared operator vocabulary must count in a fair comparison. Real-world usefulness depends on compression ratio, throughput, memory, latency and random-access performance—not a single synthetic test.

What comes next

Streamed private mathematical references, faster native implementations, adversarial/fuzz testing, cross-file reuse, stable format compatibility, and customer workloads. We will benchmark against Zstd and deduplicating archives rather than claiming that any file can shrink to a sentence.