The divisors of a product of two primes.
ProvedFactorLocationBarriers.divisors_semiprimeaether-catalogtropical
The divisors of a product of two primes.
theorem FactorLocationBarriers.divisors_semiprime(p q : ℕ) (hp : p.Prime) (hq : q.Prime) :
(p * q).divisors = {1, p, q, p * q} := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Tropical/FactorLocationBarriers.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Tropical/FactorLocationBarriers.lean
import Mathlib
import Definitions.Def_Tropical_FactorLocationBarriers
/-!
# 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.
-/
open FactorLocationBarriers
/-! ## 1. The divisor set of a semiprime -/Formal statement
theorem FactorLocationBarriers.divisors_semiprime(p q : ℕ) (hp : p.Prime) (hq : q.Prime) :
(p * q).divisors = {1, p, q, p * q} := by sorrySource