A formula is in DNF if it is a disjunction of conjunctions of literals, where a literal is a variable or a negated variable:
- Finite disjunctions abbreviate repeated use of $\lor$. The one-term and empty cases are included:
- Dually, the empty conjunction is true: $\bigwedge_{i=1}^{0}A_i=\top$. A disjunction needs a true term; an empty conjunction has no condition that could fail.
- The representation must preserve the two positions: $(x,y)=(a,b)$ implies $x=a$ and $y=b$. The proof uses unions and intersections to recover the components.
- The union collects the elements of the members of $\mathcal{A}$, removing one layer of set membership. In set theory, those members are themselves sets.
- For $\mathcal{A}=\{\mathbb{N}\}$, we have $\bigcup\mathcal{A}=\mathbb{N}$. In particular, $7\in\mathbb{N}\in\mathcal{A}$, but $7\notin\{\mathbb{N}\}$: membership is not transitive.
- Taking the union of the singleton intersection recovers the first component: $\bigcup(\bigcap p)=x=a$.
- To recover the second component, distinguish two cases:
- If $y=x$, then $\{x,y\}=\{x\}=\{x,b\}$, so $b=x=y$.
- If $y\neq x$, then $y\in\{x,b\}$ forces $y=b$.
- Thus equality of the representing sets gives equality in each position. Conversely, $x=a$ and $y=b$ immediately give $(x,y)=(a,b)$.
A pair is a -tuple. To represent a triple, we likewise require
- One convention is to nest ordered pairs: $(x,y,z):=((x,y),z)$. Applying the pair property twice recovers all three positions.
- Another is to tag each position:
- This is the graph of a [[Knowledge/Function|function]] $\{0,1,2\}\to\{x,y,z\}$. The distinct indices preserve the positions even when some component values coincide.