Consider the following problem:
Is $L_1 * L_2$ is of $LType$?
where we know that both $L_1$ and $L_2$ are of type $LType$ and $LType$ is closed under $*$ operation.
Above, by $LType$, I mean any type of language that is known to belong to any type of Chomsky hierarchy. So it may be regular (Chomsky Type 3), CFL or DCFL (Chomsky Type 2) etc. Also by operation $*$, I mean any binary operation that results in another language, say intersection $\cap$, union $\cup$, difference $-$ etc.
Given all these pre-information of the type of languages and their closure under the specified operation, is the above problem decidable? For example
Does the problem:
"Given that $R_1$ and $R_2$ are regular, is $R_1 \cap R_2$ too a regular language?"
is decidable, especially when we know that regular languages are closed under intersection?
Also can we comment in the same manner about undecidability of operation when we know that the type of operand languages is not closed under that operation? That is
Does the problem
Is $L_1*L_2$ is of $LType$?
is undecidable?, especially when we know that $LType$ is not closed under the operation $*$ and that $L_1$ and $L_2$ are of type $LType$?
For example
Does the problem
Is $CFL_1\cap CFL_2$ is CFL?
is undecidable?, especially when we know that CFLs are not closed under intersection.
I feel both of above facts are correct/obvious/intuitive. But I am confused because no book on the theory of automata states it clearly.