Skip to main content
Humanities LibreTexts

1.5: A.5- An Example

  • Page ID
    121751
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    \(\def\Assign#1#2{ { #1^{\Struct{#2}} } }\)
    \(\def\Atom#1#2{ { \mathord{#1}(#2) } }\)
    \(\def\Bin{ {\mathbb{B}} }\)
    \(\def\cardeq#1#2{ { #1 \approx #2 } }\)
    \(\def\cardle#1#2{ { #1 \preceq #2 } }\)
    \(\def\cardless#1#2{ { #1 \prec #2 } }\)
    \(\def\cardneq#1#2{ { #1 \not\approx #2 } }\)
    \(\def\comp#1#2{ { #2 \circ #1 } }\)
    \(\def\concat{ { \;\frown\; } }\)
    \(\def\Cut{ { \text{Cut} } }\)
    \(\def\Discharge#1#2{ { [#1]^#2 } }\)
    \(\def\DischargeRule#1#2{ { \RightLabel{#1}\LeftLabel{\scriptsize{#2} } } }\)
    \(\def\dom#1{ {\operatorname{dom}(#1)} }\)
    \(\def\Domain#1{ {\left| \Struct{#1} \right|} }\)
    \(\def\Elim#1{ { {#1}\mathrm{Elim} } }\)
    \(\newcommand{\Entails}{\vDash}\)
    \(\newcommand{\EntailsN}{\nvDash}\)
    \(\def\eq[#1][#2]{ { #1 = #2 } }\)
    \(\def\eqN[#1][#2]{ { #1 \neq #2 } }\)
    \(\def\equivclass#1#2{ { #1/_{#2} } }\)
    \(\def\equivrep#1#2{ { [#1]_{#2} } }\)
    \(\def\Exchange{ { \text{X} } }\)
    \(\def\False{ { \mathbb{F} } }\)
    \(\def\FalseCl{ { \lfalse_C } }\)
    \(\def\FalseInt{ { \lfalse_I } }\)
    \(\def\fCenter{ { \,\Sequent\, } }\)
    \(\def\fdefined{ { \;\downarrow } }\)
    \(\def\fn#1{ { \operatorname{#1} } }\)
    \(\def\Frm[#1]{ {\operatorname{Frm}(\Lang #1)} }\)
    \(\def\fundefined{ { \;\uparrow } }\)
    \(\def\funimage#1#2{ { #1[#2] } }\)
    \(\def\funrestrictionto#1#2{ { #1 \restriction_{#2} } }\)
    \(\newcommand{\ident}{\equiv}\)
    \(\newcommand{\indcase}[2]{#1 \ident #2\text{:}}\)
    \(\newcommand{\indcaseA}[2]{#1 \text{ is atomic:}}\)
    \(\def\indfrm{ { A } }\)
    \(\def\indfrmp{ { A } }\)
    \(\def\joinrel{\mathrel{\mkern-3mu}}\)
    \(\def\lambd[#1][#2]{\lambda #1 . #2}\)
    \(\def\Lang#1{ { \mathcal{#1} } }\)
    \(\def\LeftR#1{ { {#1}\mathrm{L} } }\)
    \(\def\len#1{ {\operatorname{len}(#1)} }\)
    \(\def\lexists#1#2{ { \exists #1\, #2 } }\)
    \(\def\lfalse{ {\bot} }\)
    \(\def\lforall#1#2{ { \forall#1\, #2 } }\)
    \(\newcommand{\lif}{\rightarrow}\)
    \(\newcommand{\liff}{\leftrightarrow}\)
    \(\def\Log#1{ { \mathbf{#1} } }\)
    \(\def\ltrue{ {\top} }\)
    \(\def\Id#1{ {\operatorname{Id}_#1} }\)
    \(\def\Int{ {\mathbb{Z}} }\)
    \(\def\Intro#1{ { {#1}\mathrm{Intro} } }\)
    \(\def\mModel#1{ { \mathfrak{#1} } }\)
    \(\newcommand{\mSat}[3][{}]{\mModel{#2}{#1}\Vdash{#3}}\)
    \(\newcommand{\mSatN}[3][{}]{\mModel{#2}{#1}\nVdash{#3}}\)
    \(\def\Nat{ {\mathbb{N}} }\)
    \(\def\nicefrac#1#2{ {{}^#1/_#2} }\)
    \(\def\num#1{ { \overline{#1} } }\)
    \(\def\ran#1{ {\operatorname{ran}(#1)} }\)
    \(\newcommand{\Obj}[1]{\mathsf{#1}}\)
    \(\def\Rat{ {\mathbb{Q}} }\)
    \(\def\Real{ {\mathbb{R}} }\)
    \(\def\RightR#1{ { {#1}\mathrm{R} } }\)
    \(\def\Part#1#2{ { \Atom{\Obj P}{#1, #2} } }\)
    \(\def\pto{ { \hspace{0.1 cm}\to\hspace{-0.44 cm}\vcenter{\tiny{\hbox{|}}}\hspace{0.35 cm} } }\)
    \(\def\PosInt{ {\mathbb{Z}^+} }\)
    \(\def\Pow#1{ {\wp(#1)} }\)
    \(\newcommand{\Proves}{\vdash}\)
    \(\newcommand{\ProvesN}{\nvdash}\)
    \(\def\Relbar{\mathrel{=}}\)
    \(\newcommand{\Sat}[3][{}]{\Struct{#2}{#1}\vDash{#3}}\)
    \(\newcommand{\SatN}[3][{}]{\Struct{#2}{#1}\nvDash{#3}}\)
    \(\newcommand{\Sequent}{\Rightarrow}\)
    \(\def\Setabs#1#2{ { \{#1:#2\} } }\)
    \(\newcommand{\sFmla}[2]{#1\,#2}\)
    \(\def\Struct#1{ {#1} }\)
    \(\def\subst#1#2{ { #1/#2 } }\)
    \(\def\Subst#1#2#3{ { #1[\subst{#2}{#3}] } }\)
    \(\def\TMblank{ { 0 } }\)
    \(\newcommand{\TMendtape}{\triangleright}\)
    \(\def\TMleft{ { L } }\)
    \(\def\TMright{ { R } }\)
    \(\def\TMstay{ { N } }\)
    \(\def\TMstroke{ { 1 } }\)
    \(\def\TMtrans#1#2#3{ { #1,#2,#3 } }\)
    \(\def\Trm[#1]{ {\operatorname{Trm}(\Lang #1)} }\)
    \(\def\True{ { \mathbb{T} } }\)
    \(\newcommand{\TRule}[2]{#2#1}\)
    \(\def\tuple#1{ {\langle #1 \rangle} }\)
    \(\newcommand{\Value}[3][\,]{\mathrm{Val}_{#1}^{#3}(#2)}\)
    \(\def\Var{ { \mathrm{Var} } }\)
    \(\newcommand{\varAssign}[3]{#1 \sim_{#3} #2}\)
    \(\def\Weakening{ { \text{W} } }\)

    Our first example is the following simple fact about unions and intersections of sets. It will illustrate unpacking definitions, proofs of conjunctions, of universal claims, and proof by cases.

    Proposition \(\PageIndex{1}\)

    For any sets \(A\), \(B\), and \(C\), \(A \cup (B \cap C) = (A \cup B) \cap (A \cup C)\)

    Let’s prove it!

    Proof. We want to show that for any sets \(A\), \(B\), and \(C\), \(A \cup (B \cap C) = (A \cup B) \cap (A \cup C)\)

    First we unpack the definition of “\(=\)” in the statement of the proposition. Recall that proving sets identical means showing that the sets have the same elements. That is, all elements of \(A \cup (B \cap C)\) are also elements of \((A \cup B) \cap (A \cup C)\), and vice versa. The “vice versa” means that also every element of \((A \cup B) \cap (A \cup C)\) must be an element of \(A \cup (B \cap C)\). So in unpacking the definition, we see that we have to prove a conjunction. Let’s record this:

    By definition, \(A \cup (B \cap C) = (A \cup B) \cap (A \cup C)\) iff every element of \(A \cup (B \cap C)\) is also an element of \((A \cup B) \cap (A \cup C)\), and every element of \((A \cup B) \cap (A \cup C)\) is an element of \(A \cup (B \cap C)\).

    Since this is a conjunction, we must prove each conjunct separately. Lets start with the first: let’s prove that every element of \(A \cup (B \cap C)\) is also an element of \((A \cup B) \cap (A \cup C)\).

    This is a universal claim, and so we consider an arbitrary element of \(A \cup (B \cap C)\) and show that it must also be an element of \((A \cup B) \cap (A \cup C)\). We’ll pick a variable to call this arbitrary element by, say, \(z\). Our proof continues:

    First, we prove that every element of \(A \cup (B \cap C)\) is also an element of \((A \cup B) \cap (A \cup C)\). Let \(z \in A \cup (B \cap C)\). We have to show that \(z \in (A \cup B) \cap (A \cup C)\).

    Now it is time to unpack the definition of \(\cup\) and \(\cap\). For instance, the definition of \(\cup\) is: \(A \cup B = \Setabs{z}{z \in A \text{ or } z \in B}\). When we apply the definition to “\(A \cup (B \cap C)\),” the role of the “\(B\)” in the definition is now played by “\(B \cap C\),” so \(A \cup (B \cap C) = \Setabs{z}{z \in A \text{ or } z \in B \cap C}\). So our assumption that \(z \in A \cup (B \cap C)\) amounts to: \(z \in \Setabs{z}{z \in A \text{ or } z \in B \cap C}\). And \(z \in \Setabs{z}{\dots z\dots}\) iff …\(z\) …, i.e., in this case, \(z \in A\) or \(z \in B \cap C\).

    By the definition of \(\cup\), either \(z \in A\) or \(z \in B \cap C\).

    Since this is a disjunction, it will be useful to apply proof by cases. We take the two cases, and show that in each one, the conclusion we’re aiming for (namely, “\(z \in (A \cup B) \cap (A \cup C)\)”) obtains.

    Case 1: Suppose that \(z \in A\).

    There’s not much more to work from based on our assumptions. So let’s look at what we have to work with in the conclusion. We want to show that \(z \in (A \cup B) \cap (A \cup C)\). Based on the definition of \(\cap\), if we want to show that \(z \in (A \cup B) \cap (A \cup C)\), we have to show that it’s in both \((A \cup B)\) and \((A \cup C)\). But \(z \in A \cup B\) iff \(z \in A\) or \(z \in B\), and we already have (as the assumption of case 1) that \(z \in A\). By the same reasoning—switching \(C\) for \(B\)\(z \in A \cup C\). This argument went in the reverse direction, so let’s record our reasoning in the direction needed in our proof.

    Since \(z \in A\), \(z \in A\) or \(z \in B\), and hence, by definition of \(\cup\), \(z \in A \cup B\). Similarly, \(z \in A \cup C\). But this means that \(z \in (A \cup B) \cap (A \cup C)\), by definition of \(\cap\).

    This completes the first case of the proof by cases. Now we want to derive the conclusion in the second case, where \(z \in B \cap C\).

    Case 2: Suppose that \(z \in B \cap C\).

    Again, we are working with the intersection of two sets. Let’s apply the definition of \(\cap\):

    Since \(z \in B \cap C\), \(z\) must be an element of both \(B\) and \(C\), by definition of \(\cap\).

    It’s time to look at our conclusion again. We have to show that \(z\) is in both \((A \cup B)\) and \((A \cup C)\). And again, the solution is immediate.

    Since \(z \in B\), \(z \in (A \cup B)\). Since \(z \in C\), also \(z \in (A \cup C)\). So, \(z \in (A \cup B) \cap (A \cup C)\).

    Here we applied the definitions of \(\cup\) and \(\cap\) again, but since we’ve already recalled those definitions, and already showed that if \(z\) is in one of two sets it is in their union, we don’t have to be as explicit in what we’ve done.

    We’ve completed the second case of the proof by cases, so now we can assert our first conclusion.

    So, if \(z \in A \cup (B \cap C)\) then \(z \in (A \cup B) \cap (A \cup C)\).

    Now we just want to show the other direction, that every element of \((A \cup B) \cap (A \cup C)\) is an element of \(A \cup (B \cap C)\). As before, we prove this universal claim by assuming we have an arbitrary element of the first set and show it must be in the second set. Let’s state what we’re about to do.

    Now, assume that \(z \in (A \cup B) \cap (A \cup C)\). We want to show that \(z \in A \cup (B \cap C)\).

    We are now working from the hypothesis that \(z \in (A \cup B) \cap (A \cup C)\). It hopefully isn’t too confusing that we’re using the same \(z\) here as in the first part of the proof. When we finished that part, all the assumptions we’ve made there are no longer in effect, so now we can make new assumptions about what \(z\) is. If that is confusing to you, just replace \(z\) with a different variable in what follows.

    We know that \(z\) is in both \(A \cup B\) and \(A \cup C\), by definition of \(\cap\). And by the definition of \(\cup\), we can further unpack this to: either \(z \in A\) or \(z \in B\), and also either \(z \in A\) or \(z \in C\). This looks like a proof by cases again—except the “and” makes it confusing. You might think that this amounts to there being three possibilities: \(z\) is either in \(A\), \(B\) or \(C\). But that would be a mistake. We have to be careful, so let’s consider each disjunction in turn.

    By definition of \(\cap\), \(z \in A \cup B\) and \(z \in A \cup C\). By definition of \(\cup\), \(z \in A\) or \(z \in B\). We distinguish cases.

    Since we’re focusing on the first disjunction, we haven’t gotten our second disjunction (from unpacking \(A \cup C\)) yet. In fact, we don’t need it yet. The first case is \(z \in A\), and an element of a set is also an element of the union of that set with any other. So case 1 is easy:

    Case 1: Suppose that \(z \in A\). It follows that \(z \in A \cup (B \cap C)\).

    Now for the second case, \(z \in B\). Here we’ll unpack the second \(\cup\) and do another proof-by-cases:

    Case 2: Suppose that \(z \in B\). Since \(z \in A \cup C\), either \(z \in A\) or \(z \in C\). We distinguish cases further:

    Case 2a: \(z \in A\). Then, again, \(z \in A \cup (B \cap C)\).

    Ok, this was a bit weird. We didn’t actually need the assumption that \(z \in B\) for this case, but that’s ok.

    Case 2b: \(z \in C\). Then \(z \in B\) and \(z \in C\), so \(z \in B \cap C\), and consequently, \(z \in A \cup (B \cap C)\).

    This concludes both proofs-by-cases and so we’re done with the second half.

    So, if \(z \in (A \cup B) \cap (A \cup C)\) then \(z \in A \cup (B \cap C)\). ◻

    • Was this article helpful?