Add circuit constraint section on conditional equality.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2018-04-20 04:07:23 +01:00
parent 633ca00f25
commit 6a5e901530
1 changed files with 10 additions and 0 deletions

View File

@ -9527,6 +9527,16 @@ A boolean constraint $b \in \bit$ can be implemented as:
\end{formulae}
\introlist
\subsubsubsection{Conditional equality} \label{cctcondeq}
The constraint ``either $a = 0$ or $b = c$'' can be implemented as:
\begin{formulae}
\item $\constraint{a}{b - c}{0}$
\end{formulae}
\introlist
\subsubsubsection{Selection constraints} \label{cctselection}