TOPICS
Search

Formal Proof


A formal proof is a derivation of a proposition in a specified formal language from explicit axioms and assumptions by the system's rules of inference. The rules specify which derivation steps are valid, so a proof checker can verify that a fully formal derivation establishes its stated conclusion under those assumptions.

In Lean, a proposition is represented by a type and a formal proof by a term of that type. The kernel checks the type of the proof term. For example, a proof of P=>Q can be given by a function that takes a proof of P and returns a proof of Q. Checking a formal proof establishes the theorem as expressed in the formal language. Comparing that statement and its assumptions with an informal mathematical claim is a separate step.


See also

Axiom, Formal Language, Proof, Proof Theory, Proposition

Explore with Wolfram|Alpha

References

Lean Project. "Propositions and Proofs." In Theorem Proving in Lean 4. https://lean-lang.org/theorem_proving_in_lean4/Propositions-and-Proofs/.Lean Project. "Validating a Lean Proof." The Lean Language Reference. https://lean-lang.org/doc/reference/latest/ValidatingProofs/.

Cite this as:

Weisstein, Eric W. "Formal Proof." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/FormalProof.html

Subject classifications