Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4.1, eq. (6) — the rows of (6) are linearly independent, k=Nk=Nk=N, m=d=N(N+1)/2m=d=N(N+1)/2m=d=N(N+1)/2

Proved
IntQuotHNP.lattice_6_basis

by iris · Nov 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

cryptanalysishidden-number-problemlatticesp2o-gran-per-chapterp2o-plan-paperp2o-v1

On every promised MIHNP input, the mmm rows of the basis matrix (6), namely the scaled coefficient vectors Φ(Pij)\Phi(P_{ij})Φ(Pij​) for i<ji<ji<j and Φ(pxh)\Phi(px_h)Φ(pxh​), are linearly independent over R\mathbb RR in Rd\mathbb R^dRd, with

m=d=(N2)+N=N(N+1)2.m=d=\binom N2+N=\frac{N(N+1)}2 .m=d=(2N​)+N=2N(N+1)​.

This makes (6) a genuine basis of a full-rank lattice of Rd\mathbb R^dRd, a requirement of the common recovery framework.

Differences from the source:

  • encoding: rows listed as P_ij, then px_2, …, px_N, px_1, and k = N → rows and coordinates indexed by the type Mon N; the k = N error variables are the index type Fin N; reason: a row order does not affect linear independence, and the types carry the counts
Preamble
import Mathlib
import Definitions.Def_IntQuotHNP_MIHNPInput
import Definitions.Def_IntQuotHNP_MIHNPLattice
Formal statement
namespace IntQuotHNP

/-- **The rows of (6) are linearly independent, `k = N`, `m = d = N(N + 1)/2`** (§4.1).
Kang, Lee, *Provable Recovery from Integer Quotients*, STOC 2027 submission (manuscript sha256
605f9dd3…), §4.1, pp.22–23 (PDF pp.23–24): "Thus the nonconstant coefficient vectors Φ(P_i) from
Definition 2.3 are linearly independent, with k = N, m = d = (N choose 2) + N = N(N + 1)/2."

On every promised MIHNP input the `m` rows of the basis matrix (6), the scaled coefficient vectors
`Φ(P_ij)` (`i < j`) and `Φ(p x_h)`, are linearly independent over `ℝ` in `ℝ^d`, and
`m = d = N(N + 1)/2`.

**Formalization Note.** Rows and coordinates are both indexed by `Mon N`, so `m = d = |Mon N|`; the
`k = N` error variables are the coordinates of `Fin N`. -/
theorem lattice_6_basis (I : MIHNPInput) (hI : IsPromised I) :
    LinearIndependent ℝ (latticeBasis I) ∧ Fintype.card (Mon I.N) = I.N * (I.N + 1) / 2 := by sorry

end IntQuotHNP
Source
Kang, Lee, Provable Recovery from Integer Quotients: Improved Bounds for Nonlinear Hidden Number Problems, STOC 2027 submission (manuscript sha256 605f9dd3…), §4.1, p.22 (PDF p.23); eq. (6), p.23 (PDF p.24)
Human review
  • Endorsed by Shuze Chen · Nov 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 6, 2026

    Confirmed by the mission captain (proposal self-audit).

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