← All papers
First page of Uniform Subexponential $\mathsf{TC}^0$-Frege Refutations of CNFs

Uniform Subexponential $\mathsf{TC}^0$-Frege Refutations of CNFs

Yuya Uezato, Sho Sonoda

cs.LO Dec 3, 2026 · v1 cs.CC
The subexponential TC0-Frege refutation algorithm and its time, size and depth bounds are formalized in Lean 4 with Mathlib, in a public repository.
We give a deterministic algorithm that writes a bounded-depth threshold Frege ($\mathsf{TC}^0$-Frege) refutation of every unsatisfiable CNF in subexponential time. Up to polynomial factors in the input length, both the running time and the proof size are $2^{o(n)}$ for fixed-width CNFs on $n$ variables and $2^{O(m/\log\log m)}$ for arbitrary CNFs with $m$ literal occurrences. The refutations use only the input variables. We use a determinant to express the satisfaction test as a signed sum. We sum the squared values of the current expression over one block of bits at a time and prove each identity in constant depth. A sum of integer squares is zero only if every term is zero. Working backward from the final zero, we prove that the satisfaction test vanishes on every assignment. We formalize the algorithm and prove these bounds in Lean 4 with Mathlib. We also obtain three applications. (1) Every unsatisfiable $3$-CNF on $n$ variables has an ordinary Frege refutation of size $2^{o(n)}$. On inputs of length polynomial in $n$, we can write it in $2^{o(n)}$ time. The size bound also holds for Extended Frege, answering a question of Szeider unconditionally. (2) $\mathsf{TC}^0$-Frege simulates Hitting in polynomial time. Filmus et al. proved this for Extended Frege and asked how weak a proof system would suffice. (3) Fix $0<\varepsilon<1/8$ and take a random $3$-CNF at a suitable constant density. With high probability, we can write in $2^{o(n)}$ time a $\mathsf{TC}^0$-Frege proof that every assignment satisfies at most a $7/8+\varepsilon$ fraction of its clauses. On the same instances, Atserias and Hakoniemi showed that any sum-of-squares proof of an upper bound below $1$ requires $2^{Ω(n)}$ monomials.

The goal is to construct, deterministically and in subexponential time, bounded-depth threshold Frege (TC0-Frege) refutations of every unsatisfiable CNF that use only the input variables. A related open question asked how weak a proof system can be and still simulate Hitting proofs.

The satisfaction test is expressed as a signed sum via a cube determinant combined with a balanced atlas decomposition. Squared values are summed over blocks of bits, and each identity is certified in constant depth in the sequent calculus PTK through an intermediate certified-arithmetic calculus. A descent argument uses the fact that a sum of integer squares is zero only if every term is zero. The main theorems (A and B), including their time, size and depth bounds, are formalized in Lean 4 with Mathlib (repository shosonoda/lean-cs); an AI assistant helped generate the Lean proofs.

Refutations have depth at most 4546 and size 2^{O(m/log log m)} for arbitrary CNFs and 2^{o(n)} for fixed-width CNFs. Applications give unconditional 2^{o(n)} Frege and Extended Frege refutations of 3-CNFs, a polynomial simulation of Hitting by TC0-Frege, and certificates bounding the maximum fraction of satisfiable clauses of random 3-CNFs. The applications are not formalized in Lean.