Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Pattern Rule 4: remove common full columns, then use Rule 2

Open
QAlgorithms.Papers.Independent.Intake100.P91.rule_4

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let n,k,a,bn,k,a,bn,k,a,b be nonnegative integers with k≥1k\ge1k≥1, n≥2kn\ge2kn≥2k, k−1≤a≤n−kk-1\le a\le n-kk−1≤a≤n−k, k≤b≤n−kk\le b\le n-kk≤b≤n−k, and b=ab=ab=a or b=a+1b=a+1b=a+1. Let α(r,s,a;R,S,b)\alpha(r,s,a;R,S,b)α(r,s,a;R,S,b) denote the real Louck product (17)–(18) for the lower and upper qubit GT patterns specified by its arguments. Removing their k−1k-1k−1 common full columns gives

α(n−k,k−1,a;n−k,k,b)=α(n−2k+1,0,a−k+1;n−2k+1,1,b−k+1).\alpha(n-k,k-1,a;n-k,k,b)= \alpha(n-2k+1,0,a-k+1;n-2k+1,1,b-k+1).α(n−k,k−1,a;n−k,k,b)=α(n−2k+1,0,a−k+1;n−2k+1,1,b−k+1).

The coefficient is therefore

α(n−k,k−1,a;n−k,k,b)={(b−k+1)/(n−2k+2),a=b,−(n−k−b+1)/(n−2k+2),b=a+1.\alpha(n-k,k-1,a;n-k,k,b)= \begin{cases} \sqrt{(b-k+1)/(n-2k+2)},&a=b,\\ -\sqrt{(n-k-b+1)/(n-2k+2)},&b=a+1. \end{cases}α(n−k,k−1,a;n−k,k,b)={(b−k+1)/(n−2k+2)​,−(n−k−b+1)/(n−2k+2)​,​a=b,b=a+1.​

The denominator is at least 222. The rule includes k=1k=1k=1, when no columns are removed.

Formalization Note The minus lost after the first expression in (45) is retained; the reference to Rule 1b following (46) is read as Rule 2b, consistently with Rule 4 and the examples.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P91
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P91

open scoped BigOperators

attribute [local instance] Classical.propDecidable

/-- Rule 4, PDF p.13, proved p.20, (42)-(46): delete k-1 complete columns,
then apply Rule 2. Includes k=1. Correction: (45) loses its minus after the
first equality; the prose after (46) prints Rule 1b where Rule 2b is needed.
The retained minus agrees with Rule 4 and all three examples, pp.13-14. -/
theorem rule_4 (n k a b : ℕ) (hk : 1 ≤ k) (hn : 2*k ≤ n)
    (haLower : k-1 ≤ a) (haUpper : a ≤ n-k)
    (hbLower : k ≤ b) (hbUpper : b ≤ n-k) (hedge : b = a ∨ b = a+1) :
    qubitLouck (n-k) (k-1) a (n-k) k b =
      qubitLouck (n-2*k+1) 0 (a-(k-1)) (n-2*k+1) 1 (b-(k-1)) ∧
    qubitLouck (n-k) (k-1) a (n-k) k b =
      if a = b then Real.sqrt (((b : ℝ) - k + 1) / ((n : ℝ) - 2*k + 2))
      else -Real.sqrt (((n : ℝ) - k - b + 1) / ((n : ℝ) - 2*k + 2)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P91

end
Source
A Multigraph Approach for Performing the Quantum Schur Transform, arXiv:2204.10694v1, PDF p. 13, §4.1, Rule 4; Appendix A, (42)–(46)
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For all natural numbers n,k,a,bn,k,a,bn,k,a,b satisfying 1≤k1\le k1≤k, 2k≤n2k\le n2k≤n, k−1≤a≤n−kk-1\le a\le n-kk−1≤a≤n−k, k≤b≤n−kk\le b\le n-kk≤b≤n−k, and b=ab=ab=a or b=a+1b=a+1b=a+1, define the following explicit real-valued expression, which expands each coefficient occurring in this statement:

L(r,s,u,v)={∣s−us−r−1∣,u=v,−∣u−rs−r−1∣,u≠v.L(r,s,u,v)= \begin{cases} \displaystyle \sqrt{\left|\frac{s-u}{s-r-1}\right|},&u=v,\\[6pt] \displaystyle -\sqrt{\left|\frac{u-r}{s-r-1}\right|},&u\ne v. \end{cases}L(r,s,u,v)=⎩⎨⎧​​s−r−1s−u​​​,−​s−r−1u−r​​​,​u=v,u=v.​

Here the natural-number arguments inside fractions are interpreted as real numbers. Then both of the following equalities hold:

L(n−k,k−1,a,b)=L(n−2k+1,0,a−(k−1),b−(k−1))L(n-k,k-1,a,b) = L\bigl(n-2k+1,0,a-(k-1),b-(k-1)\bigr)L(n−k,k−1,a,b)=L(n−2k+1,0,a−(k−1),b−(k−1))

and

L(n−k,k−1,a,b)={b−k+1n−2k+2,a=b,−n−k−b+1n−2k+2,a≠b.L(n-k,k-1,a,b)= \begin{cases} \displaystyle \sqrt{\frac{b-k+1}{n-2k+2}},&a=b,\\[6pt] \displaystyle -\sqrt{\frac{n-k-b+1}{n-2k+2}},&a\ne b. \end{cases}L(n−k,k−1,a,b)=⎩⎨⎧​n−2k+2b−k+1​​,−n−2k+2n−k−b+1​​,​a=b,a=b.​

Subtractions in the arguments of LLL are natural-number subtraction, truncated at zero; the hypotheses ensure that none of those subtractions truncate a negative difference. In particular, n≥2n\ge2n≥2, and the real denominator n−2k+2n-2k+2n−2k+2 is positive.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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