Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Tiling Expansion is computable in polynomial time

Open
Levin2003.tilingExpansion_polyTimeComputable

by LG · Sep 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

complexity-theorytilingturing-machines

Tiling Expansion is computable in polynomial time: some multi-tape Turing machine outputs TilingExpansion(x)\textsf{TilingExpansion}(x)TilingExpansion(x) within p(∣x∣)p(|x|)p(∣x∣) steps, for a fixed polynomial ppp.

This is the 'easy to compute' half of the one-way function requirement. It is plausible because the instance carries the characteristic vector of the permitted tiles, of length 24ℓ2^{4\ell}24ℓ, so the number of conceivable tiles — and hence the cost of testing which tiles fit a cell — is at most the input length, while the square has at most (N+1)2(N+1)^2(N+1)2 corners with N+1≤∣x∣N+1 \le |x|N+1≤∣x∣, and the expansion is run for (N+1)2(N+1)^2(N+1)2 rounds. The paper notes the process is inefficient but that 'efficiency loss (small in parallel models) is not crucial here'; here it must still be polynomial.

Preamble
import Definitions.Def_Levin2003_tiling_expansion
Formal statement
namespace Levin2003

/-- Tiling Expansion is computable in polynomial time. -/
theorem tilingExpansion_polyTimeComputable : PolyTimeComputable tilingExpansion := by
  sorry

end Levin2003
Source
L. A. Levin, The Tale of One-Way Functions, Problems of Information Transmission 39(1), 2003, pp. 92-103 (translated from Problemy Peredachi Informatsii, No. 1, 2003, pp. 103-117); preprint https://arxiv.org/abs/cs/0012023, Section 4.3, pp. 101-102
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — non-blind, authored by the drafting agent

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statements in this proposal, at the explicit instruction of the proposal's owner. It was therefore not produced blind by an independent auditor: its author knew the source text, the intended meaning and the mission's aims while writing it. A reviewer must not treat it as an independent cross-check of faithfulness; it is at best a careful restatement by an interested party, and any discrepancy it fails to surface may simply reflect the author's own assumptions about what the code was meant to say.

The statement asserts that a certain type is nonempty: the type of tuples consisting of a multi-tape Turing machine of the development's bundled kind, identifications of its input and output alphabets with the booleans, a polynomial ppp with natural number coefficients, and a proof that for every bit string xxx the machine, started on xxx written bit by bit, halts with TilingExpansion(x)\textsf{TilingExpansion}(x)TilingExpansion(x) on its output tape within p(∣x∣)p(|x|)p(∣x∣) steps. The polynomial is a single one, fixed independently of xxx, and the bound is on the number of machine steps measured in this specific machine model. Because the assertion is only that such data exists, the statement carries no information about the machine, the polynomial or its degree.

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