You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
945 B

  1. Given are two combinational circuits $C_1$ and $C_2$.
  2. First we translate $C_1$ and $C_2$ into their respective formula $\varphi_1$ and $\varphi_2$.
  3. We need to check, whether $\varphi_1 \oplus \varphi_2$ is not satisfiable, i.e, \emph{$\varphi_1 \equiv \varphi_2$ if and only if $\varphi_1 \oplus \varphi_2$ is UNSAT}. Therefore, we perform the following steps.
  4. \begin{itemize}
  5. \item We construct the formula $\varphi$:
  6. \begin{equation*}
  7. \begin{split}
  8. \varphi = \varphi_1 \oplus \varphi_2
  9. \end{split}
  10. \end{equation*}
  11. \item Next, the formula $\varphi$ has to be transformed into a CNF formula by using Tseitin encoding.
  12. \item Finally, the formula $CNF(\varphi)$ is given to a SAT solver. If the SAT solver determines that $CNF(\varphi)$ is unsatisfiable, then $\varphi_1 \equiv \varphi_2$.
  13. If the SAT solver determines that $CNF(\varphi)$ is satisfiable, then $\varphi_1 \not\equiv \varphi_2$.
  14. \end{itemize}