Papers
Topics
Authors
Recent
Search
2000 character limit reached

Descriptive Complexity in Lean: Completeness by First-Order Reductions

Published 16 Sep 2026 in cs.LO and cs.CC | (2609.18261v1)

Abstract: We show that descriptive complexity can serve as a foundation for formalizing computational complexity results in a proof assistant, by constructing a Lean library centered around the following concepts: decision problems are isomorphism-invariant predicates on finite structures; complexity classes are defined by their logical characterization; membership is shown by definability witnesses; hardness is shown by first-order reductions from a known hard problem. We also establish bridges to traditional machine models such as (non)deterministic Turing machines. The library proves 73 completeness results, on 68 problems or problem families, over 14 different classes; relations between the classes established inside the logic and not by machine simulation, among them NL = coNL and the Abiteboul-Vianu theorem; and unconditional lower bounds, among them FO(≤)⊊FO(≤,TC)\mathrm{FO}(\leq) \subsetneq \mathrm{FO}(\leq, \mathrm{TC}) and the failure of order-free FO(IFP) to capture PTIME.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Tweets

Sign up for free to view the 1 tweet with 22 likes about this paper.