命题变元代入:修订间差异
创建页面,内容为“分类:命题逻辑 {{InfoBox |name=代入 |eng_name=subtitution }} 对命题变元的'''代入'''('''subtitution''')指在一个命题公式中,将某个命题变元的全体出现,全部用另一个公式来替换的操作。 == 定义 == === 代入 === 从全体命题变元所构成的集合到全体公式所构成的集合的映射,称为一个'''代入'''('''substitution''')。 对于把 <math>p_1, \dots, p_n</math> 分别替…” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
[[分类:命题逻辑]] | [[分类:命题逻辑]] | ||
[[分类:谓词逻辑]]{{DEFAULTSORT:ming4ti2bian4yuan2dai4ru4}} | |||
{{#seo: | |||
|keywords=命题变元代入 | |||
|description=本文介绍命题公式或谓词公式中个体变项代入这一操作的定义。 | |||
|modified_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}} | |||
|published_time=2023-07-09 | |||
}} | |||
{{InfoBox | {{InfoBox | ||
|name=代入 | |name=代入 | ||
|eng_name=subtitution | |eng_name=subtitution | ||
}} | }} | ||
对[[命题|命题变元]]的'''代入'''('''subtitution''')指在一个[[命题公式]] | 对[[命题|命题变元]]的'''代入'''('''subtitution''')指在一个[[命题公式]](或[[谓词公式]])中,将某个命题变元的全体出现,全部用另一个公式来替换的操作。 | ||
== 定义 == | == 定义 == | ||
| 第22行: | 第29行: | ||
# 若 <math>\phi</math> 是 <math>\lnot\psi</math> ,则 <math>\phi(s)=\lnot(\psi(s))</math> 。 | # 若 <math>\phi</math> 是 <math>\lnot\psi</math> ,则 <math>\phi(s)=\lnot(\psi(s))</math> 。 | ||
# 若 <math>\phi</math> 是 <math>\psi\odot\chi, \circ\in C_2</math> ,则 <math>\phi(s)=\psi(s) \odot \chi(s)</math> 。 | # 若 <math>\phi</math> 是 <math>\psi\odot\chi, \circ\in C_2</math> ,则 <math>\phi(s)=\psi(s) \odot \chi(s)</math> 。 | ||
<math>\psi(s)</math> 也记作 <math>\psi[\phi_1/p_1, \cdots, \phi_n/p_n]</math> 。 | |||
{{谓词逻辑}} | {{谓词逻辑}} | ||
2026年1月8日 (四) 05:43的版本
| 代入 | |
|---|---|
| 术语名称 | 代入 |
| 英语名称 | 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] 为:
- 若 [math]\displaystyle{ \phi }[/math] 是命题变元 [math]\displaystyle{ p }[/math] ,则 [math]\displaystyle{ \phi(s)=s(p) }[/math] 。
- 若 [math]\displaystyle{ \phi }[/math] 是 [math]\displaystyle{ \lnot\psi }[/math] ,则 [math]\displaystyle{ \phi(s)=\lnot(\psi(s)) }[/math] 。
- 若 [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{ \psi(s) }[/math] 也记作 [math]\displaystyle{ \psi[\phi_1/p_1, \cdots, \phi_n/p_n] }[/math] 。