東京大学 情報理工学系研究科 コンピュータ科学専攻 2019年8月実施 専門科目II 問題1
Author
祭音Myyura (co-authored with GPT 5.6 SOL)
Description
Let be a propositional variable, and be a literal (i.e., a propositional variable or negation of a propositional variable). In this problem, a propositional formula of the following form is called a clause.
If , it is of the form , and if , it is of the form . Hereinafter, is a set of clauses, and is a set of propositional variables. If all clauses in are true under the interpretation in which all propositional variables in are true and the other variables are false, then is called a model of . The inclusion relation between sets is naturally defined between models.
Answer the following questions.
(1) Let . Enumerate all the subsets of that are models of .
We write for the set of clauses obtained from by (i) removing all the clauses that contain negation of a propositional variable in in the left hand side of , and then (ii) deleting all the negated literals (negation of propositional variables) from the remaining clauses.
(2) For in question (1), if , what is ?
(3) Show that if a model of satisfies , then is a model of .
(4) Show that if a model of satisfies , then is a model of .
(5) For and in question (2), obtain the minimum model of . Here, a model of is called a minimum model of if holds for every model of .
(6) Show that if the minimum model of coincides with , then is a minimal model of . Here, a model of is called a minimal model of if there does not exist any model of such that .
(7) Is a minimal model of always a minimum model of ? If so, prove the fact. Otherwise, give a counterexample.
题目描述
设 为命题变量, 为文字(命题变量或其否定)。本题称
为子句; 时即为 。设 为子句集, 为命题变量集,将 中的变量赋真,其余赋假。若所有子句均成立,则称 为 的模型,模型之间使用通常的集合包含关系。
(1)令
枚举 的所有满足 的子集。
定义 :先删除 中前件含有 且 的全部子句,再从剩余子句中删去全部否定文字。
(2)对 ,求 。
(3)证明:若 是 的模型且 ,则 是 的模型。
(4)证明:若 是 的模型且 ,则 是 的模型。
(5)求第(2)问所得子句集的最小模型。最小模型是包含于该子句集每个模型的模型。
(6)证明:若 的最小模型恰为 ,则 是 的极小模型,即不存在 的模型 。
(7) 的极小模型 是否必是 的最小模型?若是则证明,否则举反例。
Kai
(1)
必为真。若 假,则 必真;若 假,则 必真。因此所有模型为
(2)
最后一条子句含 ,被删除;第三条中的 被去掉。因此
(3)
考察 的任一子句。若它被删除,则其前件含 ,其中 ;故前件在 下为假,子句成立。
若它被保留,当原前件在 下为真时,其中全部正文字也为真。由于 满足删去否定文字后的子句,结论必真。因此原子句成立。
(4)
任取 中的子句。原子句中的每个否定文字 都有 ,故 。若保留下来的正前件在 中为真,则原前件也为真,由 满足 可得结论为真。故 满足 。
(5)
由事实 依次推出 ,且 满足全部子句,故最小模型为
(6)
由(3)取 可知 是 的模型。若存在 的模型 ,则由(4), 也是 的模型。但 是后者的最小模型,应有 ,矛盾。故 极小。
(7)
不一定。取
为假时子句不成立,所以 是唯一的模型,当然极小。然而 ,其最小模型为 。