OctoInform Beta

OpenAI preprint, September 2026 · §6. Sampling integral columns

Lemma 6.2: Conditional event probabilities and small determinant masses expressed as orbit and mixture lifts over auxiliary weights

Exact lifting identities for sampled integer columns.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

To construct point sets in the unit square with no small triangles, one samples integer vectors in a shifted three-dimensional box [0,N)2×[N,2N)∩ℤ3[0, N)^2 \times [N, 2N) \cap \mathbb{Z}^3 and projects each vector u=(u1,u2,u3)u = (u_1, u_2, u_3) to the plane by π(u)=(u1/u3,u2/u3)\pi(u) = (u_1/u_3, u_2/u_3). When the side length N=LhqN = Lhq is a multiple of two moduli hh and qq, each sampled column is drawn conditionally on a target residue modulo hh, randomized by an element of the special linear group SL3(Rh)\mathrm{SL}_3(R_h) over Rh=ℤ/hℤR_h = \mathbb{Z}/h\mathbb{Z}, and on its residue modulo qq falling in a random auxiliary subset V⊆(ℤ/qℤ)3V \subseteq (\mathbb{Z}/q\mathbb{Z})^3.

For a triple of sampled columns, the area of the projected triangle is controlled by the determinant of the 3×33 \times 3 integral matrix formed by the three columns. Lemma 6.2 expresses the probability of an event for three sampled columns, as well as the mass of small determinant triples under a mixture of residue targets, as an exact weighted sum over integral triples whose residues modulo hh lie in the target orbit, weighted by the normalized auxiliary inclusion weight.

Shifted boxes, residues, and small determinants

For natural numbers NN and dd and an integer shift vector σ=(σ1,…,σd)∈ℤd\sigma = (\sigma_1, \dots, \sigma_d) \in \mathbb{Z}^d, the shifted integer box ℬ(N,d,σ)\mathcal{B}(N, d, \sigma) is the Cartesian product of half-open integer intervals ℬ(N,d,σ)=∏i=1d([σi,σi+N)∩ℤ).\mathcal{B}(N, d, \sigma) = \prod_{i=1}^{d} \bigl([\sigma_i, \sigma_i + N) \cap \mathbb{Z}\bigr).(1)✦ The sampling shift for a natural number NN is the vector (0,0,N)∈ℤ3(0, 0, N) \in \mathbb{Z}^3.✦ A sampled integer column is an element of the three-dimensional box ℬN=ℬ(N,3,(0,0,N))\mathcal{B}_N = \mathcal{B}(N, 3, (0, 0, N))✦, and for natural numbers hh, qq, and LL, the integer column box is ℬLhq\mathcal{B}_{Lhq}.✦

For a natural number mm and a vector x∈ℬ(N,d,σ)x \in \mathcal{B}(N, d, \sigma), the residue vector modulo mm, written rm(x)∈(ℤ/mℤ)dr_m(x) \in (\mathbb{Z}/m\mathbb{Z})^d, is obtained by reducing each coordinate of xx modulo mm.✦ For a triple x=(x1,x2,x3)∈ℬ(N,d,σ)3x = (x_1, x_2, x_3) \in \mathcal{B}(N, d, \sigma)^3, write rm⊗3(x)=(rm(x1),rm(x2),rm(x3))r_m^{\otimes 3}(x) = (r_m(x_1), r_m(x_2), r_m(x_3)).

A point in ℝ2\mathbb{R}^2 is an ordered pair of real numbers.✦ For a natural number NN, the projective map π:ℬN→ℝ2\pi : \mathcal{B}_N \to \mathbb{R}^2 sends a vector u=(u1,u2,u3)∈ℬNu = (u_1, u_2, u_3) \in \mathcal{B}_N to π(u)=(u1u3,u2u3).\pi(u) = \biggl(\frac{u_1}{u_3}, \frac{u_2}{u_3}\biggr).(2)✦ Given a triple of sampled integer columns x=(x1,x2,x3)∈ℬN3x = (x_1, x_2, x_3) \in \mathcal{B}_N^3, its column triple matrix M(x)∈ℤ3×3M(x) \in \mathbb{Z}^{3 \times 3} is the 3×33 \times 3 integer matrix whose jj-th column is xjx_j for each j∈{1,2,3}j \in \{1, 2, 3\}.✦ For an integer threshold τ∈ℤ\tau \in \mathbb{Z}, a triple x∈ℬN3x \in \mathcal{B}_N^3 is a small determinant triple at threshold τ\tau if the three projected points π(x1)\pi(x_1), π(x2)\pi(x_2), and π(x3)\pi(x_3) are pairwise distinct and |det⁡M(x)|≤τ|\det M(x)| \le \tau.✦ Write 𝒟N(τ)⊆ℬN3\mathcal{D}_N(\tau) \subseteq \mathcal{B}_N^3 for the set of all small determinant triples at threshold τ\tau.

For a natural number hh, let Rh=ℤ/hℤR_h = \mathbb{Z}/h\mathbb{Z} and let SL3(Rh)\mathrm{SL}_3(R_h) denote the special linear group of 3×33 \times 3 matrices of determinant 11 over RhR_h.✦ For any group GG acting on a finite set XX and any x∈Xx \in X, the group orbit G⋅xG \cdot x is the finite set {g⋅x:g∈G}\{g \cdot x : g \in G\}.✦ In particular, for a triple of residue vectors C∈(Rh3)3C \in (R_h^3)^3 acted on columnwise by SL3(Rh)\mathrm{SL}_3(R_h), its special-linear orbit is OC={G⋅C:G∈SL3(Rh)}O_C = \{G \cdot C : G \in \mathrm{SL}_3(R_h)\}.

Weights, mixtures, and lifted masses

For a finite index set ι\iota, a set α\alpha, and a real-valued weight function μ:α→ℝ\mu : \alpha \to \mathbb{R}, the product probability weight of a family x∈αιx \in \alpha^\iota is ∏i∈ιμ(xi)\prod_{i \in \iota} \mu(x_i).✦ For a finite index set β\beta, real mixing weights p:β→ℝp : \beta \to \mathbb{R}, and a family of real-valued weights ν:β×α→ℝ\nu : \beta \times \alpha \to \mathbb{R}, the mixture weight at a∈αa \in \alpha is ∑b∈βp(b)ν(b,a)\sum_{b \in \beta} p(b) \nu(b, a).✦ Given a parameter space Θ\Theta, a prior weight ρ:Θ→ℝ\rho : \Theta \to \mathbb{R}, and conditional weights μ:Θ×α→ℝ\mu : \Theta \times \alpha \to \mathbb{R}, the conditional product weight of a pair (θ,x)∈Θ×αι(\theta, x) \in \Theta \times \alpha^\iota is ρ(θ)∏i∈ιμ(θ,xi)\rho(\theta) \prod_{i \in \iota} \mu(\theta, x_i).✦ For a finite parameter set Θ\Theta, a prior weight ρ:Θ→ℝ\rho : \Theta \to \mathbb{R}, conditional weights μ:Θ×ℬN→ℝ\mu : \Theta \times \mathcal{B}_N \to \mathbb{R}, and an integer threshold τ∈ℤ\tau \in \mathbb{Z}, the small determinant mass D(ρ,μ,τ)D(\rho, \mu, \tau) is a real number equal to the sum of the conditional product weight ρ(θ)∏i=13μ(θ,xi)\rho(\theta) \prod_{i=1}^{3} \mu(\theta, x_i) over all θ∈Θ\theta \in \Theta and all x∈𝒟N(τ)x \in \mathcal{D}_N(\tau).✦

Let BB be a residue space and let V⊆BV \subseteq B be a finite subset. A triple b=(b1,b2,b3)∈B3b = (b_1, b_2, b_3) \in B^3 is contained in VV if bi∈Vb_i \in V for each i∈{1,2,3}i \in \{1, 2, 3\}.✦ For a finite outcome set Ω\Omega, real weights w:Ω→ℝw : \Omega \to \mathbb{R}, and a family VV of finite subsets of BB indexed by Ω\Omega, the triple inclusion mass of b∈B3b \in B^3 is Iw,V(b)=∑ω∈Ωb1,b2,b3∈V(ω)w(ω).I_{w, V}(b) = \sum_{\substack{\omega \in \Omega \\ b_1, b_2, b_3 \in V(\omega)}} w(\omega).(3)✦ For a natural number ss, the auxiliary residue mass of b∈B3b \in B^3 is maux(w,V,s;b)=Iw,V(b)s3.m_{\mathrm{aux}}(w, V, s; b) = \frac{I_{w, V}(b)}{s^3}.(4)✦ The auxiliary triple weight rescales the probability that three auxiliary residues all lie in the random auxiliary subset, averaging only over the auxiliary choices. For natural numbers qq and ss, the auxiliary triple weight of b∈B3b \in B^3 (for the given qq, ss, ww, and VV) is W(b)=(q3s)3Iw,V(b).W(b) = \biggl(\frac{q^3}{s}\biggr)^3 I_{w, V}(b).(5)✦

For a residue space AA and a finite subset O⊆AO \subseteq A, the main residue mass mmain(O;a)m_{\mathrm{main}}(O; a) assigns to each a∈Aa \in A its uniform probability mass supported on OO, equal to 1/|O|1 / |O| when a∈Oa \in O and 00 otherwise (taking 00 if OO is empty).✦ For a finite parameter set Θ\Theta, real weights ρ:Θ→ℝ\rho : \Theta \to \mathbb{R}, and a map F:Θ→AF : \Theta \to A, the pushforward mass mpush(ρ,F;a)m_{\mathrm{push}}(\rho, F; a) at a∈Aa \in A is a real number equal to the sum of ρ(θ)\rho(\theta) over all θ∈Θ\theta \in \Theta with F(θ)=aF(\theta) = a.✦ The joint residue mass of a pair (a,b)∈A×B3(a, b) \in A \times B^3 is the product mres(O,w,V,s;a,b)=mmain(O;a)maux(w,V,s;b).m_{\mathrm{res}}(O, w, V, s; a, b) = m_{\mathrm{main}}(O; a) \, m_{\mathrm{aux}}(w, V, s; b).(6)✦ Given a sample space XX, maps f:X→Af : X \to A and g:X→B3g : X \to B^3, and a natural number MM, the lifted probability mass of x∈Xx \in X is mlift(f,g,O,w,V,s,M;x)=mres(O,w,V,s;f(x),g(x))M.m_{\mathrm{lift}}(f, g, O, w, V, s, M; x) = \frac{m_{\mathrm{res}}(O, w, V, s; f(x), g(x))}{M}.(7)✦

For a sample space XX, residue spaces AA and BB with maps f:X→Af : X \to A and g:X→Bg : X \to B, a target residue a∈Aa \in A, a finite subset V⊆BV \subseteq B, and natural numbers ss and LL, the conditional column mass μcol(f,g,a,V,s,L;x)\mu_{\mathrm{col}}(f, g, a, V, s, L; x) assigns to each x∈Xx \in X a real probability mass conditioned on f(x)=af(x) = a and g(x)∈Vg(x) \in V, equal to 1/(sL3)1 / (s L^3) when f(x)=af(x) = a and g(x)∈Vg(x) \in V, and 00 otherwise.✦ Taking X=ℬ(Lhq,3,σ)X = \mathcal{B}(Lhq, 3, \sigma) for natural numbers h,q,L,sh, q, L, s and an integer shift σ∈ℤ3\sigma \in \mathbb{Z}^3, with A=Rh3A = R_h^3, B=(ℤ/qℤ)3B = (\mathbb{Z}/q\mathbb{Z})^3, f=rhf = r_h, and g=rqg = r_q, gives the integer column law νcol(h,q,L,σ,a,V,s;x)=μcol(rh,rq,a,V,s,L;x).\nu_{\mathrm{col}}(h, q, L, \sigma, a, V, s; x) = \mu_{\mathrm{col}}(r_h, r_q, a, V, s, L; x).(8)✦ More generally, for a finite index set β\beta, a family F:Θ×β→AF : \Theta \times \beta \to A, real mixing weights p:β→ℝp : \beta \to \mathbb{R}, and a family VV of finite subsets of BB indexed by Ω\Omega, the mixture column mass at (θ,ω)∈Θ×Ω(\theta, \omega) \in \Theta \times \Omega and x∈Xx \in X is the mixture weight μmix(θ,ω;x)=∑b∈βp(b)μcol(f,g,F(θ,b),V(ω),s,L;x).\mu_{\mathrm{mix}}(\theta, \omega; x) = \sum_{b \in \beta} p(b) \, \mu_{\mathrm{col}}\bigl(f, g, F(\theta, b), V(\omega), s, L; x\bigr).(9)✦ Specializing (9) to X=ℬLhqX = \mathcal{B}_{Lhq}, A=Rh3A = R_h^3, B=(ℤ/qℤ)3B = (\mathbb{Z}/q\mathbb{Z})^3, f=rhf = r_h, and g=rqg = r_q yields the mixed integer column law νmix(θ,ω;x)\nu_{\mathrm{mix}}(\theta, \omega; x) on ℬLhq\mathcal{B}_{Lhq}.✦

The claim

Lemma 6.2. The following three exact lifting identities hold.

First, let Ω\Omega be a finite set, let h,q,L,sh, q, L, s be positive integers, and let σ∈ℤ3\sigma \in \mathbb{Z}^3 be an integer shift. Let C∈(Rh3)3C \in (R_h^3)^3, let w:Ω→ℝw : \Omega \to \mathbb{R}, let VV be a family of finite subsets of (ℤ/qℤ)3(\mathbb{Z}/q\mathbb{Z})^3 indexed by Ω\Omega, and let E⊆ℬ(Lhq,3,σ)3E \subseteq \mathcal{B}(Lhq, 3, \sigma)^3 be a finite set. Then ∑x∈E∑G∈SL3(Rh)1|SL3(Rh)|∑ω∈Ωw(ω)×∏i=13νcol(h,q,L,σ,(G⋅C)i,V(ω),s;xi)=h9(Lhq)9|OC|∑x∈Erh⊗3(x)∈OCW(rq⊗3(x)).\begin{aligned} &\sum_{x \in E} \sum_{G \in \mathrm{SL}_3(R_h)} \frac{1}{|\mathrm{SL}_3(R_h)|} \sum_{\omega \in \Omega} w(\omega) \\ &\qquad \times \prod_{i=1}^{3} \nu_{\mathrm{col}}\bigl(h, q, L, \sigma, (G \cdot C)_i, V(\omega), s; x_i\bigr) \\ &\quad = \frac{h^9}{(Lhq)^9 \, |O_C|} \sum_{\substack{x \in E \\ r_h^{\otimes 3}(x) \in O_C}} W\bigl(r_q^{\otimes 3}(x)\bigr). \end{aligned}(10)✦

Second, let Θ\Theta, Ω\Omega, and β\beta be finite sets, let XX, AA, and BB be sets, and let ss and LL be natural numbers. Let f:X→Af : X \to A, g:X→Bg : X \to B, and F:Θ×β→AF : \Theta \times \beta \to A be maps, let ρ:Θ→ℝ\rho : \Theta \to \mathbb{R}, w:Ω→ℝw : \Omega \to \mathbb{R}, and p:β→ℝp : \beta \to \mathbb{R} be real weight functions, let VV be a family of finite subsets of BB indexed by Ω\Omega, and let OO be a family of finite subsets of A3A^3 indexed by β3\beta^3. Suppose that for every ℓ=(ℓ1,ℓ2,ℓ3)∈β3\ell = (\ell_1, \ell_2, \ell_3) \in \beta^3 and every a∈A3a \in A^3, the pushforward mass of ρ\rho under θ↦(F(θ,ℓ1),F(θ,ℓ2),F(θ,ℓ3))\theta \mapsto (F(\theta, \ell_1), F(\theta, \ell_2), F(\theta, \ell_3)) at aa equals mmain(O(ℓ);a)m_{\mathrm{main}}(O(\ell); a). Writing f⊗3(x)=(f(x1),f(x2),f(x3))f^{\otimes 3}(x) = (f(x_1), f(x_2), f(x_3)) and g⊗3(x)=(g(x1),g(x2),g(x3))g^{\otimes 3}(x) = (g(x_1), g(x_2), g(x_3)) for x=(x1,x2,x3)∈X3x = (x_1, x_2, x_3) \in X^3, for every finite set E⊆X3E \subseteq X^3, ∑x∈E∑θ∈Θρ(θ)∑ω∈Ωw(ω)∏i=13μmix(θ,ω;xi)=∑ℓ∈β3(∏i=13p(ℓi))∑x∈Emlift(f⊗3,g⊗3,O(ℓ),w,V,s,L9;x).\begin{aligned} &\sum_{x \in E} \sum_{\theta \in \Theta} \rho(\theta) \sum_{\omega \in \Omega} w(\omega) \prod_{i=1}^{3} \mu_{\mathrm{mix}}(\theta, \omega; x_i) \\ &\quad = \sum_{\ell \in \beta^3} \biggl(\prod_{i=1}^{3} p(\ell_i)\biggr) \sum_{x \in E} m_{\mathrm{lift}}\bigl(f^{\otimes 3}, g^{\otimes 3}, O(\ell), w, V, s, L^9; x\bigr). \end{aligned}(11)✦

Third, let β\beta, Θ\Theta, and Ω\Omega be finite sets, let h,q,L,sh, q, L, s be natural numbers, and let τ∈ℤ\tau \in \mathbb{Z}. Let F:Θ×β→Rh3F : \Theta \times \beta \to R_h^3, let ρ:Θ→ℝ\rho : \Theta \to \mathbb{R}, w:Ω→ℝw : \Omega \to \mathbb{R}, and p:β→ℝp : \beta \to \mathbb{R} be real weight functions, let VV be a family of finite subsets of (ℤ/qℤ)3(\mathbb{Z}/q\mathbb{Z})^3 indexed by Ω\Omega, and let OO be a family of finite subsets of (Rh3)3(R_h^3)^3 indexed by β3\beta^3. Suppose that for every ℓ∈β3\ell \in \beta^3 and every a∈(Rh3)3a \in (R_h^3)^3, the pushforward mass of ρ\rho under θ↦(F(θ,ℓ1),F(θ,ℓ2),F(θ,ℓ3))\theta \mapsto (F(\theta, \ell_1), F(\theta, \ell_2), F(\theta, \ell_3)) at aa equals mmain(O(ℓ);a)m_{\mathrm{main}}(O(\ell); a). Writing (ρ⊗w)(θ,ω)=ρ(θ)w(ω)(\rho \otimes w)(\theta, \omega) = \rho(\theta) w(\omega) on Θ×Ω\Theta \times \Omega, D(ρ⊗w,νmix,τ)=∑ℓ∈β3(∏i=13p(ℓi))∑x∈𝒟Lhq(τ)mlift(rh⊗3,rq⊗3,O(ℓ),w,V,s,L9;x).\begin{aligned} &D(\rho \otimes w, \nu_{\mathrm{mix}}, \tau) \\ &\quad = \sum_{\ell \in \beta^3} \biggl(\prod_{i=1}^{3} p(\ell_i)\biggr) \sum_{x \in \mathcal{D}_{Lhq}(\tau)} m_{\mathrm{lift}}\bigl(r_h^{\otimes 3}, r_q^{\otimes 3}, O(\ell), w, V, s, L^9; x\bigr). \end{aligned}(12)✦

What is checked

In the Lean library, Lemma 6.2 is stated as three identities: the exact lifting identity (10) over shifted integer boxes ℬ(Lhq,3,σ)\mathcal{B}(Lhq, 3, \sigma) for positive integers h,q,L,sh, q, L, s, the special-linear orbit OCO_C of C∈(Rh3)3C \in (R_h^3)^3, and the auxiliary triple weight WW; the general mixture lifting identity (11) over arbitrary sample and residue spaces X,A,BX, A, B with finite parameter and label spaces Θ,Ω,β\Theta, \Omega, \beta under the pushforward-to-uniform condition on OO; and its specialization (12) to the small determinant mass D(ρ⊗w,νmix,τ)D(\rho \otimes w, \nu_{\mathrm{mix}}, \tau) over the integer column box ℬLhq\mathcal{B}_{Lhq}.