summaryrefslogtreecommitdiff
path: root/test/examples/union.tex
diff options
context:
space:
mode:
Diffstat (limited to 'test/examples/union.tex')
-rw-r--r--test/examples/union.tex21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/examples/union.tex b/test/examples/union.tex
new file mode 100644
index 0000000..b5c5783
--- /dev/null
+++ b/test/examples/union.tex
@@ -0,0 +1,21 @@
+\begin{axiom}[Extensionality]\label{ext}
+ Suppose for all $a$ we have $a\in A$ iff $a\in B$.
+ Then $A = B$.
+\end{axiom}
+
+\begin{axiom}\label{union_defn}
+ Let $A, B$ be sets.
+ $a\in A\union B$ iff $a\in A$ or $a\in B$.
+\end{axiom}
+
+\begin{proposition}\label{union_comm}
+ $A\union B = B\union A$.
+\end{proposition}
+
+\begin{proposition}\label{union_assoc}
+ $(A\union B)\union C = A\union (B\union C)$.
+\end{proposition}
+\begin{proof}
+ For all $a$ we have if $a\in (A\union B)\union C$, then $a\in A\union (B\union C)$.
+ For all $a$ we have if $a\in A\union (B\union C)$, then $a\in (A\union B)\union C$.
+\end{proof}