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
‹
27
›
:
Minimum DFA for
{
w
∈
{
a
,
b
}
∗
∣
∀
x
,
y
:
(
(
w
=
x
y
∧
∣
x
∣
∉
2
˙
)
⇒
∣
x
∣
b
=
1
+
∣
x
∣
a
)
}
\{ w \in \{a,b\}^* \mid \forall x,y: ((w=xy \wedge |x|\notin\dot{2})\Rightarrow |x|_b=1+|x|_a) \}
{
w
∈
{
a
,
b
}
∗
∣
∀
x
,
y
:
((
w
=
x
y
∧
∣
x
∣
∈
/
2
˙
)
⇒
∣
x
∣
b
=
1
+
∣
x
∣
a
)}
Describe the minimum DFA that recognizes the words over
{
a
,
b
}
\{a,b\}
{
a
,
b
}
whose prefixes of odd length have the propierty that their number of
b
b
b
’s equals their number of
a
a
a
’s plus
1
1
1
.
Authors:
Guillem Godoy /
Documentation:
// Write your DFA here...
To be able to submit you need to either
log in
,
register
, or
become a guest
.