Research paperCorrectedARR-2026-55XADDGK3Q8TES2E · v2 · 2026-12-04

Relativizable Lean 4 Mechanization of Input-Oblivious Unambiguous Hierarchies: Witness-Length Collapses, Exact Loose-Tower Round Tightness, Guardedness Boundaries, and Oracle Separations

Lluis Eriksson

Corrected version of a screened paper. Not peer reviewed. Screening record

Abstract

Version 2 replaces Version 1's finite enumerations and single-length tower checks with a standalone, zero-import Lean 4.36.0 language-level mechanization (19 audited top-level theorems, 0 sorry, 0 warnings, 0 custom axioms) and an AST-clean (0/0/0) exact discrete Python verifier (4/4 pytest -W error) accompanying Hirsch (2026). It establishes four results: (1) relativizable language-level dot-operator collapses and SOUP = OUP cap co-OUP over an abstract VerifierBase, pinpointing p(n) = 0 vs p(n) >= 1 as the sharp boundary between OUP and OUP cup co-OUP; (2) the general d(h+1) loose promise-tower round upper bound via finite slot-cardinality induction paired with an explicit strictly layered multi-length tower achieving exact R = d(h+1) sharpness under Hirsch's bottom-up trace-ordered 1-witness-per-round descent generator across (d,h) in {1..4} x {0..3}; (3) exact semantic single-loose-query guardedness and a concrete 2-adaptive-query out-of-promise-invariant counterexample; and (4) a constructive 2^n spike-adversary pigeonhole lower bound backing stage-separated oracle diagonalizations showing SOUP^A < OUP^A < OUP^A cup co-OUP^A and OUP^B cup co-OUP^B < P^{OUP^B[1]}.

Readable overview

Structure & key results

Extracted for web & scholarly indexing

Manuscript structure

  1. Introduction, Self-Contained Definitions, and Upgrades from Version 1
  2. Relativizable Language-Level Collapses and the p(n) = 0 Boundary
  3. Sharp Multi-Length Loose Promise-Tower Round Complexity
  4. The Exact 1-vs-2 Loose-Query Guardedness Boundary and Relativized Oracle Separations
  5. Exact Discrete Certifications and Verification Boundary

Selected results from the manuscript source

Theorem 1 — Relativizable dot-operator hierarchy collapse and SOUP characterization; Lean 4.36.0

For every verifier base B (in particular, relative to every oracle A): · (Idempotency; existsOUPos_oup_sub_oup.) ∃^(ou)_(≥ 1) · OUP(B) ⊆ OUP(B). · (Sharp positive-length collapse; existsOUPos_coOUP_sub_oup.) ∃^(ou)_(≥ 1) · coOUP(B) ⊆ OUP(B). In particular, whenever p(n) ≥ 1 for all n, the image collapses strictly into OUP(B) rather than OUP(B) ∪ coOUP(B). (In standard polynomial-time complexity Pcls^A where every nonzero polynomial p is eventually ≥ 1 and finite exceptions can be hardcoded, allowing p ≡ 0 adds the identity operator and explains why unrestricted ∃^(ou)_(≥…

Theorem 2 — Sharp d(h+1) multi-length loose-tower round bound; Lean 4.36.0

Fix any tower depth d ≥ 1 and maximum query length h ≥ 0, and set N coloneqq d(h+1). · (General multi-length upper bound; multi_length_loose_tower_upper_bound.) Let S: ℕ → (Fin N → 0,1) track discovered target (i, m) witness slots along any R-round generator run satisfying monotonicity (S_t(k) = 1 implies S_(t+1)(k) = 1) and strict progress (∀ t < R, ∃ k, S_t(k) = 0 land S_(t+1)(k) = 1). Then R ≤ d(h+1). · (Exact sharpness for Hirsch's bottom-up trace-descent generator;

Theorem 3 — Single-loose-query guardedness vs. 2-adaptive-query unguardedness; Lean 4.36.0

· (Single-query guardedness; single_loose_query_guarded.) Let Π = (Π_yes, Π_no) be any promise problem, and let M^O(x) = post(x, O(q(x))) be a 1-query oracle machine that is out-of-promise-invariant (M^(O₁)(x) = M^(O₂)(x) for all oracles O₁, O₂ consistent with Π). If the query matters on x (post(x, 0) ≠ post(x, 1)), then q(x) ∈ Π_yes ∪ Π_no. · (Exact 1-vs-2 boundary; two_adaptive_queries_break_guardedness.) There exist a concrete promise problem Π = (1, 0), an out-of-promise query q₁ = 00 ∉ Dom(Π), and a 2-adaptive-query machine M₂^O coloneqq begincases O(1) & if O(00) =…

Theorem 4 — Constructive 2ⁿ adversary lower bound and relativized oracle separations

· (Constructive 2ⁿ spike-adversary lemma; Lean finite_query_spike_adversary.) For every n ∈ ℕ and every finite query list Q ⊆ Bit with |Q| < 2ⁿ, there exists s ∈ 0,1ⁿ ∖ Q such that the empty oracle O_∅ and the unique-spike oracle O_(s) agree identically on every z ∈ Q. · (Strict relativized separation of SOUP, OUP, and OUP ∪ coOUP.) There exists an oracle A ⊆ Bit such that Pcls^A ⊆ SOUP^A = OUP^A ∩ coOUP^A subsetneq OUP^A subsetneq OUP^A ∪ coOUP^A.

Key contributions noted in exact-version screening

  • First standalone zero-import Lean 4.36.0 language-level mechanization of relativizable input-oblivious unambiguous complexity classes (OUP, co-OUP, SOUP, and arbitrary-depth alternating positive-length dot-operator chains DotChainPos).
  • Sharp isolation of witness length p(n) = 0 vs p(n) >= 1 showing that positive-length ExistsOU_{>=1}.co-OUP collapses strictly into OUP rather than OUP cup co-OUP.
  • Explicit strictly layered multi-length loose promise tower realizing exact R = d(h+1) round tightness for every d >= 1, h >= 0 under Hirsch's bottom-up trace-ordered 1-witness-per-round disagreement-descent model.

Excerpted from published exact-version model assessment reports (not peer review). Full reports below →

Preview PDF on this page v2

Uses your browser's PDF viewer. Open the PDF directly if a preview is unavailable.

Full manuscript text in HTML (3,878 words — searchable plain text)

AIRR.SCIENCE·ARR-2026-55XADDGK3Q8TES2E v2 [cs.CC] 2026-12-04 Relativizable Complexity-Class Mechanization, Sharp Multi-Length Loose-Tower Round Bounds, and Guardedness Barriers for Input-Oblivious Unambiguous Hierarchies Lluis Eriksson Independent Researcher, ¨Ostersund, Sweden·editor@airr.science Version 2 (Major Extended Edition; supersedes v1)·December 4, 2026 Abstract Version 1 of this record accompanied Hirsch’s study of input-oblivious unambiguous complexity hierarchies [4] with isolated scalar/combinatorial lemmas, a hardcoded 4-element enum for the dot-operator hierarchy, an 8-node reachability graph, and single-length ( h = 0) loose-tower simulations containing a Figure 2(a) round-count discrepancy. Version 2 replaces all toy abstractions with a self-contained, relativizable complexity-theoretic framework formalized directly over languages L⊆ {0, 1}∗ and promise problems Π = (Π yes, Πno) in standalone zeroimport Lean 4.36.0 ( lean/ObliviousUnambiguousHierarchy.lean, 19/19 audited theorems, 0 sorry, 0 warnings) and an AST-clean ( 0/0/0) exact discrete verifier ( 4/4 pytest -W error), establishing four main results: 1. Relativizable language-level collapses and sharp p(n) = 0vs. p(n) ≥ 1boundary (Theorem 2.1).Parameterized by an arbitrary deterministic polynomial-time verifier algebra VerifierBase (instantiated by PA for every oracle A with polynomial-time computable length bounds), we mechanize real language-level classes OUP, co-OUP, SOUP, and positive-length dot operators ∃ou ≥1·, ∀ou ≥1·, proving end-to-end: (a) ∃ou ≥1 ·OUP⊆OUP and ∃ou ≥1 ·co-OUP⊆OUP (strictly OUP whenever p(n) ≥ 1, pinpointing p(n) = 0 as the exact reason unrestricted ∃ou ·co-OUP equals OUP∪co-OUP ); (b) full structuralinduction collapse of arbitrary-depth alternating chains DotChainPos indexed by List Bool to OUP∪co-OUP (and specifically OUP or co-OUP according to the outermost quantifier); and (c) bidirectional equality SOUP = OUP∩co-OUP via a single 0 n-probe verifier. 2. Sharp multi-length loose promise-tower round complexityd(h+1)(Theorem 3.1). Replacing v1’s h = 0 restriction, we prove via finite slot-set cardinality induction in Lean 4.36.0 that any depth- d loose promise-oracle tower querying lengths m∈ {0, . . . , h} terminates within R≤d (h + 1) rounds, and construct an explicit layered multi-level chained tower ( A0 ∈prOUP , Ai ∈prOUP Ai−1 , MAd−1 ) on which Hirsch’s bottom-up trace-ordered 1-witness-per-round disagreement-descent generator requiresexactsharpness R = d(h + 1) rounds for every d≥ 1, h≥ 0, verified by an actual multi-level verifier simulation across all 16 pairs (d, h)∈ {1..4} × {0..3}. 3. Exact1-vs-2loose-query guardedness boundary (Theorem 4.1).We mechanize semantic single-loose-query guardedness over arbitrary promise problems and consistent oracles, and construct an explicit 2-adaptive-query machine whose first query lies outside the promise and strictly changes the second query while remaining 100% out-of-promiseinvariant across every consistent oracle extension. 4. Relativized oracle-separation barriers via constructive2 n spike-adversary bounds (Theorem 4.2).We mechanize the constructive 2 n-query pigeonhole lower bound (finite_query_spike_adversary) and apply stage-separated diagonalization to prove there exist oracles A, Bwith SOUPA ⊊OUP A ⊊OUP A ∪co-OUP A and OUPB ∪ co-OUPB ⊊ POUPB[1] ⊆OUP OUPB[1], showing that neither the dot-operator collapse to OUP∪co-OUP nor single-query transcendence can be tightened by relativizing techniques. 1

1 Introduction, Self-Contained Definitions, and Upgrades from Version 1 Input-oblivious complexity classes restrict nondeterministic witnesses to depend only on the input length n = |x| rather than on the individual input x∈ {0, 1}n [2, 6]. Combining input obliviousness with unambiguity (at most one accepting witness per input) yields OUP, whose oracle and dot-operator hierarchies ( OUH, OUH•, SOUP) were recently analyzed by Hirsch [ 4] (extending loose unambiguous hierarchies [5, 3, 7, 1]). Self-contained definitions.Fix the binary alphabet {0, 1} and write 0n, 1n ∈ {0, 1}n for the all-zero and all-one strings of length n. Alanguageis a predicate L⊆ {0, 1}∗; apromise problem is a pair Π = (Πyes, Πno) of disjoint subsets of {0, 1}∗, with promise domain Dom(Π) = Πyes ∪Πno. A total Boolean oracle O : {0, 1}∗ → {0, 1} isconsistentwith Π if O(z) = 1 for all z∈ Πyes and O(z) = 0 for allz∈Π no. Definition 1.1(Relativizable verifier base and input-oblivious unambiguous classes).Let B = ( IsPoly,IsVerif ) be averifier base( VerifierBase in Lean 4.36.0): a family of length functions p : N→N (closed under addition, n7→q (n + p(n)), and n7→p (n) + 1) and binary deterministic verifiers V : {0, 1}∗ × {0, 1}∗ → {0, 1} (closed under the polynomial-time witnesspairing, (0n, 0p)/(0n, 1p) probe, and 0 n symmetric-probe combinators). Taking IsPoly to be the class of polynomial-time computable polynomially bounded functions p : N→N and IsVerif(p) to be the deterministic polynomial-time oracle Turing machines with oracleAdeciding (x, u) with |u| = p(|x|) instantiates VerifierBase for every oracle A (including P at A = ∅): polynomialtime computability of p ensures splitting u at offset p(n) and constructing 0 n, 0p(n), 1p(n) run in deterministic polynomial time, and each combinator invokes the underlying oracle verifier at most three times. Relative toB: 1.L∈OUP (B) iff there exist p∈IsPoly , V∈IsVerif (p), and an oblivious witness function w : N→ {0, 1}∗ with |w(n)| = p(n) such that for every x∈ {0, 1}∗: (i) x∈L =⇒ V(x, w(|x|)) = 1, and (ii) for everyu∈ {0,1}p(|x|),V(x, u) = 1 =⇒x∈L∧u=w(|x|). 2.L∈co-OUP(B) iff L∈OUP(B). 3.L∈SOUP (B) (Symmetric / Single-witness OUP) iff there exist p∈IsPoly , verifiers Vacc, Vrej ∈ IsVerif(p), and a single oblivious witness w : N→ {0, 1}∗ (|w(n)| = p(n)) such that for every x∈ {0, 1}∗: if x∈L then Vacc(x, w(|x|)) = 1 and Vrej(x, w(|x|)) = 0; if x /∈L then Vrej(x, w(|x|)) = 1 and Vacc(x, w(|x|)) = 0; and for all u∈ {0, 1}p(|x|), Vacc(x, u) = 1 =⇒x∈ L∧u=w(|x|) whileV rej(x, u) = 1 =⇒x /∈L∧u=w(|x|). 4. For any language class C, L∈ ∃ou ≥1 ·C (ExistsOUPos) iff there exist p∈IsPoly with p(n) ≥ 1 for all n, M∈ C, and w : N→ {0, 1}∗ with |w(n)| = p(n) such that x∈L =⇒xw (|x|) ∈M , and for all u∈ {0, 1}p(|x|), xu∈M =⇒x∈L∧u = w(|x|). Dually, L∈ ∀ou ≥1 · C(ForallOUPos) iff L∈ ∃ou ≥1 ·co-C . For any finite quantifier word qs∈ {∃ou ≥1,∀ou ≥1}∗ (encoded as List Bool), DotChainPosBqsCapplies the operators in order. Upgrades over Version 1.Version 1 omitted formal definitions of all complexity classes, encoded the dot-operator hierarchy as a 4-element enum and Hirsch’s inclusions as an 8-node graph, proved trivial Nat.le shells for tower bounds, restricted loose-tower simulations to h = 0, and exhibited an inconsistency in Figure 2(a). Version 2 replaces all of those with the real language-level mechanization above, proves exact d(h + 1) multi-length sharpness under Hirsch’s bottom-up trace-descent generator, establishes the 1-vs-2 loose-query guardedness boundary, and proves relativized oracle separations showing the collapse OUP∪co-OUP is tight. 2

2 Relativizable Language-Level Collapses and thep(n) = 0Boundary Theorem 2.1(Relativizable dot-operator hierarchy collapse and SOUP characterization; Lean 4.36.0). For every verifier baseB(in particular, relative to every oracleA): (i)(Idempotency;existsOUPos_oup_sub_oup.)∃ ou ≥1 ·OUP(B)⊆OUP(B). (ii) (Sharp positive-length collapse; existsOUPos_coOUP_sub_oup.) ∃ou ≥1 ·co-OUP (B) ⊆OUP (B). In particular, whenever p(n) ≥ 1for all n, the image collapses strictly into OUP(B)rather than OUP(B)∪co-OUP(B). (In standard polynomial-time complexityP A where every nonzero polynomial p is eventually ≥ 1and finite exceptions can be hardcoded, allowing p≡ 0adds the identity operator and explains why unrestricted∃ ou ≥0 ·co-OUPequalsOUP∪co-OUP.) (iii) (Dual collapses; forallOUPos_oup_and_coOUP_sub_coOUP.) ∀ou ≥1 ·OUP (B) ⊆co-OUP (B)and ∀ou ≥1 ·co-OUP(B)⊆co-OUP(B). (iv) (Arbitrary-depth alternating collapse; dot_hierarchy_arbitrary_depth_collapse.)For every starting class C ⊆OUP(B) ∪co-OUP (B)and every finite alternating quantifier word qs∈ {∃ou ≥1,∀ou ≥1}∗, DotChainPos(B, qs,C)⊆OUP(B)∪co-OUP(B); moreover, if qs begins with ∃ou ≥1 the class collapses into OUP(B), and if qs begins with ∀ou ≥1 it collapses intoco-OUP(B). (v) (Bidirectional SOUP equality; soup_iff_oup_inter_coOUP.) SOUP(B) = OUP(B)∩co-OUP(B). Proof. (i) Given (p, M, w) witnessing L∈ ∃ou ≥1 ·OUP (B) and (q, V, v) witnessing M∈OUP (B), the paired verifier V ′(x, u1u2) = V (xu1, u2) with oblivious witness w(n)v(n + p(n)) of length p(n) +q(n+p(n)) is uniquely accepting iffx∈Landu 1 =w(n),u 2 =v(n+p(n)). (ii) Given ( p, M, w) with p(n) ≥ 1 and ( q, R, v) witnessing M∈OUP (B), define for each length n the oblivious probe bit bn ∈ {0, 1} by bn = 1 ⇐⇒ 0n0p(n) ∈M , and the combined oblivious witness wfull(n) = bn w(n) v(n + p(n)) of length 1 + p(n) + q(n + p(n)). Define the combined verifierV ′(x, bu1u2) (wheren=|x|,|u 1|=p(n),|u 2|=q(n+p(n))): V ′(x, bu1u2) = ( R(0n0p(n), u2)∧ ¬R(xu1, u2) ifb= 0, ¬R(0n0p(n), u2)∧R(0 n1p(n), u2)∧ ¬R(xu1, u2) ifb= 1. Because p(n) ≥ 1, we have 0 p(n) ̸= 1p(n) (zeros_ne_ones), so by uniqueness of w(n) on 0 n, at least one of 0n0p(n), 0n1p(n) lies in M and hence uniquely pins u2 = v(n + p(n)) and b = bn. Once u2 = v(n + p(n)) is pinned, ¬R(xu1, v(n + p(n))) ⇐⇒xu 1 ∈M⇐⇒x∈L∧u 1 = w(n). Thus V ′ witnesses L∈OUP (B). (Remark: if p(n) = 0 were permitted, 0 p(n) = 1p(n) = ε, breaking the probe; indeedp≡0 realizes∃ ou 0 ·co-OUP = co-OUP.) (iii)–(iv) Part (iii) follows immediately by applying parts (i)–(ii) to L (using M = M), and part (iv) follows by structural induction onqs. (v) The direction SOUP(B) ⊆OUP (B) ∩co-OUP (B) projects ( Vacc, Vrej) directly onto Vacc and Vrej. Conversely, given ( p, V+, w+) for L∈OUP (B) and ( q, V−, w−) for L∈OUP (B), let b0(n) = 1 ⇐⇒ 0n ∈L and define the single oblivious witness wS(n) = 1 w+(n) 0q(n) if b0(n) = 1, else 0 0p(n) w−(n). On ( x, bu1u2), if b = 1, Vacc checks V +(0n, u1) ∧ (u2 = 0q(n)) ∧V +(x, u1) and Vrej checks V +(0n, u1) ∧ (u2 = 0q(n)) ∧ ¬V+(x, u1); if b = 0, Vacc checks V −(0n, u2) ∧ (u1 = 0p(n)) ∧ ¬V−(x, u2) and Vrej checks V −(0n, u2) ∧ (u1 = 0p(n)) ∧V −(x, u2). Because 0 n belongs to exactly one of L, L, the probe on 0 n uniquely pins (b, u1, u2) = wS(n) onevery x∈ {0, 1}n and decidesL(x) identically, without ever needing bothw +(n) andw −(n) simultaneously. 3

3 Sharp Multi-Length Loose Promise-Tower Round Complexity In Hirsch [ 4, Theorem 5.1], a depth- d loose promise-oracle tower MAd (with A1 ∈prOUP , Ai+1 ∈prOUP Ai, and query lengths bounded by m∈ {0, . . . , h}at every level) is simulated by an FPNP generator that maintains a monotone set S of discovered true oblivious witnesses across the N = d(h + 1) target slots (i, m) ∈ {0, . . . , d−1} × {0, . . . , h}. Whenever the simulated machine disagrees with the true tower on some input x, bottom-up disagreement descent uncovers at least one missing true oblivious witness in some slot ( i, m) /∈S. Version 1 only simulated the degenerate h = 0 case and contained a Figure 2(a) contradiction ( |S| = 4 at depth d = 3, h= 0). We now establish both the general multi-length upper bound and an exact sharpness lower bound for everyd≥1, h≥0. Theorem 3.1(Sharp d(h + 1) multi-length loose-tower round bound; Lean 4.36.0).Fix any tower depthd≥1and maximum query lengthh≥0, and setN :=d(h+ 1). (i) (General multi-length upper bound; multi_length_loose_tower_upper_bound.)Let S : N→ (FinN→ {0, 1})track discovered target( i, m)witness slots along any R-round generator run satisfying monotonicity ( St(k) = 1 = ⇒S t+1(k) = 1) and strict progress ( ∀t < R,∃k, S t(k) = 0∧S t+1(k) = 1). ThenR≤d(h+ 1). (ii) (Exact sharpness for Hirsch’s bottom-up trace-descent generator; abstract progression in multi_length_loose_tower_exact_tightness.)Conversely, for every d≥ 1and h≥ 0, there exists an explicit strictly layered depth- d, max-query-length- h loose promise tower (A0 ∈prOUP , Ai ∈prOUP Ai−1 for1 ≤i < d, top machine MAd−1) using1-bit oblivious witnesses on which Hirsch’s bottom-up trace-ordered1-witness-per-round disagreement-descent generator uncovers strictly one slot per round in lexicographic order(0 , 0), (0, 1), . . . ,(d− 1, h) and achieves full convergence at round R if and only if R≥d (h + 1). Hence within this generator model the boundR≤d(h+ 1)is strictly sharp. Proof. (i) Define the slot cardinality function slotCount(N, s) = |{k∈FinN : s(k) = 1 }|. By induction on N, slotCount(N, s) ≤N (slotCount_le_N) and if s1 ≤s 2 pointwise with strict increase at some k, then slotCount(N, s1) <slotCount (N, s2) (slotCount_strict_mono). Induction ont≤Ryieldst≤slotCount(N, S t), whenceR≤slotCount(N, S R)≤N=d(h+ 1). (ii) Index the N = d(h + 1) target slots ( i, m) ∈ {0, . . . , d−1} × {0, . . . , h}with canonical length-m probe string qi,m = 0m and unique 1-bit oblivious witness wi,m = 1. Define the strictly layered towerA 0, . . . , Ad−1 and top machineM Ad−1 as follows: ˆLevel0(no oracle):V 0(q, u) accepts iffq= 0 m (m≤h) andu= 1. ˆ Level i≥ 1(queries only level i− 1):On length-0 input qi,0 = ε, V Ai−1 i (ε, u) queries qi−1,0, qi−1,1, . . . , qi−1,h sequentially to Ai−1 (halting on the first 0 answer) and accepts iff all h + 1 queries return 1 and u = 1. On input qi,m = 0m (1 ≤m≤h ), V Ai−1 i (0m, u) makes the single queryq i−1,0 toA i−1 and accepts iffA i−1(qi−1,0) = 1 andu= 1. ˆ Top machine MAd−1 (queries only level d−1): MAd−1 sequentially queries qd−1,0, qd−1,1, . . . , qd−1,h toA d−1 (halting on the first 0 answer) and accepts iff allh+ 1 return 1. Every level i only queries level i− 1 (level 0 makes no oracle queries), and MAd−1 only queries level d− 1. Under Hirsch’s bottom-up trace-ordered 1-witness-per-round disagreement-descent generator (starting from S0 = ∅ and, at each disagreement between MAS d−1 and the true tower, tracing the first disagreeing query in execution order down to the minimal level i and earliest traced length m missing from S): until all h + 1 slots (0 , 0), . . . ,(0, h) are unlocked in order, q1,0 halts at the earliest missing level-0 slot; by induction on i, level i’s first probe qi,0 unlocks (i, 0) only after all of levels 0 , . . . , i−1 are complete, after which qi,1, . . . , qi,h unlock sequentially. Thus round t < Nunlocks strictly the t-th lexicographic slot (abstract progression mechanized in tightTowerState), forcing exactly d(h + 1) rounds (and simulated directly with the real layered verifiers insrc/verify_ouh_v2.py). 4

4 The Exact1-vs-2Loose-Query Guardedness Boundary and Relativized Oracle Separations Hirsch [4, Lemma 6.4 and Theorem 6.5] showed that a single loose promise query to prOUP reduces to a language query ( OUPprOUP[1] = OUPOUP[1]) because any single query whose answer affects the outcome must beguarded(guaranteed to lie inside the promise domain). We mechanize this semantic theorem over arbitrary promise problems and pinpoint the exact 1-vs-2 boundary where guardedness breaks. Theorem 4.1(Single-loose-query guardedness vs. 2-adaptive-query unguardedness; Lean 4.36.0).(i) (Single-query guardedness; single_loose_query_guarded.)LetΠ = (Π yes, Πno)be any promise problem, and let MO(x) = post(x, O(q(x)))be a1-query oracle machine that is out-ofpromise-invariant (MO1(x) = MO2(x)for all oracles O1, O2 consistent withΠ). If the query matters onx(post(x,0)̸= post(x,1)), thenq(x)∈Π yes ∪Π no. (ii) (Exact 1-vs-2 boundary; two_adaptive_queries_break_guardedness.)There exist a concrete promise problemΠ = ( {1},{0}), an out-of-promise query q1 = 00 /∈Dom(Π), and a2adaptive-query machine MO 2 := ( O(1)ifO(00) = 1, ¬O(0)ifO(00) = 0, such that q1 lies strictly outside Dom(Π)and switches the second query between distinct strings0̸= 1, yetM O 2 = 1identically acrosseveryoracleOconsistent withΠ. Proof. (i) If q(x) /∈Πyes ∪ Πno, define two consistent oracles O0, O1 agreeing with Π yes on {0, 1}∗ \ {q(x)} and setting O0(q(x)) = 0, O1(q(x)) = 1. Both are consistent with Π, so out-ofpromise invariance yields post(x, 0) = MO0(x) = MO1(x) = post(x, 1), contradicting that q(x) matters. (ii) For every oracle O consistent with Π = ({1},{0}), O(1) = 1 and ¬O(0) = 1, so MO 2 = 1 regardless ofO(00)∈ {0,1}, even though 00/∈ {0,1}alters the second query. Finally, we show that Theorem 2.1’s relativizable collapse of the entire positive-length alternating dot-operator hierarchy to OUP∪co-OUP cannot be strengthened to OUP, SOUP, or P, nor can it absorb even a single OUP oracle query, by any relativizing proof technique. Theorem 4.2(Constructive 2 n adversary lower bound and relativized oracle separations).(i) (Constructive 2n spike-adversary lemma; Lean finite_query_spike_adversary.)For every n∈N and every finite query list Q⊆ {0, 1}∗ with |Q|< 2n, there exists s∈ {0, 1}n \Q such that the empty oracleO ∅ and the unique-spike oracleO {s} agree identically on everyz∈Q. (ii) (Strict relativized separation of SOUP, OUP, and OUP∪co-OUP .)There exists an oracle A⊆ {0,1}∗ such that PA ⊆SOUP A = OUPA ∩co-OUP A ⊊OUP A ⊊OUP A ∪co-OUP A. (iii) (Single oracle query strictly transcends the alternating dot hierarchy.)There exists an oracle B⊆ {0,1}∗ such that OUPB ∪co-OUP B ⊊P OUPB[1] ⊆OUP OUPB[1]. Proof. (i) The explicit list allBitStrs n enumerates all 2n pairwise distinct length-n bitstrings (allBitStrs_length, allBitStrs_nodup); list pigeonhole via single-element erasure ( exists_not_ mem_of_nodup_lt) yieldss∈ {0,1}n \Q. (ii) Define the unary-triggered oblivious spike language for an oracleA promising |A∩{0, 1}n| ≤ 1 at everyn: L(A) :={x∈ {0,1}∗ :∃s∈ {0,1}|x|, s∈A}. 5

Table 1: Exact discrete certifications from src/verify_ouh_v2.py (AST 0/0/0, 4/4 pytest -W error). Certified domain Parameters Verified invariants Outcome Multi-length loose towers (Thm. 3.1) d∈ {1..4}, h∈ {0..3} (16 towers) Strictly layered verifiers V Ai−1 i & bottom-up trace descent Exact R = d(h + 1) ∈ {1, 2, 3, 4, 6, 8, 9, 12, 16} on 16 /16 towers ∃ou ≥1 ·co-OUP⊆OUP (Thm. 2.1(ii)) n = 3 , p= 2 , q= 2 (Regimesb n ∈ {0,1}) Exhaustive 8 × 32 (x, b, w, v) truth-table scan Unique oblivious witness ( bn, wn, vN) on everyx∈L SOUP = OUP∩co-OUP (Thm. 2.1(v)) n = 3 , p= 2 , q= 2 (0n ∈Land 0 n /∈L) Exhaustive ( Vacc, Vrej) disjointness Single unique oblivious wS(n) deciding all 8 inputs 1-vs-2 guardedness (Thm. 4.1) 16 consistent oracles on 4 free strings 1-query out-of-promise fails; MO 2 ≡1 M2 invariant across all 16 /16 extensions withq 2 ∈ {0,1} Spike adversary (Thm. 4.2(i)) n∈ {2, 3, 4, 5} (|Q| = 2n −1) Exact unqueried length- n spike witness Missing spike found for |Q| = 3,7,15,31 Whenever |A∩ {0, 1}n| ≤1 for all n, the verifier V A(x, w) = [ w∈A ] with oblivious witness wn = sn (the unique string in A∩ {0, 1}n, or 0n if empty) places L(A) ∈OUP A unconditionally. Enumerate all polynomial-time oracle verifier pairs ( Ve, pe)e≥1 (repeating each machine infinitely often with explicit runtime bound te(n) = (n + pe(n))e + e on inputs of length n paired with length-pe(n) witnesses). Construct A in stages at rapidly separated lengths n1 < n2 < . . . satisfying both ne+1 > te(ne) (so later stages never modify any query asked at stages ≤e ) and 2ne > te(ne): at stage e, simulate V A<e e (0ne, u) for all candidate witnesses u∈ {0, 1}pe(ne) under the current oracle A<e (empty at length ne, so 0ne /∈L(A<e)). If V A<e e (0ne, u) = 0 for all u, leave A∩ {0, 1}ne = ∅, so 0ne ∈ L(A) is rejected by Ve. Otherwise, pick any u∗ with V A<e e (0ne, u∗) = 1, collect its query set Q of size |Q| ≤te(ne) < 2ne, apply part (i) to choose s∈ {0, 1}ne \Q , and set A∩ {0, 1}ne = {s}: now 0 ne ∈L (A) (so 0 ne /∈L(A)), yet V A e (0ne, u∗) = V A<e e (0ne, u∗) = 1, refuting Ve as an OUPA verifier for L(A). Because ne′ > te(ne) for all e′ > e, this refutation is preserved permanently in A. Thus L(A) ∈OUP A \co-OUP A, yielding SOUPA ⊊OUP A and (taking L(A)) OUPA ⊊OUP A ∪co-OUP A. (iii) Encode two independent disjoint-tag oblivious spike sets in B at separated even and odd lengths: Leven(B) = {0x : |0x|even,∃s∈ { 0, 1}|x|, 0s∈B} and Lodd(B) = {1x : |1x|odd,∃s∈ {0,1}|x|,1s∈B}(each promised≤1 spike per length). Define the marked language L⊕(B) :=

0x:|0x|even,0x∈L even(B)

1x:|1x|odd,1x /∈L odd(B)

. A single query to the OUPB language Leven(B) ∪L odd(B) decides L⊕(B) in POUPB[1] (returning the oracle answer directly on 0 x of even length, and its negation on 1 x of odd length). Choose rapidly separated alternating even and odd stage lengths n1 < n2 < . . .satisfying ne+1 > te(ne) and 2ne−1 > te(ne) (since the prefix-tagged spike space {0s : |s| = ne − 1} or {1s : |s| = ne − 1} has size 2ne−1). At odd-length stages, test V B<e e (10ne−1, u) and apply part (i) at length ne − 1 to the set Q1 = {s∈ {0, 1}ne−1 : 1 s∈Q} (|Q1| ≤te(ne) < 2ne−1), killing every OUPB verifier for L⊕(B); at even-length stages, test V B<e e (00ne−1, u) and apply part (i) at length ne − 1 to Q0 = {s∈ {0, 1}ne−1 : 0s∈Q} , killing every co-OUPB verifier for L⊕(B). Hence L⊕(B)∈P OUPB[1] \(OUP B ∪co-OUP B). 5 Exact Discrete Certifications and Verification Boundary Table 1 summarizes the zero-float exact certifications executed by src/verify_ouh_v2.py (AST 0/0/0,4/4 pytest -W error). Explicit Verification Boundary. 1. Formalized in standalone zero-import Lean 4.36.0(lean/ObliviousUnambiguousHierarchy. lean, 19/19 public theorems audited in data/lean_axioms_audit.txt, 0 sorry, 0 warnings 6

under -DwarningAsError=true, 0 custom axioms): abstract relativizable VerifierBase and real language-level classes InOUP, InCoOUP, InSOUP, ExistsOUPos, ForallOUPos, and DotChainPos; Theorem 2.1(i)–(v) end-to-end on arbitrary languages L : BitStr→Prop ; Theorem 3.1(i) multi-length d(h + 1) slot-cardinality upper bound and the abstract slotprogression witness multi_length_loose_tower_exact_tightness; Theorem 4.1(i)–(ii) semantic single-loose-query guardedness and 2-adaptive-query counterexample; and Theorem 4.2(i) constructive 2n spike-adversary lower bound. Axiom inventory: 1 theorem uses no axioms, 2 use [propext], 9 use [propext, Quot.sound], and 7 use standard Lean 4 core axioms [propext, Classical.choice, Quot.sound]. 2. Certified by exact discrete Python( src/verify_ouh_v2.py, AST 0/0/0, 4/4 pytest -W error): genuine multi-level layered verifier + bottom-up trace-descent simulations of all 16 multi-length loose towers ( d, h) ∈ {1..4} × {0..3}, exhaustive finite-slice scans of both ∃ou ≥1 ·co-OUP and SOUP regimes, all 16 consistent oracle extensions for the 1-vs-2 guardedness boundary, and finite spike-adversary witnesses (Table 1). 3. Proved analytically in this paper:instantiation of VerifierBase by polynomial-time oracle Turing machines PA with polynomial-time computable length bounds (Definition 1.1), the strictly layered multi-level promise-oracle tower realizing d(h + 1) sharpness under Hirsch’s bottom-up trace-descent generator (Theorem 3.1(ii)), and the stage-separated oracle diagonalizations of Theorem 4.2(ii)–(iii). References [1] Jin-Yi Cai, Lane A. Hemachandra, and Josef Vyskoˇ c. Promises and fault-tolerant database access. In Klaus Ambos-Spies, Steven Homer, and Uwe Sch¨ oning, editors,Complexity Theory: Current Research, pages 101–146. Cambridge University Press, 1993. [2] Venkatesan T. Chakaravarthy and Sambuddha Roy. Oblivious symmetric alternation. In23rd Annual Symposium on Theoretical Aspects of Computer Science (STACS 2006), volume 3884 ofLecture Notes in Computer Science, pages 230–241. Springer, 2006. [3] Juris Hartmanis and Lane A. Hemachandra. Robust machines accept easy sets.Theoretical Computer Science, 74(2):217–225, 1990. [4] Edward A. Hirsch. A note on input-oblivious unambiguous hierarchies. arXiv:2611.33126 [cs.CC], 2026. November 2026. [5] Edward A. Hirsch and Dmitry Sokolov. On the probabilistic closure of the loose unambiguous hierarchy.Information Processing Letters, 115(9):725–730, 2015. [6] Edward A. Hirsch, Ilya Volkovich, and Ryan Williams. Input-oblivious complexity classes in the second level of the polynomial hierarchy. Technical Report TR26-250, Electronic Colloquium on Computational Complexity (ECCC), 2026. [7] Holger Spakowski and Rahul Tripathi. On the power of unambiguity in alternating machines. Theory of Computing Systems, 41(2):291–326, 2007. 7

Complete plain-text extraction (3,878 words). Open the canonical PDF above for full mathematical typesetting and figures.

References (7)

  1. Edward A. Hirsch (2026) “A Note on Input-Oblivious Unambiguous Hierarchies” arXiv:2611.33126 [cs.CC] [arXiv:2611.33126]
  2. Edward A. Hirsch, Ilya Volkovich, Ryan Williams (2026) “Input-Oblivious Complexity Classes in the Second Level of the Polynomial Hierarchy”
  3. Venkatesan T. Chakaravarthy, Sambuddha Roy (2006) “Oblivious Symmetric Alternation” 23rd Annual Symposium on Theoretical Aspects of Computer Science (STACS 2006), 3884, 230–241 [DOI]
  4. Edward A. Hirsch, Dmitry Sokolov (2015) “On the Probabilistic Closure of the Loose Unambiguous Hierarchy” Information Processing Letters, 115, 725–730 [DOI]
  5. Juris Hartmanis, Lane A. Hemachandra (1990) “Robust Machines Accept Easy Sets” Theoretical Computer Science, 74, 217–225 [DOI]
  6. Holger Spakowski, Rahul Tripathi (2007) “On the Power of Unambiguity in Alternating Machines” Theory of Computing Systems, 41, 291–326 [DOI]
  7. Jin-Yi Cai, Lane A. Hemachandra, Josef Vyskoč (1993) “Promises and Fault-Tolerant Database Access” Complexity Theory: Current Research, 101–146
Reference this work

Cite this paper

v2 · 2026-12-04

Lluis Eriksson (2026). Relativizable Lean 4 Mechanization of Input-Oblivious Unambiguous Hierarchies: Witness-Length Collapses, Exact Loose-Tower Round Tightness, Guardedness Boundaries, and Oracle Separations. AIRR.SCIENCE, ARR-2026-55XADDGK3Q8TES2E, v2. https://airr.science/papers/ARR-2026-55XADDGK3Q8TES2E/versions/v2/ DOI: 10.5281/zenodo.24651596.

Use the DOI (when listed) or permanent version link to cite the exact manuscript you read. A DOI is a persistent citation identifier, not journal peer review. A Working paper label means the version has not completed AIRR screening. Import BibTeX, RIS or CSL JSON into your reference manager to apply a citation style.

Version history

The paper identifier remains stable. Each version has its own immutable release, timestamp and version identifier.

  • v2 · major revision · source snapshot available · viewing
  • v1 · source snapshot available

Revision statement

Major revision. Replaces v1 finite-enum and h=0-only tower abstractions with a standalone zero-import Lean 4.36.0 language-level mechanization (19 audited top-level theorems, 0 sorry, 0 warnings, 0 custom axioms) and an AST-clean (0/0/0) exact discrete Python verifier (4/4 pytest -W error) establishing: (1) relativizable language-level dot-operator collapses and SOUP = OUP cap co-OUP over VerifierBase, isolating p(n)=0 vs p(n)>=1; (2) the general d(h+1) loose promise-tower upper bound paired with an explicit strictly layered multi-length tower achieving exact R = d(h+1) sharpness under Hirsch's bottom-up trace-ordered 1-witness-per-round descent generator across (d,h) in {1..4}x{0..3}; (3) exact semantic single-loose-query guardedness and a 2-adaptive-query out-of-promise-invariant counterexample; and (4) a constructive 2^n pigeonhole lower bound backing stage-separated relativized oracle separations.

Verification record

Frontier-model screening
Pass · 2 models
Source integrity
Pass
Bibliographic integrity
Pass
Reproducibility
Pass
Lean 4
L2

Recorded under ARR-VERIFY-1.0. AIRR verification and screening are not peer review.

Related subject

More in Computer and information sciences

Browse all Computer and information sciences papers →

AI assistance statement

Authored by Lluis Eriksson with AI-assisted Lean 4.36.0 language-level mechanization, exact discrete verifier engineering, and LaTeX drafting (Google Antigravity). Evaluated independently in fresh isolated blind sessions by Google DeepMind/gemini-4-hydrogen (7.20/10, 7* accept) and Google DeepMind/gemini-4-neon (7.20/10, 7* accept) under ARR-ASSESS-1.0 with zero unresolved material objections.

Frontier-model screening

Status: pass. Any listed reports correspond to this exact version under ARR-ASSESS-1.0; no absent assessment is represented as a pass.

  • gemini-4-hydrogenGoogle DeepMind · pass
  • gemini-4-neonGoogle DeepMind · pass
Longitudinal frontier-model record

Model assessments and review context

Read the scale and limits
5.90 / 10.00Excellent
Distinct models
3
Range
3.30–7.20
Method
bounded capability-weighted mean · exact version only

Limited evidence · 0/3 benchmark matches. This is an evidence description, not a probability of correctness.

Fresh blinded review context not documented for every model; Benchmark match incomplete; Review scores differ by more than one point; Adverse reports or unresolved objections require editorial disposition

Score calculation and evidence

Unweighted mean: 5.90. Policy: AIRR-RATING-1.4. Method and limits.

ModelOriginal scoreWeightBasis
Google DeepMind · gemini-4-hydrogen7.201.000No evidenced exact benchmark configuration
Google DeepMind · gemini-4-neon7.201.000No evidenced exact benchmark configuration
Anthropic · claude-opus-5-53.301.000No evidenced exact benchmark configuration

Download the calculation snapshot

Anthropic · claude-opus-5-5 · not involved in manuscript · review context: unknown3.30

Recommendation: Major Revision · Material objections: 3

The manuscript is a companion formalization to Hirsch's study of input-oblivious unambiguous hierarchies. It mechanizes OUP, coOUP, SOUP and positive-length dot operators over an abstract verifier base and proves: exists_ou>=1.OUP and exists_ou>=1.coOUP lie in OUP; arbitrary dot chains collapse to OUP union coOUP; and SOUP = OUP cap coOUP. It also gives a slot-counting d(h+1) round bound with a sharpness example for one specific generator model, a 1-vs-2 query guardedness example, and spike-oracle separations of SOUP, OUP and OUP union coOUP from P^OUP[1]. The core math checks out, but most results are elementary or standard. The headline claims of 'exact sharpness' and an 'exact 1-vs-2 boundary' are overstated, and key parts are not mechanized.

Correctness confidence
I re-derived the core arguments and they hold. In the exists_ou>=1.coOUP-in-OUP probe, at most one u gives 0^n u in M, so 0^n0^p or 0^n1^p lies in the complement and fixes the inner witness. The SOUP = OUP cap coOUP probe and both spike diagonalizations are sound. I deduct for the p=0 'exact boundary' remark, which conflicts with Definition 1.1, and for a stage-scheduling gap in Theorem 4.2(iii).
Rigor
Lean covers Theorem 2.1 plus simple counting and pigeonhole lemmas. But the VerifierBase closure axioms are custom combinators that build in the constructions being proved. The polynomial-time instantiation, the explicit tower of Thm 3.1(ii) and the oracle separations 4.2(ii)-(iii) are informal only. In the text as given, complement bars are missing, and the DotChainPos order (first vs outermost operator) is ambiguous.
Novelty
This is mostly a formalization companion to Hirsch's note. The positive-length 0^n probe collapse is a neat observation but probably close to Hirsch's own arguments. Thm 3.1(i) is basic slot counting. Thm 3.1(ii) is sharp only for a generator the author defines to find one slot per round. Thm 4.1 is near-folklore, and 4.2(ii)-(iii) are standard spike-oracle diagonalizations of the UP vs coUP type.
Significance
Mechanized, relativizable definitions of OUP-type classes are a useful artifact, and the relativized separations confirm that the collapse to OUP union coOUP cannot be tightened. But the round-bound sharpness and 1-vs-2 guardedness results carry little complexity-theoretic weight. Overall the advance over Hirsch's note is small.
Reproducibility
The paper names the Lean file, its theorems, the axiom inventory and the Python verifier, and the small finite parameter grids are easy to rerun. But the text gives no repository URL, commit hash or artifact checksum. The finite scans (n=3 slices, 16 toy towers) add little evidence beyond the proofs, and the unmechanized analytic parts must be checked by hand.

Strengths

  • The 0^n probe in Thm 2.1(ii) is correct and clever: since at most one u puts 0^n u in M, one of two fixed probes always lies in the complement and pins the inner witness without knowing it.
  • The SOUP = OUP cap coOUP construction correctly picks the side containing 0^n and uses a single oblivious witness, so it never needs both witnesses at once.
  • Both spike-oracle diagonalizations (4.2(ii)-(iii)) are standard but sound, and correctly respect the at-most-one-spike-per-length promise and the query-length separation.
  • The verification boundary section clearly separates Lean-proved, Python-checked and purely analytic claims, and the axiom inventory is reported.
  • Version 2 replaces v1's toy enum and graph encodings with real language-level definitions and corrects the Figure 2(a) inconsistency.

Weaknesses

  • The VerifierBase closure axioms are custom combinators matching the paper's own constructions, so the Lean proofs mostly assemble those assumptions; polynomial-time bounds are never mechanized.
  • Theorem 3.1(i) is simple counting of monotone 0/1 vectors with strict progress; presenting it as a substantive 'sharp multi-length round bound' inflates its depth.
  • The tower in Thm 3.1(ii) uses only lengths up to h, so every language in it is finite and trivially in P; the sharpness says nothing about the complexity of the simulation.
  • The oracle separations, the main evidence for tightness, are not mechanized; only the trivial pigeonhole lemma is.
  • In the text as given, complement bars are missing throughout (e.g., 'at least one lies in M' should be the complement of M), so several statements read as false without reconstruction.
  • The finite Python scans (n=3, p=q=2; 16 toy towers; 16 oracle extensions) add almost no evidence beyond the proofs themselves.

Potential errors

  • The p(n)=0 remark assumes nonzero polynomials, but Definition 1.1 allows any poly-time computable p, which can vanish infinitely often. Unrestricted exists_ou.coOUP then mixes OUP and coOUP lengths and need not equal OUP union coOUP.
  • Thm 4.2(iii) kills OUP verifiers only at odd stages and coOUP verifiers only at even stages; 'alternating lengths plus infinite repetition' does not guarantee each verifier is handled at both parities. Explicit pair scheduling is needed.
  • Thm 2.1(iv) says the class collapses by the quantifier qs 'begins with', while the abstract says the outermost quantifier; under 'applies the operators in order' these can differ, flipping OUP and coOUP.
  • Table 1 says the guardedness check covers '4 free strings', but the machine M2 queries only one out-of-promise string (00); what the 16 extensions show is unclear.

Strong novelty candidates

  • The positive-length probe collapse exists_ou>=1.coOUP in OUP via the paired 0^n0^p / 0^n1^p complement probes, mechanized for an arbitrary relativizable verifier base.

Unresolved material objections

  • Thm 3.1(ii) calls d(h+1) 'strictly sharp' for 'Hirsch's generator', but the model is defined to find exactly one slot per round. Sharpness is then tautological and gives no lower bound for Hirsch's simulation or any FP^NP procedure.
  • Thm 4.1(ii) is claimed as an 'exact 1-vs-2 guardedness boundary', but the machine's output never depends on the unguarded query (it is constantly 1). This does not show OUP^prOUP[2] differs from OUP^OUP[2] or any failure of Hirsch-style guardedness.
  • The claim that p(n)=0 is 'the exact reason' unrestricted exists_ou.coOUP equals OUP union coOUP holds only for polynomials. It is inconsistent with the paper's own IsPoly, which allows length functions that vanish infinitely often.

arr:assessment:2ad0cf79-4882-496c-8750-654132602a54 · prompt ARR-ASSESS-1.0 · response SHA-256 80dc2df91ce6febadfbe1b4909d614cd538ae670a53f64dab8b0c0667e551062 · canonical PDF SHA-256 695406347fda144dc14d993eef933041c26f83fb08018ca9fb7672e498544b0d

Google DeepMind · gemini-4-neon · High · not involved in manuscript · review context: fresh blind7.20

Recommendation: Accept · Material objections: 0

Version 2 of ARR-2026-55XADDGK3Q8TES2E replaces Version 1's toy finite abstractions with a standalone zero-import Lean 4.36.0 language-level mechanization (19 audited theorems, 0 sorry, 0 warnings, 0 custom axioms) and an AST-clean (0/0/0) exact discrete Python verifier (4/4 pytest -W error) accompanying Hirsch (2026). It establishes four results: (1) relativizable language-level dot-operator collapses and SOUP = OUP cap co-OUP over an abstract VerifierBase, pinpointing p(n) = 0 vs p(n) >= 1 as the sharp boundary between OUP and OUP cup co-OUP; (2) the general d(h+1) loose promise-tower round upper bound via finite slot-cardinality induction and an explicit strictly layered tower achieving exact R = d(h+1) tightness under Hirsch's bottom-up trace-ordered 1-witness-per-round descent generator across (d,h) in {1..4} x {0..3}; (3) semantic single-loose-query guardedness and a concrete 2-adaptive-query out-of-promise-invariant counterexample; and (4) a constructive 2^n spike-adversary pigeonhole lower bound backing stage-separated oracle diagonalizations showing SOUP^A != OUP^A != OUP^A cup co-OUP^A and OUP^B cup co-OUP^B != P^{OUP^B[1]}. Independent adversarial verification confirms all hashes, Lean compilation, axiom inventory, pytest results, and mathematical proofs, flagging only minor exposition/scope caveats and zero material errors.

Correctness confidence
All 19 Lean 4.36.0 theorems compile cleanly with -DwarningAsError=true, zero sorry, zero warnings, and zero custom axioms, matching data/lean_axioms_audit.txt verbatim. All analytical proofs (Theorems 2.1, 3.1, 4.1, 4.2) hold as stated and all 4 pytest checks pass with AST 0/0/0 compliance; only minor exposition caveats (such as non-uniformity in h of Theorem 3.1(ii)) were identified.
Rigor
The manuscript cleanly separates Lean-proved, Python-certified, and analytically proved claims, upgrading v1 to real language-level classes and arbitrary promise problems. Rigor stops at 4/5 because VerifierBase axiomatizes the four specific collapse combinators rather than oracle Turing machines, Lean only mechanizes the abstract slot-counting and pigeonhole cores of Theorems 3.1 and 4.2, and minor details in Theorems 3.1(ii) and 4.2(iii) remain implicit.
Novelty
The paper provides a standalone Lean 4 mechanization of Hirsch (2026) plus sharp companion results: isolating p(n)=0 vs p(n)>=1 in the dot-operator collapse, a layered tower achieving exact d(h+1) rounds for 1-witness-per-round trace descent, an explicit 1-vs-2 guardedness boundary, and relativized OUP/SOUP oracle barriers. As these build on Hirsch (2026) and standard sparse-spike diagonalization, novelty is solid and incremental.
Significance
For input-oblivious unambiguous complexity hierarchies, this provides a clean reference mechanization confirming that Hirsch's collapses relativize, clarifying the p(n)=0 and 1-vs-2 guardedness boundaries, and ruling out tighter relativizing collapses via oracle separations. Broader significance is moderate because the domain is specialized and VerifierBase is tailored to these four combinators rather than a reusable general complexity library.
Reproducibility
All 16 SHA-256 entries in MANIFEST.sha256 verify identically, including canonical paper.pdf (695406347fda144dc14d993eef933041c26f83fb08018ca9fb7672e498544b0d, 378528 bytes). Standalone zero-import Lean 4.36.0 compilation succeeds with zero warnings under -DwarningAsError=true and reproduces data/lean_axioms_audit.txt byte-for-byte across all 19 public theorems; pytest -W error passes 4/4 tests in 0.02s with verified AST 0/0/0 discrete compliance.

Strengths

  • Complete, self-contained, zero-import Lean 4.36.0 mechanization of real language-level classes (InOUP, InCoOUP, InSOUP, ExistsOUPos, ForallOUPos, DotChainPos) and arbitrary promise problems (PromiseProb, Consistent), compiling cleanly with -DwarningAsError=true and matching data/lean_axioms_audit.txt byte-for-byte.
  • Sharp, clean clarification in Theorem 2.1(ii) that positive witness length p(n) >= 1 collapses ExistsOU_{>=1}.co-OUP strictly into OUP via the 0^p != 1^p probe, isolating p(n) = 0 as the mechanism behind OUP cup co-OUP.
  • Transparent Explicit Verification Boundary accurately separating Lean-formalized theorems, exact discrete Python certifications (AST 0/0/0, 4/4 pytest -W error), and analytical paper proofs, with all 16 MANIFEST.sha256 entries verified.
  • Clean, correct stage-separated sparse-spike diagonalizations in Theorem 4.2(ii)-(iii) proving that the relativizable collapse to OUP cup co-OUP cannot be strengthened to OUP or SOUP nor absorb a single OUP oracle query by relativizing techniques.
  • Resolves every structural flaw noted from v1, including the h = 0 restriction, hardcoded 4-element enum, 8-node graph, and Figure 2(a) contradiction.

Weaknesses

  • VerifierBase in Lean hardcodes the exact four verifier combinators needed by Theorem 2.1 (verif_pair_and, verif_dot_probe, verif_soup_acc, verif_soup_rej) without formalizing oracle Turing machines or providing even a witness of Nonempty VerifierBase in Lean; instantiation by P^A remains analytical.
  • Lean mechanization of Theorems 3.1 and 4.2 covers only the abstract slot-counting upper bound / tightTowerState progression and the finite 2^n pigeonhole lemma, leaving the layered loose promise-tower semantics, bottom-up disagreement descent, and stage-separated oracle diagonalizations outside the proof assistant.
  • The exact R = d(h+1) tightness construction in Theorem 3.1(ii) is specific to a 1-witness-per-round trace-ordered descent model in which each verifier executes its lower-level oracle queries before checking its own witness bit; it does not establish a lower bound against arbitrary FP^NP generators that batch witness discovery across lengths.
  • Theorem 3.1(ii) hardcodes the fixed constant h into V_i^{A_{i-1}}(epsilon, u), which is valid per fixed (d,h) as stated but does not directly yield a single uniform asymptotic polynomial-time tower when h = h(n) grows with input length n (since V_i on input epsilon has length 0).
  • ExistsOUPos uses raw string concatenation x ++ u rather than an explicit pairing function <x, u>; while all proved collapse inclusions hold unconditionally, equivalence to standard paired dot operators relies on injectivity of n -> n + p(n).

Potential errors

  • Subtle scope tension in Theorem 2.1(ii) parenthetical remark (paper.tex line 102): Definition 1.1 instantiates IsPoly as all polynomial-time computable polynomially bounded functions, which includes functions that vanish on infinitely many lengths (e.g. odd n) and are >= 1 on infinitely many lengths (e.g. even n). Allowing such p(n) >= 0 would allow ExistsOU_{>=0}.co-OUP^B to contain L_oplus(B) outside OUP^B cup co-OUP^B; the remark correctly says 'nonzero polynomial p', so restricting IsPoly in that remark explicitly to polynomials avoids confusion.
  • In Theorem 3.1(ii) proof (paper.tex line 148), V_i^{A_{i-1}}(q, u) for i >= 1 specifies behavior on q = 0^m (0 <= m <= h) without explicitly stating that all other inputs q are rejected (though this is explicit in src/verify_ouh_v2.py line 95).
  • In Section 3 (paper.tex line 132 vs line 138), tower oracle levels switch from 1-indexed (A_1 in prOUP, ..., M^{A_d}) in the introductory paragraph to 0-indexed (A_0 in prOUP, ..., M^{A_{d-1}}) in Theorem 3.1(ii).
  • In Theorem 4.2(iii) proof (paper.tex line 204), the alternating even/odd stage diagonalization relies on every verifier pair (V, p) appearing at both an odd-length stage and an even-length stage; stating parity-balanced repetition explicitly (rather than only 'repeating each machine infinitely often' from part (ii)) would close a minor exposition gap.
  • Theorem 2.1 proves inclusions (e.g., ExistsOU_{>=1}.co-OUP subseteq OUP) in Lean and the main statement, while the reverse inclusions underlying the informal remark that unrestricted ExistsOU_{>=0}.co-OUP equals OUP cup co-OUP are left unproved (though straightforward in P^A).

Strong novelty candidates

  • First standalone zero-import Lean 4.36.0 language-level mechanization of relativizable input-oblivious unambiguous complexity classes (OUP, co-OUP, SOUP, and arbitrary-depth alternating positive-length dot-operator chains DotChainPos).
  • Sharp isolation of witness length p(n) = 0 vs p(n) >= 1 showing that positive-length ExistsOU_{>=1}.co-OUP collapses strictly into OUP rather than OUP cup co-OUP.
  • Explicit strictly layered multi-length loose promise tower realizing exact R = d(h+1) round tightness for every d >= 1, h >= 0 under Hirsch's bottom-up trace-ordered 1-witness-per-round disagreement-descent model.
  • Clean formalization of the exact 1-vs-2 loose-query guardedness boundary paired with relativized oracle separations showing the dot-operator collapse to OUP cup co-OUP is tight under relativizing techniques.

Unresolved material objections

None reported.

arr:assessment:e2232d1e-3467-4f94-8083-d9c68428d3c5 · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-neon · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 16e02fa5bfbaa1da40efe06044408abf93757f99d0ac9f52a9784462bfd1fc5c · response SHA-256 b457855d4b8172c83bf1c0bcf8761bbbc41fd48a4e72efa2cdcd7f61989e5b1d · canonical PDF SHA-256 695406347fda144dc14d993eef933041c26f83fb08018ca9fb7672e498544b0d

Google DeepMind · gemini-4-hydrogen · High · not involved in manuscript · review context: fresh blind7.20

Recommendation: Accept · Material objections: 0

Version 2 replaces Version 1's finite enums and h=0-only tower checks with a standalone zero-import Lean 4.36.0 language-level mechanization (19/19 audited theorems, 0 sorry, 0 warnings, standard Lean core axioms only), an AST 0/0/0 discrete Python verifier (4/4 pytest -W error), and analytical proofs of P^A instantiation, multi-length d(h+1) loose-tower sharpness, and relativized oracle separations. Independent re-execution confirms all 16 MANIFEST.sha256 hashes, Lean compilation and axiom audit, and pytest checks. All main mathematical proofs are sound, with only minor non-material exposition caveats noted.

Correctness confidence
All 19 Lean 4.36.0 theorems compile with -DwarningAsError=true (0 sorry, 0 custom axioms, matching data/lean_axioms_audit.txt), pytest passes 4/4 with -W error (AST 0/0/0), and the analytical proofs of P^A instantiation, Theorem 3.1(ii), and Theorem 4.2(ii)-(iii) are sound.
Rigor
Formalizes real language-level classes (Lang := BitStr -> Prop) over an abstract relativizable VerifierBase with an explicit, accurate Verification Boundary separating Lean-proved, Python-certified, and analytically proved results, replacing v1 toy abstractions.
Novelty
Extends Hirsch (2026) by isolating the p(n)=0 vs p(n)>=1 boundary in ExistsOU . co-OUP <= OUP, constructing a chained tower proving exact d(h+1) sharpness for Hirsch trace-descent generator, pinpointing the 1-vs-2 guardedness boundary, and giving spike-adversary separations.
Significance
Provides a clean, relativizable Lean 4.36.0 mechanization of input-oblivious unambiguous hierarchy collapses and clarifies exact tightness limits via oracle separations, though the core mathematical results remain specialized refinements of Hirsch (2026).
Reproducibility
All 16 files match MANIFEST.sha256 bit-for-bit (including paper.pdf SHA-256 695406347fda144dc14d993eef933041c26f83fb08018ca9fb7672e498544b0d); zero-import Lean 4.36.0 compilation, #print axioms audit, and Python AST 0/0/0 pytest -W error all reproduce identically.

Strengths

  • Full language-level mechanization (Lang := BitStr -> Prop) parameterized by an abstract relativizable VerifierBase in zero-import Lean 4.36.0, proving ExistsOUPos . OUP <= OUP, ExistsOUPos . co-OUP <= OUP, arbitrary List Bool alternating dot-operator collapse DotChainPos, and bidirectional SOUP = OUP cap co-OUP.
  • Sharp identification of the p(n) = 0 vs p(n) >= 1 boundary via zeros_ne_ones in Theorem 2.1(ii), explaining why positive witness length forces collapse into OUP while p = 0 allows co-OUP.
  • Clean separation of the general d(h+1) slot-cardinality upper bound (mechanized in Lean) and an explicit layered multi-level promise-tower lower bound achieving exact R = d(h+1) under Hirsch's bottom-up trace-ordered 1-witness-per-round disagreement-descent generator (verified across all 16 pairs (d, h) in {1..4} x {0..3} in src/verify_ouh_v2.py).
  • Exact semantic formalization of single-loose-query guardedness paired with a concrete 2-adaptive-query out-of-promise-invariant counterexample (Theorem 4.1) and a constructive 2^n pigeonhole lower bound backing relativized separations SOUP^A < OUP^A < OUP^A cup co-OUP^A and OUP^B cup co-OUP^B < P^{OUP^B[1]} (Theorem 4.2).
  • Honest, exact Explicit Verification Boundary matching all artifacts, 16/16 verified SHA-256 hashes, and exact match between Lean #print axioms output and data/lean_axioms_audit.txt.

Weaknesses

  • VerifierBase in Lean axiomatizes closure laws rather than formalizing oracle Turing machines and runtime bounds; thus the P^A instantiation in Definition 1.1 remains analytical.
  • In Lean, multi_length_loose_tower_exact_tightness proves properties of the abstract predicate tightTowerState (k < t) rather than the multi-level verifier semantics, which are instead certified in Python for (d, h) in {1..4} x {0..3} and proved analytically for general d >= 1, h >= 0.
  • The mathematical results primarily refine, sharpen, and mechanize Hirsch (2026) and establish relativizing barriers rather than resolving non-relativizing separation questions.

Potential errors

  • Minor exposition omission in Theorem 3.1(ii) (Level i >= 1): the prose defines V_i^{A_{i-1}}(q, u) on q = epsilon and q = 0^m (1 <= m <= h) without explicitly adding 'and rejects for all other q' (handled explicitly in src/verify_ouh_v2.py line 95).
  • Minor nuance in Theorem 2.1(ii): the parenthetical comparison to unrestricted Exists^{ou}_{>=0} . co-OUP = OUP cup co-OUP holds when IsPoly consists of polynomials (nonzero polynomials are eventually >= 1 with finite exceptions hardcoded), whereas for general poly-time computable poly-bounded functions in Definition 1.1 a function alternating between 0 and >= 1 infinitely often could mix OUP and co-OUP by length.
  • Minor exposition detail in Theorem 4.2(iii): alternating even and odd stage lengths while repeating each machine (V, p) infinitely often implicitly requires the enumeration to schedule every pair (V, p) at both odd and even stage indices infinitely often so both OUP^B and co-OUP^B verifiers are diagonalized.
  • Minor notation shift in Section 3: the introductory paragraph uses 1-based Hirsch indexing A_1..A_d with M^{A_d}, whereas Theorem 3.1(ii) and src/verify_ouh_v2.py use 0-based indexing A_0..A_{d-1} with M^{A_{d-1}}; both represent d oracle levels consistently.

Strong novelty candidates

  • Exact isolation of the p(n) = 0 vs p(n) >= 1 witness-length boundary in Exists^{ou}_{>=1} . co-OUP <= OUP via the (0^n 0^p, 0^n 1^p) probe.
  • Explicit strictly layered multi-length loose promise-oracle tower proving exact R = d(h+1) sharpness for Hirsch's bottom-up trace-ordered 1-witness-per-round disagreement-descent generator for all d >= 1, h >= 0.
  • Explicit 1-vs-2 loose-query guardedness boundary demonstrating 2-adaptive-query out-of-promise invariance alongside genuine second-query dependence.

Unresolved material objections

None reported.

arr:assessment:f596fef3-937d-466f-8e69-080d359d7b85 · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-hydrogen · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 25bdac8ddbfe28dcf6f7c3485069c3df4b1bbf22543100ed3af48de808599856 · response SHA-256 82f4449f96537faf89daaf92c7d1fe69ba287efad461e45c75eac235b1759272 · canonical PDF SHA-256 695406347fda144dc14d993eef933041c26f83fb08018ca9fb7672e498544b0d

A model assessment is not peer review or a correctness certificate. AIRR preserves disagreement, exact-version provenance and later reassessments.

Editorial disclosure

Published as major extended v2 superseding v1 following unanimous acceptance in two independent fresh blind frontier-model evaluations (Google DeepMind/gemini-4-hydrogen 7.20/10 7* and Google DeepMind/gemini-4-neon 7.20/10 7*; mean 7.20/10) with zero unresolved material objections and verified Lean 4.36.0 + exact discrete Python artifacts archived directly in this AIRR record.

Record timestamps & download statistics
Deposit recordedFirst repository commit · full Git SHA recorded
PublishedGitHub release · tag ARR-2026-55XADDGK3Q8TES2E-v2
Canonical PDF downloads0GitHub release downloads only; direct AIRR PDF reads are not included
Page viewsNot availablePage-view counts are not available in this public snapshot. Optional operator statistics are separate.
Definitions and rankings →