AI Glossary / Graphs and symbolic AI / Intermediate

Proof

Definition

A proof is a justified derivation showing that a conclusion follows from stated assumptions under accepted rules of reasoning. In formal AI reasoning, a proof can be represented as a sequence or structured collection of inference steps that a checker can examine. Its guarantee concerns the specified assumptions and logic, rather than automatically establishing that every assumption describes reality.

What it means

A conclusion may sound persuasive without being proved. A proof makes the connection from premises to conclusion explicit enough to assess. In a formal system, each step must be an assumption, an axiom, or the result of an allowed inference rule applied to earlier material.
The distinction between truth and derivability matters. Semantic entailment means a conclusion holds in every interpretation satisfying the premises. Syntactic derivability means a permitted proof establishes it. Soundness connects the two: valid derivations do not lead from true premises to a false conclusion. Completeness concerns whether all relevant entailed conclusions can be derived in the proof system.

How it works

State the proposition to establish and the assumptions available. Choose a proof method and apply justified steps until reaching the conclusion. A direct proof may repeatedly apply rules such as modus ponens: from P and “if P then Q,” infer Q. A proof by contradiction instead shows that the premises together with the negated conclusion are inconsistent.
An automated prover searches for such a derivation; a proof checker verifies a supplied derivation. Those tasks differ: finding the right steps may be much harder than checking them. The meaning of a verified result depends on the formal definitions, assumptions, and correctness of the trusted checking mechanism.

Three practical examples

  • A rule-based catalog can establish that an item belongs to a broad category by following explicit subclass and membership rules.
  • A software verification exercise can prove a property of a small program under a specified input contract.
  • A symbolic question-answering system can provide a derivation explaining which stored facts and inference rules support its answer.

Think of it this way

Think of a chain whose links connect an assumption to a conclusion. Every link must be justified, and the starting anchor must be identified. The analogy is limited because proofs can branch and combine several premises; they are not always linear chains. Also, a strong chain attached to the wrong starting anchor does not establish the real-world claim someone intended.

Worked example

Consider an invented propositional knowledge base with four premises: R; R implies C; C implies A; and A implies P. Interpret R as “the document has a reviewed record,” C as “the document meets the modeled checklist,” A as “approval is recorded,” and P as “publication is permitted by the modeled rules.”
Step 1: R is a premise. Step 2: from R and R implies C, infer C by modus ponens. Step 3: from C and C implies A, infer A. Step 4: from A and A implies P, infer P. Three inference applications establish the conclusion from the four premises.
This proves P relative to that knowledge base. If the real workflow requires an additional image-permission check absent from the model, the proof does not supply it. Conversely, knowing P would not justify reversing the chain to infer R. For example, an alternative approval route could make P true while R is false, without violating any of these implications once R itself is omitted.

Illustrative case study

Fictional case: Oakline Publishing asks a prototype assistant to explain why a page is eligible for release. The system supplies a trace of rules connecting review status to the release condition. An editor checks the trace and discovers that an imported approval fact refers to an older page version.
The inference steps are valid, but the premise does not describe the current page. The team adds document-version identifiers to the representation and revises the relevant facts. This fictional case illustrates the difference between validating a derivation and validating its evidence. No real publishing result or performance claim is intended.

Common misconceptions and mistakes

Do not treat many successful tests as a proof of a universal claim. Tests establish facts about tested cases unless a separate argument covers the remainder. Do not reverse an implication merely because its conclusion is true; that is the familiar mistake of affirming the consequent.
A prover timing out is not generally a proof that a conjecture is false. Failure to find a proof must be interpreted according to the procedure and logic. In classical logic, inconsistent premises can entail any statement, so consistency matters when interpreting an apparent success. A polished natural-language explanation also needs scrutiny if no checkable derivation supports it.

Business use

Proofs can help when a decision requires an inspectable justification, particularly where rules are explicit and a claim can be formalized precisely. They make it possible to separate disagreement about an inference step from disagreement about a starting assumption or definition.
For a business prototype, choose a narrow claim and record its scope. Ask a domain reviewer whether the formal statement matches the intended requirement. Keep the proof linked to the versions of rules and facts used to generate it. If those inputs change, the earlier result may no longer answer the current question, even though its original derivation remains valid.

People also ask

Is a proof the same as a high confidence score?

No. A proof establishes a logical relationship under assumptions; a confidence score expresses a different kind of assessment.

Can a true statement lack a discovered proof?

Yes. Search limitations may prevent finding one, and the available proof system or assumptions may not suffice.

Does automated proof checking remove every source of error?

No. The formalization, assumptions, checker, and its supporting system still determine what has actually been established.

Check your understanding

If the knowledge base contains C implies A and A, may the system infer C using modus ponens?

Answer: No. Modus ponens requires C together with C implies A to infer A. A alone does not establish C. A counterexample has C false and A true: both the implication and A hold, while the proposed conclusion C fails.

Related terms

  • Inference rules
  • Axiom
  • Modus ponens
  • Completeness
  • Logical entailment
  • inference rule
  • theorem
  • soundness
  • proof checker
  • automated theorem proving
  • formal verification

Learn next

Learn entailment and sound inference next. Write a small truth table for C implies A and A, then identify the row that blocks the invalid reverse inference. Afterward, add an explicit extra premise and determine whether it provides a legitimate route to the desired conclusion.

More in Graphs and symbolic AI

  • Procedural attachment - Procedural attachment connects a symbol or query in a knowledge-based reasoning system to an executable procedure.
  • Product rule - The product rule in probability calculates the chance that two events both occur by multiplying the probability of one event by the conditional probability...
  • Progression planning - Progression planning searches forward from an initial state by applying actions whose preconditions are satisfied and calculating their effects.
  • Proof-number search - Proof-number search is a best-first search method for proving or disproving a proposition represented by an AND - OR tree.
  • Proposition symbol - A proposition symbol is an atomic symbol used to represent a statement in propositional logic.
  • Propositional logic - Propositional logic is a formal system for reasoning with statements that are treated as true or false and combined using logical connectives.

Sources

Stuart Russell and Peter Norvig, AIMA Chapter 7 teaching slides, entailment, soundness and proof methods: https://aima.cs.berkeley.edu/slides-pdf/chapter07.pdf Cleo Condoravdi and colleagues, Natural Language Access to Data: It Takes Common Sense!, deductive question-answering example: https://www.sri.com/wp-content/uploads/2021/12/2006.pdf

Previous: Pronunciation assessment Next: Proof by Contradiction

  • Home
  • Daily AI Updates
  • Blog
  • AIFBL Academy
  • AI Glossary
  • Products and Tools
  • Store
  • Free CFO AI Prompt Pack
  • About Shihan Sheriff
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Cookie Policy
  • Earnings Disclaimer