question about: $((\forall x A)\lor B)$ is semantically equivalent to $(\forall x(A\lor B))$ with the condition that $x$ is not free in $B$.
I have thought about structure,
$U = \{ k , h \}$ ... where $k$ and $h$ are names of humans
$A:= \{ x$ eats sandwiches $\}$ .. $A =\{ (h,{\rm TRUE}) , (k,{\rm FALSE}) \}$
$B:= \{x$ eats healthy$\}$.. $B= \{ (k,{\rm TRUE}) , (h,{\rm FALSE}) \}$
now we have two options to consider (I think):
1-$( (\forall x~A) \lor (\forall x~B) )$ is semantically equivalent to $( \forall x~(A \lor B) )$
2-$( (\forall x~A) \lor (\exists x~B) )$ is semantically equivalent to $(\forall x~(A \lor B) )$
(I think $(\exists x~B)$ is $x$ is not free in $B$.) (I think $(\forall x~B)$ is $x$ is not free in $B$. )
but if we consider rule number 1,
1-$( (\forall x~A) \lor (\forall x~B) )$ is semantically equivalent to $(\forall x~(A\lor B) )$
then we find the following:
$\forall x~A$ is false
$\forall x~B$ is false
$\forall x~(A \lor B)$ is true ( (forAll x A) or (forAll x B) ) is false so they are not equivalent $( (\forall x~A) \lor (\forall x~B) )$ is not equivalent to $\forall x (A \lor B)$
so what is wrong in what I'm doing?
"$x$ is not free in $B$", means that the variable $x$ does not occur as a free variable in the predicate $B$.
Your example predicate $\{x$ eats healthy$\}$ contains $x$ as a free variable. Hence it does not fit the require criteria for "$x$ is not free in $B$".
Try $A:\{x$ eats sandwiches$\}$ and $B:\{$sandwiches are tasty$\}$.