Documentation

CslibFrontier.Algorithms.PlantedClique.PowerSearch

Correctness of the integer power search #

The integer growth test agrees exactly with squared Euclidean norms after casting to the reals. The finite-dimensional power-growth theorem therefore guarantees that growingColumn? succeeds on a symmetric matrix with a sufficiently large signal direction. The selected vector also inherits the rank-one approximation estimate.

theorem Cslib.Algorithms.PlantedClique.toLp_powerVector {n : ℕ} (M : Matrix (Fin n) (Fin n) ℤ) (s : ℕ) (i : Fin n) :
(WithLp.toLp 2 fun (j : Fin n) => ↑(powerVector M s i j)) = (↑(Matrix.toEuclideanCLM (M.map ⇑(Int.castRingHom ℝ))) ^ s) ((EuclideanSpace.basisFun (Fin n) ℝ) i)

Casting an integer power column agrees with applying the corresponding real linear operator power to a standard-basis vector.

The squared real Euclidean norm of a power column is its integer squared norm cast to ℝ.

theorem Cslib.Algorithms.PlantedClique.growingColumn?_isSome_of_large_direction {n : ℕ} (M : Matrix (Fin n) (Fin n) ℤ) {k : ℕ} (hk : 0 < k) (hM : (M.map ⇑(Int.castRingHom ℝ)).IsHermitian) {u : EuclideanSpace ℝ (Fin n)} (hu : ‖u‖ = 1) (hgain : 2 * (↑k ^ 2 / 4) ≤ ‖(Matrix.toEuclideanCLM (M.map ⇑(Int.castRingHom ℝ))) u‖ ^ 2) :

A large unit direction in a symmetric integer matrix makes the finite growth search succeed.

A successful search returns a nonzero vector with the stated integer growth bound.