命题变元代入

来自GSXAB的知识库
代入
术语名称 代入
英语名称 subtitution

命题变元代入(subtitution)指在一个命题公式中,将某个命题变元的全体出现,全部用另一个公式来替换的操作。

定义

代入

从全体命题变元所构成的集合到全体公式所构成的集合的映射,称为一个代入(substitution)。

对于把 [math]\displaystyle{ p_1, \dots, p_n }[/math] 分别替换为 [math]\displaystyle{ \phi_1, \dots, \phi_n }[/math] 的代入,也记作 [math]\displaystyle{ \phi_1/p_1, \dots, \phi_n/p_n }[/math] 。这一能用 [math]\displaystyle{ n }[/math] 个列出的情况称为有穷代入

注:特别地,映射可以将部分个体变量投影到其自身,即映射 [math]\displaystyle{ s }[/math] 允许存在某个 [math]\displaystyle{ s(p_i)=p_i }[/math]

公式的代入

对任意公式 [math]\displaystyle{ \phi }[/math] 和代入 [math]\displaystyle{ s }[/math] ,递归地定义公式 [math]\displaystyle{ \phi }[/math] 做代入 [math]\displaystyle{ s }[/math] 的结果 [math]\displaystyle{ \phi(s) }[/math] 为:

  1. [math]\displaystyle{ \phi }[/math] 是命题变元 [math]\displaystyle{ p }[/math] ,则 [math]\displaystyle{ \phi(s)=s(p) }[/math]
  2. [math]\displaystyle{ \phi }[/math][math]\displaystyle{ \lnot\psi }[/math] ,则 [math]\displaystyle{ \phi(s)=\lnot(\psi(s)) }[/math]
  3. [math]\displaystyle{ \phi }[/math][math]\displaystyle{ \psi\odot\chi, \circ\in C_2 }[/math] ,则 [math]\displaystyle{ \phi(s)=\psi(s) \odot \chi(s) }[/math]


谓词逻辑/一阶逻辑
命题结构 个体词(个体常项、个体变项)、个体域、函项、项谓词(谓词常项、谓词变项)
量词(辖域、出现)全称量词 [math]\displaystyle{ \forall }[/math]存在量词 [math]\displaystyle{ \exists }[/math]
谓词公式 解释/模型赋值
分类 普遍有效公式、可满足式、不可满足式
范式 前束范式Skolem 范式