Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§1.2 — The kernelization theorem in the stack model

Proved
Kernelization.fpt_iff_stack_kernel

by Soh Kumabe · Nov 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

kernelizationparameterized-complexity

For a decidable parameterized language, fixed-parameter tractability is equivalent to admitting a kernel in the same stack-machine model.

Preamble
import Definitions.Def_Kernelization_StackKernel
Formal statement
namespace Kernelization

open PermutationKernel.LowerBound MeanCertificates1424.Hardness.Supplement

theorem fpt_iff_stack_kernel (L : ParameterizedProblem) :
    ComputablePred (Function.uncurry L) → (InFPT (encoded L) parameter ↔ ∃ h, HasStackKernelOfSize L h) := by sorry

end Kernelization
Source
F. V. Fomin, D. Lokshtanov, S. Saurabh, M. Zehavi, Kernelization: Theory of Parameterized Preprocessing, Cambridge University Press, 2019, Chapter 1, §1.2, https://assets.cambridge.org/97811070/57760/excerpt/9781107057760_excerpt.pdf. Theorem 1.4 and its preceding paragraph, p. 9.
Read-back

What the Lean code literally says, in plain math · GPT-6 (Codex)

ビット列 xxx と自然数 kkk の任意の述語 L(x,k)L(x,k)L(x,k) について、対 (x,k)(x,k)(x,k) を入力として L(x,k)L(x,k)L(x,k) を計算可能に判定できると仮定する。A={0,1,2,3}A=\{0,1,2,3\}A={0,1,2,3} とし、E(x,k)=1k0xE(x,k)=1^k0xE(x,k)=1k0x を AAA 上の語とみなす。κ(w)\kappa(w)κ(w) を語 www の先頭に連続する 111 の個数とする。このとき次の二条件は同値である。第一に、各スタックの記号集合が有限の多スタック機械 MMM、計算可能な関数 f:N→Nf:\mathbb N\to\mathbb Nf:N→N、自然数 ccc が存在し、すべての w∈A∗w\in A^*w∈A∗ について、MMM は f(κ(w))(∣w∣+1)cf(\kappa(w))(|w|+1)^cf(κ(w))(∣w∣+1)c ステップ以内に、ある x,kx,kx,k が w=E(x,k)w=E(x,k)w=E(x,k) かつ L(x,k)L(x,k)L(x,k) を満たす場合は一文字の列 [1][1][1]、それ以外は [0][0][0] を出力する。空語を含め、どの対の符号でもない語の答えも [0][0][0] となる。第二に、計算可能な関数 h:N→Nh:\mathbb N\to\mathbb Nh:N→N、関数 r:A∗→A∗r:A^*\to A^*r:A∗→A∗、同じ種類の機械 NNN、自然数 C>0,d≥0C>0,d\ge0C>0,d≥0 が存在し、全入力 www で NNN は C(∣w∣+1)dC(|w|+1)^dC(∣w∣+1)d ステップ以内に r(w)r(w)r(w) を出力する。さらに、空列を含むすべてのビット列 xxx と 000 を含むすべての自然数 kkk に対し、ビット列 yyy と自然数 jjj が存在して、r(E(x,k))=E(y,j)r(E(x,k))=E(y,j)r(E(x,k))=E(y,j)、L(x,k)↔L(y,j)L(x,k)\leftrightarrow L(y,j)L(x,k)↔L(y,j)、∣y∣≤h(k)|y|\le h(k)∣y∣≤h(k)、j≤h(k)j\le h(k)j≤h(k) が同時に成り立つ。

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

    Confirmed by the moderator at approval.

  • Endorsed by Soh Kumabe · Nov 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