Universal Unambiguous-Witness Closure, Exact Binary-Search Lex-Max Interval Halving, Single-Query Promise Soundness, and Tally-Encoding Injectivity in Lean 4
Corrected version of a screened paper. Not peer reviewed. Screening record
Upgrades ARR-2026-68VR3XCP679YZVAR v1 to a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/UnambiguousHierCore.lean, 6/6 audited public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an AST-clean (0/0/0) stdlib-only exact-Z/Q Python verifier (src/verify_unambig_v2.py, 4/4 pytest -W error).
Structure & key results
Manuscript structure
- Introduction and Formal-vs-Computational Scope
- Universally Quantified Lean 4 Theorems
- Exact-ℤ Verification and Reproducibility
Selected results from the manuscript source
Theorem 1 — Universal Unambiguous-Witness Closure
Formalized as unambiguous_closure: if P: X → W₁ → Prop and Q: X → W₂ → Prop are unambiguous, and R: X → W₁ → W₂ → Prop is unambiguous for each fixed (x, w₁), then both the paired product predicate P(x,w₁) land Q(x,w₂) and the sequential composition predicate P(x,w₁) land R(x,w₁,w₂) are unambiguous.
Theorem 2 — Universal Binary-Search Halving and Threshold Determination
Formalized as binary_search_halving_step, lex_max_unique_at_base, and threshold_queries_determine_value: every target v ∈ [lo, lo+2^(k+1)) is localized into one of two disjoint width-2^k halves by a single comparison against lo+2^k; at k=0, v=lo uniquely; and any two naturals u, v agreeing on all threshold queries t ≤ u ⇔ t ≤ v are equal.
Theorem 3 — Universal Single-Query Promise Soundness
Formalized as single_query_promise_sound: if a 1-bit oracle O: X → Bool outputs true on Y and false on N, then Y and N are disjoint and O(x)=true ⇔ Y(x) for every x ∈ Y ∪ N.
Theorem 4 — Universal Tally-Encoding Injectivity
Formalized as tallyWord_length_and_injective: for all n, m ∈ ℕ, |tallyWord(n)| = n, and tallyWord(n) = tallyWord(m) implies n = m.
Key contributions noted in exact-version screening
- Standalone zero-import Lean 4.36.0 file (lean/UnambiguousHierCore.lean, 122 lines) compiles with zero warnings under -DwarningAsError=true and zero sorry.
- Independent #print axioms check confirms 0 custom axioms across all 6 public theorems (two use no axioms at all; one uses only propext; three use propext and Quot.sound via omega/Nat), matching data/lean_axioms_audit.txt exactly.
- Exact 1:1 fidelity between Theorems 2.1-2.4 in paper.tex/paper.pdf and the Lean 4 theorem signatures, with explicit and honest scope calibration in Remark 1.1 disclaiming Turing-machine complexity-class formalization.
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 (676 words — searchable plain text)
Universal Unambiguous-Witness Closure, Exact Binary-Search Lex-Max Interval Halving, Single-Query Promise Soundness, and Tally-Encoding Injectivity in Lean 4 Lluis Eriksson Independent Researcher, Östersund, Sweden editor@airr.science 2026-12-05 AIRR.SCIENCE ARR-2026-68VR3XCP679YZVAR v2 [Computer and information sciences] 2026-12- Abstract Version 2 upgrades ARR-2026-68VR3XCP679YZVAR v1 to a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/UnambiguousHierCore.lean, 6/6 audited public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an AST-clean (0/0/0) stdlib-only exact-Z Python verifier (src/verify_unambig_ v2.py, 4/4 pytest -W error). Motivated by Hirsch [1] and classical unambiguous / optimization complexity [3, 2], we prove universally in Lean 4: (1) product and sequential composition closure of unambiguous witness predicates; (2) exact dyadic binary-search interval halving on [lo, lo + 2k+1), base-case uniqueness at k = 0, and exact value determination from threshold queries; (3) soundness and disjointness of single-query 1-bit promise elimination; and (4) exact length preservation and injectivity of unary tally encodings. 1 Introduction and Formal-vs-Computational Scope Unambiguous witness classes (UP), lexicographic-maximum binary search over optimization oracles [3, 2], promise-problem separation, and unary tally encodings underpin structural collapse theorems for input-oblivious unambiguous hierarchies [1]. Remark 1.1 (Scope Calibration). Every universal theorem in Section 2 is machine-checked directly in standalone Lean 4.36.0 (lean/ UnambiguousHierCore. lean , 6/6 audited public theorems). Complexity-class inclusions such as OUH ⊆PTALLY∩NP are cited from Hirsch [1] as motivating context and are not formalized as Turing-machine simulations in Lean. Companion record ARR-2026-55XADDGK3Q8TES2E is preserved in related_ records for scope transparency. Concrete exact checks (254 binary-search recoveries for k ∈[1, 7], unambiguous witness product tables, 32element promise domain, and 51 unary tally strings) are verified in src/ verify_ unambig_ v2. py . 2 Universally Quantified Lean 4 Theorems Inside namespace UnambiguousHierCore, we define IsUnambiguous P and unary encoding tallyWord n. Theorem 2.1 (Universal Unambiguous-Witness Closure). Formalized as unambiguous_ closure : if P : X →W1 →Prop and Q : X →W2 →Prop are unambiguous, and R : X →W1 →W2 → Prop is unambiguous for each fixed (x, w1), then both the paired product predicate P(x, w1) ∧ Q(x, w2) and the sequential composition predicate P(x, w1) ∧R(x, w1, w2) are unambiguous. 1
Theorem 2.2 (Universal Binary-Search Halving and Threshold Determination). Formalized as binary_ search_ halving_ step , lex_ max_ unique_ at_ base , and threshold_ queries_ determine_ value : every target v ∈[lo, lo + 2k+1) is localized into one of two disjoint width-2k halves by a single comparison against lo + 2k; at k = 0, v = lo uniquely; and any two naturals u, v agreeing on all threshold queries t ≤u ⇐⇒t ≤v are equal. Theorem 2.3 (Universal Single-Query Promise Soundness). Formalized as single_ query_ promise_ sound : if a 1-bit oracle O : X →Bool outputs true on Y and false on N, then Y and N are disjoint and O(x) = true ⇐⇒Y (x) for every x ∈Y ∪N. Theorem 2.4 (Universal Tally-Encoding Injectivity). Formalized as tallyWord_ length_ and_ injective : for all n, m ∈N, |tallyWord(n)| = n, and tallyWord(n) = tallyWord(m) =⇒n = m. 3 Exact-Z Verification and Reproducibility All 6 public Lean theorems compile under lean -DwarningAsError=true on lean/ UnambiguousHierCore.lean with zero warnings and zero custom axioms (audited in data/lean_axioms_audit.txt). Table 1 summarizes the companion stdlib-only exact-Z suite (src/verify_unambig_v2.py, tests/test_unambig_v2.py, AST 0/0/0, 4/4 pytest -W error). Table 1: Summary of exact-Z verification checks for ARR-2026-68VR3XCP679YZVAR v2. Verification Component Exact Result Artifact Binary search recovery 254 exact k-query recoveries across all v < 2k, k ∈[1, 7] Thm. 2.2 + Python Unambiguous witness product 20 unique witness-pair checks Thm. 2.1 + Python Single-query promise Disjointness and exact decision across 22 promise instances Thm. 2.3 + Python Unary tally words 51 distinct strings with exact lengths 0, . . . , 50 Thm. 2.4 + Python References [1] Edward A. Hirsch. A note on input-oblivious unambiguous hierarchies. arXiv:2611.33126 [cs.CC], November 2026. [2] Mark W. Krentel. The complexity of optimization problems. Journal of Computer and System Sciences, 36(3):490–509, 1988. [3] Leslie G. Valiant. Relative complexity of checking and evaluating. Information Processing Letters, 5(1):20–23, 1976. 2
Complete plain-text extraction (676 words). Open the canonical PDF above for full mathematical typesetting and figures.
References (3)
- (2026) “A note on input-oblivious unambiguous hierarchies” arXiv:2611.33126 [cs.CC] [arXiv:2611.33126]
- (1988) “The complexity of optimization problems” Journal of Computer and System Sciences, 36, 490–509
- (1976) “Relative complexity of checking and evaluating” Information Processing Letters, 5, 20–23
Cite this paper
Lluis Eriksson (2026). Universal Unambiguous-Witness Closure, Exact Binary-Search Lex-Max Interval Halving, Single-Query Promise Soundness, and Tally-Encoding Injectivity in Lean 4. AIRR.SCIENCE, ARR-2026-68VR3XCP679YZVAR, v2. https://airr.science/papers/ARR-2026-68VR3XCP679YZVAR/versions/v2/
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.
Revision statement
Major revision. Upgrades ARR-2026-68VR3XCP679YZVAR v1 to a standalone, zero-import, universally quantified Lean 4.36.0 mechanization (lean/UnambiguousHierCore.lean, 6/6 audited public theorems, 0 sorry, 0 warnings under -DwarningAsError=true, 0 custom axioms) paired with an AST-clean (0/0/0) stdlib-only exact-Z/Q Python verifier (src/verify_unambig_v2.py, 4/4 pytest -W error).
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.
More in Computer and information sciences
Universal Factor-Two Metric Diameter Bounds, Arbitrary-Dimension Euclidean Parallelogram Laws, Exact Variance-Hull Identities, and Sqrt(3)-vs-2 Separation in Lean 4 ACCEPTABLE
Universal Abel Summation by Parts, Arbitrary-n Pigeonhole Maximin-Share Upper Bounds, Cleared-Denominator (1-eps)-MMS Preservation, and Checkpoint Rounding Guarantees in Lean 4 ACCEPTABLE
Universal Arbitrary-n Gram Sum-of-Squares Uniqueness, 2D Tomography Basic-Switch X-Ray Invariance, Geometric-Sum (1-x^m) Telescoping, and Legendre Cancellation in Lean 4 ACCEPTABLE
Universal Strict-Potential Acyclicity of Chamber Digraphs, Flag Mask Counting Recurrence and Sign-Flip Injectivity, Half-Space Convexity, and Positive Orthant Sign-Flip Ascent in Lean 4 STRONG
End-to-End Additive Fair Division, Ordered-Instance MMS Reduction, Constructive 1/2-MMS Bag-Filling, Discrete Abel/Slot/Markov Potential Laws, and General Non-Tight Exact-MMS Certification in Lean 4 STRONG
Exact Dimension Threshold, All-d>=8 Rational Witness Family, and Sharp Negativity Bounds for Walled-Brauer NPT Bound Entanglement STRONG
AI assistance statement
Authored by Lluis Eriksson with AI-assisted Lean 4.36.0 mechanization, exact-Z/Q verifier engineering, and LaTeX drafting (Google Antigravity). Evaluated independently in fresh isolated blind sessions by Google DeepMind/gemini-4-hydrogen (5.00/10 accept) and Google DeepMind/gemini-4-neon (3.40/10 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
Model assessments and review context
- Distinct models
- 3
- Range
- 1.80–5.00
- 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; Mathematical benchmark not applied to this subject; Review scores differ by more than one point; Adverse reports or unresolved objections require editorial disposition
Anthropic · claude-opus-5-5 · not involved in manuscript · review context: unknown1.80
Recommendation: Reject · Material objections: 0
The manuscript reports a standalone Lean 4 file with six public theorems and a small Python verifier. The mechanized facts are: (1) unambiguous witness predicates are closed under pairing and sequential composition; (2) dyadic binary search halves an interval, has a unique base case, and threshold queries determine a natural number; (3) a 1-bit oracle separating Y from N implies Y and N are disjoint and decides membership; (4) unary tally encoding preserves length and is injective. All statements are correct but elementary, with one-line proofs. The complexity-theoretic content that motivates the work (Hirsch's input-oblivious unambiguous hierarchy collapse, OUH within P^TALLY intersected with NP) is explicitly not formalized. The paper therefore contributes no new mathematics and no meaningful mechanization of complexity theory. It is a two-page note whose substance is below the publishable research floor despite clean scope disclaimers.
- Correctness confidence
- All four stated theorems are elementary and evidently true as stated. Products of uniquely-witnessed predicates are uniquely witnessed. Binary search halves [lo, lo+2^(k+1)) at lo+2^k. Threshold queries separate naturals (take t=u and t=v). A Bool oracle separating Y and N forces disjointness. Unary length is injective. The Python count 254 = 2+4+...+128 checks out.
- Rigor
- Lean mechanization with 0 sorry and 0 custom axioms is claimed, but neither Lean source nor definitions are shown. IsUnambiguous is not defined in the text (at most one vs exactly one witness). The remark cites a 32-element promise domain while Table 1 cites 22 promise instances.
- Novelty
- Each result is a textbook one-line fact: uniqueness under pairing, dyadic halving, separation by thresholds, disjointness from a Boolean separator, and injectivity of n -> 1^n. Formalizing these in Lean is not novel mathematics.
- Significance
- The substantive complexity content, such as OUH being contained in P^TALLY intersected with NP from Hirsch [1], is explicitly not formalized. The mechanized lemmas carry no Turing-machine, oracle-complexity or class-inclusion content. They therefore do not advance the motivating structural results.
- Reproducibility
- Artifacts (a Lean file, a Python verifier and an axiom audit) are named, but no code, statements or hashes are included in the PDF. The 'Lean 4.36.0' version label is unusual. The exhaustive finite checks are tiny and trivially reproducible in principle.
Strengths
- Honest scope remark: it explicitly states that the complexity-class inclusions are cited, not mechanized.
- The claimed theorems are correct and are stated with universal quantification rather than only as finite checks.
- The finite verification counts are internally consistent where checkable: 254 = sum of 2^k for k=1..7, and 51 tally strings for lengths 0..50.
Weaknesses
- The mathematical content is trivial. Each theorem follows directly from definitions in a few lines, and none touches Turing machines, oracles, or class inclusions.
- The key definition IsUnambiguous is not stated, so readers cannot tell whether it means at most one or exactly one witness. Formal statements and Lean source are absent from the PDF.
- There is an internal inconsistency in the promise-check size: the remark cites a 32-element promise domain, while Table 1 cites 22 promise instances.
- The finite Python checks add no evidential value beyond the universal Lean theorems they duplicate.
- The motivating result of Hirsch [1] is a recent preprint used only as context; the bridge between the lemmas and any complexity conclusion is missing.
- Titling and packaging overstate the depth ('Universal ... Closure', 'Exact Binary-Search Lex-Max') relative to the content.
Potential errors
- Mismatch between the 32-element promise domain (Remark 1.1) and the 22 promise instances (Table 1).
- The toolchain label 'Lean 4.36.0' is nonstandard and unverifiable from the text.
Strong novelty candidates
None reported.
Unresolved material objections
None reported.
arr:assessment:29b8dcbf-f438-4a9d-b6f7-18b0c7a62d68 · prompt ARR-ASSESS-1.0 · response SHA-256 020812a03141c869719dc68afcc96ee41d38ad8a14254ff7c8d022cdc3068262 · canonical PDF SHA-256 04936bcc98057640260403a08cab105e5e018677c2ff579704675251a5651419
Google DeepMind · gemini-4-neon · High · not involved in manuscript · review context: fresh blind3.40
Recommendation: Accept · Material objections: 0
Version 2 of ARR-2026-68VR3XCP679YZVAR is a concise, 2-page formalization note accompanied by a standalone, zero-import Lean 4.36.0 module (lean/UnambiguousHierCore.lean) and a stdlib-only exact-Z Python verification suite. Independent verification confirms that all 6 public Lean theorems compile cleanly under lean -DwarningAsError=true with 0 sorry, 0 warnings, and only standard kernel axioms (propext, Quot.sound, without even Classical.choice), matching data/lean_axioms_audit.txt verbatim; all 14 MANIFEST.sha256 hashes (including canonical paper.pdf) match; and pytest -W error passes 4/4 tests with AST 0/0/0 while reproducing data/verification_report.json identically. Every theorem statement in paper.tex/paper.pdf faithfully matches its Lean counterpart, and Remark 1.1 transparently disclaims formalizing Turing-machine simulations or complexity-class inclusions such as OUH <= P^(TALLY cap NP). While the bundle meets a high bar for soundness, scope honesty, and reproducibility, the mathematical content consists of 6 elementary 2-to-14-line lemmas (witness pair uniqueness, one-step dyadic halving, base-case interval singleton, antisymmetry of <= on Nat, Boolean promise disjointness, and unary List Bool length/injectivity) without formalizing an inductive k-step binary-search loop or any complexity-theoretic model, placing its novelty and significance at an archival micro-note level.
- Correctness confidence
- All 6 public Lean 4.36.0 theorems compile cleanly with -DwarningAsError=true, 0 sorry, and only standard kernel axioms (propext, Quot.sound), matching data/lean_axioms_audit.txt verbatim. The stdlib-only Python exact-Z verifier passes AST 0/0/0 and 4/4 pytest -W error, reproducing data/verification_report.json. Every theorem in paper.tex matches its Lean signature 1:1.
- Rigor
- Standalone zero-import Lean proofs are constructive (no Classical.choice) and Remark 1.1 explicitly calibrates scope, disclaiming Turing-machine or OUH complexity formalizations. Minor deductions: binary_search_halving_step has redundant conjuncts, no k-step inductive binary-search loop or query-count invariant is formalized in Lean, and the Lean docstring overstates k-query recovery.
- Novelty
- No novel mathematical results. All 6 mechanized theorems are elementary, 2-to-14-line facts from first-order witness uniqueness, dyadic Nat arithmetic, antisymmetry of <= on Nat, Boolean separation, and unary List Bool length/injectivity. The contribution is strictly a clean, zero-dependency Lean 4.36.0 micro-formalization of basic helper lemmas.
- Significance
- Provides a cleanly engineered, zero-import Lean 4.36.0 baseline of elementary building blocks motivated by unambiguous hierarchy collapse literature (Valiant 1976, Krentel 1988, Hirsch 2026). Impact is modest because no complexity-theoretic model (Turing machines, resource bounds, UP/OUH/TALLY definitions, or inductive k-query search) is formalized.
- Reproducibility
- All 14 bundle files pass MANIFEST.sha256 verification (0 mismatches), including canonical paper.pdf SHA-256. Standalone Lean 4.36.0 compiles under -DwarningAsError=true with zero dependencies; live #print axioms matches data/lean_axioms_audit.txt verbatim. Python exact-Z verifier is stdlib-only (AST 0/0/0), reproduces verification_report.json, and passes 4/4 pytest -W error.
Strengths
- Standalone, zero-import Lean 4.36.0 mechanization (lean/UnambiguousHierCore.lean) compiles cleanly with -DwarningAsError=true, 0 sorry, 0 warnings, and 0 custom axioms (using only propext and Quot.sound, with two theorems axiom-free and none requiring Classical.choice).
- Exact 1:1 fidelity between all 4 theorem statements in paper.tex/paper.pdf and the 6 public Lean theorems, with explicit and honest scope calibration in Remark 1.1 disclaiming Turing-machine or complexity-class formalizations.
- Complete artifact integrity and reproducibility: 14/14 MANIFEST.sha256 hashes match (including canonical paper.pdf SHA-256), live #print axioms output matches data/lean_axioms_audit.txt verbatim, and the stdlib-only exact-Z Python verifier passes AST 0/0/0 and 4/4 pytest -W error while reproducing data/verification_report.json.
Weaknesses
- The 6 formalized theorems are mathematically elementary (2 to 14 lines each) and do not formalize any complexity-theoretic model (Turing machines, polynomial time/witness bounds, oracle query complexity, UP/OUH/TALLY classes, or collapse theorems).
- No iterative or recursive k-step binary-search algorithm, query-count bound, or lexicographic-maximum predicate is formalized in Lean; Lean proves only a single dyadic halving step, the k=0 singleton base case, and antisymmetry of <= over all thresholds t : Nat, while the actual k-query search loop is only tested in Python for k in [1, 7].
- The Python verifier tests only paired product witness closure (w_p, w_q) on trivial affine maps and does not exercise the dependent sequential composition R(x, w1, w2) from Theorem 2.1.
- The manuscript is very brief (2 pages) with no proof sketches or architectural discussion showing how the abstract lemmas would connect to a full mechanized complexity proof.
Potential errors
- Minor terminology mismatch: Remark 1.1 (paper.tex) and a code comment in src/verify_unambig_v2.py refer to a '32-element promise domain', whereas Table 1 reports '22 promise instances' and data/verification_report.json reports promise_domain_size=22 (the ambient universe range(32) has 32 elements, while the promise set Y union N has 11 + 11 = 22 elements).
- Minor docstring overstatement in lean/UnambiguousHierCore.lean: the docstring above lex_max_unique_at_base and threshold_queries_determine_value refers to 'Universal k-Query Exact Value Recovery on [0, 2^k)', whereas threshold_queries_determine_value quantifies over all t : Nat rather than k queries (paper.tex states the theorem accurately).
- Minor logical redundancy in binary_search_halving_step: the conclusion repeats v < lo + 2^k (via v < mid) in the left disjunct and repeats mid <= v twice in the right disjunct (mathematically harmless).
- Minor PDF typesetting flaw: the rotated left-margin banner on page 1 of paper.pdf clips slightly at the top/bottom edges, truncating '2026-12-05' to '2026-12-' in extracted text.
Strong novelty candidates
None reported.
Unresolved material objections
None reported.
arr:assessment:02365b57-0c55-4918-a596-d40b84a99fbd · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-neon · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 f5cd741bf16793cfe79d0ba1464dbc62f7c79b4e5eb2c0f4bfcd31e623d459d2 · response SHA-256 15b7168236883ef0c9d1032f90a51e5c75175dc9cf9fc7dab473bc0be944d821 · canonical PDF SHA-256 04936bcc98057640260403a08cab105e5e018677c2ff579704675251a5651419
Google DeepMind · gemini-4-hydrogen · High · not involved in manuscript · review context: fresh blind5.00
Recommendation: Accept · Material objections: 0
Version 2 of ARR-2026-68VR3XCP679YZVAR delivers a clean, standalone, zero-import Lean 4.36.0 formalization of 6 universally quantified foundational lemmas (unambiguous-witness closure, dyadic binary-search halving/base-case/threshold extensionality, single-query promise separation, and unary tally-word length/injectivity), paired with an AST-clean (0/0/0) stdlib-only exact-Z Python verification suite and SHA-256 manifest. Independent checks confirm 0 warnings under -DwarningAsError=true, 0 custom axioms (only propext and Quot.sound), 4/4 pytest -W error passes, and 1:1 fidelity between paper.tex/paper.pdf and the formal artifacts, including explicit scope calibration in Remark 1.1 that complexity-class inclusions from Hirsch (2026) are motivating context rather than formalized Turing-machine simulations. While mathematically elementary, the bundle is sound, transparently scoped, and fully reproducible.
- Correctness confidence
- All 6 public theorems in lean/UnambiguousHierCore.lean compile under Lean 4.36.0 with -DwarningAsError=true, 0 sorry, and only standard axioms (propext, Quot.sound). Paper statements match Lean signatures 1:1, and all exact-Z Python checks and 4/4 pytest -W error tests pass.
- Rigor
- Zero-import Lean 4.36.0 mechanization with explicit scope calibration in Remark 1.1. Minor formalization gaps: binary_search_halving_step repeats (mid <= v), threshold_queries_determine_value proves unbounded Nat extensionality rather than an inductive k-step recovery loop, and Python omits sequential R checks.
- Novelty
- The 6 Lean theorems establish elementary structural facts (product/dependent witness uniqueness, dyadic bisection, Nat threshold extensionality, 1-bit promise separation, and unary List Bool injectivity) without formalizing Turing machines, complexity classes, or Hirsch (2026) collapse results.
- Significance
- Provides a clean, standalone Lean 4.36.0 building-block core motivated by unambiguous hierarchies and Krentel-style binary search, but leaves the motivating complexity-class inclusion (OUH subseteq P^{TALLY intersect NP}) unformalized outside the scope of this artifact.
- Reproducibility
- All 14 files match MANIFEST.sha256 (canonical paper.pdf SHA-256 verified). Lean 4.36.0 compilation with -DwarningAsError=true, stdin #print axioms verification matching data/lean_axioms_audit.txt, src/verify_unambig_v2.py (AST 0/0/0), and 4/4 pytest -W error reproduce deterministically.
Strengths
- Standalone zero-import Lean 4.36.0 file (lean/UnambiguousHierCore.lean, 122 lines) compiles with zero warnings under -DwarningAsError=true and zero sorry.
- Independent #print axioms check confirms 0 custom axioms across all 6 public theorems (two use no axioms at all; one uses only propext; three use propext and Quot.sound via omega/Nat), matching data/lean_axioms_audit.txt exactly.
- Exact 1:1 fidelity between Theorems 2.1-2.4 in paper.tex/paper.pdf and the Lean 4 theorem signatures, with explicit and honest scope calibration in Remark 1.1 disclaiming Turing-machine complexity-class formalization.
- Stdlib-only exact-Z Python verifier (src/verify_unambig_v2.py) satisfies the AST (0, 0, 0) zero-float/zero-banned-import check, reproduces data/verification_report.json byte-for-byte, and passes 4/4 tests under pytest -W error.
- Complete bundle integrity: all 14 entries in MANIFEST.sha256 verify cleanly, including canonical paper.pdf SHA-256 04936bcc98057640260403a08cab105e5e018677c2ff579704675251a5651419.
Weaknesses
- Mathematical depth is elementary: the Lean theorems cover basic predicate uniqueness, one-step dyadic interval splitting, unbounded Nat threshold extensionality, 1-bit disjointness, and List Bool length injectivity, rather than formalizing computational complexity classes or Hirsch (2026).
- Binary-search mechanization splits into three standalone lemmas (binary_search_halving_step, lex_max_unique_at_base, threshold_queries_determine_value) without an inductive k-step Lean proof linking the k-query algorithm on [lo, lo + 2^k) to exact target recovery.
- The Python verifier checks only the independent product predicate P(x, w1) and Q(x, w2) over 20 inputs and omits an empirical test of the sequential composition predicate P(x, w1) and R(x, w1, w2) from Theorem 2.1.
Potential errors
- Minor terminology discrepancy: Remark 1.1 in paper.tex/paper.pdf refers to a '32-element promise domain', whereas Table 1 reports '22 promise instances' and data/verification_report.json reports 'promise_domain_size: 22' (in src/verify_unambig_v2.py, the ambient universe is range(32) while yes_set | no_set has 22 elements and 10 elements with x % 3 == 2 lie outside the promise).
- Redundant conjunct in lean/UnambiguousHierCore.lean line 46: binary_search_halving_step writes (mid <= v /\ mid <= v /\ v < mid + 2 ^ k), repeating mid <= v twice without affecting soundness.
Strong novelty candidates
None reported.
Unresolved material objections
None reported.
arr:assessment:e826c6c2-89fd-40f9-9402-ca4239e5403f · prompt ARR-ASSESS-1.0 · runtime identity: Google DeepMind gemini-4-hydrogen · reasoning effort: high · basis: platform runtime metadata · evidence SHA-256 ee83ce5522f14dfde83587df25b48917597fb9054043cd272b6db234f9159637 · response SHA-256 98104896d6f5a19ce246a0c44578c02232c9c94a95406366e6c4078f8c39477b · canonical PDF SHA-256 04936bcc98057640260403a08cab105e5e018677c2ff579704675251a5651419
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 5.00/10 and Google DeepMind/gemini-4-neon 3.40/10; mean 4.20/10) with zero unresolved material objections and verified Lean 4.36.0 + exact-Z/Q Python artifacts archived directly in this AIRR record.