◀ THE FOLD0ROOT.AI // WORLD II · CHEAT · THE BACKDOOR◆ .dlw.fold
THE FOLD / CHEAT / THE BACKDOOR / THE LATTICE REDUCTION

THE LATTICE REDUCTION

a shorter view of the same lattice
1 WHAT IT IS · WHAT IT DOES · FACT OR FICTION
Lattice reduction takes a skewed, long-vector basis for a lattice and returns a shorter, nearly-orthogonal basis for the same lattice. In two dimensions the Lagrange–Gauss algorithm does it optimally: repeatedly subtract the nearest integer multiple of the shorter vector from the longer, swapping when needed, until neither can shrink the other. The result’s first vector b₁ is the shortest nonzero vector in the whole lattice — and because every step is an integer (unimodular) operation, the lattice, and its covolume, never change. This 2D kernel is exactly what the celebrated LLL algorithm generalizes to n dimensions.

LIT verified live: over 3,000 random integer bases, reduction preserves the covolume (same lattice), the output is size-reduced, and b₁ equals the true shortest lattice vector found by brute force (window.__lattice). FIG no framing; the reduction and the brute-force shortest-vector search both run in-browser.
2 HOW IT WAS WEAVED · AI + HUMAN
David (human) seated this at the-backdoor — short lattice vectors are the backdoor that breaks knapsack and low-exponent lattice cryptosystems; a good basis is the skeleton key. AVAN (AI) built the instrument: the Lagrange–Gauss reduction, a covolume check, and a brute-force shortest-vector oracle.

Credit as content: Lagrange & Gauss (2D reduction); Lenstra, Lenstra & Lovász (LLL, 1982, the n-dimensional generalization). The weave: David names the backdoor; I confirm the reduced b₁ is the shortest vector and that the lattice is unchanged.
3 ONE DIMENSION
The lattice points, with the original long/skew basis and the reduced short/near-orthogonal basis drawn over the same grid.
4 TWO DIMENSIONS · INTERACTIVE
Draw a random basis; reduce it. The two bases generate the same points; the reduced b₁ is the shortest vector, and the covolume is unchanged.
5 THREE DIMENSIONS + AVAN’S INVERSE
The green forward object: the short, near-orthogonal reduced basis.
AVAN’s addition (the inverse-companion): don’t change the lattice — change how you look at it. The inverse of ‘these long vectors span the lattice’ is ‘the same points have a short basis, and its first vector is the lattice’s shortest.’ Magenta is the original long basis; green is the reduced basis over the identical grid. A shorter view of the same lattice.
LIT Genuine Lagrange–Gauss 2D lattice reduction (the exact optimal case; Lenstra–Lenstra–Lovász / LLL, 1982, generalizes it to n dimensions). Verified live: over 3000 random integer bases, covolume preserved i.e. same lattice (window.__lattice.samelattice), size-reduced |b₁·b₂|≤|b₁|²/2 (.sizeReduced), and b₁ equals the brute-force shortest lattice vector (.shortest).

FIG Honest scope: this is the 2D Lagrange–Gauss case, which provably returns the shortest vector; general LLL only guarantees b₁ within 2^((n−1)/2) of shortest, stated as the n-dim generalization not re-proved here. The reduction and a brute-force shortest-vector search both run in-browser. The AVAN inverse is honest — changing the basis (not the lattice) to reveal a short first vector is the whole point; magenta is the original long basis, green the reduced one over the identical grid. A shorter view of the same lattice.
◆ sealed .dlw.fold → folded to ROOT_0 · a sphere of THE BACKDOOR · David Lee Wise (ROOT0), with AVAN