Artificial intelligence (deterministic reasoning methods)

3. Deterministic reasoning method

Insert image description here

3.1 Basic concepts of reasoning

3.1.1 Definition of reasoning

Please add image description

3.1.2 Reasoning methods and their classification
推理方式
演绎推理deductive reasoning
归纳推理inductive reasoning
默认推理default reasoning
确定性推理 不确定性推理
单调推理 非单调推理
启发式推理 非启发式推理
三段论式 大前提 小前提 结论
完全归纳推理 不完全归纳推理
知识不完全的情况下假设某些条件已经具备而进行的推理
3.1.3 Direction of reasoning
推理方向
正向推理
逆向推理
混合推理 先正后逆
双向推理 正逆同时进行
3.1.4 Conflict resolution strategies
  • Targeted sorting

  • Sort known facts by freshness

  • Sort by match

  • Sort by number of conditions

  • Sort by contextual constraints

  • Sort by redundancy limit

  • Sort according to the characteristics of domain problems

3.2 Natural deductive reasoning

    从一组已知为真的事实出发,直接运用经典逻辑中的推理规则推出结论的过程

Inference rules: P rule, T rule, hypothetical reasoning, rejection reasoning

Insert image description here

3.3 Method of formulating predicates into clause sets

Insert image description here
Please add image description

Please add image description

Insert image description here

Insert image description here

Insert image description here

3.4 Herbrand’s theorem

1) H domain and Hebron’s theorem

Assume that the clause set of the predicate formula G is S, then the individual variable domain H constructed according to the following method is called the Hebron domain (Herbrand domain, referred to as H domain) of the formula G or the clause set S:

(1) Let H0 be the set of constants appearing in S. If no constant appears in S, just take a constant a∈D and stipulate H0=a.

(2) Let Hi+1=Hi∪{all elements of the form f(t1,...,tn) in S), where f(t1,...,tn) is any function symbol appearing in G , and t1,…,tn are elements in Hi. i=0, 1, 2,….

3.5 Robinson reduction principle

two keys

  • There is a conjunctive relationship between clauses in concentrated clauses

  • The empty clause is unsatisfiable

Basic idea

  • Negate the conclusion of the problem to be proved and add the clause set to obtain an expanded clause set S

  • Check whether the clause set S contains an empty clause. If it does, S cannot be satisfied.

  • If it is not included, select an appropriate clause in S to summarize. Once an empty clause is summarized, it means that S cannot satisfy

1) Principle of reduction in propositional logic (reduction of base clauses)

    设C1与C2是子句集中的任意两个子句,如果 C1中的文字L1与 C2中的文字L2互补,那么从C1和 C2中分别消去L1和L2,并将二个子句中余下的部分析取,构成一个新子句C12 。

Corollary 1: Suppose C 1 and C 2 are two clauses in the clause set S, and C 12 is their reduction formula. If C 12 is used to replace C 1 and C 2 to obtain a new clause set S 1 , then S 1 cannot Satisfiability can deduce the unsatisfiability of the atomic sentence set S. Corollary 1: Suppose C_1 and C_2 are two clauses in the clause set S, and C12 is their reduction formula. If C12 is used to replace C_1 and C_2, a new clause set S_1 is obtained, then the unsatisfiability of S_1 can be used to deduce the atomic sentence set S Insatisfiability.Corollary 1 : Let C1with C2are two clauses in the clause set S , and C 12 is their reduction formula. If C 12 is used instead of C1with C2Then we get the new clause set S1, then by S1The unsatisfiability can be derived from the unsatisfiability of the atomic sentence set S.

Corollary 2: Suppose C 1 and C 2 are two clauses in the clause set S, and C 12 is their reduction formula. If C 12 is added to the atomic sentence set S to obtain a new clause set S 1 , then S and S 1 are unsatisfiable are equivalent in the sense. Corollary 2: Suppose C_1 and C_2 are two clauses in the clause set S, and C12 is their reduction formula. If C12 is added to the atomic sentence set S to obtain a new clause set S_1, then S and S_1 are equivalent in an unsatisfiable sense. of.Corollary 2 : Suppose C1with C2are two clauses in the clause set S , and C 12 is their reduction formula. If C 12 is added to the atomic sentence set S , a new clause set S is obtained.1, then S and S1Equivalent in the sense of being unsatisfiable.

2) The principle of resolution in predicate logic (resolution of clauses containing variables)

Please add image description

3.6 Reductive inversion

Insert image description here

3.7 Apply the principle of reduction to solve problems

Guess you like

Origin blog.csdn.net/weixin_64625466/article/details/133438177