^Blum, Manuel. A Machine-Independent Theory of the Complexity of Recursive Functions (PDF). ACM期刊. 1967, 14 (2): 322–336 [2021-08-09]. doi:10.1145/321386.321395. (原始内容 (PDF)于2016-01-15).
十二月 03, 2023
布盧姆公理, 布魯姆公理, 英語, blum, axioms, 或稱布魯姆複雜度公理, 英語, blum, complexity, axioms, 是計算複雜性理論中, 定義可計算函數的複雜度時, 應滿足的條件, 這些公理最先由曼紐爾, 布魯姆於1967年提出, 重要的是, 只要複雜度衡量滿足這些公理, 布盧姆加速定理和間隙定理就成立, 滿足這些公理的複雜度衡量裡, 最有名的是有關時間, 見時間複雜度, 和空間, 見空間複雜度, 的複雜度, 目录, 定義, 例子, 與計算模型的關係, 複雜度類, 參考文獻定義, 编. 布魯姆公理 英語 Blum Axioms 或稱布魯姆複雜度公理 英語 Blum Complexity Axioms 是計算複雜性理論中 定義可計算函數的複雜度時 應滿足的條件 這些公理最先由曼紐爾 布魯姆於1967年提出 1 重要的是 只要複雜度衡量滿足這些公理 布盧姆加速定理和間隙定理就成立 滿足這些公理的複雜度衡量裡 最有名的是有關時間 見時間複雜度 和空間 見空間複雜度 的複雜度 目录 1 定義 2 例子 3 與計算模型的關係 4 複雜度類 5 參考文獻定義 编辑布魯姆複雜度衡量是一個二元組 f F displaystyle varphi Phi nbsp 其中f displaystyle varphi nbsp 是偏可計算函數集P 1 displaystyle mathbf P 1 nbsp 的哥德爾編號 而F N P 1 displaystyle Phi mathbb N to mathbf P 1 nbsp 是一個可計算函數 滿足以下的布魯姆公理 用f i displaystyle varphi i nbsp 表示哥德爾編號f displaystyle varphi nbsp 下的第i個偏可計算函數 F i displaystyle Phi i nbsp 表示偏可計算函數F i displaystyle Phi i nbsp 函數f i displaystyle varphi i nbsp 和F i displaystyle Phi i nbsp 的定義域相同 集合 i x t N 3 F i x t displaystyle i x t in mathbb N 3 Phi i x t nbsp 是遞歸的 例子 编辑在定義中 F i x displaystyle Phi i x nbsp 應當理解成i displaystyle i nbsp 所編碼的計算過程 在輸入為x displaystyle x nbsp 時 所消耗的資源 例如時間 空間 或兩者的適當組合 若F displaystyle Phi nbsp 測量時間 則 f F displaystyle varphi Phi nbsp 是複雜度衡量 需要的時間或計算量可計算 因為可以直接模擬 而第二條公理也成立 因為要判斷F i x t displaystyle Phi i x t nbsp 是否成立 只需運行至多t displaystyle t nbsp 步 所以總能在有限時間內判斷 若F displaystyle Phi nbsp 測量空間 記憶體 則 f F displaystyle varphi Phi nbsp 亦為複雜度衡量 但原因較時間複雜 當限制空間為t displaystyle t nbsp 時 整個系統的可能狀態只有有限多個 例如若圖靈機有q displaystyle q nbsp 個狀態 其紙帶有s displaystyle s nbsp 種符號 則紙帶共只有s t displaystyle s t nbsp 種可能性 最後乘上讀寫頭位置的t displaystyle t nbsp 種可能性 整個系統只有q s t t displaystyle qs t t nbsp 種可能性 從而 只要模擬足夠長的時間 必有以下三者之一 計算結束 整個系統重複某個狀態 受困於無窮迴圈 超出空間限制t displaystyle t nbsp 所以 在有限時間內 可以判斷F i x t displaystyle Phi i x t nbsp 是否成立 作為反例 f f displaystyle varphi varphi nbsp 並非一個複雜度衡量 因為其不滿足第二條公理 與計算模型的關係 编辑布盧姆的複雜度定義不取決於具體的計算模型 但也可以圖靈機的用語複述一次 幫助理解 布魯姆複雜度衡量是將二元組 圖靈機M displaystyle M nbsp 輸入x displaystyle x nbsp 射去自然數或 displaystyle infty nbsp 的映射F displaystyle Phi nbsp 其滿足以下公理 對應前述定義 F M x displaystyle Phi M x nbsp 為 displaystyle infty nbsp 當且僅當M x displaystyle M x nbsp 不停機 有算法可以判斷 當輸入 M x t displaystyle M x t nbsp 時 是否有F M x t displaystyle Phi M x t nbsp 例如 F M x displaystyle Phi M x nbsp 可以是M displaystyle M nbsp 輸入x displaystyle x nbsp 時運行至停機所需的步數 按定義可知第一條公理成立 而且 用通用圖靈機模擬M displaystyle M nbsp 輸入x displaystyle x nbsp 並運行t displaystyle t nbsp 步 就是滿足第二條公理條件的算法 複雜度類 编辑對於全可計算函數f displaystyle f nbsp 可計算函數的複雜度類可定義成 C f f i P 1 x F i x f x displaystyle C f varphi i in mathbf P 1 forall x Phi i x leq f x nbsp C 0 f h C f c o d o m h 0 1 displaystyle C 0 f h in C f mathrm codom h subseteq 0 1 nbsp C f displaystyle C f nbsp 是所有複雜度小於f displaystyle f nbsp 的可計算函數構成的集合 C 0 f displaystyle C 0 f nbsp 是複雜度比f displaystyle f nbsp 小的布爾函數集合 若我們視這些函數為集合的指示函數 則可視C 0 f displaystyle C 0 f nbsp 為集合的複雜度類 參考文獻 编辑 Blum Manuel A Machine Independent Theory of the Complexity of Recursive Functions PDF ACM期刊 1967 14 2 322 336 2021 08 09 doi 10 1145 321386 321395 原始内容存档 PDF 于2016 01 15 取自 https zh wikipedia org w index php title 布盧姆公理 amp oldid 67904430, 维基百科,wiki,书籍,书籍,图书馆,