QED, a Latin phrase meaning "which was to be demonstrated," marks the conclusion of a mathematical proof or logical argument.…