Documentation

Complexity Zoo

Complexity Zoo: inclusions & separations

Interactive atlas of complexity-class inclusions, equalities and strict separations: what CslibFrontier proves with direct API links and explicit derivation chains, alongside unconditional results and open questions from the literature. Rebuilt automatically on every documentation deployment; the build fails if any proved theorem disagrees with the literature layer.

✓Direct library theorem=Both inclusions proved✓*Proved by chaining✗Direct proved non-inclusion✗*Propagated proved non-inclusion(✓)Known in literature (open target)(✗)Known false (open target)?Open problem in literature

Uniform classes

34 classes 113 direct theorems 530/564 decided pairs proved 34 open targets 558 open in literature

Bit-string languages at encBits (most proved inclusion theorems are polymorphic over every injective encoding enc : α ↪ List Bool; hierarchy separations hold at encBits). Interactive SZK is not yet defined in CslibFrontier; noninteractive NIPZK and NISZK (CRS model) are included.

Interactive Hasse diagram (smaller at bottom → larger at top) proved inclusion unformalized (✓) proved strict ⊊

Row class ⊆ column class — click any cell to inspect its theorem or literature derivation chain.

⊆LSLRLBPLNLPZPPRPcoRPBPPUPNPcoNPPCP[log,1]NIPZKNISZKMAAMΣ₂ᵖΠ₂ᵖPH⊕PBQPQMAPPPostBQPP^PPP^#PPSPACEIPEXPNEXPMIPEXPSPACE
L·=✓✓✓✓✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓✓*✓*✓*✓*✓*
SL=·✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*
RL??·✓✓✓✓*✓✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*
BPL???·?✓✓*✓*✓*✓✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓✓*✓*✓*✓*✓*
NL????·✓✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓✓*✓*✓*✓*✓*
P?????·✓✓✓✓✓✓✓✓*✓*✓*✓*✓*✓*✓*✓✓✓✓*✓✓*✓✓✓✓*✓✓*✓*✓*
ZPP??????·✓✓✓*?✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*?✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*
RP???????·?✓?✓?✓*✓*✓*✓*✓*✓*✓*✓*?✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*
coRP????????·✓??✓?✓*✓*✓*✓*✓*✓*✓*?✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*
BPP?????????·????✓✓*✓✓✓✓✓?✓✓*✓✓*✓*✓*✓*✓✓*✓*✓*✓*
UP??????????·✓?✓*??✓*✓*✓*✓*✓*✓?✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*
NP???????????·?=??✓✓✓✓✓??✓✓✓*✓*✓*✓✓✓✓✓*✓*
coNP????????????·?????✓✓✓???✓✓*✓*✓*✓*✓✓*✓*✓*✓*
PCP[log,1]???????????=?·??✓*✓*✓*✓*✓*??✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*
NIPZK??????????????·✓?(✓)(✓)(✓)(✓)???(✓)(✓)(✓)(✓)(✓)(✓)(✓)(✓)(✓)(✓)
NISZK???????????????·?(✓)(✓)(✓)(✓)?????(✓)(✓)(✓)(✓)(✓)(✓)(✓)(✓)
MA????????????????·✓✓✓✓*??✓✓*✓*✓*✓*✓*✓*✓*✓*✓*✓*
AM?????????????????·?✓✓?????✓*✓*✓*✓*✓*✓*✓*✓*
Σ₂ᵖ??????????????????·?✓?????✓*✓*✓✓*✓✓✓*✓*
Π₂ᵖ???????????????????·✓?????✓*✓*✓*✓*✓*✓*✓*✓*
PH????????????????????·?????✓✓✓✓✓*✓*✓*✓*
⊕P?????????????????????·????✓✓*✓*✓*✓*✓*✓*✓*
BQP??????????????????????·✓✓✓*✓*✓*✓✓*✓*✓*✓*✓*
QMA???????????????????????·✓✓*✓*✓*✓*✓*✓*✓*✓*✓*
PP????????????????????????·=✓✓✓✓*✓*✓*✓*✓*
PostBQP????????????????????????=·✓*✓*✓*✓*✓*✓*✓*✓*
P^PP??????????????????????????·=✓✓*✓*✓*✓*✓*
P^#P??????????????????????????=·✓✓*✓*✓*✓*✓*
PSPACE✗✗*✗*(✗)✗???????????????????????·=✓✓*✓*✓
IP✗*✗*✗*(✗)✗*???????????????????????=·✓*✓*✓*✓*
EXP✗*✗*✗*✗*✗*✗????????????????????????·✓✓*✓
NEXP✗*✗*✗*✗*✗*✗*✗*✗*(✗)?✗*✗(✗)✗*?????????????????·=✓
MIP✗*✗*✗*✗*✗*✗*✗*✗*(✗)?✗*✗*(✗)✗*?????????????????=·✓*
EXPSPACE✗*✗*✗*✗*✗*✗*✗*✗*✗*✗*✗*✗*✗*✗*(✗)(✗)✗*✗*✗*✗*✗*✗*✗*✗*✗*✗*✗*✗*✗✗*???·
Direct library theorems used (113)
StatementDeclaration
L ⊆ SLCslib.Complexity.L_subset_SL
L ⊆ RLCslib.Complexity.L_subset_RL
L ⊆ BPLCslib.Complexity.L_subset_BPL
L ⊆ NLCslib.Complexity.L_subset_NL
L ⊆ PCslib.Complexity.L_subset_P
L ⊊ PSPACECslib.Complexity.L_ssubset_PSPACE
L ⊆ PSPACECslib.Complexity.L_subset_PSPACE
SL = LCslib.Complexity.SL_eq_L
SL ⊆ LCslib.Complexity.SL_subset_L
RL ⊆ BPLCslib.Complexity.RL_subset_BPL
RL ⊆ NLCslib.Complexity.RL_subset_NL
RL ⊆ PCslib.Complexity.RL_subset_P
RL ⊆ RPCslib.Complexity.RL_subset_RP
BPL ⊆ PCslib.Complexity.BPL_subset_P
BPL ⊆ BPPCslib.Complexity.BPL_subset_BPP
BPL ⊆ PSPACECslib.Complexity.BPL_subset_PSPACE
NL ⊆ PCslib.Complexity.NL_subset_P
NL ⊊ PSPACECslib.Complexity.NL_ssubset_PSPACE
P ⊆ ZPPCslib.Complexity.P_subset_ZPP
P ⊆ RPCslib.Complexity.P_subset_RP
P ⊆ coRPCslib.Complexity.P_subset_coRP
P ⊆ BPPCslib.Complexity.P_subset_BPP
P ⊆ UPCslib.Complexity.P_subset_UP
P ⊆ NPCslib.Complexity.P_subset_NP
P ⊆ coNPCslib.Complexity.P_subset_coNP
P ⊆ PHCslib.Complexity.P_subset_PH
P ⊆ ⊕PCslib.Complexity.P_subset_ParityP
P ⊆ BQPCslib.Complexity.P_subset_BQP
P ⊆ PPCslib.Complexity.P_subset_PP
P ⊆ P^PPCslib.Complexity.P_subset_PWithPPOracle
P ⊆ P^#PCslib.Complexity.P_subset_PWithSharpPOracle
P ⊆ PSPACECslib.Complexity.P_subset_PSPACE
P ⊊ EXPCslib.Complexity.P_ssubset_EXP
P ⊆ EXPCslib.Complexity.P_subset_EXP
ZPP ⊆ RPCslib.Complexity.ZPP_subset_RP
ZPP ⊆ coRPCslib.Complexity.ZPP_subset_coRP
RP ⊆ BPPCslib.Complexity.RP_subset_BPP
RP ⊆ NPCslib.Complexity.RP_subset_NP
coRP ⊆ BPPCslib.Complexity.coRP_subset_BPP
coRP ⊆ coNPCslib.Complexity.coRP_subset_coNP
BPP ⊆ NIPZKCslib.Complexity.BPP_subset_NIPZK
BPP ⊆ MACslib.Complexity.BPP_subset_MA
BPP ⊆ AMCslib.Complexity.BPP_subset_AM
BPP ⊆ Σ₂ᵖCslib.Complexity.BPP_subset_SigmaP_two
BPP ⊆ Π₂ᵖCslib.Complexity.BPP_subset_PiP_two
BPP ⊆ PHCslib.Complexity.BPP_subset_PH
BPP ⊆ BQPCslib.Complexity.BPP_subset_BQP
BPP ⊆ PPCslib.Complexity.BPP_subset_PP
BPP ⊆ IPCslib.Complexity.BPP_subset_IP
UP ⊆ NPCslib.Complexity.UP_subset_NP
UP ⊆ ⊕PCslib.Complexity.UP_subset_ParityP
NP = PCP[log,1]Cslib.Complexity.NP_eq_PCP_log
NP ⊆ PCP[log,1]Cslib.Complexity.NP_subset_PCP_log
NP ⊆ MACslib.Complexity.NP_subset_MA
NP ⊆ AMCslib.Complexity.NP_subset_AM
NP ⊆ Σ₂ᵖSigmaP_one ▸ SigmaP_subset_SigmaP_succ 1
NP ⊆ Π₂ᵖSigmaP_one ▸ SigmaP_subset_PiP_succ 1
NP ⊆ PHCslib.Complexity.NP_subset_PH
NP ⊆ QMACslib.Complexity.NP_subset_QMA
NP ⊆ PPCslib.Complexity.NP_subset_PP
NP ⊆ PSPACECslib.Complexity.NP_subset_PSPACE
NP ⊆ IPCslib.Complexity.NP_subset_IP
NP ⊆ EXPCslib.Complexity.NP_subset_EXP
NP ⊊ NEXPCslib.Complexity.NP_ssubset_NEXP
NP ⊆ NEXPCslib.Complexity.NP_subset_NEXP
coNP ⊆ Σ₂ᵖPiP_one_eq_coNP ▸ PiP_subset_SigmaP_succ 1
coNP ⊆ Π₂ᵖPiP_one_eq_coNP ▸ PiP_subset_PiP_succ 1
coNP ⊆ PHCslib.Complexity.coNP_subset_PH
coNP ⊆ PPCslib.Complexity.coNP_subset_PP
coNP ⊆ IPCslib.Complexity.coNP_subset_IP
PCP[log,1] ⊆ NPCslib.Complexity.PCP_log_subset_NP
NIPZK ⊆ NISZKCslib.Complexity.NIPZK_subset_NISZK
MA ⊆ AMCslib.Complexity.MA_subset_AM
MA ⊆ Σ₂ᵖCslib.Complexity.MA_subset_SigmaP_two
MA ⊆ Π₂ᵖCslib.Complexity.MA_subset_PiP_two
MA ⊆ QMACslib.Complexity.MA_subset_QMA
AM ⊆ Π₂ᵖCslib.Complexity.AM_subset_PiP_two
AM ⊆ PHCslib.Complexity.AM_subset_PH
Σ₂ᵖ ⊆ PHCslib.Complexity.SigmaP_subset_PH 2
Σ₂ᵖ ⊆ PSPACECslib.Complexity.SigmaP_subset_PSPACE 2
Σ₂ᵖ ⊆ EXPCslib.Complexity.SigmaP_subset_EXP 2
Σ₂ᵖ ⊆ NEXPCslib.Complexity.SigmaP_subset_NEXP 2
Π₂ᵖ ⊆ PHCslib.Complexity.PiP_subset_PH 2
PH ⊆ P^PPCslib.Complexity.PH_subset_PWithPPOracle
PH ⊆ P^#PCslib.Complexity.PH_subset_PWithSharpPOracle
PH ⊆ PSPACECslib.Complexity.PH_subset_PSPACE
PH ⊆ IPCslib.Complexity.PH_subset_IP
⊕P ⊆ P^PPCslib.Complexity.ParityP_subset_PWithPPOracle
BQP ⊆ QMACslib.Complexity.BQP_subset_QMA
BQP ⊆ PPCslib.Complexity.BQP_subset_PP
BQP ⊆ PSPACECslib.Complexity.BQP_subset_PSPACE
QMA ⊆ PPCslib.Complexity.QMA_subset_PP
PP ⊆ P^PPCslib.Complexity.PP_subset_PWithPPOracle
PP ⊆ P^#PCslib.Complexity.PP_subset_PWithSharpPOracle
PP ⊆ PSPACECslib.Complexity.PP_subset_PSPACE
PostBQP = PPCslib.Complexity.PostBQP_eq_PP
PostBQP ⊆ PPCslib.Complexity.PostBQP_subset_PP
P^PP = P^#PCslib.Complexity.PWithPPOracle_eq_PWithSharpPOracle
P^PP ⊆ P^#PCslib.Complexity.PWithPPOracle_subset_PWithSharpPOracle
P^PP ⊆ PSPACECslib.Complexity.PWithPPOracle_subset_PSPACE
P^#P ⊆ P^PPCslib.Complexity.PWithSharpPOracle_subset_PWithPPOracle
P^#P ⊆ PSPACECslib.Complexity.PWithSharpPOracle_subset_PSPACE
PSPACE ⊆ IPCslib.Complexity.PSPACE_subset_IP
PSPACE ⊆ EXPCslib.Complexity.PSPACE_subset_EXP
PSPACE ⊊ EXPSPACECslib.Complexity.PSPACE_ssubset_EXPSPACE
PSPACE ⊆ EXPSPACECslib.Complexity.PSPACE_subset_EXPSPACE
IP = PSPACECslib.Complexity.IP_eq_PSPACE
IP ⊆ PSPACECslib.Complexity.IP_subset_PSPACE
EXP ⊆ NEXPCslib.Complexity.EXP_subset_NEXP
EXP ⊆ EXPSPACECslib.Complexity.EXP_subset_EXPSPACE
NEXP ⊆ EXPSPACECslib.Complexity.NEXP_subset_EXPSPACE
MIP = NEXPCslib.Complexity.MIP_eq_NEXP
MIP ⊆ NEXPCslib.Complexity.MIP_subset_NEXP

Nonuniform Boolean circuits

9 classes 27 direct theorems 52/52 decided pairs proved 0 open targets 20 open in literature

Nonuniform circuit families on {0, 1}ⁿ, kept separate from uniform classes because nonuniform AC⁰ already decides undecidable unary languages. Includes Furst–Saxe–Sipser (AC⁰ ⊊ AC⁰[2]), Razborov–Smolensky (AC⁰[2] ⊊ ACC⁰), and Spira formula balancing (Formula = NC¹).

Interactive Hasse diagram (smaller at bottom → larger at top) proved inclusion unformalized (✓) proved strict ⊊

Row class ⊆ column class — click any cell to inspect its theorem or literature derivation chain.

⊆AC⁰AC⁰[2]ACC⁰TC⁰FormulaNC¹AC¹NC²P/poly
AC⁰·✓✓✓✓*✓✓*✓*✓*
AC⁰[2]✗·✓✓✓*✓✓✓*✓
ACC⁰✗✗·✓✓*✓✓✓*✓
TC⁰✗✗*?·✓*✓✓*✓*✓*
Formula✗*✗*??·=✓*✓*✓*
NC¹✗*✗*??=·✓✓✓
AC¹✗*✗*????·✓✓
NC²✗*✗*?????·✓
P/poly✗*✗*??????·
Direct library theorems used (27)
StatementDeclaration
AC⁰ ⊊ AC⁰[2]Cslib.Circuits.Boolean.AC0_ssubset_AC0Mod_two
AC⁰ ⊆ AC⁰[2]Cslib.Circuits.Boolean.AC0_subset_AC0Mod 2
AC⁰ ⊊ ACC⁰Cslib.Circuits.Boolean.AC0_ssubset_ACC0
AC⁰ ⊆ ACC⁰Cslib.Circuits.Boolean.AC0_subset_ACC0
AC⁰ ⊊ TC⁰Cslib.Circuits.Boolean.AC0_ssubset_TC0
AC⁰ ⊆ TC⁰Cslib.Circuits.Boolean.AC0_subset_TC0
AC⁰ ⊆ NC¹Cslib.Circuits.Boolean.AC0_subset_NC_one
AC⁰[2] ⊊ ACC⁰Cslib.Circuits.Boolean.AC0Mod_ssubset_ACC0 (p := 2)
AC⁰[2] ⊆ ACC⁰Cslib.Circuits.Boolean.AC0Mod_subset_ACC0 2
AC⁰[2] ⊆ TC⁰Cslib.Circuits.Boolean.AC0Mod_subset_TC0 2
AC⁰[2] ⊆ NC¹Cslib.Circuits.Boolean.AC0Mod_subset_NC_one 2
AC⁰[2] ⊆ AC¹Cslib.Circuits.Boolean.AC0Mod_subset_AC_one 2
AC⁰[2] ⊆ P/polyCslib.Circuits.Boolean.AC0Mod_subset_PPoly 2
ACC⁰ ⊆ TC⁰Cslib.Circuits.Boolean.ACC0_subset_TC0
ACC⁰ ⊆ NC¹Cslib.Circuits.Boolean.ACC0_subset_NC_one
ACC⁰ ⊆ AC¹Cslib.Circuits.Boolean.ACC0_subset_AC_one
ACC⁰ ⊆ P/polyCslib.Circuits.Boolean.ACC0_subset_PPoly
TC⁰ ⊆ NC¹Cslib.Circuits.Boolean.TC0_subset_NC_one
Formula = NC¹Cslib.Circuits.Boolean.FormulaPoly_eq_NC_one
Formula ⊆ NC¹Cslib.Circuits.Boolean.FormulaPoly_subset_NC_one
NC¹ ⊆ FormulaCslib.Circuits.Boolean.NC_one_subset_FormulaPoly
NC¹ ⊆ AC¹Cslib.Circuits.Boolean.NC_subset_AC 1
NC¹ ⊆ NC²Cslib.Circuits.Boolean.NC_mono (i := 1) (j := 2)
NC¹ ⊆ P/polyCslib.Circuits.Boolean.NC_subset_PPoly 1
AC¹ ⊆ NC²Cslib.Circuits.Boolean.AC_subset_NC_succ 1
AC¹ ⊆ P/polyCslib.Circuits.Boolean.AC_subset_PPoly 1
NC² ⊆ P/polyCslib.Circuits.Boolean.NC_subset_PPoly 2

Total search (TFNP)

8 classes 16 direct theorems 20/20 decided pairs proved 0 open targets 36 open in literature

Syntactic subclasses of TFNP total search problems under polynomial-time search reductions. The library also proves the collapse characterizations EOPL = PLS ∩ PPAD (EOPL_eq_PLS_inter_PPAD) and SOPL = PLS ∩ PPADS (SOPL_eq_PLS_inter_PPADS); black-box oracle separations leave all reverse unconditional inclusions open.

Interactive Hasse diagram (smaller at bottom → larger at top) proved inclusion unformalized (✓) proved strict ⊊

Row class ⊆ column class — click any cell to inspect its theorem or literature derivation chain.

⊆EOPLSOPLPLSPPADPPADSPPAPPPTFNP
EOPL·✓✓✓✓*✓*✓*✓
SOPL?·✓?✓?✓*✓
PLS??·????✓
PPAD???·✓✓✓✓
PPADS????·?✓✓
PPA?????·?✓
PPP??????·✓
TFNP???????·
Direct library theorems used (16)

Algebraic & fine-grained

3 classes 3 direct theorems 3/3 decided pairs proved 0 open targets 3 open in literature

Valiant's algebraic complexity classes VP F, border VP̄ F, and VNP F of formal p-families over an arbitrary field F (arithSignature F: fan-in-2 +, ×, and field constants, counting all gates), paired below with the library's formalized fine-grained k-SAT and #k-SAT endpoints. Note on provenance: [AnthropicVPVNP2026] (AI-authored paper and Lean 4 formalization, commit 11b6c7e3c9, 2026-11-23) and [OpenAI2026ETH] (2026 manuscript, rev. 7ef5c0cc5c, 2026-10-25) are machine-checked in Lean 4 here and have not been peer-reviewed by human mathematicians.

Interactive Hasse diagram (smaller at bottom → larger at top) proved inclusion unformalized (✓) proved strict ⊊

Row class ⊆ column class — click any cell to inspect its theorem or literature derivation chain.

⊆VPVP̄VNP
VP·✓✓
VP̄?·?
VNP✗?·

Algebraic lower bounds & fine-grained hypothesis refutations

Formalized theorems on arithmetic circuit size and parameterized k-SAT / #k-SAT complexity, with exact machine models, encodings, and source-verification status.

Algebraic separation

VP F ⊂ VNP F (all fields)

Strict containment over every field F : Type u in every universe; witnessed by the Hamiltonian cycle polynomial family hcFamily F ∈ VNP F \ VP F under formal polynomial evaluation.

Source: [AnthropicVPVNP2026] Corollary M.4, p. 62 (AI-authored, not checked by a human mathematician)
Algebraic lower bound

Superpolynomial HC_m & PERM_m lower bound

For p = 0 or prime p, ∃ m₀, over every field of CharP F p and m ≥ m₀, every arithmetic circuit computing HC_m (and PERM_m when p ≠ 2) has size > m ^ ((log₂ m)^{1/3} / 1600²).

Source: [AnthropicVPVNP2026] Theorem M.3, p. 61 (AI-authored, not checked by a human mathematician)
Algebraic membership

detFamily F ∈ VP F, permFamily F ∈ VNP F, hcFamily F ∈ VNP F

Canonical algebraic upper bounds (detFamily_mem_VP, permFamily_mem_VNP, hcFamily_mem_VNP) and border closure (VP_subset_VPBar) over commutative rings/fields.

Source: [Valiant1979Algebra]; [Burgisser2000] Ch. 2; [AnthropicVPVNP2026]
Fine-grained refutation

¬ETH (Exponential Time Hypothesis refuted)

Unconditional refutation of Cslib.Complexity.ETH on native multi-tape Turing machines over encCNF: ThreeSAT is decidable in time O(2^{δ n} · poly(|encCNF φ|)) for every δ > 0.

Source: [OpenAI2026ETH] §§3–6 & Appendices A–B (interpolation scale; not peer reviewed; excludes sharper App. D)
Fine-grained refutation

¬SETH & sₖ = 0 for all k

Paired with satExponent_eq_zero and decidableInSubexpTime_KSAT: for every fixed clause width k, KSAT k runs in subexponential native multi-tape time and polynomial workspace.

Source: [OpenAI2026ETH] §§3–6 & Appendices A–B (not peer reviewed)
Fine-grained counting

¬#ETH, ¬#SETH, ¬SingleETH, ¬Single#ETH

Derived from CountingNativeEndpoint.exists_declaredCounter on encPair encUnary encCNF and SharpDeclaredKSAT on encDeclaredCNF: one single multi-tape machine counts k-CNF models in 2^{o(n)} · poly(L) time (sharpSatExponent k = 0).

Source: [OpenAI2026ETH] §§3–6 & Appendices A–B (not peer reviewed)
Fine-grained gap & rand

¬GapETH, ¬rGapETH, ¬rETH, ¬rSETH

Vanishing randomized and perfect-completeness gap SAT exponents (rpSatExponent, rSatExponent, gapSatExponent (GapKSATSpec.perfect k s)) on native machines over encCNF.

Source: [OpenAI2026ETH] §§3–6 & Appendices A–B via classical fine-grained hierarchy (not peer reviewed)
Word-RAM transfer

Subexponential k-SAT on logarithmic-word Word RAM

Carries exists_decidableInTimeAndSpace_KSAT (which preserves polynomial workspace) to one fixed Word-RAM program over Basis.additive reading bits of encCNF φ at word width O(log L).

Source: [OpenAI2026ETH] + WordRAM/OfTuring/Space.lean
Direct library theorems used (3)
Model notes, literature axioms (79) & complement closures (18)

Non-inclusions propagate outward from hierarchy theorems and lower bounds: Z ⊄ Y implies A ⊄ B whenever Z ⊆ A and B ⊆ Y. In the uniform grid, the proved strict separations behind ✗ and ✗* (L ⊊ PSPACE, NL ⊊ PSPACE, P ⊊ EXP, NP ⊊ NEXP, PSPACE ⊊ EXPSPACE) hold at the canonical bit-string encoding encBits; on a subsingleton type every class collapses. Complements are used in the literature closure for the uniform classes listed below and for the symmetric pairs NP/coNP, RP/coRP, and Σ₂ᵖ/Π₂ᵖ.

Literature factCited source
L ⊆ SLby definition (deterministic logspace reduces to undirected reachability)
SL ⊆ LUSTCON ∈ L (Reingold 2008, J. ACM 55(4))
L ⊆ RLby definition
RL ⊆ BPLby definition (one-sided error is a case of bounded two-sided error)
RL ⊆ NLby definition (nonzero acceptance probability yields a nondeterministic path)
BPL ⊆ Ptransition-matrix powering over poly(n) configurations (Gill 1977)
NL ⊆ Pdirected reachability in polynomial time, Arora–Barak Chapter 4
P ⊆ ZPPby definition
ZPP ⊆ RPGill 1977
RP ⊆ NPGill 1977
RP ⊆ BPPGill 1977
P ⊆ UPa deterministic decider accepts at most the empty witness (Valiant 1976)
UP ⊆ NPby definition (Valiant 1976)
UP ⊆ ⊕Pat most one accepting witness: 1 is odd, 0 is even (Papadimitriou–Zachos 1983)
NP ⊆ PCP[log,1]the PCP theorem (Arora–Safra 1998; Arora–Lund–Motwani–Sudan–Szegedy 1998; Dinur 2007)
PCP[log,1] ⊆ NPguess the proof assignments touched across all 2^{O(log n)} random strings, Arora–Barak Chapter 11
BPP ⊆ NIPZKthe common random string serves directly as the BPP verifier's coins, with an empty proof
NIPZK ⊆ NISZKby definition (zero statistical distance is negligible)
NIPZK ⊆ PPNIPZK ⊆ coSBP (Dixon–Gayen–Pavan–Vinodchandran, TCC 2020 Theorem 1) ⊆ coPP (Böhler–Glaßer–Meister, J. CSS 72(6), 2006) = PP (Gill 1977)
NISZK ⊆ AMthe common random string is Arthur's public coin and the proof is Merlin's message (Goldreich–Sahai–Vadhan 1999)
NISZK ⊆ Σ₂ᵖNISZK ⊆ SZK (Goldreich–Sahai–Vadhan 1999) ⊆ AM ∩ coAM (Fortnow 1987; Aiello–Håstad 1991) ⊆ Π₂ᵖ ∩ Σ₂ᵖ (Babai 1985); note NISZK = coNISZK itself is open (GSV99 Thm. 1.3; Bouland–Chen–Holden–Thaler–Vasudevan 2017)
NP ⊆ MAby definition
BPP ⊆ MAby definition
MA ⊆ AMBabai 1985
MA ⊆ Σ₂ᵖSipser 1983; Gács; Lautemann 1983; Babai 1985; Zachos–Fürer 1987
AM ⊆ Π₂ᵖBabai 1985; Sipser–Gács–Lautemann (AM ⊆ Π₂ᵖ)
NP ⊆ Σ₂ᵖby definition (Σ₁ᵖ = NP ⊆ Σ₂ᵖ)
coNP ⊆ Σ₂ᵖby definition (Π₁ᵖ = coNP ⊆ Σ₂ᵖ)
Σ₂ᵖ ⊆ PHby definition
BPP ⊆ BQPBernstein–Vazirani 1997
MA ⊆ QMAby definition
BQP ⊆ QMAby definition
QMA ⊆ PPKitaev–Watrous 2000; Marriott–Watrous 2005
NP ⊆ PPGill 1977
PP ⊆ PostBQPAaronson 2005 (Proc. R. Soc. A 461: PostBQP = PP)
PostBQP ⊆ PPAaronson 2005 (Proc. R. Soc. A 461: PostBQP = PP)
⊕P ⊆ P^PPrecover the exact accepting witness count by binary search with a PP oracle and read its parity (Gill 1977; Papadimitriou–Zachos 1983)
PP ⊆ P^PPone oracle query
P^PP ⊆ P^#Psimulate each PP threshold query using a #P count
P^#P ⊆ P^PPbinary search for each #P witness count using PP threshold queries
PH ⊆ P^#PToda's theorem (Toda 1991, SIAM J. Comput. 20(5))
P^#P ⊆ PSPACEcounting accepting witnesses by enumeration, Arora–Barak Chapter 17
PSPACE ⊆ IPShamir 1992 (J. ACM 39(4)); Lund–Fortnow–Karloff–Nisan 1992
IP ⊆ PSPACEevaluating the interaction tree in polynomial space, Arora–Barak Chapter 8
PSPACE ⊆ EXPcounting configurations, Arora–Barak Chapter 4
EXP ⊆ NEXPby definition
NEXP ⊆ MIPBabai–Fortnow–Lund 1991 (Comput. Complex. 1(1): MIP = NEXP)
MIP ⊆ NEXPguess exponentially large deterministic prover strategies and verify in NEXP (Fortnow–Rompel–Sipser 1994)
NEXP ⊆ EXPSPACEtrying every certificate in turn, reusing workspace, Arora–Barak Chapter 4
PSPACE ⊄ NLNL ⊆ SPACE(log² n) (Savitch 1970) ⊊ PSPACE by the space hierarchy theorem (Stearns–Hartmanis–Lewis 1965)
PSPACE ⊄ BPLBPL ⊆ SPACE(log^{3/2} n) (Saks–Zhou 1999) ⊊ PSPACE by the space hierarchy theorem (Stearns–Hartmanis–Lewis 1965)
EXPSPACE ⊄ PSPACEspace hierarchy theorem (Stearns–Hartmanis–Lewis 1965)
EXP ⊄ Pdeterministic time hierarchy theorem (Hartmanis–Stearns 1965), Arora–Barak Ch. 3
NEXP ⊄ NPnondeterministic time hierarchy theorem (Cook 1973; Seiferas–Fischer–Meyer 1978; Žák 1983)
NEXP ⊄ coNPNEXP ⊆ coNP would give NP ⊆ coNP, so NP = coNP ⊇ NEXP, contradicting NP ⊊ NEXP
AC⁰ ⊆ AC⁰[2]by definition (MOD₂ gates allowed)
AC⁰[2] ⊆ ACC⁰by definition (MOD₂ is a case of MODₘ)
ACC⁰ ⊆ TC⁰each MODₘ gate is an exact-count combination of threshold gates
TC⁰ ⊆ Formulaiterated addition/majority in O(log n) fan-in-2 depth, unfolded to a polynomial-size formula
Formula ⊆ NC¹depth-balancing Boolean formulas (Spira 1971; Brent 1974)
NC¹ ⊆ Formulaunfolding an O(log n)-depth fan-in-2 circuit into a tree of size 2^{O(log n)} = poly(n)
NC¹ ⊆ AC¹by definition (fan-in 2 is a case of unbounded fan-in)
AC¹ ⊆ NC²replace each unbounded AND/OR gate by a balanced O(log n)-depth binary tree
NC² ⊆ P/polyby definition
AC⁰[2] ⊄ AC⁰PARITY ∉ AC⁰ (Furst–Saxe–Sipser 1984; Ajtai 1983; Yao 1985; Håstad 1986)
ACC⁰ ⊄ AC⁰[2]MOD₃ ∉ AC⁰[2] (Razborov 1987; Smolensky 1987)
EOPL ⊆ SOPLFearnley–Gordon–Mehta–Savić 2020 (J. CSS 114)
EOPL ⊆ PPADFearnley–Gordon–Mehta–Savić 2020; Göös–Hollender–Jain–Maystre–Pires–Robere–Tao 2022
SOPL ⊆ PLSFearnley–Gordon–Mehta–Savić 2020; Göös et al. 2022 (SOPL = PLS ∩ PPADS)
SOPL ⊆ PPADSFearnley–Gordon–Mehta–Savić 2020; Göös et al. 2022
PPAD ⊆ PPADSPapadimitriou 1994 (J. CSS 48(3))
PPAD ⊆ PPAPapadimitriou 1994 (ignore edge orientations)
PPADS ⊆ PPPPapadimitriou 1994 (directed sink search reduces to pigeonhole collision)
PLS ⊆ TFNPJohnson–Papadimitriou–Yannakakis 1988
PPA ⊆ TFNPPapadimitriou 1994
PPP ⊆ TFNPPapadimitriou 1994
VP ⊆ VNPValiant 1979; Bürgisser 2000 Chapter 2 (empty Boolean hypercube sum)
VP ⊆ VP̄exact arithmetic circuits approximate with constant error order 0 (Bürgisser 2004)
VNP ⊄ VPVP F ⊊ VNP F over every field F via HC_m ∉ VP F ([AnthropicVPVNP2026], Theorem M.3 & Corollary M.4; 2026 AI-authored manuscript and Lean 4 formalization, not checked by a human mathematician)
ClassComplement closure reason
Ldeterministic; swap accepting and rejecting states
SLSL = L (Reingold 2008), which is deterministic
BPLthe two-sided error bound is symmetric
NLImmerman 1988; Szelepcsényi 1987 (NL = coNL)
Pdeterministic; swap accepting and rejecting states
ZPPswap the two definite answers
BPPthe two-sided error bound is symmetric
PHeach level Σₖᵖ has complement Πₖᵖ ⊆ Σₖ₊₁ᵖ
⊕Padd one accepting path to flip the witness parity (Papadimitriou–Zachos 1983)
BQPthe two-sided error bound is symmetric
PPGill 1977, after making the acceptance probability never exactly one half
PostBQPPostBQP = PP (Aaronson 2005), or negate the output qubit under identical postselection
P^PPdeterministic machine with an oracle; negate its final output
P^#Pdeterministic machine with an oracle; negate its final output
PSPACEdeterministic; swap accepting and rejecting states
IPIP = PSPACE (Shamir 1992), which is closed under complement
EXPdeterministic; swap accepting and rejecting states
EXPSPACEdeterministic; swap accepting and rejecting states

Unconditional theorems named A_subset_B, A_ssubset_B, A_eq_B or A_not_subset_B appear automatically. Generator & literature layer source.