Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Mathematical Logic

30 missions · 12 completed

Missions

Open18Completed12All30
Complexity TheoryTheoretical Computer Science·Captain: wurtle

Witnessed symmetric choice is strictly stronger than choiceless polynomial time with countingResearch Paper

Motivation

A logic for unordered finite structures (graphs, databases, relational inputs given up to isomorphism) must give answers that do not depend on how the input elements are named. Many polynomial-time algorithms nevertheless make arbitrary intermediate choices, for example the pivot in Gaussian elimination, without changing their final answer. Choiceless polynomial time with counting (CPT), introduced by Blass, Gurevich and Shelah (1999), forbids such choices entirely: it computes with hereditarily finite sets over the input elements and can count, but can never pick one element from a set merely because the set is nonempty.

Witnessed symmetric choice (WSC), in the form of Lichter and Schweitzer (2022, arXiv version 3), adds a controlled form of choice: the logic may pick an element of a set provided it also constructs automorphisms of the input showing that all elements of that set are interchangeable, so the answer cannot depend on which one was picked. Lichter and Schweitzer asked whether CPT + WSC is strictly more expressive than CPT. This mission concerns a proof that it is.

Timeline

  • 1992. Cai, Fürer and Immerman construct graph pairs that hide a global parity obstruction from bounded-variable counting logic (doi:10.1007/BF01305232).
  • 1998. Gire and Hoang introduce a fixpoint logic with a symmetry-based choice construct (doi:10.1006/inco.1998.2712).
  • 1999, 2002. Blass, Gurevich and Shelah introduce choiceless polynomial time and its counting extension, and study CFI and linear-algebra instances (doi:10.1016/S0168-0072(99)00005-6, doi:10.2178/jsl/1190150152).
  • 2003. Dawar and Richerby define a fixed-point logic with symmetric choice, with parameters and nesting (doi:10.1007/978-3-540-45220-1_16).
  • 2008. Dawar, Richerby and Rossman show that preordered CFI queries are CPT-definable, and that bounded-rank CPT fails on them (doi:10.1016/j.apal.2007.11.011).
  • 2014–2021. Abu Zaid, Grädel, Grohe and Pakusa, and Lichter and Schweitzer, obtain CPT canonization for structures with small abelian, dihedral or cyclic colour classes (doi:10.1007/978-3-662-44522-8_5, doi:10.4230/LIPIcs.CSL.2021.31).
  • 2010–2023. Rossman and Pago prove functional lower bounds for CPT (doi:10.1007/978-3-642-15025-8_28, doi:10.4230/LIPIcs.CSL.2021.33, doi:10.4230/LIPIcs.MFCS.2023.73).
  • 2022–2023. Lichter and Schweitzer define CPT + WSC, show that definable isomorphism testing yields canonization, and ask whether WSC strictly adds expressive power (arXiv:2205.14003).

The source of this mission is an OpenAI preprint dated September 24, 2026; its companion preprint (September 23, 2026) proves that CPT does not capture polynomial time.

Setting

Let AAA be a finite set of atoms and HF(A)\mathrm{HF}(A)HF(A) the hereditarily finite sets over AAA. CPT terms are built from variables, ∅\emptyset∅, Atoms\mathrm{Atoms}Atoms, Pair(a,b)={a,b}\mathrm{Pair}(a,b)=\{a,b\}Pair(a,b)={a,b}, Union\mathrm{Union}Union, Unique\mathrm{Unique}Unique (the member of a singleton, else ∅\emptyset∅), Card\mathrm{Card}Card (the von Neumann ordinal ∣a∣|a|∣a∣), comprehensions {s(aˉ,u):u∈t(aˉ), θ(aˉ,u)}\{s(\bar a,u):u\in t(\bar a),\ \theta(\bar a,u)\}{s(aˉ,u):u∈t(aˉ), θ(aˉ,u)} and iteration from ∅\emptyset∅; formulas use input relations, equality and Boolean connectives. A sentence (Φ,p)(\Phi,p)(Φ,p) pairs a closed formula with a polynomial ppp that bounds the number of iteration steps and the hereditary size of all intermediate objects on inputs with nnn atoms; exceeding the bounds yields a default or a failure value †\dagger†.

A WSC operator iterates a step term in which, at each stage, a choice term proposes a nonempty set DDD; one element is chosen, and a witness term must produce automorphisms of the entire input that fix the parameters and all earlier stages and map any element of DDD to any other. If the witnesses are valid along every possible choice sequence, the output formula's value on the terminal state is returned; otherwise the value is †\dagger†.

The true-model class of a sentence is the set of finite structures on which it returns true; false and †\dagger† are both outside it.

Formalization targets

Goal: Theorem 1.1

For the fixed vocabulary τ\tauτ of eight binary relations there is a CPT + WSC sentence (Φ,p)(\Phi,p)(Φ,p) with exactly one WSC occurrence such that

(i) (Φ,p) returns true or false on every finite τ-structure;(ii) TrueModels(Φ,p)≠TrueModels(Ψ,q) for every CPT sentence (Ψ,q).\text{(i)}\ (\Phi,p)\ \text{returns true or false on every finite }\tau\text{-structure;}\qquad \text{(ii)}\ \mathrm{TrueModels}(\Phi,p)\neq\mathrm{TrueModels}(\Psi,q)\ \text{for every CPT sentence }(\Psi,q).(i) (Φ,p) returns true or false on every finite τ-structure;(ii) TrueModels(Φ,p)=TrueModels(Ψ,q) for every CPT sentence (Ψ,q).

The Lean statement OAI.WitnessedChoice.main (via BGS.MainStatement) is open on the platform.

Significance

Since every CPT sentence is a CPT + WSC sentence, Theorem 1.1 gives a strict inclusion of definable Boolean queries and answers the expressiveness question posed by Lichter and Schweitzer in the true-model sense. The separation holds against CPT with counting and sets of arbitrary finite rank, not a rank-restricted fragment. It leaves open whether CPT + WSC captures polynomial time and the effect of nesting WSC operators.

The result is proved in an OpenAI preprint, which has not been peer reviewed. No machine-checked proof exists.

Difficulty

Two different tasks must be done. The upper bound requires a legal WSC definition on all inputs, not only on the intended grid structures: witnesses must be genuine automorphisms of the whole input fixing the full history, which the sentence must check, with a fallback when the input is not of the intended shape. The lower bound must defeat every CPT sentence, including those that build nested sets of large rank; rank-sensitive support arguments (Dawar–Richerby–Rossman) do not suffice. The paper uses a nonabelian automorphism group whose central subgroup has rank-independent small supports, then a counting equivalence and a bounded-width description of complete CPT evaluations.

Formalization scope

  • Syntax is a mutual inductive Term n / Formula n with de Bruijn-style Fin n variables, including iterate and the wsc formula; wscCount counts WSC occurrences.
  • Evaluation returns Option (none is †\dagger†). resource p n = ⌊p(n)⌋ bounds iteration length and transitive-closure size.
  • WSC validity (GoodWSC) quantifies over all choice prefixes; witnesses are permutationGraph g for permutations g that are input automorphisms, fix the free parameters and every earlier stage, and act transitively on the choice set.
  • FiniteInput packs any finite carrier type with the eight-symbol relations (Ed, Cf, EB, VB, I, Z δ, δ : ZMod 3). Sentence.isCPT means wscCount = 0.

A complete development needs hereditarily finite sets with permutation actions, support and counting-equivalence theory, and the grid structures; much of this is shared with the companion CPT noncapture mission. Contributions formalizing Proposition 4.4 (a total all-input definition), Proposition 5.3 (transitivity for every parameter tree), Theorem 5.5 (opposite grid answers), Proposition 6.3 (small-orbit support bound), Theorem 8.1 (transfer through small supports) and Theorem 9.3 (eventual equality for every CPT sentence) are welcome.

Selected references

  • OpenAI, Witnessed symmetric choice is strictly stronger than choiceless polynomial time with counting, preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Witnessed-symmetric-choice-is-strictly-stronger-than-choiceless-polynomial-time-with-counting-September-24-2026/paper.pdf
  • OpenAI, Choiceless polynomial time with counting does not capture polynomial time, preprint, September 23, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Choiceless-polynomial-time-with-counting-does-not-capture-polynomial-time-September-23-2026/paper.pdf
  • M. Lichter, P. Schweitzer, Choiceless polynomial time with witnessed symmetric choice, 2023 (arXiv v3). https://arxiv.org/abs/2205.14003
  • A. Blass, Y. Gurevich, S. Shelah, Choiceless polynomial time, Ann. Pure Appl. Logic, 1999. https://doi.org/10.1016/S0168-0072(99)00005-6
  • A. Blass, Y. Gurevich, S. Shelah, On polynomial time computation over unordered structures, J. Symbolic Logic, 2002. https://doi.org/10.2178/jsl/1190150152
  • A. Dawar, D. Richerby, B. Rossman, Choiceless polynomial time, counting and the Cai–Fürer–Immerman graphs, Ann. Pure Appl. Logic, 2008. https://doi.org/10.1016/j.apal.2007.11.011
  • J.-Y. Cai, M. Fürer, N. Immerman, An optimal lower bound on the number of variables for graph identification, Combinatorica, 1992. https://doi.org/10.1007/BF01305232
  • F. Gire, H. K. Hoang, An extension of fixpoint logic with a symmetry-based choice construct, Inform. and Comput., 1998. https://doi.org/10.1006/inco.1998.2712
  • A. Dawar, D. Richerby, A fixed-point logic with symmetric choice, CSL, 2003. https://doi.org/10.1007/978-3-540-45220-1_16
2 thms1 active userReviewed
Theory of Computation·Captain: wurtle

Rigidity of the Turing degreesResearch Paper

Motivation

Turing reducibility compares sets of natural numbers by their information content: A≤TBA\le_TBA≤T​B if an oracle Turing machine with oracle BBB computes the characteristic function of AAA. Identifying mutually reducible sets gives the Turing degrees DT\mathcal D_TDT​, partially ordered by ≤T\le_T≤T​. A central question of computability theory since the 1970s is how much of the underlying computational structure the abstract order remembers. The strongest possible answer is rigidity: the order has no nontrivial automorphisms, so every degree is determined by its position in the order.

Timeline

  • 1939. Turing introduces oracle machines and relative computability (doi:10.1112/plms/s2-45.1.161).
  • 1977. Jockusch and Solovay prove that every jump-preserving automorphism fixes all degrees above 0(4)\mathbf0^{(4)}0(4) (doi:10.1007/BF03007659).
  • 1980. Nerode and Shore prove that every automorphism fixes some cone of degrees, whose base may depend on the automorphism (doi:10.1016/0003-4843(80)90004-2).
  • 1999. Shore and Slaman prove that the Turing jump is definable from the order, so every automorphism preserves it (Math. Res. Lett., 1999).
  • 2005. Slaman and Woodin's manuscript Definability in Degree Structures shows that every automorphism fixes all degrees above 0′′\mathbf0''0′′, that the automorphism group is countable, that every automorphism has an arithmetic representation on sets of integers, and that rigidity is equivalent to their biinterpretability conjecture; see also Slaman's survey (doi:10.1142/9789812794055_0002).
  • 2007. Shore gives direct degree-theoretic definitions of the jump (J. Math. Log., 2007).
  • 2018. Kjos-Hanssen shows that automorphisms induced by permutations of the integers are trivial (doi:10.1017/bsl.2018.15).

After these results the remaining problem was rigidity at degrees outside the known fixed cone. The source of this mission, an OpenAI preprint dated September 24, 2026, proves full rigidity.

Setting

An oracle is a function A:N→{0,1}A:\mathbb N\to\{0,1\}A:N→{0,1} (a set of natural numbers). A≤TBA\le_TBA≤T​B means that the characteristic function of AAA is partial recursive relative to BBB. This is a preorder; its quotient by A≡TB  ⟺  (A≤TB∧B≤TA)A\equiv_TB\iff(A\le_TB\wedge B\le_TA)A≡T​B⟺(A≤T​B∧B≤T​A) is the set DT\mathcal D_TDT​ of Turing degrees, partially ordered by ≤T\le_T≤T​. An automorphism of (DT,≤T)(\mathcal D_T,\le_T)(DT​,≤T​) is a bijection π:DT→DT\pi:\mathcal D_T\to\mathcal D_Tπ:DT​→DT​ with

a≤Tb  ⟺  π(a)≤Tπ(b).\mathbf a\le_T\mathbf b\iff\pi(\mathbf a)\le_T\pi(\mathbf b).a≤T​b⟺π(a)≤T​π(b).

No definability, Borel or continuity hypothesis is imposed on π\piπ.

Formalization targets

Goal: Theorem 1.1

∀π∈Aut⁡(DT,≤T)  ∀a∈DT:π(a)=a.\forall\pi\in\operatorname{Aut}(\mathcal D_T,\le_T)\ \ \forall\mathbf a\in\mathcal D_T:\qquad \pi(\mathbf a)=\mathbf a.∀π∈Aut(DT​,≤T​)  ∀a∈DT​:π(a)=a.

The Lean statement OAI.TuringRigidity.ManuscriptMain.rigidity is open on the platform.

Significance

Rigidity says that the order ≤T\le_T≤T​ alone determines every Turing degree. By the theorem of Slaman and Woodin, it is equivalent to their biinterpretability conjecture: the degrees are biinterpretable without parameters with full second-order arithmetic (Corollary 5.1). Consequently every relation on degrees that is definable in second-order arithmetic and invariant under Turing equivalence is definable in the degree order, which settles a family of definability questions at once.

The result is proved in an OpenAI preprint; it has not been peer reviewed, and no machine-checked proof exists. Its proof relies on the Slaman–Woodin representation theorem, whose cited source is an unpublished 2005 manuscript; a formalization would either need to formalize that input as well or isolate it as an explicit hypothesis, and would make the dependence fully transparent.

Difficulty

Earlier methods fix cones of degrees: coding arguments work above a sufficiently high base such as 0′′\mathbf0''0′′, where enough information can be coded and decoded. Below that base the coding machinery is not available, and an arbitrary automorphism carries no a priori regularity. The proof must turn the arithmetic (hence Borel) representation of an automorphism into recovery of every individual real, using a category argument that works for every irrational parameter, not only generic ones.

Formalization scope

  • Oracles are ℕ → Bool; reducibility is Mathlib's TuringReducible between the characteristic functions viewed as partial functions ℕ →. ℕ (values 000 and 111).
  • Degree is Antisymmetrization Oracle Reduces with the induced partial order; automorphisms are order isomorphisms Degree ≃o Degree, i.e. bijections preserving and reflecting ≤T\le_T≤T​.
  • The statement quantifies over all order isomorphisms, with no measurability or definability assumption, as in the paper.

A complete development needs relativized computability (oracle machines, joins, the jump), Borel and Baire-category arguments on 2N2^{\mathbb N}2N and R\mathbb RR, and the Slaman–Woodin representation theorem (Theorem 3.1). Formalizing that theorem would itself be a substantial and reusable contribution. Contributions formalizing Proposition 4.1 (recovery of an irrational from four values of a Borel subadditive map with countable fibers) are welcome.

Selected references

  • OpenAI, Rigidity of the Turing degrees, preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Rigidity-of-the-Turing-degrees-September-24-2026/paper.pdf
  • T. A. Slaman, W. H. Woodin, Definability in Degree Structures, unpublished manuscript, 2005. https://math.berkeley.edu/~slaman/talks/sw.pdf
  • T. A. Slaman, Global properties of the Turing degrees and the Turing jump, in Computational Prospects of Infinity, Part I, 2008. https://doi.org/10.1142/9789812794055_0002
  • C. G. Jockusch, Jr., R. M. Solovay, Fixed points of jump preserving automorphisms of degrees, Israel J. Math., 1977. https://doi.org/10.1007/BF03007659
  • A. Nerode, R. A. Shore, Reducibility orderings: theories, definability and automorphisms, Ann. Math. Logic, 1980. https://doi.org/10.1016/0003-4843(80)90004-2
  • R. A. Shore, T. A. Slaman, Defining the Turing jump, Math. Res. Lett., 1999.
  • R. A. Shore, Direct and local definitions of the Turing jump, J. Math. Log., 2007.
  • B. Kjos-Hanssen, Permutations of the integers induce only the trivial automorphism of the Turing degrees, Bull. Symb. Log., 2018. https://doi.org/10.1017/bsl.2018.15
  • A. M. Turing, Systems of logic based on ordinals, Proc. London Math. Soc., 1939. https://doi.org/10.1112/plms/s2-45.1.161
2 thms1 active userReviewed
CombinatoricsProbability·Captain: wurtle

Computing the Random 3-SAT ThresholdResearch Paper

Motivation

Random 3-SAT, a conjunction of random three-literal clauses on nnn variables, is the classic test case for the typical behavior of satisfiability. Experiments placed the hardest instances near the density where half the formulas are satisfiable, and statistical physics predicts a sharp satisfiability threshold near 4.2674.2674.267. Once a limiting threshold α3\alpha_3α3​ is known to exist, a natural question is whether it is a computable real: is there an algorithm that, given rrr, outputs a rational within 2−r2^{-r}2−r of α3\alpha_3α3​? Existence alone does not imply this, since limits of computable sequences need not be computable (Specker 1949). This mission asks for such an algorithm.

Timeline

  • 1949. Specker constructs a bounded monotone computable sequence of rationals with a noncomputable limit.
  • 1999. Friedgut, with an appendix by Bourgain, proves a sharp transition about a size-dependent location (doi:10.1090/S0894-0347-99-00305-7).
  • 2003, 2006. Hajiaghayi and Sorkin, and Kaporis, Kirousis and Lalas, prove the lower bound 3.523.523.52 (arXiv:math/0310193).
  • 2002–2006. Mézard, Parisi and Zecchina develop the cavity/survey-propagation picture; Mertens, Mézard and Zecchina predict α3≈4.267\alpha_3\approx4.267α3​≈4.267.
  • 2009. Díaz, Kirousis, Mitsche and Pérez-Giménez prove the upper bound 4.48984.48984.4898.
  • 2013. Bayati, Gamarnik and Tetali prove limits for normalized optimization values via sparse interpolation (doi:10.1214/12-AOP816).
  • 2022. Ding, Sly and Sun prove the satisfiability conjecture with the predicted value for all large kkk (doi:10.4007/annals.2022.196.1.1).
  • 2026. Carenini proves a polynomial scaling window and the existence of limiting thresholds for every fixed k≥3k\ge3k≥3 (ECCC TR26-229, made public October 5, 2026); priority for the satisfiability conjecture belongs to Carenini.

The source of this mission is an OpenAI preprint dated September 27, 2026. Its contribution is computability of α3\alpha_3α3​, beyond existence.

Setting

For n≥3n\ge3n≥3, a proper random 3-clause chooses three distinct variables uniformly from x1,…,xnx_1,\dots,x_nx1​,…,xn​ and gives each an independent fair sign. Let Φ(n,m)\Phi(n,m)Φ(n,m) be the conjunction of m≥0m\ge0m≥0 independent such clauses (sampled with replacement from the 8(n3)8\binom n38(3n​) possibilities; the empty formula is satisfiable) and

p(n,m)=P{Φ(n,m) is satisfiable}.p(n,m)=\mathbb P\{\Phi(n,m)\ \text{is satisfiable}\}.p(n,m)=P{Φ(n,m) is satisfiable}.

A real α\alphaα is computable if a single algorithm, on input rrr, halts with a rational qrq_rqr​ satisfying ∣qr−α∣≤2−r|q_r-\alpha|\le2^{-r}∣qr​−α∣≤2−r.

Formalization targets

Goal: Theorem 1.1

There is α3∈(0,∞)\alpha_3\in(0,\infty)α3​∈(0,∞) such that for every fixed real a≥0a\ge0a≥0

lim⁡n→∞p(n,⌊an⌋)={1,a<α3,0,a>α3,\lim_{n\to\infty}p(n,\lfloor an\rfloor)=\begin{cases}1,&a<\alpha_3,\\0,&a>\alpha_3,\end{cases}n→∞lim​p(n,⌊an⌋)={1,0,​a<α3​,a>α3​,​

and one finite deterministic Turing machine, on input 1r1^r1r, halts with a rational qrq_rqr​ with ∣qr−α3∣≤2−r|q_r-\alpha_3|\le2^{-r}∣qr​−α3​∣≤2−r, using no oracle, advice, or noncomputable constant. Lean: OAI.FixedClauseThreshold.Computability.main, open on the platform.

Significance

The theorem makes the random 3-SAT threshold an effectively approximable constant: in principle its digits can be certified, although no efficiency bound is obtained. The method produces two families of finite certificates, rational lower bounds from a deletion estimate and rational upper bounds from finite hierarchical approximations of a soft pressure, and a fair search over them halts without any computable rate of finite-size convergence. The paper also gives a self-contained existence proof of α3\alpha_3α3​ (Theorem 4.4) for the same proper-clause model.

The result is proved in an OpenAI preprint; it has not been peer reviewed, and no machine-checked proof exists.

Difficulty

Finite-size satisfiability probabilities are computable, but their convergence rate is unknown, so truncating at a finite nnn certifies nothing. Lower certificates need an explicit bound on how far the finite-size centers can lie above the limit. Upper certificates are harder: one must show that above α3\alpha_3α3​ some finite, checkable object witnesses unsatisfiability in the limit. This requires a variational (Parisi-type) description of the limiting pressure of the soft constraint model, approximated by finitely many rational parameters with a proof that the approximation is complete at every rational density above the threshold.

Formalization scope

  • ProperClause n k is Fin n → Option Bool with exactly kkk defined entries; Formula n k m := Fin m → ProperClause n k; properSATProbability n 3 m is the exact counting ratio, equal to p(n,m)p(n,m)p(n,m).
  • MainStatement asserts ∃ α>0\exists\,\alpha>0∃α>0 with the two strict-side limits at m=⌊an⌋m=\lfloor an\rfloorm=⌊an⌋, a sequence q : ℕ → ℚ with Computable (fun r => encode (q r)), a Nat.Partrec.Code c with c.eval r = some (encode (q r)), and ∣qr−α∣≤2−r|q_r-\alpha|\le2^{-r}∣qr​−α∣≤2−r for all rrr.
  • The input is a natural number rather than a unary string, which is equivalent for computability; the r=0r=0r=0 case is a harmless extra requirement.
  • Nothing is asserted at a=α3a=\alpha_3a=α3​.

Infrastructure: Mathlib's Computable/Nat.Partrec.Code, finite counting for random formulas, Poisson clause processes, interpolation bounds, and Ruelle cascades for the upper certificates. Formalizations of Lemma 2.1 (finite-certificate search, purely computability-theoretic and reusable), Theorem 4.4 and Theorem 8.4 are welcome.

Selected references

  • OpenAI, Computing the Random 3-SAT Threshold, preprint, September 27, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Computing-the-Random-3-SAT-Threshold-September-27-2026/article.pdf
  • OpenAI, A Limiting Satisfiability Threshold for Every Fixed Clause Size, preprint, September 25, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/A-Limiting-Satisfiability-Threshold-for-Every-Fixed-Clause-Size-September-25-2026/article.pdf
  • G. Carenini, A polynomial scaling window for random k-SAT and a proof of the satisfiability conjecture, ECCC TR26-229, 2026. https://eccc.weizmann.ac.il/report/2026/229/
  • E. Friedgut (appendix by J. Bourgain), Sharp thresholds of graph properties, and the k-SAT problem, J. Amer. Math. Soc., 1999. https://doi.org/10.1090/S0894-0347-99-00305-7
  • J. Ding, A. Sly, N. Sun, Proof of the satisfiability conjecture for large k, Ann. of Math., 2022. https://doi.org/10.4007/annals.2022.196.1.1
  • M. Bayati, D. Gamarnik, P. Tetali, Combinatorial approach to the interpolation method and scaling limits in sparse random graphs, Ann. Probab., 2013. https://doi.org/10.1214/12-AOP816
  • M. Hajiaghayi, G. B. Sorkin, The satisfiability threshold of random 3-SAT is at least 3.52, preprint, 2003. https://arxiv.org/abs/math/0310193
  • D. Panchenko, The Parisi ultrametricity conjecture, Ann. of Math., 2013. https://doi.org/10.4007/annals.2013.177.1.8
  • E. Specker, Nicht konstruktiv beweisbare Sätze der Analysis, J. Symbolic Logic, 1949.
2 thms1 active userReviewed
Complexity TheoryDynamic ProgrammingOperations Research·Captain: mikedeng1

The Complexity of Markov Decision Processes V: A Quantified Boolean Formula Is True Iff Its Partially Observed Markov Decision Process Has a Zero-Cost PolicyResearch Paper

Motivation

A Markov decision process is the standard model of sequential decision making under uncertainty: a controller observes the state of a finite system, chooses a decision, pays a cost, and the system moves to a random next state. In many applications (maintenance, inventory with unreliable records, robotics, medical treatment) the controller does not see the state itself, only partial information about it. This is the partially observed problem, and the usual way to solve it is to replace the state by the conditional distribution of the state given the observations (Åström 1965; Bertsekas). That reformulation has an infinite state space, and Smallwood and Sondik (1973) showed that the finite-horizon cost-to-go is nevertheless piecewise linear, but with a number of pieces that may grow exponentially with the horizon.

Papadimitriou and Tsitsiklis (Math. Oper. Res. 12(3), 1987) asked whether this blow-up is an artefact of the reformulation or intrinsic to the problem. Their Theorem 6 answers it: deciding whether a partially observed process can achieve a given expected cost is PSPACE-hard, already for stationary processes and horizons shorter than the number of states. This mission formalizes the reduction behind that theorem.

Setting

A partially observed stationary Markov decision process has a finite state set SSS, a partition Π\PiΠ of SSS, and an initial state s0s_0s0​. For a state sss write z(s)∈Πz(s) \in \Piz(s)∈Π for the set containing it. Each set zzz carries a nonempty finite set DzD_zDz​ of decisions; decision i∈Dzi \in D_zi∈Dz​ costs c(z,i)c(z, i)c(z,i) and moves a current state s∈zs \in zs∈z to the next state s′s's′ with probability p(s,s′,i)p(s, s', i)p(s,s′,i). The controller sees only the sequence of sets visited, so a policy π\piπ maps each observation sequence z0,…,ztz_0, \dots, z_tz0​,…,zt​ to a decision in DztD_{z_t}Dzt​​. For a horizon TTT, the expected cost of π\piπ is

Jπ(T)=Eπ[∑t=0Tc(z(st),π(z(s0),…,z(st)))],J_\pi(T) = \mathbb{E}_\pi\Bigl[\sum_{t=0}^{T} c\bigl(z(s_t), \pi(z(s_0), \dots, z(s_t))\bigr)\Bigr],Jπ​(T)=Eπ​[t=0∑T​c(z(st​),π(z(s0​),…,z(st​)))],

and the optimal cost is inf⁡πJπ(T)\inf_\pi J_\pi(T)infπ​Jπ​(T).

A quantified Boolean formula is Q1x1⋯Qnxn F(x1,…,xn)Q_1 x_1 \cdots Q_n x_n\, F(x_1, \dots, x_n)Q1​x1​⋯Qn​xn​F(x1​,…,xn​) with each Qj∈{∃,∀}Q_j \in \{\exists, \forall\}Qj​∈{∃,∀} and FFF a conjunction of mmm clauses C1,…,CmC_1, \dots, C_mC1​,…,Cm​, each a set of literals xjx_jxj​ or ¬xj\neg x_j¬xj​. It is true if there is a value of x1x_1x1​ such that for all values of x2x_2x2​, and so on, FFF comes out true. Deciding truth (QSAT) is PSPACE-complete (Stockmeyer and Meyer 1973).

From a formula with m≥1m \ge 1m≥1 clauses the paper builds a process MφM_\varphiMφ​: an initial state, six states Aij,Aij′,Tij,Tij′,Fij,Fij′A_{ij}, A'_{ij}, T_{ij}, T'_{ij}, F_{ij}, F'_{ij}Aij​,Aij′​,Tij​,Tij′​,Fij​,Fij′​ per clause iii and variable jjj, end states Ai,n+1,Ai,n+1′A_{i,n+1}, A'_{i,n+1}Ai,n+1​,Ai,n+1′​, and one absorbing state, so ∣S∣=6mn+2m+2|S| = 6mn + 2m + 2∣S∣=6mn+2m+2. The first transition chooses a clause uniformly; primed states record that the chosen clause is not yet satisfied; existential variables are set by decisions and universal ones by fair coins; the only nonzero cost, 111, is paid at Ai,n+1′A'_{i,n+1}Ai,n+1′​. The horizon is T=2n+2T = 2n + 2T=2n+2.

Formalization targets

Goal: the reduction is correct

For every formula φ\varphiφ in the paper's QSAT class (an alternating prefix beginning with ∃x1\exists x_1∃x1​ and ending with ∀xn\forall x_n∀xn​, and three literals per clause), with m≥1m \ge 1m≥1 clauses and T=2n+2T = 2n+2T=2n+2,

T<∣S∣,(∃π: Jπ(T)=0)  ⟺  φ is true,inf⁡πJπ(T)≤0  ⟺  φ is true.T < |S|, \qquad \bigl(\exists \pi:\ J_\pi(T) = 0\bigr) \iff \varphi \text{ is true}, \qquad \inf_\pi J_\pi(T) \le 0 \iff \varphi \text{ is true}.T<∣S∣,(∃π: Jπ​(T)=0)⟺φ is true,πinf​Jπ​(T)≤0⟺φ is true.

The goal states all three claims the paper makes: the horizon bound (p. 448), the existence of a zero-cost policy (p. 449), and the bound on the optimum (p. 448).

Milestones

  1. The cost splits over the clause chosen at time 1: each clause is chosen with probability 1/m1/m1/m, and a policy has zero expected cost iff it has zero cost for every choice of clause.
  2. If a trajectory of positive probability ends in Ai,n+1′A'_{i,n+1}Ai,n+1′​, the expected cost is at least 2−n/m2^{-n}/m2−n/m.
  3. A zero-cost policy makes the formula true.
  4. A true formula yields a zero-cost policy.

Significance

Theorem 6 locates the partially observed finite-horizon problem in the complexity landscape: unless P = PSPACE there is no polynomial-time algorithm for it, even for stationary processes with short horizons. The paper's Corollary 1 strengthens this into evidence that no polynomial-size precomputed controller exists either. Together these results explain why exact algorithms for partially observed processes are exponential and motivated the later work on approximation and on restricted policy classes.

The formalization adds a machine-checked proof of the correctness of the reduction, the step on which the hardness claim rests, together with a reusable definition of a finite partially observed process with observation-history policies and of quantified Boolean formulas. The paper's argument is a short paragraph; a formal proof has to make precise how a policy that only sees observation sequences determines a strategy for the existential player. As far as we know, no machine-checked proof of this reduction exists.

Difficulty

The "if" direction is a direct translation of a winning strategy into a policy. The "only if" direction is where the work is. A zero-cost policy acts on observation sequences, and the paper argues that it never learns which clause was chosen. Under the paper's own partition this is not literally true: the sets TjT_jTj​ and Tj′T'_jTj′​ differ, so the observations reveal whether the chosen clause was already satisfied. The existential strategy must therefore be extracted from the policy's behaviour on the observation histories in which the clause is still unsatisfied, and one must check that it is a single strategy, independent of the clause, that satisfies every clause against every choice of the universal variables. The bound of milestone 2 also requires tracking the probability of a single trajectory through the coin flips.

Formalization scope

The process is a Lean structure POMDP S Z with an observation map obs : S → Z encoding the partition, nonempty finite decision types D z, real costs c z i, and next-state laws given as Mathlib PMFs, so every transition row is a probability vector. A policy is a function List Z → (z : Z) → D z of the earlier observations and the current one. The expected cost is a finite sum over trajectories x0,…,xTx_0, \dots, x_Tx0​,…,xT​ of their probability times ∑t=0Tc\sum_{t=0}^{T} c∑t=0T​c, and the optimum is the infimum over all policies. Paper clause CiC_iCi​ and variable xjx_jxj​ are Lean indices i−1i - 1i−1 and j−1j - 1j−1.

Choices made explicit:

  • Horizon. The paper prints T=2m+2T = 2m + 2T=2m+2 but says it is "just enough time for the process to reach one of Ai,n+1A_{i,n+1}Ai,n+1​ or Ai,n+1′A'_{i,n+1}Ai,n+1′​", which happens at time 2n+12n+12n+1. With the printed value and m<nm < nm<n the cost is never paid and every formula would map to a zero-cost process. We use T=2n+2T = 2n+2T=2n+2.
  • The set AjA_jAj​. The partition sentence puts all AijA_{ij}Aij​ and Aij′A'_{ij}Aij′​ in one set AjA_jAj​; the decision sentence mentions "the set Aj′A'_jAj′​". We follow the partition sentence.
  • The new state reached from Ai,n+1A_{i,n+1}Ai,n+1​ and Ai,n+1′A'_{i,n+1}Ai,n+1′​ is unspecified; it gets its own set, one zero-cost decision and a self-loop.
  • Formulas. The general QBF definition allows any quantifier prefix and clause width. Every theorem assumes IsPaperQSAT, which requires the paper's alternating prefix ∃x1∀x2⋯∀xn\exists x_1 \forall x_2 \cdots \forall x_n∃x1​∀x2​⋯∀xn​ with n>0n>0n>0 even and three literals per clause. Clauses are sets of literals; three witnesses allow repetitions. m≥1m \ge 1m≥1 is also a hypothesis.
  • Decisions are nonempty; rows are probability vectors.

Policies see only observation sequences. A formalization in which the policy reads the state would make the "only if" direction false and the reduction meaningless; one in which it sees only the current observation would make the "if" direction false. Neither is admissible.

Not formalized: PSPACE-hardness itself (Mathlib has no PSPACE or polynomial-time reductions), the polynomial-time computability of the construction, the membership of the problem in PSPACE (sketched on p. 449), Corollary 1 (a Σ2p\Sigma_2^pΣ2p​ collapse) and Corollary 2 (NP-completeness of the unobserved case, stated without proof).

The definitions of partially observed processes and quantified Boolean formulas are reusable. Contributions of lemmas on trajectory sums (marginalising later coordinates, the probability of a fixed prefix) are welcome; they also serve the other missions of this series.

Selected references

  • C. H. Papadimitriou and J. N. Tsitsiklis, The Complexity of Markov Decision Processes, Mathematics of Operations Research 12(3), 1987, 441–450. https://doi.org/10.1287/moor.12.3.441
  • L. J. Stockmeyer and A. R. Meyer, Word problems requiring exponential time, Proc. 5th ACM STOC, 1973, 1–9. https://doi.org/10.1145/800125.804029
  • R. D. Smallwood and E. J. Sondik, The optimal control of partially observable Markov processes over a finite horizon, Operations Research 21(5), 1973, 1071–1088. https://doi.org/10.1287/opre.21.5.1071
  • K. J. Åström, Optimal control of Markov processes with incomplete state information, Journal of Mathematical Analysis and Applications 10, 1965, 174–205. https://doi.org/10.1016/0022-247X(65)90154-X
  • D. P. Bertsekas, Dynamic Programming: Deterministic and Stochastic Models, Prentice-Hall, 1987.
8 thms1 active userReviewed
🏆Completed
Theoretical Computer Science·Captain: tomasz

Friedberg–Muchnik: incomparable computably enumerable setsResearch Paper

Comparing undecidable problems

Computability theory studies which questions admit algorithms and how the unsolvable questions compare with one another. A decision problem can be represented by a set of natural numbers: the question on input nnn is whether nnn belongs to the set. Even when there is no algorithm that always answers this question, there may be an algorithm that eventually recognizes every positive instance. Understanding the relative difficulty of such problems is the setting of the Friedberg–Muchnik theorem.

The original paper by Richard M. Friedberg appeared in 1957 under the title Two recursively enumerable sets of incomparable degrees of unsolvability (solution of Post's problem, 1944). It supplies the historical paper source for this formalization. A. A. Muchnik's independent contribution appeared in Russian in 1956. Friedberg, PNAS 43(2), 236–238; Muchnik, Math-Net bibliography, 1956 entry.

Sets, enumeration, and oracle access

A set A⊆NA\subseteq\mathbb NA⊆N is computably enumerable, abbreviated c.e., if membership has a semidecision procedure: on input nnn, the procedure halts exactly when n∈An\in An∈A. The older terminology is recursively enumerable, abbreviated r.e. The Lean predicate CEnumerable A uses Mathlib's REPred for this property. A computable set has a decision procedure that terminates on every input and answers membership correctly; this is expressed separately by ComputableSet A using ComputablePred.

For each set AAA, define its characteristic function by

χA(n)={1n∈A,0n∉A.\chi_A(n)=\begin{cases}1&n\in A,\\0&n\notin A.\end{cases}χA​(n)={10​n∈A,n∈/A.​

An oracle for AAA answers requests for this function's values. It always supplies an answer, even if membership in AAA cannot be computed without an oracle. The declaration setOracle A represents this total function inside Mathlib's type of partial functions from natural numbers to natural numbers.

Write A≤TBA\le_T BA≤T​B when an algorithm with access to the membership oracle for BBB computes χA\chi_AχA​ on every input. This is Turing reducibility, expressed by SetTuringReducible A B. The algorithm may make several queries, with later queries depending on earlier answers. Incomparability requires both A̸≤TBA\not\le_T BA≤T​B and B̸≤TAB\not\le_T AB≤T​A; it is stronger than saying the two sets merely have different degrees. These conventions specify the mathematical reading of the supplied Lean definitions.

Formalization target

The goal is the following unconditional existence statement:

∃A,B⊆N,A is c.e. ∧ B is c.e. ∧ A̸≤TB ∧ B̸≤TA.\exists A,B\subseteq\mathbb N,\qquad A\text{ is c.e.}\ \land\ B\text{ is c.e.}\ \land\ A\not\le_T B\ \land\ B\not\le_T A.∃A,B⊆N,A is c.e. ∧ B is c.e. ∧ A≤T​B ∧ B≤T​A.

Its Lean name is Computability.friedberg_muchnik. No enumeration, pair of sets, or oracle program is supplied as a hypothesis. Both sets must be obtained as witnesses to the conclusion. The statement matches Theorem 26.2 in Arnold W. Miller's Lecture notes in Recursion Theory, Section 26, with the theorem on page 51 and its proof on pages 51–54. Miller, December 3, 2008 version.

Mathematical and formal significance

The target establishes that the c.e. problems have incomparable levels of computational difficulty. Its witnesses cannot be computable: a computable membership procedure would also work in the presence of any other oracle simply by making no queries, contradicting the required nonreducibility. The stronger historical consequence is a positive solution of Post's problem: a c.e. degree can lie strictly between the computable degree and the halting degree. Miller records this consequence separately as Corollary 26.3 on page 54. Miller, Section 26.

The mathematical theorem is established; the work requested here is its Lean 4 formalization. A completed development must construct witnesses, prove their computable enumerability, and exclude oracle computations in each direction using Mathlib's actual reducibility relation. The provided goal currently ends in sorry. Successful compilation of this statement checks its formulation and imports; it does not constitute a proof of the existence result.

Difficulty of simultaneous requirements

The main obstacle is preserving decisions about oracle computations while both sets are still being enumerated. An additional element in one set can change an oracle answer used by an earlier computation, undermining the attempt to separate the other set from it. There are infinitely many candidate programs in both directions. Thus a formal treatment has to justify the eventual stability of the relevant computations as well as the effectiveness of the enumeration. This is the setting of the finite injury argument developed in Miller's proof of Theorem 26.2. Miller, pages 51–54.

Formalization scope

The sets are arbitrary Set ℕ, including the natural number zero in their ambient domain. The oracle answers use natural numbers, with one for membership and zero for nonmembership. Classical reasoning is used to define the oracle for an arbitrary set; it supplies no assertion that this function is computable. Each oracle is nevertheless total. Replacing it with a partial membership recognizer would change the meaning of the target.

The foundation consists of Mathlib.Computability.RE and Mathlib.Computability.TuringDegree, together with the supplied definitions in namespace Computability. SetTuringEquivalent records reducibility in both directions. degreeOfSet maps a characteristic-function oracle to its Turing degree, and CEnumerableDegree says that a degree has a c.e. representative. These additional definitions are retained as useful interfaces, while the root theorem itself is expressed directly with sets and TuringIncomparable.

A complete proof will need representations of effective finite stages and oracle computations, and lemmas relating those representations to the imported predicates. Such infrastructure can support later formalizations involving oracle use, computable enumerations, and priority constructions. Contributions should establish these connections with Mathlib's definitions and finish the unconditional target. The theorem must not be replaced by mere degree inequality, weakened reducibility, or a conditional assertion that assumes the required incomparable sets already exist.

Selected references

  • Richard M. Friedberg, Two recursively enumerable sets of incomparable degrees of unsolvability (solution of Post's problem, 1944), Proceedings of the National Academy of Sciences of the USA 43(2), 236–238, 1957. DOI; free archived paper.
  • A. A. Muchnik, On the unsolvability of the problem of reducibility in the theory of algorithms (Russian: Неразрешимость проблемы сводимости теории алгоритмов), Doklady Akademii Nauk SSSR 108(2), 194–197, 1956. Math-Net bibliography, 1956 entry.
  • Arnold W. Miller, Lecture notes in Recursion Theory, University of Wisconsin–Madison, version dated December 3, 2008, Section 26, Theorem 26.2, pages 51–54. Author-hosted PDF.
11 thms1 active userReviewed
PreviousPage 2 of 2Next

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me