Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Margin minimizer in the fitted interior-block cost

Proved
QAlgorithms.Papers.Independent.Intakethird100.P39.fitted_interior_minimizer

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let S≥4S\ge4S≥4 be an integer. For integers k≥4k\ge4k≥4, m≥1m\ge1m≥1 with km=Skm=Skm=S, define the fitted interior-block cost

C(k,m)=(13k−8)((m+2)215100−448100)+1m≠1(13k+3)(m69100+6100).C(k,m)=(13k-8)\left((m+2)\frac{215}{100}-\frac{448}{100}\right)+\mathbf1_{m\ne1}(13k+3)\left(m\frac{69}{100}+\frac6{100}\right).C(k,m)=(13k−8)((m+2)100215​−100448​)+1m=1​(13k+3)(m10069​+1006​).

Then the feasible choice (k,m)=(S,1)(k,m)=(S,1)(k,m)=(S,1) attains the minimum:

C(S,1)≤C(k,m)(km=S, k≥4, m≥1).C(S,1)\le C(k,m)\qquad(km=S,\ k\ge4,\ m\ge1).C(S,1)≤C(k,m)(km=S, k≥4, m≥1).

Here S=(n−m1−m2−1)/2S=(n-m_1-m_2-1)/2S=(n−m1​−m2​−1)/2 in the paper's application. The decimals define an exact rational surrogate for regression-based durations; this is not a theorem about optimal hardware time.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P39
Formal statement
namespace QAlgorithms.Papers.Independent.Intakethird100.P39

open scoped BigOperators

/-- PDF p.13, Eq. (35): for fixed S=km>=4, the feasible margin (S,1)
attains the minimum of the fitted cost. This is not optimal hardware time. -/
theorem fitted_interior_minimizer (S : ℕ) (hS : 4 ≤ S) :
    ∀ k m : ℕ, 4 ≤ k → 1 ≤ m → k * m = S →
      fittedInteriorCost S 1 ≤ fittedInteriorCost k m := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P39
Source
Quantum CISC Compilation by Optimal Control and Scalable Assembly of Complex Instruction Sets beyond Two-Qubit Gates, arXiv:0712.3227v2, PDF p. 13, Interior-block minimizer in the fitted timing surrogate, Eq. (35)
Read-back

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

For every natural number SSS satisfying S≥4S\ge4S≥4, and every pair of natural numbers k,mk,mk,m satisfying k≥4k\ge4k≥4, m≥1m\ge1m≥1, and km=Skm=Skm=S, the theorem asserts

(13S−8)197100≤(13k−8)((m+2)215100−448100)+{0m=1,1m≠1(13k+3)(m69100+6100).(13S-8)\frac{197}{100} \le (13k-8)\left((m+2)\frac{215}{100}-\frac{448}{100}\right) +\begin{cases}0&m=1,\\1&m\ne1\end{cases} (13k+3)\left(m\frac{69}{100}+\frac{6}{100}\right).(13S−8)100197​≤(13k−8)((m+2)100215​−100448​)+{01​m=1,m=1​(13k+3)(m10069​+1006​).

All arithmetic in this displayed inequality is real arithmetic after converting the natural parameters to real numbers. The left side is the value of the same cost formula at (S,1)(S,1)(S,1). The conclusion is a non-strict inequality over precisely the factorizations satisfying the stated bounds; the allowed case m=1m=1m=1 forces k=Sk=Sk=S and gives equality.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me