# Q.E.D.

Q.E.D. or QED is an initialism of the Latin phrase quod erat demonstrandum, meaning "that which was to be demonstrated". Literally, it states "what was to be shown". Traditionally, the abbreviation is placed at the end of mathematical proofs and philosophical arguments in print publications, to indicate that the proof or the argument is complete.

## Etymology and early use

The phrase quod erat demonstrandum is a translation into Latin from the Greek ὅπερ ἔδει δεῖξαι (hoper edei deixai; abbreviated as ΟΕΔ). The meaning of the Latin phrase is "that [thing] which was to be demonstrated" (with demonstrandum in the gerundive). However, translating the Greek phrase ὅπερ ἔδει δεῖξαι can produce a slightly different meaning. In particular, since the verb "δείκνυμι" means both to show or to prove, a different translation from the Greek phrase would read "The very thing it was required to have shown."
The Greek phrase was used by many early Greek mathematicians, including Euclid and Archimedes.
The Latin phrase is attested in a 1501 Euclid translation of Giorgio Valla. Its abbreviation q.e.d. is used once in 1598 by Johannes Praetorius, more in 1643 by Anton Deusing, extensively in 1655 by Isaac Barrow in the form Q.E.D., and subsequently by many post-Renaissance mathematicians and philosophers.

## Modern philosophy

During the European Renaissance, scholars often wrote in Latin, and phrases such as Q.E.D. were often used to conclude proofs.
Perhaps the most famous use of Q.E.D. in a philosophical argument is found in the Ethics of Baruch Spinoza, published posthumously in 1677. Written in Latin, it is considered by many to be Spinoza's magnum opus. The style and system of the book are, as Spinoza says, "demonstrated in geometrical order", with axioms and definitions followed by propositions. For Spinoza, this is a considerable improvement over René Descartes's writing style in the Meditations, which follows the form of a diary.

## Difference from Q.E.F.

There is another Latin phrase with a slightly different meaning, usually shortened similarly, but being less common in use. Quod erat faciendum, originating from the Greek geometers' closing ὅπερ ἔδει ποιῆσαι (hoper edei poiēsai), meaning "which had to be done". Because of the difference in meaning, the two phrases should not be confused.
Euclid used the Greek original of Quod Erat Faciendum (Q.E.F.) to close propositions that were not proofs of theorems, but constructions of geometric objects. For example, Euclid's first proposition showing how to construct an equilateral triangle, given one side, is concluded this way.

## Equivalent forms

There is no common formal English equivalent, although the end of a proof may be announced with a simple statement such as "thus it is proved", "this completes the proof", "as required", "as desired", "as expected", "hence proved", "ergo", "so correct", or other similar phrases.

## Typographical forms used symbolically

Due to the paramount importance of proofs in mathematics, mathematicians since the time of Euclid have developed conventions to demarcate the beginning and end of proofs. In printed English language texts, the formal statements of theorems, lemmas, and propositions are set in italics by tradition. The beginning of a proof usually follows immediately thereafter, and is indicated by the word "proof" in boldface or italics. On the other hand, several symbolic conventions exist to indicate the end of a proof.
While some authors still use the classical abbreviation, Q.E.D., it is relatively uncommon in modern mathematical texts. Paul Halmos claims to have pioneered the use of a solid black square (or rectangle) at the end of a proof as a Q.E.D. symbol, a practice which has become standard, although not universal. Halmos noted that he adopted this use of a symbol from magazine typography customs in which simple geometric shapes had been used to indicate the end of an article, so-called end marks. This symbol was later called the tombstone, the Halmos symbol, or even a halmos by mathematicians. Often the Halmos symbol is drawn on chalkboard to signal the end of a proof during a lecture, although this practice is not so common as its use in printed text.
The tombstone symbol appears in TeX as the character $\blacksquare$ (filled square, \blacksquare) and sometimes, as a $\square$ (hollow square, \square or \Box). In the AMS Theorem Environment for LaTeX, the hollow square is the default end-of-proof symbol. Unicode explicitly provides the "end of proof" character, U+220E (∎). Some authors use other Unicode symbols to note the end of a proof, including, ▮ (U+25AE, a black vertical rectangle), and ‣ (U+2023, a triangular bullet). Other authors have adopted two forward slashes (//, $//$) or four forward slashes (////, $////$). In other cases, authors have elected to segregate proofs typographically—by displaying them as indented blocks.

## Modern "humorous" use

In Joseph Heller's 1961 novel Catch-22, the Chaplain, having been told to examine a forged letter allegedly signed by him (which he knew he didn't sign), verified that his name was in fact there. His investigator replied, "Then you wrote it. Q.E.D." The chaplain said he did not write it and that it was not his handwriting, to which the investigator replied, "Then you signed your name in somebody else's handwriting again."