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
‹
10
›
:
Regular description for
σ
(
L
)
\sigma(L)
σ
(
L
)
where
L
=
{
w
∈
{
a
,
b
,
c
}
∗
∣
∃
x
,
y
:
(
(
w
=
x
a
y
∨
w
=
x
c
y
)
∧
∣
y
∣
=
1
)
}
L=\{ w \in \{a,b,c\}^* \mid \exists x,y: ((w=xay\;\vee\;w=xcy)\;\wedge\;|y|=1) \}
L
=
{
w
∈
{
a
,
b
,
c
}
∗
∣
∃
x
,
y
:
((
w
=
x
a
y
∨
w
=
x
cy
)
∧
∣
y
∣
=
1
)}
and
σ
\sigma
σ
is the morphism defined by
σ
(
a
)
=
a
b
a
\sigma(a)=aba
σ
(
a
)
=
aba
,
σ
(
b
)
=
a
a
\sigma(b)=aa
σ
(
b
)
=
aa
and
σ
(
c
)
=
b
\sigma(c)=b
σ
(
c
)
=
b
Give a regular description for the image of the set of words over
{
a
,
b
,
c
}
\{a,b,c\}
{
a
,
b
,
c
}
, with either an
a
a
a
or a
c
c
c
in the second position starting from the end, through the morphism
σ
\sigma
σ
defined by
σ
(
a
)
=
a
b
a
\sigma(a)=aba
σ
(
a
)
=
aba
,
σ
(
b
)
=
a
a
\sigma(b)=aa
σ
(
b
)
=
aa
and
σ
(
c
)
=
b
\sigma(c)=b
σ
(
c
)
=
b
Authors:
Guillem Godoy /
Documentation:
main { // Write here your regular description... }
To be able to submit you need to either
log in
,
register
, or
become a guest
.