Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Promise problem
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Definition== A decision problem can be associated with a [[formal language|language]] <math>L \subseteq \{0,1\}^*</math>, where the problem is to accept all inputs in <math>L</math> and reject all inputs not in <math>L</math>. For a promise problem, there are two languages, <math>L_{\text{YES}}</math> and <math>L_{\text{NO}}</math>, which must be [[Disjoint sets|disjoint]], which means <math>L_{\text{YES}} \cap L_{\text{NO}} = \varnothing</math>, such that all the inputs in <math>L_{\text{YES}}</math> are to be accepted and all inputs in <math>L_{\text{NO}}</math> are to be rejected. The set <math>L_{\text{YES}} \cup L_{\text{NO}}</math> is called the ''promise''. There are no requirements on the output if the input does not belong to the promise. If the promise equals <math>\{0,1\}^*</math>, then this is also a decision problem, and the promise is said to be trivial.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)