Randomized computations as NP certificates
Lax253009.RandomizedContainments · concepts/Lax253009/RandomizedContainments.lean · lax-253009
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
A successful random tape is a polynomial-length NP certificate for an RP algorithm. A deterministic verifier simulates every coin-selected tape transition and checks the resulting answer. The simulation includes a polynomial running-time bound in the registered machine models.
Replacing a zero-error algorithm's failure answer by rejection also gives an RP algorithm. Consequently both RP and ZPP are contained in the registered NP class.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax434930.NondeterministicPolynomialTime |
| 2 | import Lax666725.OneSidedError |
| 3 | import Lax666725.ZeroError |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Randomized computations as NP certificates |
| 8 | type: lemma |
| 9 | --- |
| 10 | A successful random tape is a polynomial-length NP certificate for an RP |
| 11 | algorithm. A deterministic verifier simulates every coin-selected tape |
| 12 | transition and checks the resulting answer. The simulation includes a |
| 13 | polynomial running-time bound in the registered machine models. |
| 14 | |
| 15 | Replacing a zero-error algorithm's failure answer by rejection also gives |
| 16 | an RP algorithm. Consequently both RP and ZPP are contained in the |
| 17 | registered NP class. |
| 18 | -/ |
| 19 | |
| 20 | namespace Lax253009.RandomizedContainments |
| 21 | |
| 22 | axiom RP_subset_NP : |
| 23 | Lax666725.OneSidedError.RP ⊆ Lax434930.NondeterministicPolynomialTime.NP |
| 24 | |
| 25 | axiom ZPP_subset_NP : |
| 26 | Lax666725.ZeroError.ZPP ⊆ Lax434930.NondeterministicPolynomialTime.NP |
| 27 | |
| 28 | end Lax253009.RandomizedContainments |
| 29 |
Used by
none
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments