Aether Catalog definitions — Tropical_FactorLocationBarriers
DefinitionTropical_FactorLocationBarriersaether-catalogtropical
Definition bundle for the Aether Catalog module Tropical.FactorLocationBarriers, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.
Definition code
-- Def bundle generated from Tropical/FactorLocationBarriers.lean by skeleton subtraction
import Mathlib
/-!
# Counting is free, locating is hard: the semiprime witness barriers
This file formalises the arithmetic core of the round-4 closures `HOLOG-MARGIN`,
`SPARSEREC`, `MPS-PARENT` and `OPO-FAC`. All four hypotheses proposed an exotic
resource (holographic partition functions, compressed sensing, tensor-network
ground states, optical Ising machines) for factoring a semiprime `N = p q`, and
all four were closed by the same structural fact, which we prove here:
* the *counting* data attached to `N` (number of divisor pairs = partition
function `Z = τ(N) = 4`) is **constant across all semiprimes**, hence carries
zero information (`card_divisors_semiprime`, `tau_cannot_locate`);
* the *witness* data is a 2-spike vector: exactly two divisors lie in the search
window `[1, √N]`, namely `1` and `p` (`divisors_below_corner`), so the search
space that must be aggregated has size `√N` with exactly one nontrivial hit
(`nontrivial_witness_below_corner`);
* the ground space of the tensor-network / Ising energy `E(a,b) = (N - ab)²` is
the four-point divisor set `{(1,N),(p,q),(q,p),(N,1)}` with no intermediate
structure (`energyGroundSet_eq`, `energyGroundSet_ncard`), so descent has no
gradient and random search succeeds with density `4/N²`.
The min-plus (tropical) thread: in logarithmic coordinates the divisor hyperbola
`x · y = N` is the tropical line `X ⊙ Y = N`, whose corner is at `√N`; every
divisor pair straddles that corner (`divisor_pair_straddles_corner`). The
"free witness aggregation" barrier is precisely the statement that locating the
unique nontrivial lattice point on one side of the corner costs the whole
window.
-/
namespace FactorLocationBarriers
/-! ## 1. The divisor set of a semiprime -/
/-! ## 2. The tropical corner: every divisor pair straddles `√N` -/
/-! ## 3. SPARSEREC: the witness vector is a 2-spike -/
/-! ## 4. MPS-PARENT / OPO-FAC: the ground space is a four-point delta -/
/-- The tensor-network / Ising energy `E(a,b) = (N - ab)²` over `ℤ`. -/
def energy (N a b : ℕ) : ℤ := ((N : ℤ) - (a : ℤ) * (b : ℤ)) ^ 2
end FactorLocationBarriers