This document shows how to write theorems and proofs, The specific example is a theorem about rational numbers:
Proof. We assume that \(q\) is a rational number and \(n\) is an integer, and will show that \(q+n\) must be rational. Since \(q\) is rational, we can write \(q = \frac {a}{b}\) where \(a\) and \(b\) are integers and \(b \ne 0\). We also observe that \(n = \frac {nb}{b}\). Therefore