Most of the time, the equivalence between two formulas is shown when they are just a refactoring form of each other, e.g., is it equal
$(p \rightarrow q) \equiv (\neg p \vee q)$
In this example, both formulas have the same variable names.
My question is: if
$ \phi_a = (m \wedge p) \vee (m \wedge q)$ ,
$\phi_b = (x \vee y) \wedge z$ ,
knowing that $\phi_c = (p \leftrightarrow x) \wedge (q \leftrightarrow y)\wedge (m \leftrightarrow z)$
How to cheeck whether $\phi_a \equiv \phi_b$ ?
One way that I am trying is to substitute the variables from $\phi_c$ to either $\phi_a$ or to $\phi_b$. But, does it make sense if I try simply $\phi_a \wedge \phi_b \wedge \phi_c$ ? When I am trying this in a solver, it is generating the same set of models with $\phi_a$ and $\phi_b$, just twice longer (including the variables from both formulas).
So, am I acting correctly? If not, what I should do?