on
Exemplary Structured Proof by Leslie Lamport
The following contains the structured proof as presented by Leslie Lamport’s How to Write a Proof. This example is meant to illustrate how structured proofs are converted from LaTeX to a more interactive format.
You can traverse the proof by using either the mouse, arrow keys, or vi navigation keys.
A proof of the irrationality of
Theorem There does not exist in Q such that .
Proof sketch: We assume for and obtain a contradiction. Writing , where and have no common divisors (step ), we deduce from and the lemma that both and must be divisible by 2 ( and ). Assume:
-
1.
-
2.
Prove: False
. Choose , in Z such that (1) , and (2)
. Choose , in Z such that and .
Proof: By assumption :1.
. Let
.
Proof: and definition of and .
.
| Proof: | [Definition of and ] | |
| = | [Simple algebra] | |
| = | [By ] |
.
Proof: By the definition of the gcd, it suffices to: Assume:
-
1.
divides
-
2.
divides
Prove:
. divides .
Proof: :1 and the definition of .
. divides .
Proof: :2 and definition of .
Q.E.D.
Proof: , , and the definition of gcd.
Q.E.D.
. 2 divides .
.
Proof: .1 implies .
Q.E.D.
Proof: By and the lemma.
. 2 divides .
. Choose in Z such that .
Proof: By .
.
| Proof: 2 | = | [.2 and :2] |
| = | [] | |
| = | [Algebra] | |
| from which the result follows easily by algebra. |
Q.E.D.
Proof: By and the lemma.
Q.E.D.
Proof: .1, , , and definition of gcd.