fbpx
维基百科

普遍化

普遍化(generalization)是數理邏輯裡一條極為常用的規則,直觀來說,這條規則在滿足一條件下,可以將原合式公式推廣成被全称量化的版本。

視為元定理

谓词演算裡,若承認以下的量詞公理模式:(以下的   為任意變數,    為任意合式公式

  • (A4)   是一個項,    中出現的任意變數;若   裡,所有   的的範圍裡都沒有自由的   (這個情況稱為   裡項    是自由的),則
 
為公理
其中   代表把   裡自由的   都取代為   所得到的新公式。
  • (A5)如果    裡完全被約束則
 
為公理
  • (A6)   為公理
  • (A7) 若   是公理,   是任意變數則
 
也是公理。

可以得到以下的元定理

  裡變數   都完全被約束,若

 

則有

 

這個元定理就是一般所稱的普遍化

視為推理規則

普遍化可以視為谓词演算的一條推理规则,也就是說:( 以下的   為任意變數,  為任意合式公式

 可以推出  

也可以用相继式表記為

 

但這個推理規則會嚴苛地限制演绎定理的適用範圍,如

 

不成立,因为無法確定變數   有沒有完全被約束(參見上面元定理一節)。這就破壞了元語言的"十字旋轉門"「  」跟逻辑语言的「 」間的聯繫。也就是說,直觀上「 以合式公式 為前提,根據推理規則和公理可以推出合式公式 」跟「根據推理規則和公理可以推出合式公式 」是等價的,但將普遍化視為推理規則就不免打破這個直觀聯繫。

证明的例子

以下的證明是基於將普遍化視為推理規則

 

证明:

编号 公式 理由
1   假设
2   假设
3   公理 PRED-1
4   从 (1) 和 (3) 通过肯定前件
5   公理 PRED-1
6   从 (2) 和 (5) 通过肯定前件
7   从 (6) 和 (4) 通过肯定前件
8   从 (7) 通过普遍化
9   总结 (1) 到 (8)
10   从 (9) 通过演绎定理
11   从 (10) 通过演绎定理

步骤(10)中,因为   完全被約束,所以可以套用演繹定裡,步骤(11)也是基於類似的理由。

普遍化, generalization, 是數理邏輯裡一條極為常用的規則, 直觀來說, 這條規則在滿足一條件下, 可以將原合式公式推廣成被全称量化的版本, 視為元定理, 编辑主条目, 一阶逻辑, 元定理在谓词演算裡, 若承認以下的量詞公理模式, 以下的, displaystyle, 為任意變數, displaystyle, mathcal, displaystyle, mathcal, 為任意合式公式, displaystyle, 是一個項, displaystyle, displaystyle, 中出現的任意變數. 普遍化 generalization 是數理邏輯裡一條極為常用的規則 直觀來說 這條規則在滿足一條件下 可以將原合式公式推廣成被全称量化的版本 視為元定理 编辑主条目 一阶逻辑 普遍化元定理在谓词演算裡 若承認以下的量詞公理模式 以下的 x displaystyle x 為任意變數 B displaystyle mathcal B C displaystyle mathcal C 為任意合式公式 A4 T displaystyle T 是一個項 t displaystyle t 為 T displaystyle T 中出現的任意變數 若 B displaystyle mathcal B 裡 所有 t displaystyle forall t 的的範圍裡都沒有自由的 x displaystyle x 這個情況稱為 B displaystyle mathcal B 裡項 T displaystyle T 對 x displaystyle x 是自由的 則 x B x B T displaystyle forall x mathcal B x Rightarrow mathcal B T dd 為公理 其中 B T displaystyle mathcal B T 代表把 B displaystyle mathcal B 裡自由的 x displaystyle x 都取代為 T displaystyle T 所得到的新公式 A5 如果 x displaystyle x 在 B displaystyle mathcal B 裡完全被約束則 x B C B x C displaystyle forall x mathcal B Rightarrow mathcal C Rightarrow mathcal B Rightarrow forall x mathcal C dd 為公理 A6 x B C x B x C displaystyle forall x mathcal B Rightarrow mathcal C Rightarrow forall x mathcal B Rightarrow forall x mathcal C 為公理 A7 若 B displaystyle mathcal B 是公理 x displaystyle x 是任意變數則 x B displaystyle forall x mathcal B dd 也是公理 可以得到以下的元定理在 A 1 A 2 A n displaystyle mathcal A 1 mathcal A 2 mathcal A n 裡變數 x displaystyle x 都完全被約束 若 A 1 A 2 A n B displaystyle mathcal A 1 mathcal A 2 mathcal A n vdash mathcal B 則有 A 1 A 2 A n x B displaystyle mathcal A 1 mathcal A 2 mathcal A n vdash forall x mathcal B 這個元定理就是一般所稱的普遍化 視為推理規則 编辑普遍化可以視為谓词演算的一條推理规则 也就是說 以下的 x displaystyle x 為任意變數 A displaystyle mathcal A 為任意合式公式 A displaystyle mathcal A 可以推出 x A displaystyle forall x mathcal A 也可以用相继式表記為 A x A displaystyle mathcal A vdash forall x mathcal A 但這個推理規則會嚴苛地限制演绎定理的適用範圍 如 P x x P x displaystyle vdash P x Rightarrow forall xP x 不成立 因为無法確定變數 x displaystyle x 在P x displaystyle P x 有沒有完全被約束 參見上面元定理一節 這就破壞了元語言的 十字旋轉門 displaystyle vdash 跟逻辑语言的 displaystyle Rightarrow 間的聯繫 也就是說 直觀上 以合式公式A displaystyle mathcal A 為前提 根據推理規則和公理可以推出合式公式B displaystyle mathcal B 跟 根據推理規則和公理可以推出合式公式A B displaystyle mathcal A Rightarrow mathcal B 是等價的 但將普遍化視為推理規則就不免打破這個直觀聯繫 证明的例子 编辑以下的證明是基於將普遍化視為推理規則 x P x Q x x P x x Q x displaystyle vdash forall x P x Rightarrow Q x Rightarrow forall xP x Rightarrow forall xQ x 证明 编号 公式 理由1 x P x Q x displaystyle forall x P x Rightarrow Q x 假设2 x P x displaystyle forall xP x 假设3 x P x Q x P x Q x displaystyle forall x P x Rightarrow Q x Rightarrow P x Rightarrow Q x 公理 PRED 14 P x Q x displaystyle P x Rightarrow Q x 从 1 和 3 通过肯定前件5 x P x P x displaystyle forall xP x Rightarrow P x 公理 PRED 16 P x displaystyle P x 从 2 和 5 通过肯定前件7 Q x displaystyle Q x 从 6 和 4 通过肯定前件8 x Q x displaystyle forall xQ x 从 7 通过普遍化9 x P x Q x x P x x Q x displaystyle forall x P x Rightarrow Q x forall xP x vdash forall xQ x 总结 1 到 8 10 x P x Q x x P x x Q x displaystyle forall x P x Rightarrow Q x vdash forall xP x Rightarrow forall xQ x 从 9 通过演绎定理11 x P x Q x x P x x Q x displaystyle vdash forall x P x Rightarrow Q x Rightarrow forall xP x Rightarrow forall xQ x 从 10 通过演绎定理步骤 10 中 因为 x P x displaystyle forall xP x 裡x displaystyle x 完全被約束 所以可以套用演繹定裡 步骤 11 也是基於類似的理由 取自 https zh wikipedia org w index php title 普遍化 amp oldid 74673203, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。