ZPP is contained in RP and coRP

Lax666725.ZPPSubsetOneSided · concepts/Lax666725/ZPPSubsetOneSided.lean · lax-666725

proven

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural Language Statement

    Theorem

    Every zero-error polynomial-time language belongs to both one-sided-error classes: ZPP⊆RP∩coRP\mathrm{ZPP}\subseteq\mathrm{RP}\cap\mathrm{coRP}. Replacing "don't know" by rejection gives an RP procedure; replacing it by acceptance gives a coRP procedure.

    Concept map
    5 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Lax666725.OneSidedError
    2import Lax666725.ZeroError
    3
    4/-!
    5---
    6title: ZPP is contained in RP and coRP
    7type: theorem
    8---
    9Every zero-error polynomial-time language belongs to both one-sided-error
    10classes: ZPP⊆RP∩coRP\mathrm{ZPP}\subseteq\mathrm{RP}\cap\mathrm{coRP}.
    11Replacing "don't know" by rejection gives an RP procedure; replacing it
    12by acceptance gives a coRP procedure.
    13-/
    14
    15namespace Lax666725.ZPPSubsetOneSided
    16
    17open OneSidedError ZeroError
    18
    19axiom ZPP_subset_RP_inter_coRP : ZPP ⊆ RP ∩ coRP
    20
    21end Lax666725.ZPPSubsetOneSided
    22
    Show Proof
    Builds on
    Used by

    none

    From Mathlib

    none

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…