In mathematical logic, a redundant proof is a proof that has a subset that is a shorter proof of the same result. In other words, a proof is redundant if it has more proof steps than are actually necessary to prove the result. Formally, a proof of is considered redundant if there exists another proof of such that (i.e. ) and where is the number of nodes in .[1]
A proof containing a subproof of the shapes (here omitted pivots[further explanation needed] indicate that the resolvents must be uniquely defined)
is locally redundant.
Indeed, both of these subproofs can be equivalently replaced by the shorter subproof . In the case of local redundancy, the pairs of redundant inferences having the same pivot occur close to each other in the proof. However, redundant inferences can also occur far apart in the proof.
The following definition generalizes local redundancy by considering inferences with the same pivot that occur within different contexts. We write to denote a proof-context with a single placeholder replaced by the subproof .
is locally redundant as it is an instance of the first pattern in the definition
The pattern is
But it is not globally redundant because the replacement terms according to the definition contain in all the cases and does not correspond to a proof. In particular, neither nor can be resolved with , as they do not contain the literal .
The second pattern of potentially globally redundant proofs appearing in global redundancy definition is related to the well-known[further explanation needed] notion of regularity[further explanation needed]. Informally, a proof is irregular if there is a path from a node to the root of the proof such that a literal is used more than once as a pivot in this path.