Proof
(related to Proposition: Set Union is Associative)
Part 1: $(A\cup B)\cup C\subseteq A\cup (B\cup C).$
- Let $x\in (A\cup B)\cup C.$
- By the definition of set union, we have $x\in (A\cup B)\vee x\in C.$
- Again, by the definition of set union, we have $(x\in A\vee x\in B)\vee x\in C.$
- By the associativity of disjunction, we get $x\in A\vee (x\in B\vee x\in C).$
- Again, by the definition of set union, $x\in A\vee x\in B\cup C.$
- Again, by the definition of set union, we get finally $x\in A\cup (B\cup C).$
- It follows that $(A\cup B)\cup C\subseteq A\cup (B\cup C).$
Part 2: $B\subseteq A$
- Let $x\in A\cup (B\cup C).$
- By the definition of set union, we have $x\in A\vee x\in B\cup C.$
- Again, by the definition of set union, we have $x\in A\vee (x\in B\vee x\in C).$
- By the associativity of disjunction, we get $(x\in A\vee x\in B)\vee x\in C.$
- Again, by the definition of set union, $x\in A\cup B\vee x\in C.$
- Again, by the definition of set union, we get finally $x\in (A\cup B)\cup C.$
- It follows that $A\cup (B\cup C)\subseteq (A\cup B)\cup C.$
Conclusion
Thank you to the contributors under CC BY-SA 4.0!
- Github:
-
References
Bibliography
- Kane, Jonathan: "Writing Proofs in Analysis", Springer, 2016