Difference between revisions of "Zoo Operators"

From Complexity Zoo
Jump to navigation Jump to search
(Added the first few operators: co, exists, forall, and BP)
 
m (fix typo)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
===== <span id="co" style="color:red">co</span>: Complements =====
 
===== <span id="co" style="color:red">co</span>: Complements =====
Definition: A language L is in <math>\exists \cdot \mathcal{C}</math> if <math>L^c = \{x : x \notin L\}</math> is in <math>\mathcal{C}</math>.
+
Definition: A language L is in <math>co \cdot \mathcal{C}</math> if <math>L^c = \{x : x \notin L\}</math> is in <math>\mathcal{C}</math>.
  
 
Properties:<math>co \cdot co \cdot \mathcal{C} = \mathcal{C}</math>
 
Properties:<math>co \cdot co \cdot \mathcal{C} = \mathcal{C}</math>
Line 7: Line 7:
  
 
----
 
----
 +
 
===== <span id="exists" style="color:red"><math>\exists</math></span>: Existential (polynomial) =====
 
===== <span id="exists" style="color:red"><math>\exists</math></span>: Existential (polynomial) =====
 
Definition: A language L is in <math>\exists \cdot \mathcal{C}</math> if there exists a polynomial p and a language <math>V \in \mathcal{C}</math> such that, for all strings <math>x</math>, <math>x</math> is in L if and only if there exists a string y, of length <math>|y| \leq p(|x|)</math> such that <math>(x,y) \in V</math>.
 
Definition: A language L is in <math>\exists \cdot \mathcal{C}</math> if there exists a polynomial p and a language <math>V \in \mathcal{C}</math> such that, for all strings <math>x</math>, <math>x</math> is in L if and only if there exists a string y, of length <math>|y| \leq p(|x|)</math> such that <math>(x,y) \in V</math>.
Line 35: Line 36:
 
* If <math>\mathcal{C}</math> is closed under majority reductions, then <math>BP \cdot \mathcal{C}</math> admits probability amplification, so we get <math>BP \cdot BP \cdot \mathcal{C} = BP \cdot \mathcal{C}</math>, and we can replace the probability of 3/4 with <math>1/2+\varepsilon</math> for any constant (i.e., independent of the input size |x|) <math>\varepsilon > 0</math>, as well as with <math>1-2^{poly(n)}</math>.
 
* If <math>\mathcal{C}</math> is closed under majority reductions, then <math>BP \cdot \mathcal{C}</math> admits probability amplification, so we get <math>BP \cdot BP \cdot \mathcal{C} = BP \cdot \mathcal{C}</math>, and we can replace the probability of 3/4 with <math>1/2+\varepsilon</math> for any constant (i.e., independent of the input size |x|) <math>\varepsilon > 0</math>, as well as with <math>1-2^{poly(n)}</math>.
 
* If <math>\mathcal{C}</math> is closed under majority reductions, then <math>BP \cdot \mathcal{C} \subseteq \exists \cdot \forall \cdot \mathcal{C} \cap \forall \cdot \exists \cdot \mathcal{C}</math>.  
 
* If <math>\mathcal{C}</math> is closed under majority reductions, then <math>BP \cdot \mathcal{C} \subseteq \exists \cdot \forall \cdot \mathcal{C} \cap \forall \cdot \exists \cdot \mathcal{C}</math>.  
 +
* If <math>\mathcal{C}</math> is closed under majority reductions, then <math>\exists \cdot BP \cdot \mathcal{C} \subseteq BP \cdot \exists \cdot \mathcal{C}</math>.
 +
* Note that, because of the semantic nature of the defining condition for the BP operator, it is possible that some languages <math>V \in \mathcal{C}</math> do not define a language <math>L \in BP \cdot \mathcal{C}</math> using the defining formula above. Only those V which satisfy the required condition can be used.
  
 
Prominent examples:  
 
Prominent examples:  
 
* <math>BP\cdot </math> P = BPP.
 
* <math>BP\cdot </math> P = BPP.
 
* <math>BP \cdot NP = AM</math>
 
* <math>BP \cdot NP = AM</math>
* <math>\exists \cdot BPP = MA</math> (not to be confused with [[Complexity Zoo:B#existsbpp|<math>\exists</math>BPP]]!)
+
* <math>\exists \cdot BPP = MA</math> (not to be confused with [[Complexity Zoo:E#existsbpp|<math>\exists</math>BPP]]!)
 
----
 
----

Latest revision as of 10:16, 15 March 2025

co: Complements

Definition: A language L is in if is in .

Properties:

Prominent examples: .


: Existential (polynomial)

Definition: A language L is in if there exists a polynomial p and a language such that, for all strings , is in L if and only if there exists a string y, of length such that .

Properties:

  • and vice versa.


Prominent examples: P = NP.


: Universal (polynomial)

Definition: A language L is in if there exists a polynomial p and a language such that, for all strings , is in L if and only if for all strings y of length such that .

Properties:

  • and vice versa.

Prominent examples: P = coNP


BP: Bounded-error probability (two-sided)

Definition: A language L is in if there exists a polynomial p and a language such that, for all strings , .

Properties:

  • If is closed under majority reductions, then admits probability amplification, so we get , and we can replace the probability of 3/4 with for any constant (i.e., independent of the input size |x|) , as well as with .
  • If is closed under majority reductions, then .
  • If is closed under majority reductions, then .
  • Note that, because of the semantic nature of the defining condition for the BP operator, it is possible that some languages do not define a language using the defining formula above. Only those V which satisfy the required condition can be used.

Prominent examples:

  • P = BPP.
  • (not to be confused with BPP!)