Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
sav08:deriving_propositional_resolution [2008/03/11 23:08] vkuncak |
sav08:deriving_propositional_resolution [2008/03/19 17:13] tatjana |
||
---|---|---|---|
Line 3: | Line 3: | ||
We next consider proof rules for checking [[Satisfiability of Sets of Formulas]]. | We next consider proof rules for checking [[Satisfiability of Sets of Formulas]]. | ||
- | We extending the notion of [[Substitution Theorems for Propositional Logic|substitution on formulas]] to sets of formulas by | + | We are extending the notion of [[Substitution Theorems for Propositional Logic|substitution on formulas]] to sets of formulas by |
\[ | \[ | ||
subst(\sigma,S) = \{ subst(\sigma,F) \mid F \in S \} | subst(\sigma,S) = \{ subst(\sigma,F) \mid F \in S \} | ||
Line 12: | Line 12: | ||
We first derive a more abstract proof system and that show that resolution is a special case of it. | We first derive a more abstract proof system and that show that resolution is a special case of it. | ||
+ | |||
==== Key Idea ==== | ==== Key Idea ==== | ||
Line 41: | Line 42: | ||
Then we conclude that $\exists p. S$ is equivalent to $ProjectSet(S,p)$ defined by | Then we conclude that $\exists p. S$ is equivalent to $ProjectSet(S,p)$ defined by | ||
\[ | \[ | ||
- | Proj(S,p) = \{ ProjectForm(F_1,F_2,p) \mid F_1,F_2 \in S \} | + | ProjectSet(S,p) = \{ ProjectForm(F_1,F_2,p) \mid F_1,F_2 \in S \} |
\] | \] | ||
+ | |||
==== Projection Proof Rules ==== | ==== Projection Proof Rules ==== | ||
Line 53: | Line 55: | ||
\] | \] | ||
The soundness of projection rule follows from the fact that | The soundness of projection rule follows from the fact that | ||
- | for every interpretation $I$, if $I \models S$, then also $I \models Proj(S,p)$. | + | for every interpretation $I$, if $I \models S$, then also $I \models ProjectSet(S,p)$. |
Applying the projection rule we obtain formulas with fewer and fewer variables. We therefore also add the "ground contradiction rule" | Applying the projection rule we obtain formulas with fewer and fewer variables. We therefore also add the "ground contradiction rule" | ||
Line 89: | Line 91: | ||
A = \bigcup_{i=1}^M P_i(S) | A = \bigcup_{i=1}^M P_i(S) | ||
\] | \] | ||
- | By definition of $P_i$, we can show that the set $A$ contains each conjunct of the conjunctive normal form of the expansion of | + | By definition of $P_i$, we can show that the set $A$ contains the conjunctive normal form of the expansion of |
\[ | \[ | ||
\exists p_1,\ldots,p_M. (F_1 \land \ldots \land F_n) | \exists p_1,\ldots,p_M. (F_1 \land \ldots \land F_n) | ||
\] | \] | ||
- | All these conjuncts are ground, so they evaluate to either //true// or //false//. By assumption, $P^*(S)$ and therefore $A$ do not contain ground contradiction. Therefore, all these conjuncts are true, so $\exists p_1,\ldots,p_M. (F_1 \land \ldots \land F_n)$ is true and $T$ is satisfiable. | + | Each of these conjuncts is a ground formula (all variables $p_1,\ldots,p_M$ have been instantiated), so the formula evaluates to either //true// or //false//. By assumption, $P^*(S)$ and therefore $A$ do not contain a ground contradiction. Therefore, each conjunct of $\exists p_1,\ldots,p_M. (F_1 \land \ldots \land F_n)$ is true and $T$ is satisfiable. |
- | + | ||
- | ==== Improvement: Simplification Rules ==== | + | |
- | + | ||
- | Of course, we do not need to wait until we reach a ground contradiction. Whenever we substitute variable with //true// or //false//, we can immediately simplify the formula using sound simplification rules. | + | |
- | + | ||
- | When we introduce simplifications we still manipulate equivalent formulas, so soundness and completeness remain the same. | + | |
==== Improvement: Subsumption Rules ==== | ==== Improvement: Subsumption Rules ==== | ||
- | Note also that if $\models (F \rightarrow G)$ and $F$ has been derived before, then deriving $G$ does not help derive a ground contradiction, because the contradiction would also be derived using $F$. If we derive such formula, we can immediately delete it so that it does not slow us down. | + | Note also that if $\models (F \rightarrow G)$, where $F$ has been derived before, and $FV(G) \subseteq FV(F)$, then deriving $G$ does not help derive a ground contradiction, because the contradiction would also be derived using $F$. If we derive such formula, we can immediately delete it so that it does not slow us down. |
In particular, a ground true formula can be deleted. | In particular, a ground true formula can be deleted. | ||
Line 140: | Line 136: | ||
Therefore, for clauses, projection (with some elimination of redundant conclusions) is exactly the resolution proof rule. | Therefore, for clauses, projection (with some elimination of redundant conclusions) is exactly the resolution proof rule. | ||
- |