RACSO
DFA
CFG
Operations:
Reg
,
CF
PDA
Reductions:
K
,
WP
,
CFG
,
NP
,
SAT
ANTLR:
lexical
,
syntactic
Exams
log in
,
register
,
become guest
This site uses cookies only for the purpose of identifying user sessions. This is required to properly register actions.
Exercise
‹
12
›
:
Minimum DFA for
{
w
∈
{
a
,
b
}
∗
∣
∀
x
,
y
,
z
:
(
(
w
=
x
y
z
∧
∣
y
∣
=
3
)
⇒
(
∣
y
∣
a
∈
2
˙
∨
∣
y
∣
b
∉
2
˙
)
)
}
\{ w \in \{a,b\}^* \mid \forall x,y,z: ( (w=xyz \wedge |y|=3) \Rightarrow (|y|_a\in\dot{2} \vee |y|_b\notin\dot{2}) ) \}
{
w
∈
{
a
,
b
}
∗
∣
∀
x
,
y
,
z
:
((
w
=
x
yz
∧
∣
y
∣
=
3
)
⇒
(
∣
y
∣
a
∈
2
˙
∨
∣
y
∣
b
∈
/
2
˙
))}
Describe the minimum DFA that recognizes the language of the words over
{
a
,
b
}
\{a,b\}
{
a
,
b
}
whose subwords of length
3
3
3
have an even number of
a
a
a
’s or an odd number of
b
b
b
’s.
Authors:
Guillem Godoy /
Documentation:
// Write your DFA here...
To be able to submit you need to either
log in
,
register
, or
become a guest
.