set complement
The complement of a set is the set of all elements not in the set.
Formally,
the complement of a set
where
\documentclass[margin={3cm 0cm}]{standalone}
\usepackage{tikz}
%
\definecolor{fillcolor}{HTML}{8A5CF5}
%
\tikzset{truthy/.style n args={1}{%
fill=#1,draw,%
inner sep=0,minimum size=1cm}}
%
\begin{document}
\begin{tikzpicture}
% not P and not Q
\begin{scope}[even odd rule]
\clip (-3,-2) rectangle (3,2) (0,0) circle (1.5);
\fill[fillcolor] (-3,-2) rectangle (3,2);
\end{scope}
%
\draw (0,0) circle (1.5);
\node at (0,0) {$A$};
\end{tikzpicture}
\end{document}
Let
Complement laws:
- If
, then