You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$δ$ is still the transition function: $δ : (Q x Σ) → P(Q x Γ x \{L,R\})$
$q0$ is now the initial state: $q0 ∈ Q$
$g$ is a function that specifies the type of each state $g : Q → \{∧,∨,accept,reject\}$
Examples: TAUT (Tautology)
$TAUT = \{\langle Φ \rangle | Φ$ is a tautology$\}$ **** Universally select all possible assignments to the variables of $Φ$ ($∧$) **** Evaluate these assignments to see if they are true **** If all the assignments accept, accept! Otherwise… reject!
Examples: SEXY
L = \{S | S is a series of 1’s in a positive multiple of 3, followed by an even amount of 0’s, or the inverse (3x 0’s followed by 2y 1’s)\}
Spent a lot of time on this one!
Not exactly a particularly difficult problem to solve anyhow, but…
Examples: MIN-FORMULA
$MIN-FORMULA = \{\langle Φ \rangle | Φ$ is the smallest possible way to express that formula$\}$
Universally select all formulas $ψ$ that are shorter than $Φ$ ($∧$)
Existentially select an assignment to the variables of $Φ$ ($∨$)
Evaluate both $Φ$ and $ψ$, accept if they have the same values, otherwise reject!
ATIME and ASPACE
TIME and (Relative Dimension In) SPACE
ATIME and ASPACE (ATARDIAS?)
$ATIME(t(n)) = \{L|L$ is decided by an $O(t(n))$ time alternating Turing Machine $\}$
$ASPACE(f(n)) = \{L|L$ is decided by an $O(f(n))$ space alternating Turing Machine $\}$
Relations!
For $f(n) ≥ n$, we have $ATIME(f(n)) \subseteq SPACE(f(n)) \subseteq ATIME(f2(n))$
For $f(n) ≥ log n$, we have $ASPACE(f(n)) = TIME(2O(f(n)))$
\(Σ\)i-alternating Turing Machines and \(Π\)i-alternating Turing Machines
Definitions
$Σi$-alternating Turing machine is an alternating Turing machine that on the longest possible branch has $i runs$ universal or existential steps
$Σi$-alternating Turing machines start with existential steps
$Πi$-alternating Turing machines start with universal steps