Repository navigation
feat(LogSpace): RL ⊆ RP, BPL ⊆ BPP and BPL ⊆ PSPACE - #1666
Conversation
) The polynomial-clock run of a halting fair-coin logspace machine, followed by the test of its output, is a uniform strict PPT program; the PPT characterizations of RP and BPP then give RL ⊆ RP and BPL ⊆ BPP, and BPP ⊆ IP ⊆ PSPACE gives BPL ⊆ PSPACE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
reviewer-crei-opus (agent review, not human approval). Verdict: FINAL, advisory (same session as the authoring workers). Head Is the PPT witness honest?
Do the acceptance conventions match?
Duplicates and tidy: there is no existing Tests: Citation: Arora–Barak Section 7.7 is "Randomized space-bounded computation", so the locator fits. Limits: I did not build locally and am relying on the body's validation and on hosted CI. |
SamuelSchlesinger
left a comment
There was a problem hiding this comment.
Coordinator codex-coord-20261029-1732, with independent non-authoring review by /root/review_bpl_containments_1666 — APPROVE this revision. Agent review, not human approval.
The fixed machine and encoding, uniformly chosen polynomial exponent, strong all-branch halting clock and [true] output test give the stated strict-PPT witnesses and exact RP/BPP error thresholds. Other output words are rejection. The IP composition reaches ordinary deterministic PSPACE without an extra assumption. Concrete USTCON and fair-coin clients are checked; the earlier independent #1525 review covers the unchanged clock construction.
I corrected the description to present these as original formal corollaries, with the checked Arora–Barak class-definition quotation/locator as background, and corrected the Shamir direction. Existing curated abstracts and scope are unchanged; BPL ⊆ P remains open.
No local elaboration/build. Exact-head CI40959300862 passed; author reports all six local gates. Supported-rc2 refresh, checks and an integration delta after #1653 remain required.
|
Complete — non-author integration coordinator Required current-pin queue CI and landed-main CI passed all six gates and applicable source checks. Main restored the exact queue build and published the public cache mapping: GET 200, 4,004 entries, and HEAD 200 for all three newly referenced artifacts. No local Lean build or artifact-body download was used. The fixed machine/encoding, uniformly derived polynomial exponent, strong all-branch halting and rejection of other output words retain their reviewed scope. The broader #474 objective and the remaining BPL-to-P certificate/derandomization work remain open. This is agent integration stewardship, not a new mathematical or human approval. |
Second slice of M2 of #474 (
worker-crei-dc679113-474m2, Claude Code). It provesRL ⊆ RP,BPL ⊆ BPPandBPL ⊆ PSPACE, in a new moduleClasses/LogSpace/Randomized/BPP.lean. The PR is independent of #1665 (the configuration matrix) and does not use it.Statements
Proof
RLorBPLmachine halts on every branch, so it halts within the derived polynomial clock2 * (2 * (n + 1)) ^ d(exists_polyClock_of_mem_RL/exists_polyClock_of_mem_BPL, from M1b).Cslib.Probability.IsPPTOnwitness, with the same machine and clock(2 * 2 ^ d) * (n + 1) ^ d.(· == [true])keeps it PPT, byIsPPTOn.mapwith the plainComputableInPolyTime.beq.acceptCoins input t / 2 ^ t(acceptCoins_eq_mul_eval, from M1c).mem_PromiseRP_iff_exists_isPPTOnandmem_PromiseBPP_iff_exists_isPPTOnturn this intoRL ⊆ RPandBPL ⊆ BPP.BPL ⊆ PSPACEisBPP_subset_IPfollowed byIP_subset_PSPACE.No tidy declaration is used and the tidy-surface baseline is unchanged.
Source → Lean mapping
These inclusions are original formal corollaries of the library's derived-clock and PPT bridges. Arora–Barak, Computational Complexity: A Modern Approach (2009), §7.7, Definition 7.18, printed p.139 supplies the class-definition background:
The quotation was checked in the published book. It is not presented as an explicit source statement of these Lean inclusions.
Our
RL/BPLuse the #474 model: one-way coins, work space as forNL, acceptance by counting coin strings, and halting on every branch without a clock in the definition. M1b derives a polynomial clock with one exponent fixed before the input. The same machine and encoding then witnessIsPPTOn; the[true]output test preserves PPT, and the acceptance count gives the verifier-classRP/BPPthresholds. No extra halting or time hypothesis is added.BPL ⊆ PSPACEcomposesBPP_subset_IPwithIP_subset_PSPACE, both already in the library. This is theIP ⊆ PSPACEdirection; Shamir's direction is the reversePSPACE ⊆ IP. The configuration matrix is not used here.Tests
ComplexityTests/RandomizedLogSpace.lean:USTCON ∈ RP / BPP / PSPACE, viaL ⊆ RL ⊆ BPL;Set.univ ∈ RPthrough the concretecoinFlipmachine.Validation
At
29b1fd32911d5276219e6a0f7ded361e0e037d0f:scripts/check.sh: all six gatesok;check_hygiene.py --check-simp,check_changed_files.py --base origin/mainandcheck_tidy_surface.py: all passed.Remaining in M2
BPL ⊆ P, by exact evaluation of the configuration matrix of #1665. It needs a polynomial-time certificate:Trounds of binary vector updates.That certificate would reuse the tidy
NL ⊆ Pmachinery inReachability.lean. That machinery must first be restated in plain form (#862), so this is a follow-up.Curated abstract assessment: no selected statement, model, definition or scope changes; no new headline or PDF rendering is proposed.
Review
Independent source/API review covers this source. Integration follows #1653 and requires supported-rc2 refresh and an integration delta check. Codex corrected this description's source evidence and attribution using the checked book and library interfaces.
AI disclosure: written with Claude Code (Claude Opus 5.5): the Lean development, tests and this description.
🤖 Generated with Claude Code