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
‹
14
›
:
{
g
∈
C
F
G
(
{
a
,
b
}
)
∣
L
(
g
)
=
{
a
,
b
}
∗
}
≤
{
G
∣
L
(
G
)
=
{
w
a
:
w
∈
{
a
,
b
}
∗
}
}
\{g\in\mathtt{CFG}(\{a,b\})\mid\mathcal{L}(g)=\{a,b\}^*\}\quad\leq\quad\{G\mid\mathcal{L}(G)=\{wa : w\in\{a,b\}^*\}\}
{
g
∈
CFG
({
a
,
b
})
∣
L
(
g
)
=
{
a
,
b
}
∗
}
≤
{
G
∣
L
(
G
)
=
{
w
a
:
w
∈
{
a
,
b
}
∗
}}
Reduce the universality problem on CFGs over
{
a
,
b
}
\{a,b\}
{
a
,
b
}
to the problem of whether a CFG generates all words over
{
a
,
b
}
\{a,b\}
{
a
,
b
}
that end with
a
a
a
, in order to prove that such problem is not semi-decidable (not recursively enumerable).
Authors:
Carles Creus, Guillem Godoy /
Documentation:
input g { // Write your reduction here... // output ... ; }
To be able to submit you need to either
log in
,
register
, or
become a guest
.