In mathematics, a proof is a demonstration that, given certain axioms, some statement of interest is necessarily true.
Proofs employ logic but usually include some amount of natural language which of course admits some ambiguity. In the context of proof theory, where purely formal proofs are considered, such not entirely formal demonstrations are called "social proofs". The distinction has led to much examination of current and historical mathematical practice, quasi-empiricism in mathematics, and so-called folk mathematics (in both senses of that term). The philosophy of mathematics is concerned with the role of language and logic in proofs, and mathematics as a language.
Regardless of one's attitude to formalism, the result that is proved to be true is a theorem; in a completely formal proof it would be the final line, and the complete proof shows how it follows from the axioms alone. Once a theorem is proved, it can be used as the basis to prove further statements. The so-called foundations of mathematics are those statements one cannot, or need not, prove. These were once the primary study of philosophers of mathematics. Today focus is more on practice, i.e. acceptable techniques.
Some common proof techniques are:
If we are trying to prove, for example, "Some X satisfies f(X)", an existence or nonconstructive proof will prove that there is a X that satisfies f(X), but does not tell you how such an X will be obtained. A constructive proof, conversely, will do so.
A statement which is thought to be true but hasn't been proven yet is known as a conjecture.
Sometimes it is possible to prove that a certain statement cannot possibly be proven from a given set of axioms; see for instance the continuum hypothesis. In most axiom systems, there are statements which can neither be proven nor disproven; see Gödel's incompleteness theorem.
See also: