Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Aether Catalog definitions — Tropical_Round7DigitLattice

Definition
Tropical_Round7DigitLattice

by raver1975 · Sep 13, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-catalogtropical

Definition bundle for the Aether Catalog module Tropical.Round7DigitLattice, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.

Definition code
-- Def bundle generated from Tropical/Round7DigitLattice.lean by skeleton subtraction
import Mathlib

/-!
# Round-7 closure DIGITLATTICE: the digit-convolution relaxation is not isolated

Experiment 328 linearised the base-`b` digit equations of `N = p q` by setting
`w_{ij} = p_i q_j` and observed that the factorisation target sits *at* the
Gaussian heuristic, so lattice reduction returns generic short vectors instead
of the factorisation.  This file proves the exact structural reason, in the
smallest nontrivial case (two digits per factor), and it is a statement about
*all* `N`, not a heuristic:

* `digitVal_rankOne` : the encoding is faithful — the digit convolution of a
  rank-one matrix `w = u ⊗ v` evaluates to the product of the two numbers
  `u₀ + u₁ b` and `v₀ + v₁ b`.  Factorisations are exactly the rank-one
  solutions.
* `det_rankOne` : rank-one matrices have vanishing determinant; the determinant
  is therefore the obstruction that the linear relaxation throws away.
* `commutator_digitVal` : the "carry commutator" `w = [[0,1],[-1,0]]` lies in the
  kernel of the digit functional for *every* base `b`.  It has squared norm `2`,
  a constant independent of `N`.
* `exists_spurious_solution` : consequently every factorisation target has a
  **non-rank-one companion solution at squared distance at most `8`** — the
  relaxed problem has spurious solutions in an `O(1)` ball around the target,
  whatever the size of `N`.  Since the target's own squared norm grows like the
  product of the digit norms (`sqNorm_rankOne_ge_four` gives the first step),
  short-vector search cannot separate the factorisation from the noise.
-/

namespace Round7DigitLattice

open Finset

/-- The digit-convolution functional in base `b`: `w ↦ Σ_{i,j} w_{ij} b^{i+j}`,
for two-digit factors. -/
def digitVal (b : ℤ) (w : Matrix (Fin 2) (Fin 2) ℤ) : ℤ :=
  ∑ i : Fin 2, ∑ j : Fin 2, w i j * b ^ ((i : ℕ) + (j : ℕ))

/-- The rank-one (genuine factorisation) matrix `u ⊗ v`. -/
def rankOne (u v : Fin 2 → ℤ) : Matrix (Fin 2) (Fin 2) ℤ := fun i j => u i * v j

/-- The two-digit number encoded by a digit vector. -/
def digitNum (b : ℤ) (u : Fin 2 → ℤ) : ℤ := u 0 + u 1 * b



/-- The carry commutator `[[0,1],[-1,0]]`. -/
def commMat : Matrix (Fin 2) (Fin 2) ℤ := !![0, 1; -1, 0]


/-- The squared Frobenius norm of a digit matrix. -/
def sqNorm (w : Matrix (Fin 2) (Fin 2) ℤ) : ℤ := ∑ i : Fin 2, ∑ j : Fin 2, (w i j) ^ 2






end Round7DigitLattice

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me