How to prove an existentially quantified statement [01AR]
- September 24, 2026
- Marcelo Fiore, Jon Sterling
To prove a goal of the form \exists x:\tau \mathpunct {.} P(x)\text {,} we must find a witness: that is, an individual w of type \tau for which we expect that P(w) will hold, and then we prove that P(w) holds.
Existential instantiation in written proofs [01AS]
- September 24, 2026
- Marcelo Fiore, Jon Sterling
If your goal is of the form \exists x:\tau \mathpunct {.} P(x) and you are ready to prove it, you might consider the following template:
We must exhibit some x:\tau such that P(x) holds; to that end, consider x \coloneqq \textit {[some appropriate element]}. It remains to show that [\textit {some approriate element}] satisfies P: [now prove it].
Proposition [01AT]
- September 24, 2026
- Marcelo Fiore, Jon Sterling
For every positive integer k, there exist natural numbers i and j such that 4k= i^2-j^2.
Translate the above into mathematical symbols using \forall , \exists , and =. Once you’ve made an attempt, click here to reveal a possible solution.
\forall k:\mathbb {Z}^+\mathpunct {.} \exists i:\mathbb {N}\mathpunct {.} \exists j:\mathbb {N}\mathpunct {.} 4k=i^2-j^2We may also write the following for short:
\forall k:\mathbb {Z}^+\mathpunct {.} \exists i,j:\mathbb {N}\mathpunct {.} 4k=i^2-j^2Scratch work.
- September 24, 2026
- Marcelo Fiore, Jon Sterling
We will try to get an intuition by looking for a pattern.
| k | i | j |
|---|---|---|
| 1 | 2 | 0 |
| 2 | 3 | 1 |
| 3 | 4 | 2 |
| \vdots | ||
| n | n+1 | n-1 |
| \vdots |
Try to transform the scratch reasoning above into a proper written proof; once you have made an attempt, you may click here to reveal a possible proof.
Proof.
- September 24, 2026
- Marcelo Fiore, Jon Sterling
Let k be a positive integer. We need to choose naturals i and j such that 4k=i^2-j^2. To that end, consider i\coloneqq k+1 and j\coloneqq k-1. Then,
\begin {aligned} i^2-j^2 &= (k+1)^2 - (k-1)^2\\ &= (k^2 + 2k +1) - (k^2 - 2k + 1)\\ &= k^2 + 2k + 1 - k^2 + 2k - 1\\ &= 4k\text {.} \end {aligned}We are done.
As you can see, sometimes you need to do a bit of scratch work before you can know how to proceed in a proof. The written proof in the end does not always include all the thinking that led to the good choices you have made; a great proof will make your choices seem inevitable, but in number theory that is not as often possible as one might desire.
Proposition [01AU]
- September 24, 2026
- Marcelo Fiore, Jon Sterling
For every positive integer n, there exists a natural number l such that 2^l \leq n < 2^{l+1}.
In other words:
\forall n:\mathbb {Z}^+\mathpunct {.} \exists l:\mathbb {N}\mathpunct {.} 2^l \leq n < 2^{l+1}Proof.
- September 24, 2026
- Marcelo Fiore, Jon Sterling
Let n be a positive integer. We note that n = 2^{\log _2 n}, so our goal is equivalently to find some l:\mathbb {N} such that 2^l\leq 2^{\log _2n}<2^{l+1}. Because the exponential function is strictly increasing, it suffices to find some l:\mathbb {N} such that l\leq \log _2n <{l+1}.
To that end, we consider l\coloneqq \lfloor \log _2n\rfloor , i.e. the floor of \log _2n. Clearly we have \lfloor \log _2n\rfloor \leq \log _2n; to check that \log _2 n < \lfloor \log _2n\rfloor +1, we note that the difference \log _2n - \lfloor \log _2n\rfloor must be strictly smaller than 1.