Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Logic

5 missions · 1 completed

Missions

Open4Completed1All5
Complexity TheorycryptographyTheoretical Computer Science·Captain: Shuze Chen

Obfuscation via Proofs of Equivalence and Polynomial-Time Reductions to Falsifiable Assumptions: incremental changes with three-wire supports between paddings of Extended-Frege-equivalent circuitsResearch Paper

Motivation

Indistinguishability obfuscation (iO) compiles a circuit into a functionally equivalent one so that the compiled versions of any two equivalent circuits of the same size cannot be told apart. Constructions of iO from well-studied assumptions are complicated and rest on assumptions whose security reductions take exponential time in the input length. Jain and Jin (JJ22) proposed restricting iO to pairs of circuits whose equivalence has a short proof. Abram, Datta, Dutta and Roy (Obfuscation via Proofs of Equivalence and Polynomial-Time Reductions to Falsifiable Assumptions, STOC 2027 submission) take this route with proofs in the propositional system Extended Frege (EF): they obfuscate gate by gate and argue security through a sequence of hybrid circuits, each obtained from the previous one by a local change.

Each hybrid must recover some wire values, and their number sets the cost of the gate programs; the argument therefore needs local changes that each depend on a constant number of wires. The paper's unconditional rewriting theorem (Theorem 1.2, formally Lemma 3.11) supplies them: it converts "a short Extended Frege equivalence proof into a polynomial-length sequence of local circuit changes, each controlled by at most three wire values". This mission states that theorem and the four results it is built from.

Setting

A circuit over B={AND,OR,NOT}B=\{\mathrm{AND},\mathrm{OR},\mathrm{NOT}\}B={AND,OR,NOT} has input vertices v1,…,vilv_1,\dots,v_{il}v1​,…,vil​, noninput vertices labelled by a constant or a gate of BBB, and ordered outputs u1,…,uolu_1,\dots,u_{ol}u1​,…,uol​. Its size ∣C∣|C|∣C∣ counts the noninput vertices, constants included. C0≡C1C_0\equiv C_1C0​≡C1​ means equal outputs on every input. In the gate-list view the circuit is a list of gates; gate jjj reads wires lj,rjl_j,r_jlj​,rj​, writes wire ojo_joj​ and computes fj:{0,1}2→{0,1}f_j:\{0,1\}^2\to\{0,1\}fj​:{0,1}2→{0,1}. Its topology is the wiring without the functions fjf_jfj​. For a set of gates SSS, the input boundary inp(S)\mathrm{inp}(S)inp(S) is the set of wires read in SSS but produced outside it. The output boundary out(S)\mathrm{out}(S)out(S) is the set of wires produced in SSS and read outside it or designated as outputs.

Formulas are built from variables, ⊥\bot⊥ and →\to→, with ¬,∧,∨,↔\neg,\wedge,\vee,\leftrightarrow¬,∧,∨,↔ as fixed abbreviations; ∣φ∣|\varphi|∣φ∣ is the number of symbols. The EF system has the axiom schemas φ→(φ′→φ)\varphi\to(\varphi'\to\varphi)φ→(φ′→φ), (φ→(φ′→φ′′))→((φ→φ′)→(φ→φ′′))(\varphi\to(\varphi'\to\varphi''))\to((\varphi\to\varphi')\to(\varphi\to\varphi''))(φ→(φ′→φ′′))→((φ→φ′)→(φ→φ′′)), ¬¬φ→φ\neg\neg\varphi\to\varphi¬¬φ→φ, modus ponens, and extension axioms z↔φ′z\leftrightarrow\varphi'z↔φ′ for a fresh variable zzz. The size of a proof is the sum of the sizes of its lines. The equivalence formula EqvC0,C1\mathrm{Eqv}_{C_0,C_1}EqvC0​,C1​​ has one conjunct per output. That conjunct says that if fresh variables satisfy the gate equations of both circuits on the shared inputs xxx, then the two kkkth output variables are equal. It is a tautology exactly when C0≡C1C_0\equiv C_1C0​≡C1​.

An incremental change (S,R,Γ)(S,R,\Gamma)(S,R,Γ) from DDD to D′D'D′ (two circuits with the same topology) consists of three objects:

  • a set of gates SSS, the only gates whose functions may change;
  • a support R⊆inp(S)R\subseteq\mathrm{inp}(S)R⊆inp(S);
  • for every wire ooo written in SSS, two circuits Γo,Γo′\Gamma_o,\Gamma'_oΓo​,Γo′​ that compute the value of ooo in DDD and in D′D'D′ from the support wires that reach ooo through SSS, with Γo=Γo′\Gamma_o=\Gamma'_oΓo​=Γo′​ on out(S)\mathrm{out}(S)out(S).

The topology Uil,ol,MU_{il,ol,M}Uil,ol,M​ has MMM cells. Each cell selects up to two earlier wires through products with constant gates, and four more constants choose its instruction: 000, 111, ¬wi\neg w_i¬wi​, wi∧wi′w_i\wedge w_{i'}wi​∧wi′​ or wi∨wi′w_i\vee w_{i'}wi​∨wi′​. Each output selects one wire the same way. A configuration is an assignment of bits to the constant gates. The padding topology Uil,ol,s,KU_{il,ol,s,K}Uil,ol,s,K​ takes M=2s+2cxK+K+olM=2s+2c_xK+K+olM=2s+2cx​K+K+ol cells, arranged as two circuit regions AAA and BBB, blocks for extension variables and proof lines, a conjunction chain, and output cells. Pad(C)\mathrm{Pad}(C)Pad(C) is the configuration that places CCC in region AAA and leaves everything else trivial; it computes CCC.

Formalization targets

Goal: Lemma 3.11 (Theorem 1.2)

There is a constant c0c_0c0​ such that for all il,ol,s,L≥1il,ol,s,L\ge1il,ol,s,L≥1, all circuits C0,C1C_0,C_1C0​,C1​ over BBB with ililil inputs, ololol outputs and size at most sss for which EqvC0,C1\mathrm{Eqv}_{C_0,C_1}EqvC0​,C1​​ has an EF proof of size at most LLL, and every power of two K≥c0(L+il+s)K\ge c_0(L+il+s)K≥c0​(L+il+s):

∃ N≤c0K2,  Pad(C0)=D0,D1,…,DN=Pad(C1) configurations of Uil,ol,s,K,\exists\,N\le c_0K^2,\ \ \mathrm{Pad}(C_0)=D_0,D_1,\dots,D_N=\mathrm{Pad}(C_1)\ \text{configurations of } U_{il,ol,s,K},∃N≤c0​K2,  Pad(C0​)=D0​,D1​,…,DN​=Pad(C1​) configurations of Uil,ol,s,K​, ∀t∈[N] ∃ (S,R,Γ) incremental change Dt−1→Dt:∣S∣≤c0K,  ∣R∣≤3,  ∣Γo∣,∣Γo′∣≤c0.\forall t\in[N]\ \exists\,(S,R,\Gamma)\ \text{incremental change } D_{t-1}\to D_t:\quad |S|\le c_0K,\ \ |R|\le3,\ \ |\Gamma_o|,|\Gamma'_o|\le c_0 .∀t∈[N] ∃(S,R,Γ) incremental change Dt−1​→Dt​:∣S∣≤c0​K,  ∣R∣≤3,  ∣Γo​∣,∣Γo′​∣≤c0​.

The block length cxc_xcx​ of the padding is any constant that lets cxc_xcx​ cells compute every formula of size at most the paper's line-size constant cFc_FcF​.

Milestones

  • Lemma 3.2. Two circuits with the same topology are δ-equivalent via SSS (gates outside SSS unchanged, equal values on out(S)\mathrm{out}(S)out(S)) if and only if there is an incremental change with support inp(S)\mathrm{inp}(S)inp(S).
  • Lemma 3.4. Changing the instructions of a set JJJ of cells, while every externally selected cell keeps its function of the selected wires, is an incremental change with ∣S∣≤8∣J∣(il+M+ol)|S|\le8|J|(il+M+ol)∣S∣≤8∣J∣(il+M+ol) and describing circuits of size at most ∣J∣+2|J|+2∣J∣+2.
  • Lemma 3.6. A polynomial-time algorithm turns an EF proof of EqvC0,C1\mathrm{Eqv}_{C_0,C_1}EqvC0​,C1​​ of size LLL into a derivation of width three with at most cF(L+il+s)c_F(L+il+s)cF​(L+il+s) lines of size at most cFc_FcF​: vertex definitions, extension axioms on at most two variables, and consequences of at most three earlier lines involving at most three variables after unfolding at most three definitions.
  • Theorem 3.10. A derivation of width three with at most KKK lines yields at most cdK2c_dK^2cd​K2 proper configurations from GA(C,C′)G_A(C,C')GA​(C,C′) to GB(C,C′)G_B(C,C')GB​(C,C′). Each step is an incremental change with at most cd(il+s+K)c_d(il+s+K)cd​(il+s+K) gates, support at most 333 and describing circuits of size at most cdc_dcd​.

Significance

The theorem turns a proof-theoretic certificate, a short EF proof of equivalence, into a combinatorial one: a short path between two fixed-topology circuits in which every step is described by constant-size circuits of three wire values. In the paper this is the bridge from EF-provable equivalence to the gate-by-gate hybrids behind its obfuscator (Theorem 1.1), and the bounds N=O(K2)N=O(K^2)N=O(K2), ∣R∣≤3|R|\le3∣R∣≤3 and constant ∣Γ∣|\Gamma|∣Γ∣ are what keep the security reduction polynomial. The statement is unconditional and independent of any cryptographic assumption.

None of these objects is formalized on Prove2Me: there is no Extended Frege system in this form, no equivalence formula, no incremental change and no universal cell topology. A formalization makes them available to other proof-complexity and obfuscation missions and pins down what informal accounts leave open (gate-list conventions, variable naming, the unfolding notion of width, the padding layout). The paper's headline Theorem 1.1, and every other cryptographic statement of the paper, is not part of this mission.

Difficulty

The naive idea, a small changed subcircuit, fails: all intermediate circuits share one topology, and selecting the operands of even one instruction involves many gates, so SSS is large and the bound must come from the support. Getting it requires turning every EF inference, including the (S) axiom with five schematic subformulas, into steps on at most three variables after bounded unfolding, and activating each line without changing the function of the conjunction chain, which needs the line and its premises brought together by adjacent exchanges. Lemma 3.4's counts depend on the exact gate structure of the cells.

Formalization scope

  • Circuits. Circuit ι ol stores the noninput vertices in a topological order, which is the canonical topological order of Definitions 2.7 and 3.3; constants are vertices and count in the size.
  • Gate-list view. A Wiring numbers wires (inputs first, gate jjj writes il+jil+jil+j); "same topology" means two gate-function maps over one wiring. Constants read the first input wire, NOT gates their operand and the first input wire.
  • Formulas and EF. Formulas live over {→,⊥}\{\to,\bot\}{→,⊥} and the other connectives are the printed abbreviations. ∣φ∣|\varphi|∣φ∣ counts variables, ⊥\bot⊥ and →\to→, not parentheses. Extension axioms require zzz to be absent from φ′\varphi'φ′, from all earlier lines and from the proved formula.
  • Eqv\mathrm{Eqv}Eqv. Auxiliary variables are numbered injectively through Nat.pair and kept disjoint from the inputs. Conjunctions are right-nested, and the empty conjunction is ⊥→⊥\bot\to\bot⊥→⊥.
  • Configurations. A configuration assigns bits to named constant gates. The intermediate circuits of the goal are configurations of the one padding topology, not arbitrary relabellings of its graph. A proper configuration agrees with valid instruction data on the constants of UUU, and the padding layout is 0-based.
  • Block length cxc_xcx​. It is fixed by the property on p. 52: the goal holds for every cx≥1c_x\ge1cx​≥1 with that property for some cFc_FcF​. Theorem 3.10 is stated for every such pair (cF,cx)(c_F,c_x)(cF​,cx​).
  • Algorithm of Lemma 3.6. It is a single function on bit strings, computable in polynomial time by a multi-stack Turing machine (the published QAlgorithms_ClassicalStringComputability). It acts on fixed binary encodings of circuits, formulas and proofs.
  • No trivialization. The EF system is the printed sound and complete one; Eqv\mathrm{Eqv}Eqv is a tautology iff C0≡C1C_0\equiv C_1C0​≡C1​; the constants never depend on the instance; incremental changes keep all three clauses with Γo\Gamma_oΓo​ reading only RoR_oRo​; KKK ranges over all powers of two above c0(L+il+s)c_0(L+il+s)c0​(L+il+s).

Welcome contributions: sanity lemmas (Pad(C)\mathrm{Pad}(C)Pad(C) computes CCC; Eqv\mathrm{Eqv}Eqv is a tautology iff C0≡C1C_0\equiv C_1C0​≡C1​), the counting of Lemma 3.4, the translation of Lemma 3.6, the chain of Theorem 3.10.

Selected references

  • P. Abram, P. Datta, A. Dutta, A. Roy, Obfuscation via Proofs of Equivalence and Polynomial-Time Reductions to Falsifiable Assumptions, STOC 2027 submission (manuscript; no public link yet).
  • A. Jain, Z. Jin, Indistinguishability Obfuscation via Mathematical Proofs of Equivalence, FOCS 2022. https://doi.org/10.1109/FOCS54457.2022.00064
  • S. A. Cook, R. A. Reckhow, The Relative Efficiency of Propositional Proof Systems, Journal of Symbolic Logic 44(1), 1979. https://doi.org/10.2307/2273702
  • J. Krajíček, Proof Complexity, Cambridge University Press, 2019. https://doi.org/10.1017/9781108242066
17 thms2 active usersReviewed
CombinatoricsComplexity TheoryGraph Theory·Captain: Shuze Chen

Exact Counting and Sampling of Labeled Graphs of Bounded Treewidth with MSO Properties: exact weighted counting and sampling of labeled treewidth-kkk graphs satisfying an MSO2_22​ sentenceResearch Paper

Motivation

Treewidth measures how closely a graph resembles a tree. Graphs of treewidth at most kkk have tree decompositions computable in linear time for fixed kkk (Bodlaender 1996), and Courcelle's theorem decides every fixed monadic second-order property on such graphs in linear time (Courcelle 1990; Arnborg, Lagergren and Seese 1991). These results analyze a given graph. This mission formalizes the generative counterpart, proved by Zou, Wang, Chang, Wang and Kuželka: count, and sample exactly, the bounded-treewidth graphs themselves.

The simplest instance is already a question with a history. How many simple graphs on the labeled vertex set [n]={1,…,n}[n]=\{1,\dots,n\}[n]={1,…,n} have treewidth at most kkk, and can one draw one exactly uniformly at random? These are the labeled partial kkk-trees, including disconnected and nonchordal graphs. Exact counting and uniform generation were known for forests, outerplanar, series–parallel, planar and chordal graphs; Hébert-Johnson lists bounded treewidth among the classes for which efficient counting and sampling were open. Enumerating edge subsets of labeled kkk-trees counts a partial kkk-tree once per completion, and generators that build a random kkk-tree and delete edges are biased toward graphs with many completions.

The paper answers a more general question in the language of weighted model counting: colors, weights, and a logical side condition ψ\psiψ. This connects to lifted probabilistic inference, where weighted first-order model counting is known to be tractable only for restricted syntax (the two-variable fragment with counting quantifiers) and intractable for some three-variable sentences.

Setting

A graph G=(V,E)G=(V,E)G=(V,E) is finite, simple and undirected; output graphs have vertex set exactly [n][n][n], and distinct edge sets or colorings are distinct outputs. A coloring is a map χ:V→C\chi:V\to Cχ:V→C for a finite nonempty color set CCC. Nonnegative rational weights λc\lambda_cλc​ (vertices) and βc,d=βd,c\beta_{c,d}=\beta_{d,c}βc,d​=βd,c​ (present edges) give

W(G,χ)=∏v∈Vλχ(v)∏{a,b}∈Eβχ(a),χ(b),W(G,\chi)=\prod_{v\in V}\lambda_{\chi(v)}\prod_{\{a,b\}\in E}\beta_{\chi(a),\chi(b)},W(G,χ)=v∈V∏​λχ(v)​{a,b}∈E∏​βχ(a),χ(b)​,

so absent edges contribute 111, and zero weights are allowed.

Properties are written in graph MSO2_22​ over the incidence structure I(G,χ)=(V ∪˙ E; Vertex,Edge,Inc,(Pc)c∈C)I(G,\chi)=(V\,\dot\cup\,E;\ \mathrm{Vertex},\mathrm{Edge},\mathrm{Inc},(P_c)_{c\in C})I(G,χ)=(V∪˙E; Vertex,Edge,Inc,(Pc​)c∈C​), where Inc(e,v)\mathrm{Inc}(e,v)Inc(e,v) says that vvv is an endpoint of eee and PcP_cPc​ holds of the vertices of color ccc. The logic is sorted: individual variables range over vertices or edges, set variables over sets of either, and formulas are built from equalities, memberships, Inc\mathrm{Inc}Inc and PcP_cPc​ by Boolean connectives and quantifiers; there is no order and no modular counting. A sentence ψ\psiψ can, for example, require a Hamiltonian cycle; a satisfying graph counts once, however many witnesses it has. With tw\mathrm{tw}tw the treewidth,

Zk,n(ψ)=∑V(G)=[n], χ:[n]→Ctw(G)≤k, (G,χ)⊨ψW(G,χ).Z_{k,n}(\psi)=\sum_{\substack{V(G)=[n],\ \chi:[n]\to C\\ \mathrm{tw}(G)\le k,\ (G,\chi)\models\psi}}W(G,\chi).Zk,n​(ψ)=V(G)=[n], χ:[n]→Ctw(G)≤k, (G,χ)⊨ψ​∑​W(G,χ).

The input is nnn, kkk, CCC, ψ\psiψ and the weights; θ=(k,C,ψ)\theta=(k,C,\psi)θ=(k,C,ψ) is the parameter and LLL the total binary length of the weights. Rationals are stored as reduced binary fractions; an arithmetic operation is +,−,×,÷+,-,\times,\div+,−,×,÷ or a comparison of stored rationals; bit time counts bit operations, and a sampler additionally reads fair random bits.

Formalization targets

Goal: Theorem 2.1

There is one uniform algorithm — a program fixed before n,k,C,ψn,k,C,\psin,k,C,ψ and the weights, with one computable fff — that computes Zk,n(ψ)Z_{k,n}(\psi)Zk,n​(ψ) exactly using

f(θ) O(n) scalar entries,f(θ) O(n2) arithmetic operations,f(θ) poly(n,L) bit time and space,f(\theta)\,O(n)\ \text{scalar entries},\qquad f(\theta)\,O(n^2)\ \text{arithmetic operations},\qquad f(\theta)\,\mathrm{poly}(n,L)\ \text{bit time and space},f(θ)O(n) scalar entries,f(θ)O(n2) arithmetic operations,f(θ)poly(n,L) bit time and space,

and, if Zk,n(ψ)>0Z_{k,n}(\psi)>0Zk,n​(ψ)>0, its tables support a sampler that outputs each (G,χ)(G,\chi)(G,χ) in the sum with probability exactly

W(G,χ)Zk,n(ψ)\frac{W(G,\chi)}{Z_{k,n}(\psi)}Zk,n​(ψ)W(G,χ)​

in expected f(θ) poly(n,L)f(\theta)\,\mathrm{poly}(n,L)f(θ)poly(n,L) bit time per sample.

Milestones

The milestones follow the paper's proof. Lemma 3.1 (a one-step description reconstructs a boundaried graph and splits its weight); Lemmas A.2, A.4 and A.5 (a balanced feasible boundary partition exists, the farthest minimum separator is unique, and the resulting pieces have bounded boundaries and fewer internal vertices); Proposition 3.2 (the canonical separator is well defined, with the bounds (2)); Proposition 3.3 (computable MSO2_22​ sentences recognize the canonical description on a candidate parent); Proposition 4.2 (the evaluation order of the two tables is well founded); Theorem 4.3 (for any state map, every table entry is the exact weighted sum over its defining class, each graph having exactly one expanded description); Lemmas C.3, C.4 and C.6 (finitely many computable MSO2_22​ types, compatible with the graph operations, covering every bounded-boundary graph of treewidth at most kkk); Proposition 5.1 (the state map is computable from θ\thetaθ); Lemma D.2 (sharper bit bounds via treewidth ≤2k+2\le 2k+2≤2k+2); Theorem 6.1 (the recursive sampler has the exact law); Lemma D.3 (a sample makes Ok(n)O_k(n)Ok​(n) recursive calls).

Significance

For each fixed kkk, the result counts the labeled partial kkk-trees exactly in f(k) O(n2)f(k)\,O(n^2)f(k)O(n2) arithmetic operations and samples them exactly uniformly in expected fixed-parameter time (Corollary 1.1), while their asymptotic enumeration remains open for k≥3k\ge3k≥3. With colors and weights it samples, for instance, from G(n,p)G(n,p)G(n,p) conditioned on tw(G)≤k\mathrm{tw}(G)\le ktw(G)≤k and on an MSO2_22​ property, and it makes full MSO2_22​ domain-liftable in nnn for each fixed θ\thetaθ under this graph and weight model. Because chordality is MSO2_22​-definable, it also counts the ω\omegaω-colorable labeled chordal graphs for each fixed ω\omegaω.

The theorem is proved in a manuscript (a STOC 2027 submission); none of it has been machine-checked. Formalizing it would check a canonical-decomposition argument whose whole point is that every graph is counted exactly once — the kind of claim where an informal proof can silently double count — together with an exact sampler whose law is asserted to be exactly W/ZW/ZW/Z.

Difficulty

Recursively splitting a graph along small separators gives a natural recurrence, but a graph admits many splittings, and summing over all of them counts it many times. Choosing one canonical decomposition per graph does not suffice either: the dynamic program never sees individual graphs, only aggregated summaries of many partial graphs, while the canonical choice depends on the whole graph. The proof has to make the choice recognizable by a formula, show that finite logical summaries of the parts decide that formula, and enforce the label-dependent conventions (least labels, increasing assignments, anchor order) by binomial counting instead of by logic. Each of these steps interacts with the others through exact identities; an inequality anywhere would break exactness of the count and of the sampler's law. The parameter dependence is non-elementary, and the state construction goes through MSO2_22​ types and Feferman–Vaught composition, which have no formal library support yet.

Formalization scope

  • Machine. The algorithm is a fixed program of a random-access machine whose cells hold exact rationals, with bit cost charged on operand lengths (a bit-cost RAM, which Definition D.1 allows as equivalent to Turing-machine bit time up to polynomial factors). Arithmetic operations count every executed addition, subtraction, multiplication, division, floor or comparison, index arithmetic included; scalar entries are the cells ever written; bit space is the maximum number of stored bits. The input stores each number as one rational, so nnn is read in binary; LLL sums the bit lengths of all r+r2r+r^2r+r2 weight entries.
  • Conventions. [n][n][n] is Fin n (000-based); CCC is Fin r with r≥1r\ge1r≥1; weights are in Q≥0\mathbb Q_{\ge0}Q≥0​ with β\betaβ symmetric; f(θ)f(\theta)f(θ) is a computable f:N→Nf:\mathbb N\to\mathbb Nf:N→N applied to k+∣C∣+size(ψ)k+|C|+\mathrm{size}(\psi)k+∣C∣+size(ψ), which is equivalent since finitely many θ\thetaθ have a given size; the OOO-constants are absorbed into fff and a single exponent ccc; the size and time bounds are claimed for n≥1n\ge1n≥1, correctness for every nnn.
  • Sampler. "Per sample" is one call of a second fixed program started from the final memory of the counting run, which explicitly contains the completed numerical tables, with a fresh fair-coin tape; the law is stated exactly, together with almost-sure halting and an expected-cost bound. In Lemma D.2 the per-sample bit bound is read as an expectation, as Theorem 2.1 and Appendix D.4 state it; read literally as a worst-case bound it is impossible for an exact sampler (finding attached to the mission).
  • Milestone layer. Boundaried graphs with output labels, the operations of Table 2, state maps, the two tables (as solutions of recurrences (3)–(8)), expanded descriptions, MSO2_22​ types and construction terms are defined in this mission. Structural graphs require an injective boundary map; distinct output labels are required for descriptions, while states and construction terms ignore them. Theorem 4.3 includes existence of the tables and validity of every expanded-description output. Proposition 5.1 requires genuine well-formed representatives in the constructed state map. The recognizing sentences ΦB,BS,N\Phi_{B,B_S,N}ΦB,BS​,N​ enter Definition 4.1 through their meaning from Appendix C.2; their existence as computable MSO2_22​ sentences is Proposition 3.3.
  • Not trivial. The goal is not the special case of one color, unit weights and ψ=⊤\psi=\topψ=⊤, not MSO1_11​, not a fixed kkk, not one program per θ\thetaθ, and not an algorithm given the state map or the tables; all four resource clauses are present; distinct labeled outputs are distinct (no isomorphism quotient).
  • Reused definition. Treewidth is the published PlantedSubgraphLD.tw (minimum width of a tree decomposition, 000 on the empty graph).
  • Welcome contributions. MSO2_22​ types and the Feferman–Vaught composition theorem for two-sorted structures, balanced separators in bounded-treewidth graphs, the uncrossing argument for minimum separators, and the recursive method for exact sampling are reusable well beyond this mission.

Selected references

  • K. Zou, Y. Wang, Y. Chang, Y. Wang, O. Kuželka, Exact Counting and Sampling of Labeled Graphs of Bounded Treewidth with MSO Properties, STOC 2027 submission, manuscript (2026).
  • B. Courcelle, The monadic second-order logic of graphs. I. Recognizable sets of finite graphs, Information and Computation 85 (1990). https://doi.org/10.1016/0890-5401(90)90043-H
  • S. Arnborg, J. Lagergren, D. Seese, Easy problems for tree-decomposable graphs, Journal of Algorithms 12 (1991). https://doi.org/10.1016/0196-6774(91)90006-K
  • H. L. Bodlaender, A linear-time algorithm for finding tree-decompositions of small treewidth, SIAM Journal on Computing 25 (1996). https://doi.org/10.1137/S0097539793251219
  • B. Courcelle, J. Engelfriet, Graph Structure and Monadic Second-Order Logic, Cambridge University Press (2012). https://doi.org/10.1017/CBO9780511977619
  • D. Marx, Parameterized graph separation problems, Theoretical Computer Science 351 (2006). https://doi.org/10.1016/j.tcs.2005.10.007
  • P. Flajolet, P. Zimmermann, B. Van Cutsem, A calculus for the random generation of labelled combinatorial structures, Theoretical Computer Science 132 (1994). https://doi.org/10.1016/0304-3975(94)90226-7
  • L. Hébert-Johnson, D. Lokshtanov, E. Vigoda, Counting and sampling labeled chordal graphs in polynomial time, ESA 2023. https://doi.org/10.4230/LIPIcs.ESA.2023.58
24 thms2 active usersReviewed
🏆Completed
Category TheoryFormal VerificationMathematical Logic+3·Captain: Alien60

Barrett–Halvorson 2016: Morita Equivalence Implies Categorical EquivalenceResearch Paper

Motivation

When are two scientific theories "the same theory in different words"? Philosophers of science have used two formal criteria. Definitional equivalence (Glymour) is strict: it requires a common definitional extension and therefore cannot relate theories with different numbers of sorts. Categorical equivalence (Halvorson, Weatherall) is liberal: it asks only that the categories of models be equivalent. It has been applied to classical mechanics, electromagnetism and Newtonian gravitation (Weatherall 2016; survey in Weatherall 2019).

Barrett and Halvorson (2016) proposed Morita equivalence as a syntactic criterion between these two. It allows definitions of new sorts (products, coproducts, subsorts, quotients) in addition to the usual definitions of new predicates and function symbols. Their main results place the new criterion strictly between the other two:

  • Morita equivalence implies categorical equivalence (their Theorem 5.1).
  • The converse fails (their Theorem 5.2).

This mission formalizes that comparison: the semantic core of Morita extensions, the implication, the separating example, and the paper's motivating "two kinds of things" example.

Setting

A signature Σ\SigmaΣ (Sig) consists of a type of sorts, function symbols f:σ1×⋯×σm→σf : \sigma_1\times\dots\times\sigma_m\to\sigmaf:σ1​×⋯×σm​→σ and predicate symbols p⊆σ1×⋯×σmp\subseteq\sigma_1\times\dots\times\sigma_mp⊆σ1​×⋯×σm​. Formulas (Formula L Γ) are built in a typed context Γ\GammaΓ from ⊥\bot⊥, ===, predicates, →\to→ and ∀\forall∀. A structure (Str) assigns a nonempty set to each sort and interprets the symbols. A theory TTT is a set of formulas in context, each read as its universal closure; a model of TTT is a structure satisfying them all.

The category Mod(T)\mathrm{Mod}(T)Mod(T) (Model T) has the models of TTT as objects and elementary embeddings as arrows: maps on every sort that preserve and reflect every formula. Theories T1,T2T_1,T_2T1​,T2​ are categorically equivalent (CategoricallyEquivalent) if Mod(T1)≃Mod(T2)\mathrm{Mod}(T_1)\simeq\mathrm{Mod}(T_2)Mod(T1​)≃Mod(T2​).

A Morita extension of a Σ\SigmaΣ-theory TTT (MoritaData L T) adds to Σ\SigmaΣ:

  • new sorts, each with its defining symbols:
    • a product σ\sigmaσ of σ1,σ2\sigma_1,\sigma_2σ1​,σ2​, with projections π1,π2\pi_1,\pi_2π1​,π2​;
    • a coproduct, with injections ρ1,ρ2\rho_1,\rho_2ρ1​,ρ2​;
    • a subsort cut out by a Σ\SigmaΣ-formula φ(x)\varphi(x)φ(x), with an injection iii;
    • a quotient by a Σ\SigmaΣ-formula φ(x1,x2)\varphi(x_1,x_2)φ(x1​,x2​), with a projection ε\varepsilonε;
  • new predicates and function symbols, each explicitly defined by a Σ\SigmaΣ-formula.

Each new symbol gets one defining axiom, and the symbols of one new sort share a single axiom. The extension T+T^+T+ (D.ext) is TTT together with these axioms. Each definition must satisfy its admissibility condition in every model of TTT:

DefinitionCondition
subsort∃x φ(x)\exists x\,\varphi(x)∃xφ(x)
quotientφ\varphiφ is an equivalence relation
function symbol∀x ∃!y φ(x,y)\forall x\,\exists!y\,\varphi(x,y)∀x∃!yφ(x,y)

The reduct gives a functor Π:Mod(T+)→Mod(T)\Pi:\mathrm{Mod}(T^+)\to\mathrm{Mod}(T)Π:Mod(T+)→Mod(T) (D.proj).

T1T_1T1​ and T2T_2T2​ are Morita equivalent (MoritaEquivalent) if two finite chains of Morita extensions T1⇝T1′T_1\rightsquigarrow T_1'T1​⇝T1′​ and T2⇝T2′T_2\rightsquigarrow T_2'T2​⇝T2′​ (MoritaReach) end in logically equivalent theories, that is, theories with the same models, over a common signature.

Formalization targets

Goal: Morita equivalence implies categorical equivalence

T1 Morita equivalent to T2  ⟹  Mod(T1)≃Mod(T2).T_1 \text{ Morita equivalent to } T_2 \;\Longrightarrow\; \mathrm{Mod}(T_1)\simeq\mathrm{Mod}(T_2).T1​ Morita equivalent to T2​⟹Mod(T1​)≃Mod(T2​).

Milestones

  1. Unique expansion. Every model MMM of TTT has an expansion N⊨T+N\models T^+N⊨T+ with ΠN≅M\Pi N\cong MΠN≅M, and any two such expansions are isomorphic.
  2. Π\PiΠ is faithful.
  3. Π\PiΠ is full.
  4. Conservativity. For every Σ\SigmaΣ-formula α\alphaα: T⊨αT\models\alphaT⊨α iff T+⊨αT^+\models\alphaT+⊨α.
  5. Translation. Every Σ+\Sigma^+Σ+-formula whose free variables all have old sorts is T+T^+T+-equivalent to a Σ\SigmaΣ-formula.
  6. Two kinds of things. T1={∃x p(x), ∃x q(x), ∀x (p(x)∨q(x)), ∀x ¬(p(x)∧q(x))}T_1=\{\exists x\,p(x),\ \exists x\,q(x),\ \forall x\,(p(x)\vee q(x)),\ \forall x\,\neg(p(x)\wedge q(x))\}T1​={∃xp(x), ∃xq(x), ∀x(p(x)∨q(x)), ∀x¬(p(x)∧q(x))} over one sort is Morita equivalent to the empty theory over two sorts.
  7. Separating example, first half. T1={∃=1x (x=x)}T_1=\{\exists^{=1}x\,(x=x)\}T1​={∃=1x(x=x)} and T2=T1∪{∀y (p0(y)→pi(y)):i∈N}T_2=T_1\cup\{\forall y\,(p_0(y)\to p_i(y)) : i\in\mathbb N\}T2​=T1​∪{∀y(p0​(y)→pi​(y)):i∈N}, over one sort and countably many unary predicates, are categorically equivalent.
  8. Separating example, second half. These two theories are not Morita equivalent.

Milestones 1–3 together say that Π\PiΠ is an equivalence of categories. Milestones 6–8 are not needed for the goal; they record the paper's examples, which show that Morita equivalence relates theories with different numbers of sorts and is strictly stronger than categorical equivalence.

Significance

The result itself. The goal makes Morita equivalence a syntactic sufficient condition for categorical equivalence: an explicit dictionary of definitions yields an equivalence of model categories. Milestone 8 shows the converse fails, so categorical equivalence is strictly weaker. Milestone 6 shows that Morita equivalence, unlike definitional equivalence, can relate theories with different numbers of sorts. Together these locate the criterion that later philosophy-of-physics work uses to compare formulations with different ontologies, such as different numbers of kinds of objects.

Formalizing it. The results are proved on paper and, as far as is known, have no machine-checked proofs. Mathlib's ModelTheory library is single-sorted, so none of this is available there. The mission produces a reusable many-sorted first-order logic with:

  • syntax, semantics and signature maps;
  • elementary embeddings and the category of models;
  • Morita extensions with their reduct functors.

The paper's arguments for conservativity and translation are informal in places; for example, the translation in the appendix uses coding of new-sorted variables. A formal proof fixes these details.

Difficulty

The obvious route to the goal composes the reduct functors along the chains. The work lies in showing that each reduct is an equivalence when the arrows are elementary embeddings.

  • Fullness. An elementary embedding of reducts extends uniquely to the new sorts. Showing that the extension is again elementary requires the translation of Milestone 5: every Σ+\Sigma^+Σ+-formula has to be pulled back to a Σ\SigmaΣ-formula, including formulas that quantify over the new sorts.
  • Coproduct and quotient sorts. Quantifiers over these sorts must be eliminated in favour of quantifiers over the old sorts.

For Milestone 8 the difficulty is reversed. One must rule out every pair of chains, including chains that introduce arbitrary new sorts. The paper's proof argues with a single common Morita extension. The definition, however, allows chains, and the paper notes that a chain need not collapse to a single extension. The argument must therefore be run through conservativity and translation along each chain.

Formalization scope

  • Self-contained logic. Signatures have dependent arities (Fin m → Srt). Terms and formulas use de Bruijn variables in typed contexts Γ : Fin n → Srt; Formula.all binds variable 0.
  • Theories. A theory is a Set (Axiom L), each axiom being a formula in context read as its universal closure. Because sorts are nonempty, this agrees with the sentence version.
  • Nonempty sorts. Every structure has nonempty carriers. This is the paper's convention, and without it Milestone 6 is false: the empty theory over two sorts would have models with an empty sort.
  • Morita extensions are built, not recognized. MoritaData L T lists the new sorts and symbols and their defining Σ\SigmaΣ-formulas. The signature Σ+\Sigma^+Σ+ (D.sig) and the axioms are generated from it, and admissibility is stated semantically, over all models of TTT. Any Morita extension in the paper's sense is of this form up to renaming of the new symbols.
  • A common signature up to renaming. MoritaEquivalent asks for a bijective signature map F between the two chain ends such that a structure is a model of T2′T_2'T2′​ iff its F-reduct is a model of T1′T_1'T1′​.
  • Universes. Models live in Type.
  • Separating example. The paper writes T2T_2T2​ with fresh symbols qiq_iqi​; here T1T_1T1​ and T2T_2T2​ share the signature with predicates pip_ipi​, which only renames symbols.
  • No trivialization. None of the targets holds vacuously: Morita extensions require genuine admissibility proofs, and the arrows are elementary embeddings, not arbitrary maps. Milestone 6 needs explicit chains and an explicit renaming, with arity casts.

A complete development will need:

  • the substitution and weakening lemmas for de Bruijn formulas;
  • the realization of signature maps;
  • the construction of expansions;
  • a translation function from Σ+\Sigma^+Σ+-formulas to Σ\SigmaΣ-formulas.

These pieces are reusable for any later work on interpretations or theoretical equivalence. Alternative proofs of Milestone 8, for example by counting finitely axiomatized subtheories, are welcome.

Selected references

  • T. W. Barrett, H. Halvorson, Morita Equivalence, Rev. Symb. Logic 9 (2016) 556–582. arXiv:1506.04675. Source of all targets: §3–§5 and the appendix; Example 4 and Theorems 4.1–4.3, 5.1, 5.2.
  • J. O. Weatherall, Are Newtonian Gravitation and Geometrized Newtonian Gravitation Theoretically Equivalent?, Erkenntnis 81 (2016) 1073–1091. arXiv:1411.5757.
  • J. O. Weatherall, Theoretical Equivalence in Physics, Philos. Compass 14 (2019). arXiv:1810.08192.
  • H. Halvorson, The Logic in Philosophy of Science, Cambridge University Press, 2019. doi:10.1017/9781316275603.
20 thms1 active userReviewed
Complexity TheorycryptographyTheoretical Computer Science·Captain: Shuze Chen

SNARGs from any Witness Encryption, and More: one-way functions and statistically sound NIWIs turn any witness encryption scheme into one with CEF proofs of correctnessResearch Paper

Why proofs of correctness of witness encryption matter

A witness encryption (WE) scheme for an NP relation RRR lets anyone encrypt a bit bbb under an instance xxx; whoever knows a witness www with R(x,w)=1R(x,w)=1R(x,w)=1 can decrypt, and for xxx outside the language the ciphertext hides bbb (Garg–Gentry–Sahai–Waters 2013). Jain, Kalai, Lombardi and Mathialagan (JKLM 2025) showed that WE yields SNARGs for NP, provided the scheme comes with a short Extended Frege (EF) proof of its own correctness. Most WE constructions do not have one. Their correctness often holds only statistically (decryption fails with negligible probability over the coins), and the paper's Appendix B shows that even perfectly correct schemes need not have short EF proofs under a standard proof-complexity conjecture.

Jain, Jin and Mathialagan (SNARGs from any Witness Encryption, and More, STOC 2027 submission) replace EF by Cryptographic Extended Frege (CEF) proofs, introduced by Jin, Lu and Peng (JLP 2026). Their Theorem 1.3, "Cryptographic proofs of correctness are free", says that any WE scheme can be transformed into one with short CEF proofs of correctness, assuming one-way functions and statistically sound NIWIs. This mission formalizes that statement (Corollary 7.6) and the transfer theorem behind it (Theorem 5.6, Corollary 5.7).

Setting

Circuits and formulas. Every algorithm is represented by Boolean circuits: gates g(l,r)g(l,r)g(l,r) over ∧,∨,⊕,→,=,¬\wedge,\vee,\oplus,\to,=,\neg∧,∨,⊕,→,=,¬ and constants. A circuit CCC is written as a set of formulas {out:=C(in)}\{\mathrm{out}:=C(\mathrm{in})\}{out:=C(in)}, one equation o↔g(l,r)o\leftrightarrow g(l,r)o↔g(l,r) per gate, where each wire is a fresh extension variable.

PEF proofs. In probabilistic Extended Frege logic every variable is proper (an arbitrary bit), random (an independent uniform bit) or an extension variable. A (t,s,ℓ,ϵ)(t,s,\ell,\epsilon)(t,s,ℓ,ϵ)-PEF proof of a set of formulas Φ\PhiΦ is a sequence of configurations ∅=Φ1,…,Φu=Φ\emptyset=\Phi_1,\dots,\Phi_u=\Phi∅=Φ1​,…,Φu​=Φ. Each configuration comes from the previous one by one of four rules:

  • Logical Inference: add a tautological consequence of a constant number of present formulas;
  • Extension: define a fresh extension variable;
  • Erasure: remove a derived formula or an unused definition;
  • Cryptographic Gadget Substitution: replace a small sub-computation {y:=f(z,c)}\{y:=f(z,c)\}{y:=f(z,c)} by {y:=g(z,c′)}\{y:=g(z,c')\}{y:=g(z,c′)}, provided every circuit of size 1/ϵ1/\epsilon1/ϵ distinguishes f(z,⋅)f(z,\cdot)f(z,⋅) from g(z,⋅)g(z,\cdot)g(z,⋅) with advantage at most ϵ\epsilonϵ for every fixed zzz, and ∣z∣≤log⁡s|z|\le\log s∣z∣≤logs or (∣z∣≤ℓ|z|\le\ell∣z∣≤ℓ and ∣y∣≤log⁡ℓ|y|\le\log\ell∣y∣≤logℓ).

The length ∑i∑ϕ∈Φi∣ϕ∣\sum_i\sum_{\phi\in\Phi_i}|\phi|∑i​∑ϕ∈Φi​​∣ϕ∣ is at most ttt, and the space max⁡i∑ϕ∈Φi∣ϕ∣\max_i\sum_{\phi\in\Phi_i}|\phi|maxi​∑ϕ∈Φi​​∣ϕ∣ is at most sss.

CEF proofs. A family {Φλ}\{\Phi_\lambda\}{Φλ​} has a (t,s,ℓ)(t,s,\ell)(t,s,ℓ)-CEF proof if one family of configuration sequences, fixed in advance, is a (t(λ),s(λ),ℓ(λ),λ−c)(t(\lambda),s(\lambda),\ell(\lambda),\lambda^{-c})(t(λ),s(λ),ℓ(λ),λ−c)-PEF proof for every c>0c>0c>0 and all large λ\lambdaλ.

Circuit samplers sample a public string and a probabilistic circuit, (aux,Ck)←Gen(1λ;ρ)(\mathrm{aux},C_k)\leftarrow\mathrm{Gen}(1^\lambda;\rho)(aux,Ck​)←Gen(1λ;ρ). Two samplers have a CEF proof of indistinguishability if a short chain of samplers connects them. Each link is a gadget substitution backed by EF proofs of the decomposition identities, or a step where the sampler outputs are indistinguishable.

The transformation. Algorithm 1 is a gate-by-gate NIZK built from a commitment scheme, a length-doubling PRG GGG and a NIWI for the OR relation Rgate∨R^\vee_{\mathrm{gate}}Rgate∨​:

  • the prover commits to every private wire of the circuit of RRR;
  • for every gate it proves "this gate is consistent, or v=G(u)v=G(u)v=G(u)".

Algorithm 3 then defines WE′\mathrm{WE}'WE′:

  • WE′.Enc(x,b)\mathrm{WE}'.\mathrm{Enc}(x,b)WE′.Enc(x,b) samples a NIZK CRS and outputs (crs,WE.Enc((crs,x),b))(\mathrm{crs},\mathrm{WE.Enc}((\mathrm{crs},x),b))(crs,WE.Enc((crs,x),b));
  • WE′.Dec\mathrm{WE}'.\mathrm{Dec}WE′.Dec checks R(x,w)R(x,w)R(x,w), computes a NIZK proof π\piπ for xxx from www, and decrypts the inner ciphertext with witness π\piπ.

Formalization targets

Goal: Corollary 7.6 (formal Theorem 1.3)

For polynomial lengths n,mn,mn,m, any commitment scheme, PRG, NIWI for Rgate∨R^\vee_{\mathrm{gate}}Rgate∨​ and statistically correct WE for RNIZKR_{\mathrm{NIZK}}RNIZK​, every premise bound k≥2k\ge2k≥2 and every constant ℓ≥1\ell\ge1ℓ≥1, both of the following hold:

∃ t,s polynomials ∀{xλ},b:{R(xλ,w)=1⇒WE′.Dec(WE′.Enc(xλ,b;r1),w;r2)=b}λ has a (t,s,ℓ)-CEF proof,\exists\,t,s\ \text{polynomials}\ \forall\{x_\lambda\},b:\quad \Big\{R(x_\lambda,w)=1\Rightarrow\mathrm{WE}'.\mathrm{Dec}(\mathrm{WE}'.\mathrm{Enc}(x_\lambda,b;r_1),w;r_2)=b\Big\}_\lambda\ \text{has a }(t,s,\ell)\text{-CEF proof},∃t,s polynomials ∀{xλ​},b:{R(xλ​,w)=1⇒WE′.Dec(WE′.Enc(xλ​,b;r1​),w;r2​)=b}λ​ has a (t,s,ℓ)-CEF proof, ∃ t,s polynomials ∀{xλ},b:(ct,Cx,ct) and (ct,Dx,b) have a (t,t,s,ℓ)-CEF proof of indistinguishability.\exists\,t,s\ \text{polynomials}\ \forall\{x_\lambda\},b:\quad (\mathrm{ct},C_{x,\mathrm{ct}})\ \text{and}\ (\mathrm{ct},D_{x,b})\ \text{have a }(t,t,s,\ell)\text{-CEF proof of indistinguishability}.∃t,s polynomials ∀{xλ​},b:(ct,Cx,ct​) and (ct,Dx,b​) have a (t,t,s,ℓ)-CEF proof of indistinguishability.

Here Cx,ct(w;r)C_{x,\mathrm{ct}}(w;r)Cx,ct​(w;r) decrypts when R(x,w)=1R(x,w)=1R(x,w)=1 and outputs ⊥\bot⊥ otherwise, and Dx,b(w)D_{x,b}(w)Dx,b​(w) outputs bbb when R(x,w)=1R(x,w)=1R(x,w)=1 and ⊥\bot⊥ otherwise.

Milestones

  • Theorem 5.6. Fix λ\lambdaλ. A (m,t,s,ℓ,ϵ)(m,t,s,\ell,\epsilon)(m,t,s,ℓ,ϵ)-PEF proof of indistinguishability from Gen(0)\mathrm{Gen}^{(0)}Gen(0) to Gen(1)\mathrm{Gen}^{(1)}Gen(1), together with an EF proof of length qqq that Gen(1)\mathrm{Gen}^{(1)}Gen(1)'s circuit computes a deterministic FFF, gives a (t′,s′,ℓ,ϵ′)(t',s',\ell,\epsilon')(t′,s′,ℓ,ϵ′)-PEF proof that Gen(0)\mathrm{Gen}^{(0)}Gen(0)'s circuit computes FFF. Here σ=max⁡{s,2ℓ}\sigma=\max\{s,2^\ell\}σ=max{s,2ℓ}, t′=p(t+q+n+∣F∣)σ2t'=p(t+q+n+|F|)\sigma^2t′=p(t+q+n+∣F∣)σ2, s′=p(t+q+n+∣F∣)σs'=p(t+q+n+|F|)\sigmas′=p(t+q+n+∣F∣)σ and 1/ϵ′=1/ϵ−p(t+n)σ1/\epsilon'=1/\epsilon-p(t+n)\sigma1/ϵ′=1/ϵ−p(t+n)σ.
  • Corollary 5.7. The same with CEF families and ℓ=O(log⁡λ)\ell=O(\log\lambda)ℓ=O(logλ).

Significance

The result. Corollary 7.6 removes the proof-of-correctness requirement from the JKLM route to SNARGs. The transformation uses the WE scheme as a black box and needs no proof, in EF or otherwise, of its correctness. It is the step through which the paper obtains SNARGs for NP from LWE and any witness encryption (Corollaries 7.9 and 7.10). The same transformation gives CEF proofs of completeness for laconic arguments (Theorem 8.2). Theorem 5.6 is the general transfer principle: an indistinguishability argument plus an EF proof for an "ideal" endpoint gives a probabilistic proof for the "real" one.

Formalizing it. No part of this theory has a machine-checked statement. The mission fixes the definitions precisely: PEF/CEF proofs with explicit length and space, the samplers with gadget decompositions, Algorithms 1 and 3 as explicit circuits. A complete development would be the first formal account of cryptographic proof systems of this kind. The results are proved on paper and not formalized.

Difficulty

The obvious argument reasons about the whole witness at once: "decryption with an honest NIZK proof equals bbb with high probability". CEF admits only local cryptographic steps. A gadget substitution may replace a sub-computation only when its input zzz is short (∣z∣≤log⁡s|z|\le\log s∣z∣≤logs or ∣z∣≤ℓ|z|\le\ell∣z∣≤ℓ). The decryption circuit reads the whole witness, so correctness of WE cannot be invoked as one step. The NIZK's simulation must also be carried out gate by gate inside the proof system. Each gate's commitment and NIWI proof is switched by one small gadget, while EF proofs of the decomposition identities hold the rest of the computation fixed. In Theorem 5.6 the gadget's input is computed from parts of the configuration that the context can read. A naive single substitution would therefore make the gadget's input depend on its own output. Avoiding that circularity at polynomial cost is the core of the proof.

Formalization scope

  • Machine model. Every algorithm, relation and adversary is a family of Boolean circuits at the lengths where it is used. Gates have two input wires; an undefined wire reads 000; size is the number of gates; encoding length is inputs plus outputs plus gates. WE′.Enc\mathrm{WE}'.\mathrm{Enc}WE′.Enc and WE′.Dec\mathrm{WE}'.\mathrm{Dec}WE′.Dec are the explicit compositions of their parts' circuits, standing in for the unrolling of the composed machines (the paper identifies the two, p. 41). The relation RRR is any well-formed polynomial-size circuit family, and adversaries are non-uniform circuits.
  • Ingredients, componentwise. The goal assumes a commitment scheme (Definition 4.3, with Com.Gen outputting its random tape), a PRG, a NIWI for Rgate∨R^\vee_{\mathrm{gate}}Rgate∨​ (with errors uniform over the hardwired crsCom\mathrm{crs}_{Com}crsCom​) and a WE for RNIZKR_{\mathrm{NIZK}}RNIZK​. These are required only at the lengths where they are used. This generalizes "one-way functions, WE for NP, NIWI for NP".
  • Lengths. N=mN=mN=m (the fixed-length specialization), so CRS, proofs and gate instances carry no length fields.
  • Proof system. Logical Inference uses at most kkk premises, for every k≥2k\ge2k≥2. Extension variables are fresh for the current configuration. Erasure tracks which formulas Logical Inference derived. === and ↔\leftrightarrow↔ are one connective, and hardwired bits are the constants ⊤,⊥\top,\bot⊤,⊥. Each circuit output gets its own equation. CEF sequences have length exactly u(λ)u(\lambda)u(λ) for a polynomial uuu.
  • Encodings. The values 0,1,⊥0,1,\bot0,1,⊥ are encoded as (1,0),(1,1),(0,0)(1,0),(1,1),(0,0)(1,0),(1,1),(0,0). A sampled circuit is a fixed template with a hardwired key; distinguishers see (aux,key)(\mathrm{aux},\text{key})(aux,key), and an output step requires equal templates.
  • No trivialization. Length and space are bounded, and the premise count is bounded by a constant. The CEF sequences are fixed before ccc, and the bound holds for all sufficiently large λ\lambdaλ. The final configuration is exactly the assertion, and the first is ∅\emptyset∅. The correctness clause of WE ranges over every λ\lambdaλ with lengths at most 2λ2^\lambda2λ. The two samplers of Definition 7.3 share the ciphertext.
  • Not in this mission. The headline Theorem 1.1 (SNARGs from LWE and WE) is not part of this mission: the paper never defines LWE or its parameters, which enter only through cited results. Theorems 6.2, 5.17, 7.4 and Corollary 5.14, the machine-sampler layer of the goal's proof, are also not stated.
  • Reusable. The circuit, formula and PEF/CEF layer is reusable for any work on cryptographic proof systems. Contributions are welcome on the circuit-composition lemmas, the EF equivalences, and the gadget-by-gadget simulation.

Selected references

  • A. Jain, Z. Jin, S. Mathialagan, SNARGs from any Witness Encryption, and More, STOC 2027 submission (manuscript).
  • S. Garg, C. Gentry, A. Sahai, B. Waters, Witness Encryption and its Applications, STOC 2013. https://doi.org/10.1145/2488608.2488667
  • J. Håstad, R. Impagliazzo, L. Levin, M. Luby, A Pseudorandom Generator from any One-way Function, SIAM J. Comput. 28(4), 1999. https://doi.org/10.1137/S0097539793244708
  • M. Naor, Bit Commitment Using Pseudorandomness, J. Cryptology 4, 1991. https://doi.org/10.1007/BF00196774
  • C. Peikert, S. Shiehian, Noninteractive Zero Knowledge for NP from (Plain) Learning With Errors, CRYPTO 2019. https://doi.org/10.1007/978-3-030-26948-7_4
  • S. Cook, Feasibly Constructive Proofs and the Propositional Calculus, STOC 1975. https://doi.org/10.1145/800116.800123
11 thms0 active usersReviewed
Complexity TheoryTheoretical Computer Science·Captain: Shuze Chen

Reconfiguring Resolution Refutations: frozen lean reachability is PSPACE-complete for every fixed locality k ≥ 2, even for Horn formulas with one-copy endpoints at size 2|H|−1 and input widthResearch Paper

Motivation

A resolution refutation certifies that a CNF formula is unsatisfiable by deriving the empty clause from its clauses with the resolution rule. Resolution is the proof system behind conflict-driven SAT solvers, and its proofs are routinely post-processed: they are compressed by local rewrites, used to compute Craig interpolants for model checking, and compared for equivalence. All of these operations edit a refutation locally while keeping it a valid proof and keeping its size and clause width under control. This raises a basic navigation question: given two refutations of the same formula within the same resources, can one be turned into the other by bounded local edits, every intermediate object being a valid refutation within the same resources?

Myrisiotis, Reconfiguring Resolution Refutations (STOC 2027 submission), answers this for frozen edits, which rearrange the inference structure but never touch the axiom nodes: the question is already PSPACE-complete for every fixed locality k≥2k\ge2k≥2, even for Horn formulas at the minimum possible proof size. The source problem is the reconfiguration of vertex covers under token addition and removal, shown PSPACE-complete by Ito, Demaine, Harvey, Papadimitriou, Sideri, Uehara and Uno (TCS 2011); the upper bound uses Savitch's theorem (JCSS 1970).

Setting

A literal is a variable xxx or its negation ¬x\neg x¬x; a clause is a finite set of literals and a CNF formula FFF a finite set of clauses. The resolvent on xxx of C∪{x}C\cup\{x\}C∪{x} and D∪{¬x}D\cup\{\neg x\}D∪{¬x} (with x∉Cx\notin Cx∈/C, ¬x∉D\neg x\notin D¬x∈/D) is C∪DC\cup DC∪D. A Horn clause has at most one positive literal.

A resolution refutation RRR of FFF is a finite directed acyclic graph, with at most one edge per ordered pair of nodes, whose nodes carry clauses over the variables of FFF: an axiom node is a source labelled by a clause of FFF; a resolution node has two distinct parents and is labelled by their resolvent on some variable; a weakening node has one parent and is labelled by a superset of its parent's clause. A designated sink has no consumer (child) and is labelled by the empty clause. The size ∣R∣|R|∣R∣ counts all nodes, the width is the largest clause width, and the axiom multiset lists the clause of every axiom node with multiplicity. RRR is lean if every node is an ancestor of the sink, and read-once if moreover it has no weakening node and every non-sink node has exactly one consumer (a binary tree).

A block of locality kkk is a set QQQ of at most kkk inference nodes (plus axiom nodes) with an output qqq that every node of QQQ reaches inside QQQ, every other node of QQQ having all its consumers in QQQ; its inputs are the outside parents of its nodes. A move replaces QQQ by new nodes Q′Q'Q′ deriving the clause of qqq from inputs of QQQ, with the consumers of qqq passed to the output of Q′Q'Q′. It is frozen if neither QQQ nor Q′Q'Q′ contains an axiom node.

The frozen lean graph Gkfr(F,w,s)G^{fr}_k(F,w,s)Gkfr​(F,w,s) has as vertices the lean refutations of FFF of width at most www and size at most sss, up to renaming of nodes, and joins two refutations when one is obtained from the other by a frozen move. Frozen lean reachability for fixed kkk takes FFF, www and sss in unary, and two refutations R1,R2R_1,R_2R1​,R2​, and asks whether both are vertices lying in one connected component.

Formalization targets

Goal: Corollary 3.64 (= Corollary 1.2)

For every fixed k≥2k\ge2k≥2,

FrozenReachk∈PSPACE,\mathrm{FrozenReach}_k\in\mathrm{PSPACE},FrozenReachk​∈PSPACE,

and FrozenReachk\mathrm{FrozenReach}_kFrozenReachk​ is PSPACE-hard on one-copy instances: HHH is Horn; each endpoint is a vertex with exactly one axiom node per clause of HHH and no other; s=2∣H∣−1s=2|H|-1s=2∣H∣−1; w=max⁡C∈H∣C∣w=\max_{C\in H}|C|w=maxC∈H​∣C∣; and every refutation reachable from either endpoint is a read-once tree without weakening.

Milestones

  • Proposition 3.3: adjacent vertices of Gkfr(F,w,s)G^{fr}_k(F,w,s)Gkfr​(F,w,s) have equal axiom multisets.
  • Lemma 3.8: a lean refutation with α\alphaα axiom nodes has ∣R∣=2α−1+X+ω≥2α−1|R|=2\alpha-1+X+\omega\ge2\alpha-1∣R∣=2α−1+X+ω≥2α−1.
  • Lemma 3.47: at budget 2α−12\alpha-12α−1 every lean refutation is a read-once tree and frozen moves preserve their inputs and are reversible.
  • Theorem 3.5: vertex cover reconfiguration is PSPACE-complete.
  • Lemma 3.61 and Lemma 3.62: the decoder and the canonical paths of the modified construction of §3.13.
  • Theorem 3.63: frozen reachability is PSPACE-complete with prescribed inventories, size 2α−12\alpha-12α−1 and width two above the maximum axiom width.
  • Lemma 3.60: private tags project and lift frozen paths.

Significance

The result shows that the hardness of proof reconfiguration does not come from changing which axioms a proof uses, from sharing, or from slack in the size budget: at the minimum size for its axiom inventory every proof is a tree that uses each clause once, and frozen rewrites of at most two inferences already encode arbitrary polynomial-space computation. It sets a limit for local proof-compression and proof-normalization procedures that operate within fixed resources: deciding whether one minimum-size Horn refutation can be rewritten into another is PSPACE-complete. The paper's other results (collapses at locality three, a threshold for the size budget, constant-width hardness) are stated against the same definitions.

The paper is a recent manuscript; none of its results is formalized. The mission produces a reusable formal layer for resolution refutations as DAGs, which no platform definition currently covers (existing resolution definitions are sequence-based or for other proof systems): leanness, read-once trees, blocks and local moves, reconfiguration graphs up to node renaming, and indexed source occurrences. It also checks the paper's counting identities and its two-layer tagging argument.

Difficulty

Membership looks routine but depends on the encoding: the graph has exponentially many vertices, so a space-bounded search must recompute vertices and adjacency, including an isomorphism test because vertices are refutations up to renaming. Hardness needs a reduction whose every output satisfies the whole one-copy promise, including the clause that every reachable refutation is read-once. The main obstacle is soundness against arbitrary frozen moves of locality kkk, not just the moves the reduction uses: a decoder must read an independent set off any tight refutation of bounded width and show that a single move changes it by a bounded amount. Twin replication and the width capacity are what make that bound possible. Removing repeated axiom clauses then requires that frozen paths lift through private tags, which fails without consistent indexing of the source occurrences (the paper gives an example).

Formalization scope

  • Clauses and formulas. Literals, clauses (Finset) and CNF formulas (Finset of clauses) are the published MultiplierAssoc206_Resolution_CNF; its sequence-based refutations are not used. Variables are a type V; instances use ℕ.
  • Refutations. ProofDag V: nodes Fin n, labels, an edge Finset, a sink. The kind of a node is its number of parents (0, 1, 2); pivots are read off clauses (HasPivot) and never stored. IsRefutationOf contains all of Definition 2.1. Unsatisfiability follows by soundness and is not assumed.
  • Moves and renaming. MoveVia k R R' Q Q' φ describes the result of a move concretely, with φ identifying the kept nodes. Adjacency requires both ends to be vertices (lean, width ≤ www, size ≤ sss). Connectivity steps are frozen moves in either direction or isomorphisms (bijections preserving labels, edges and sink), so components are those of the graph on isomorphism classes.
  • Complexity. InPSPACE, PolyReduces, PSPACEHard are the published OptimalQueuingComplexity_Restless_PSPACEComplete (Mathlib TM2 machines; space counts all stack symbols, input included, harmless for polynomial bounds).
  • Instance encoding. encInstance is injective and self-delimiting: binary numerals (encNat) for variables, node counts and the sink; www and sss in unary; clauses as sorted variable lists; formulas with clauses sorted by code; refutations as adjacency matrices plus labels. A degenerate or binary encoding of www, sss would change the problem and is ruled out.
  • The promise. Hardness is PSPACEHard over the subtype {x // OneCopy k x} with encoding encInstance ∘ Subtype.val, so every reduction output satisfies the promise. A formulation as hardness of "promise ∧ reachable" is weaker and is not the goal. Membership is for the general problem. kkk is fixed outside the language. s=2∣H∣−1s=2|H|-1s=2∣H∣−1 is written s+1=2∣H∣s+1=2|H|s+1=2∣H∣.
  • Construction (Lemmas 3.61, 3.62). The two binary trees are arbitrary rooted full binary trees with the prescribed leaves (quantified). The canonical proofs are comb presentations of the recipe of Lemma 3.58 with indexed sources (the two fvf_vfv​ units are PvP_vPv​, QvQ_vQv​). The orders of tree internals and final deletions are shared, and the per-set orders are arbitrary.
  • Private tags (Lemma 3.60). Inventories are indexed by Fin α. Lifts add a DiD_iDi​ and a UiU_iUi​ node above the iii-th source. Consistent indexing is IndexedFrozenConnected.
  • Not posed. Savitch's theorem (Theorem 2.2) is not stated: it needs a read-only-input, nondeterministic space model that the platform does not have.

Welcome contributions: decidability and enumeration lemmas for ProofDag, the counting identity of Lemma 3.8, and a reusable PSPACE upper bound for reachability in succinctly described graphs.

Selected references

  • D. Myrisiotis, Reconfiguring Resolution Refutations, STOC 2027 submission (manuscript).
  • T. Ito, E. D. Demaine, N. J. A. Harvey, C. H. Papadimitriou, M. Sideri, R. Uehara, Y. Uno, On the complexity of reconfiguration problems, Theoretical Computer Science 412(12–14), 2011. https://doi.org/10.1016/j.tcs.2010.12.005
  • W. J. Savitch, Relationships between nondeterministic and deterministic tape complexities, Journal of Computer and System Sciences 4(2), 1970. https://doi.org/10.1016/S0022-0000(70)80006-X
  • M. Davis, H. Putnam, A computing procedure for quantification theory, Journal of the ACM 7(3), 1960. https://doi.org/10.1145/321033.321034
  • E. Ben-Sasson, A. Wigderson, Short proofs are narrow — resolution made simple, Journal of the ACM 48(2), 2001. https://doi.org/10.1145/375827.375835
18 thms0 active usersReviewed

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