Proof Formats For CS350: Recommended Format
Proof Formats For CS350: Recommended Format
Andrew P. Black
In this note I recommend a format that has a minimal amount of English wrapped around the mathematics —
enough so that we can follow the argument, but not so much that it’s tedious to write.
Recommended format
We are required to prove that Θ(g(n)) = O(g(n)) ∩ Ω(g(n)). The proof is in two parts.
First we prove that Θ(g(n)) ⊆ O(g(n)) ∩ Ω(g(n)):
because A ⊆ B ∧ A ⊇ B ⇒ A = B
Q.E.D.
1
2
We are required to prove that Θ(g(n)) = O(g(n)) ∩ Ω(g(n)). The proof is in two parts; here I’m showing
just the first part, because it’s wordy.
First we prove that Θ(g(n)) ⊆ O(g(n)) ∩ Ω(g(n)):
• We start by considering an arbitrary function f (n) that is in Θ(g(n))
• Similarly, if we elide the second inequality, and substitute c for c1 , this gives us
• From the definition of ∩ for sets, we know that line 17 and line 19 together imply that
• Recall the assumption (line 14) that f (n) was an arbitrary function in Θ(g(n)). So we have, using
line 14, the rule of universal generalization, and line 20
Now you would need to do the same for the second (superset) part of the proof. You may find that this
format is clearer, but it’s a lot longer: remember that the above proof is just lines 1–5 of the recommended
format. More experienced students will find that the additional text obscures, rather than clarifies, what’s
going on.