Descriptive complexity: first-order reductions and the NP core
No public endorsements yet.
Loading review…
Sign in with ORCIDAbstract
Two forms of the NP-completeness of SAT from the descriptive-complexity library, with corresponding definitions: a decision problem is an isomorphism-invariant predicate on the finite structures of a relational vocabulary; a reduction is a first-order interpretation, with tags for disjoint copies and, in the ordered variant, a linear order on the input; a complexity class is a set of problems closed under reductions, and NP is the class of problems definable in existential second-order logic.
SAT is NP-complete (SAT_NP_complete): SAT belongs to NP, and every problem in NP reduces to SAT by an ordered first-order reduction, the generic Tseitin reduction applied to the problem's existential second-order definition.
The machine form (SAT_complete_for_ntmAccept): the Cook–Levin theorem in the form the machine-based mechanizations prove, SAT complete for the class that nondeterministic machine acceptance defines. The library has no model of computation: machine acceptance is one more decision problem, whose instances are finite structures describing a nondeterministic Turing machine, its input and its step budget, and “accepted by a polynomial-time machine” means “reduces to that problem by an ordered first-order reduction”. SAT reduces to machine acceptance, and every problem that reduces to machine acceptance reduces to SAT.
The proofs are those of version 1.2.2 of the library, sliced to what these statements use; the library and its documentation are at https://github.com/PierreSenellart/descriptive-complexity and https://pierresenellart.github.io/descriptive-complexity/DescriptiveComplexity.html. The Lean code was written with the assistance of several Claude models; the design and the statements are the author's.
Concepts
- thm✓
CookLevin - thm✓
MachineForm - def✓
Machines - thm✓
NPClass
- def
Classes - def
Interpretations - def
Problems - def
Relativized - def
Sat - def
SecondOrder
Concept map
Proofs
Proof networkview on GitHub
Proof list
Lean sources for these proofs: proofs/ on GitHub
Proof code is not displayed; the archive records each proof's checked relationship between claims.
Related submissions
No other submission in the archive builds on this one, and this one builds on none.
Cite this
This is only the formalizers. The authors of the formalized results may be different (see References).
@misc{lax-904597,
author = {Pierre Senellart and Claude (Anthropic)},
title = {Descriptive complexity: first-order reductions and the NP core},
year = {2026},
howpublished = {Lax Archive, lax-904597},
url = {https://laxarchive.org/lax-904597/},
}
References
- Pierre Senellart and Anton Gnatenko. Descriptive Complexity in Lean: Completeness by First-Order Reductions. 2026. arXiv:2609.18261
- Pierre Senellart. DescriptiveComplexity: Completeness by First-Order Reductions in Lean. 2026. doi:10.5281/zenodo.21678423 · github.com/PierreSenellart/descriptive-complexity
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments