MWT-07:Global Query Semantics, World Inference, and Proof/Computation Federation
世界查詢語義、責任分解、證明—計算—搜尋—模擬聯邦與可證書化回答
英文題名: MWT-07: Global Query Semantics, World Inference, and Proof/Computation Federation — Inquiry Contracts, Obligation Decomposition, Proof–Computation–Search–Simulation Federation, and Certifiable Answers
系列: Mathematical World Theory(MWT)
篇次: 07
文件編號: EML-MWT-07-2026-v0.1
作者: Neo.K
協作: Aletheia / GPT-5.6 Sol
機構: EveMissLab/一言諾科技有限公司
日期: 2026-08-19
版本: v0.1
文件性質: 數學世界論第七篇形式母稿/Global Query Semantics/World Inference/Proof–Computation Federation
前置文件: MWT-01 ~ MWT-06
狀態: 可使用研究稿;提供 reference query compiler / obligation router;不宣稱存在對所有問題都能自動產生完備查詢計畫的 universal planner
摘要
MWT-01 至 MWT-06 已建立一個可運行的數學世界框架:World 可以由多種 presentations 表示;跨 presentation interaction 必須先接受 legality judgment;合法 interactions 由 noncommutative scheduler 以 partial order 執行;執行結果被收成可 reopen 的 world-state runtime;世界可以在有限 active support 下持續 refinement;不同尺度與 solver 又能透過 coupling ports 形成 Multi-Resolution World Solve。
此時,一個新的核心問題變得無法迴避:
當人類或 AI 對這個數學世界提出一個問題時,什麼才算真正理解了這個問題?系統如何知道應啟動哪些 presentation、proof system、numerical solver、simulation、retrieval source、observer、counterexample search、bridge、coupling 與 verification path?
如果 query 只被視為自然語言字串:
那麼世界 runtime 最多只能依關鍵詞或模型直覺選工具。這會再次把一個全域數學問題過早壓縮成單一路徑。
本文提出 Global Query Semantics(GQS)、World Inference Graph(WIG) 與 Proof/Computation Federation(PCF)。其核心立場是:
在 MWT 中,一個完整 world query 被表示為一份 Inquiry Contract:
其中:
- :intent / 欲結構,描述真正想知道、找到、構造或判定什麼;
- :scope / domain;
- :answer contract,規定允許的答案型態;
- :identity specification;
- :evidence / proof requirement;
- :validation / certificate requirement;
- :temporal / version scope;
- :risk / consequence profile;
- :resource budget;
- :人類/AI輸出投影。
這使同一句自然語言在不同 inquiry contracts 下成為不同 query。例如:
「這個猜想對嗎?」
至少可以分成:
- 找一個 counterexample;
- 找正式 proof;
- 估計 empirical plausibility;
- 在指定有限 domain 驗證;
- 判定某 formalization 中的 theoremhood;
- 比較不同 foundations 的結果;
- 尋找是否已有外部文獻解決。
它們不是同一 execution plan。
本文將 query 進一步編譯成 Obligation Hypergraph:
其中 obligations 可包含:
query 的完成不要求所有 obligations 都執行,而要求所有 mandatory answer obligations 被滿足,並且替代路徑、失敗路徑與未完成 coverage 被明確記錄。
本文引入 Query Answer Bundle:
其中:
- :正向 claims / support;
- :反向 claims / refutation;
- :unresolved;
- :conflicts;
- :provenance / presentations;
- :history / query plan execution;
- :completion / coverage certificate。
因此回答不再只是:
而可能是:
- formally proved relative to foundation ;
- formally refuted;
- counterexample found;
- numerically supported in domain ;
- empirically supported but unproved;
- no witness found under search scope ;
- unresolved;
- conflicted across contexts;
- question ill-posed under current identity specification。
本文特別固定:
這一點直接延續既有 GIPSS v0.2 的核心:有限搜尋只能證明在資料域、策略與預算下未找到;若要給出 existential negative answer,必須另外建立 coverage / completeness certificate,或有正式 impossibility proof。
在 proof/computation federation 層,本文不把 proof、computation、simulation 與 search 混成同一證據。相反地,定義不同 responsibility types:
- proof 建立相對 formal system 的演繹證書;
- computation 建立可重放的數值/符號結果;
- exhaustive finite search 可以建立有限域完備性證書;
- counterexample 可直接否證 universal claim;
- simulation 提供模型相對行為證據;
- retrieval 提供外部已知結果與來源;
- observation / experiment 提供 empirical evidence;
- LLM / heuristic reasoning 產生 candidate path,但不自動升格成 proof。
本文提出:
而不是:
這與 2026 年 agentic theorem proving 的最新方向高度相容:OpenProver 採 Planner–Worker–Verifier 並以 Lean 4 形式驗證生成 proof;Discover and Prove 明確把「先發現答案」與「再形式證明」分離;Automated Conjecture Resolution 則將 informal reasoning、theorem retrieval 與 formal verification 組成端到端研究流程。MWT 不把自身等同於這些 prover,而將它們視為 / 的成熟 participant backends。
本文亦借用 federated query processing 的成熟教訓:heterogeneous federation 的查詢需要 source selection、query decomposition、query planning 與介面能力感知;不同來源不應被假設支援同一操作。MWT 將這一原則提升到數學世界:不同 solver / presentation / proof backend 具有不同 capabilities,Query Planner 必須先依 obligation 與 interface contract 路由,而不是把整個問題送給每一個工具。
在 AI-native 層,本文提出 Query Compiler、Intent/Scope Resolver、Obligation Graph Builder、Capability Router、Proof Federation Manager、Computation Federation Manager、Evidence Ledger、Counterexample Engine、Coverage Engine、Answer Synthesizer、Query Reopen Engine 等十一個最低模組。
MWT-07 最終將「提問」正式接回數學世界的呼吸循環:
因此一個世界不只會算;它開始知道「一個問題要求它做什麼」。
關鍵詞: Mathematical World Theory、Global Query Semantics、Inquiry Contract、World Inference Graph、Proof/Computation Federation、query decomposition、theorem proving、counterexample search、federated query planning、agentic mathematics、AI-native mathematics
0. 本文的責任:從「世界能算」走到「世界知道自己在回答什麼」
MWT-06 已經允許:
但:
誰建立 ?
如果每次都由人類手工指定:
- participants;
- presentations;
- residuals;
- identity;
- solver;
- tolerance;
那麼 MWT 仍然只是巨大低階 runtime。
真正 AI-native 的下一步,是讓 query 自己產生:
1. Query 不是字串
自然語言:
「這個理論對嗎?」
只是 surface form。
真正需要的是:
兩個完全相同的字串,在不同 context 下可以對應不同 inquiry contract。
2. Query Surface
令:
為原始:
- 自然語言;
- formal formula;
- API request;
- symbolic expression;
- visual selection;
- programmatic call。
Query Compiler 接收它。
3. Inquiry Contract
定義:
這是 MWT-07 的核心 record。
4. Intent
不是一個 embedding。
它描述 query 真正想完成的 relation。
例如:
- 判定;
- 尋找;
- 構造;
- 分類;
- 比較;
- 解釋;
- 證明;
- 否證;
- 模擬;
- 最佳化;
- 發現。
5. GIPSS 的「欲」作為 Query Intent 前身
既有 GIPSS 已把:
不知道名稱,但知道想找哪一種存在。
寫成欲結構。
MWT-07 將這個想法一般化:
所以 query 不一定知道答案名稱。
甚至不一定知道答案是否存在。
6. Domain / Scope
回答:
- 哪個 mathematical domain?
- 哪個 world-state version?
- 哪些 assumptions?
- 哪個 dataset?
- 哪個 finite range?
- 哪些 observers?
沒有 scope 的 universal claim 很容易偷換量詞。
7. Answer Contract
規定:
什麼形式的結果才算回答。
例如:
A1 — Boolean
A2 — Witness
要求:
使:
A3 — Counterexample
要求:
使:
A4 — Proof
要求 formal derivation。
A5 — Estimate
允許 interval / probability / bound。
A6 — Classification
輸出 partition / labels。
A7 — Construction
輸出 object / algorithm。
A8 — Structured Branch Answer
允許多個 contexts 下不同答案。
8. Answer Type Matters
如果 query 只要求 witness:
找到一個:
即可完成。
如果 query 要求:
有限 sampled evidence 不足。
所以:
9. Identity Specification
同一 query:
「是不是同一個解?」
若:
只看數值,
與:
看 path provenance,
答案可以不同。
因此 query 必須帶:
10. Evidence Requirement
聲明可接受:
- formal proof;
- counterexample;
- exhaustive search;
- certified computation;
- empirical evidence;
- literature source;
- expert judgment;
- heuristic candidate。
不同 query 需要不同 maturity。
11. Validation Requirement
比 evidence 更進一步,回答:
誰來驗?
例如:
- Lean;
- Coq;
- independent numerical implementation;
- interval arithmetic;
- cross-solver agreement;
- human review;
- external dataset replication。
12. Temporal / Version Scope
聲明:
- current state;
- historical state;
- theorem library version;
- software version;
- data timestamp;
- external-source freshness。
對 current public information,版本是 query semantics 的一部分。
13. Risk Profile
控制:
- false-positive cost;
- false-negative cost;
- proof threshold;
- required redundancy;
- human approval。
高風險 query 不能使用低 maturity evidence 直接 commit。
14. Budget
budget 影響 execution coverage。
但不能修改命題本身。
15. Output Projection
規定最後:
- 人類短答;
- formal certificate;
- machine JSON;
- full research package;
- graph;
- proof object。
不同輸出 presentation 不應改變 underlying answer claim。
16. Query Class
本文定義候選 class family:
同一 query 可以同時屬多類。
17. Existential Query
positive answer 可由 witness 完成。
negative answer 通常需要:
- exhaustive coverage;
- impossibility proof;
- complete decision procedure。
18. Universal Query
negative answer可由一個 counterexample 完成。
positive answer 需要 universal burden。
這種正反責任高度不對稱。
19. Construction Query
問:
proof obligation 可能是:
- output exists;
- output satisfies ;
- construction executable;
- complexity bound if requested。
20. Proof Query
要求:
或其他 formal certificate。
natural-language argument 可以做 search scaffold,但不滿足 formal answer contract。
21. Refutation Query
可以透過:
- counterexample;
- model;
- contradiction;
- formal negation proof。
不同 refutation 路徑要分。
22. Estimate Query
例如:
需要:
- error model;
- confidence;
- sample;
- deterministic bound;
依 contract 決定。
23. Classification Query
要求:
還需要:
- class ontology;
- boundary;
- multi-label allowance;
- unknown class。
24. Optimization Query
只有在 query 明示 objective:
才變成:
這再次確認:
25. Causal Query
問:
改變 是否造成 ?
這需要不同於 correlation query 的 evidence contract。
可能需要:
- intervention;
- causal model;
- experiment;
- identification theorem。
26. Identity Query
問:
核心不是「看起來像不像」,而是 identity specification。
27. Translation Query
問:
presentation 的 structure 是否能 faithful 轉到 ?
需要 MWT-01 fidelity / loss contract。
28. Simulation Query
問:
在 model 與 initial state 下會發生什麼?
其答案是:
不是 World 必然未來。
29. Discovery Query
例如:
找到符合某種尚未命名結構的理論/對象。
直接連接 GIPSS:
30. Meta Query
問:
- 這個問題是否 well-posed?
- 哪些 assumptions 缺失?
- 什麼證據才能回答?
- 需要新增哪個 presentation?
這對 MWT 非常重要,因為有些 query 的正確第一步是修改 query。
31. Query Well-Posedness
定義:
最低要求:
- scope 足夠;
- answer type 明確;
- identity 足夠;
- evidence burden 可描述;
- terms 可定位。
不要求 Hadamard 意義的數學適定性。
這是 query-contract completeness。
32. Query Ambiguity
如果一個 surface query 可以編譯成:
且不同 contracts 導致不同 answer,
則:
AI 應保存 branches,而不是私自挑一個。
33. Query Refinement
若原 query:
過粗,可以:
這是 MWT-05 的 inquiry refinement。
34. Obligation
定義:
其中 是 obligation type。
35. Obligation Type Family
對應:
- Proof;
- Compute;
- Retrieve;
- Simulate;
- Observe;
- Formalize;
- Translate;
- Counterexample;
- Couple;
- Verify / Certify;
- Human judgment。
36. Proof Obligation
要求:
輸出必須有 proof certificate 或明確 fail/unknown。
37. Computation Obligation
要求:
- evaluate;
- solve;
- enumerate;
- optimize;
- bound。
結果要有:
- algorithm;
- precision;
- reproducibility;
- error / certificate。
38. Retrieval Obligation
要求從:
- theorem library;
- paper corpus;
- database;
- external source;
取得現有知識。
retrieval result 是 source claim,不是自動 theorem。
39. Simulation Obligation
要求:
必須保留:
- model;
- initialization;
- parameter;
- stochastic seed;
- solver;
- resolution。
40. Observation Obligation
要求:
- measurement;
- experiment;
- sensor;
- external-world check;
- human observation。
它與 simulation evidence 不同。
41. Formalization Obligation
把:
- informal theorem;
- natural-language definition;
- computational claim;
翻譯成 formal target。
形式化本身需要 fidelity audit。
42. Translation Obligation
建立:
的 bridge。
可能是 answer plan 的必要中介。
43. Counterexample Obligation
搜索:
使:
對 universal query 特別高價值。
44. Coupling Obligation
表示 query 不能由單一 participant 回答。
需要:
接 MWT-06。
45. Verification Obligation
不是產生答案,而是檢查:
- proof;
- computation;
- bridge;
- data;
- claim。
它可以由獨立 verifier 執行。
46. Human Obligation
只在:
- semantic ambiguity;
- governance;
- value choice;
- high-risk exception;
需要。
人類不是每個 query 的 mandatory node。
47. Obligation Hypergraph
定義:
不同 edge:
Dependency
Alternative
表示任一路徑成功即可。
Join
多個 obligations 必須共同滿足:
Refutation
表示 counterexample 可以直接關閉 proof-positive branch。
48. Query Plan 不是一條固定 List
因為:
- alternative;
- branch;
- counterexample;
- proof failure;
- new evidence;
會改 plan。
所以:
49. Mandatory Obligation
對 query:
定義:
完成 query 只要求所有仍活躍的 mandatory obligations satisfied / validly closed。
50. Optional Obligation
例如:
- 額外第二種 proof;
- 更多 numerical evidence;
- richer explanation。
可以提高 maturity,但不是 answer completeness 的最低門檻。
51. Alternative Proof Paths
一個 theorem:
可以有:
不同 proof strategy。
如果 answer contract 只要求一個 valid proof,任何一支成功即可。
其他分支可停止或留作 independent verification。
52. Positive / Negative Asymmetry
對 existential query:
positive:
negative:
對 universal query:
則反過來:
negative 可由一個 counterexample 完成;
positive 需要 universal burden。
53. Quantifier-Aware Query Compilation
Query Compiler 應先讀取:
等量詞/answer structure。
因為這直接決定 obligations。
54. Finite-Domain Exhaustive Proof
若:
且完整 enumerate:
並有 coverage certificate,
計算可以形成有限域 universal proof。
因此:
55. Infinite-Domain Sampling Is Not Universal Proof
若:
只測:
即使全部成立:
也不能直接推出:
這是 proof/computation federation 必須永久保留的邊界。
56. Counterexample Has Asymmetric Power
如果:
滿足:
則 universal claim:
被直接 refute。
所以 MWT Query Planner 應在某些 universal problem 同時啟動:
57. Proof/Computation Federation
定義:
它不是單一 solver。
它是 answer-oriented participant federation。
58. Proof Participant
proof participant:
至少有:
- formal system;
- library version;
- tactic / prover;
- proof certificate;
- trusted kernel。
59. Informal Reasoner
LLM / human informal reasoning 可以是:
其主要輸出:
- conjecture;
- plan;
- lemma;
- decomposition;
- analogy;
- proof sketch。
這些是 candidate artifacts。
60. Verifier
把 candidate:
轉成:
相對 verifier contract。
61. Planner–Worker–Verifier Pattern
2026 年 OpenProver 類 agentic theorem proving 系統已採:
MWT 將此視為 proof obligation federation 的成熟具體架構之一。
MWT 的 query graph更廣,因為 worker 不只 proof。
62. Discover–Then–Prove Pattern
某些 theorem statement 不提供 answer。
此時:
這與 2026 年 Hard Mode theorem proving 的研究方向一致。
MWT 將「發現答案」與「證明答案」固定為不同 obligations。
63. Informal–Formal Tandem
研究級數學可以先由 informal system 搜索:
再由 formal system建立:
如果 formalization 失敗,不表示 informal insight 一定錯。
可能是:
- library gap;
- formalization gap;
- hidden assumption;
- actual error。
所以 failure 進 diagnosis。
64. Proof Search Failure
如果:
不能推出:
除非 prover / logic 對該 domain 有 completeness certificate。
65. Computation Participant
可以是:
- CAS;
- SAT/SMT;
- numerical solver;
- exhaustive enumerator;
- interval arithmetic;
- graph algorithm;
- optimization solver。
66. Computation Certificate
計算結果至少應保存:
67. Rigorous Numerics
若使用:
- interval arithmetic;
- exact arithmetic;
- formally verified algorithm;
可以讓 numerical obligation 產生更強 certificate。
但 MWT 不把所有浮點計算視為 proof。
68. Simulation Participant
simulation:
回答:
在 model 下發生什麼?
它不直接回答:
World 必然發生什麼?
69. Retrieval Participant
負責:
- theorem retrieval;
- literature search;
- database query;
- source lookup。
它的 answer 必須帶 source provenance。
70. Federated Retrieval
不同 sources:
可能具有不同 query capabilities。
所以:
是必要的。
這與 federated query processing 的成熟問題一致。
71. FedQPL Interface
FedQPL 提供 heterogeneous RDF federation 的 logical query plan language,並研究 source selection / plan rewriting。
MWT 不把數學 query 化約成 RDF。
它吸收的原則是:
72. Adaptive Query Planning
如果 runtime 發現:
- source latency;
- solver fail;
- new theorem;
- unexpected selectivity;
query plan 可以重排。
所以:
但任何 replan 都需要 history/provenance。
73. Capability Profile
每 participant:
暴露:
例如:
prove
refute
enumerate
optimize
simulate
retrieve
formalize
translate
observe
certify
以及 domain / cost / maturity。
74. Capability Router
對 obligation:
router 選:
可以一對一,也可以 ensemble。
75. Routing Is Typed
不能把:
直接送給只有:
的 participant。
除非先把 obligation 改成 simulation sub-obligation。
76. Capability Does Not Equal Suitability
兩個 prover 都能 proof,
但:
- domain library;
- cost;
- reliability;
不同。
所以 routing 還需要:
77. Query Planning Cost
query plan:
有:
包括:
- compute;
- source;
- proof;
- formalization;
- communication;
- human cost。
planner 可做 Pareto selection。
78. Minimal Plan 不是唯一目標
最便宜 plan:
可能 evidence 太弱。
高風險 query 可能選:
79. Proof Ensemble
對重要 theorem,可以:
- Lean;
- Coq;
- second Lean formalization;
- independent proof;
- computational checks;
形成:
不同 verifier 的同意提高 maturity。
80. Shared-Kernel Correlation
兩個 agent 都用同一 proof kernel,
不算完全 independent。
所以 evidence ledger 要記:
- model;
- prover;
- kernel;
- library;
- source code lineage。
81. Counterexample Engine
專門:
- finite search;
- random search;
- adversarial search;
- SAT/SMT;
- numerical search;
- construction。
一個 counterexample 必須再驗證它真的滿足 domain / premise。
82. False Counterexample
若:
其實:
則不能 refute claim。
所以 counterexample 也要:
83. Evidence Ledger
定義:
對 claim:
保存:
84. Evidence Type
每條 evidence:
帶:
- type;
- source;
- scope;
- maturity;
- version;
- dependency;
- validity horizon。
不能把所有 evidence 直接加權成單一 confidence。
85. Proof Evidence
如果:
形成:
其 scope 包含:
foundation index 不能刪。
86. Counterexample Evidence
如果:
且:
形成:
它對:
具有直接 refutation power。
87. Empirical Evidence
observation:
支持 model claim。
它不等於 formal proof。
但對 empirical query,可能是 mandatory answer evidence。
88. Literature Evidence
paper / database result:
要區分:
- original source;
- secondary summary;
- unverified claim;
- retracted / superseded version。
89. Heuristic Evidence
LLM reasoning:
可以:
- raise candidate;
- prioritize plan;
- generate lemma。
不能單獨滿足 high-rigor proof contract。
90. Claim
定義:
同一句:
不同 context 是不同 claim record。
91. Query Answer Bundle
定義:
92. Positive Claims
是目前被 support / prove 的 claims。
必須帶 scope。
93. Negative Claims
是被 refute / disproved 的 claims。
它不是缺乏 positive evidence。
94. Unresolved
包含:
- open proof;
- incomplete search;
- unknown bridge;
- budget exhausted。
95. Conflict
保存:
- different foundations;
- source disagreement;
- proof-verifier conflict;
- semantic ambiguity。
96. Provenance
連到:
- source;
- solver;
- presentation;
- versions;
- certificate roots。
97. Query History
保存:
- decompositions;
- routes;
- failed branches;
- replans;
- counterexamples;
- proof attempts。
這使 answer 可 audit。
98. Completion Certificate
回答:
為什麼現在可以停止?
它不是 truth certificate。
它是 query completion / coverage certificate。
99. Query Completion
定義:
若所有 mandatory answer obligations:
- satisfied;
- validly refuted;
- validly superseded;
- or answer contract allows explicit Unknown。
100. Unknown Can Be a Complete Answer
如果 answer contract:
判定目前是否能確定。
那:
本身可以是完整回答,
只要 uncertainty reason / coverage 完整。
101. Budget-Exhausted Is Usually Not Complete
如果 query 原本要求 proof,
但只是:
耗盡,
不能把:
當完整 No。
102. Coverage Certificate
對 search query:
103. Not Found vs Does Not Exist
固定:
除非:
對 required universe 完備,或另有 impossibility proof。
104. GIPSS Integration
GIPSS 的:
- 欲;
- DRC;
- SGCD;
可以成為 discovery query backend。
MWT-07 將:
編譯給 GIPSS,
由 DRC 控制:
結果回到 evidence ledger。
105. Search Is World Inference
在 MWT 裡,retrieval 不只是「找文件」。
它可以改:
- entity identity;
- presentation registry;
- stable claim;
- query plan;
- world-state。
所以:
106. World Inference Graph
定義:
將:
- obligations;
- participants;
- evidence;
- claims;
- presentations;
- branches;
放入同一 inquiry graph。
107. Inference Edge Types
至少:
108. Inference Path
一條 answer path:
可能:
另一條:
兩條可並行。
109. Inference Order May Be Noncommutative
若先做:
再做:
與先 retrieve 現有 formal theorem 再 formalize query,
可能得到不同 obligations。
因此 query planning 本身也是 MWT-03 scheduler problem。
110. Plan Noncommutativity
可以存在:
其中:
- :retrieval;
- :formalization。
這不是 implementation trivia。
可能直接改變:
- query scope;
- theorem statement;
- available proof library;
- proof burden。
111. Replanning Trigger
以下事件可以:
- proof branch fails;
- counterexample found;
- new source discovered;
- bridge fails;
- query ambiguity exposed;
- budget changes;
- new presentation admitted;
- solver unavailable;
- conflict localized;
- answer contract refined。
112. Replanning 不得抹掉舊 Plan
每次:
要保存:
- why changed;
- obligations closed;
- obligations added;
- evidence retained;
- branch retired。
113. Query State
定義:
query 自己也是一個 dynamic state system。
114. Query Dynamic Fixed Point
當:
- mandatory obligations closed;
- answer bundle stable;
- no mandatory replan;
- completion certificate exists;
則:
這是 query-level temporary closure。
115. Query Reopen
新 evidence:
可以:
例如:
- theorem retracted;
- counterexample;
- software bug;
- new data;
- new foundation;
- user asks stronger question。
116. Query Answer Is Versioned
answer:
必須帶:
- world-state version;
- source versions;
- proof library;
- solver;
- query contract version。
因此未來可以比較:
117. Contradictory Answers May Be Context-Split
若:
但:
不能刪:
正確 answer 可以是:
這是 context-indexed structured answer。
118. Answer Homogenization Is Forbidden
不同 evidence types 不應全部被壓成:
再說:
87% 真。
除非 query contract 明確定義 probabilistic belief model。
形式 proof、empirical support、search failure 與 simulation 不是天然可加權同質量。
119. Claim Maturity
v0.1 建議:
A0 — Candidate
LLM / heuristic proposal。
A1 — Supported
有非形式 evidence。
A2 — Reproducible
計算 / search 可重放。
A3 — Certified Local
在指定 presentation / formal system 有 certificate。
A4 — Cross-Verified
跨 implementation / presentation 驗證。
A5 — Stable Query Answer
已進當前 World-State Stable Core。
maturity 不等於 truth probability。
120. Proof Maturity Is Not Search Coverage
一個 theorem formal proof:
可以是高 proof maturity。
但若 query 問:
世界上是否存在某篇相關論文?
這個 proof 對 retrieval coverage 沒有直接意義。
所以 maturity 也是 obligation-type relative。
121. Query Confidence
若產品/UI 需要 confidence score,
必須由:
顯式定義。
MWT 核心不自動提供 universal scalar confidence。
122. Query Plan Coverage
planner 應輸出:
至少描述:
- mandatory obligations covered;
- alternative branches explored;
- sources queried;
- search limits;
- unexplored branches。
123. Coverage Unknown
如果 planner 不知道還有哪些可能 strategy:
這是正常狀態。
不能偽造:
已搜索所有可能數學方法。
124. Global Query 不等於 Global Exhaustion
MWT 的 global query 表示:
問題可跨整個 active world registry 路由。
不表示:
每次都遍歷所有數學、所有論文、所有 proof、所有 solver。
所以:
125. Source Selection
query planner 對:
先選:
source selection 可以依:
- relevance;
- authority;
- capability;
- freshness;
- cost;
- access。
126. Solver Selection
對:
選:
solver selection 也不是永久固定。
runtime 結果可觸發 replacement。
127. Theorem Retrieval as Planning Accelerator
proof system 可以先搜尋:
取得 candidate lemmas。
這能減少 proof search。
但 retrieved theorem 必須:
- type compatible;
- assumptions compatible;
- library version valid。
128. Cross-Domain Theorem Retrieval
如果 query 在 domain ,
retrieval 發現:
的 bridge theorem,
可以生成新的 translation obligation。
所以 theorem retrieval 不只補 lemma,也可以改 presentation graph。
129. Formalization as Discovery
將 informal statement formalize 時,可能發現:
- hidden quantifier;
- missing domain;
- ambiguous identity;
- inconsistent assumptions。
因此:
本身可以是 query refinement。
130. Verification Failure as Information
若 Lean / Coq / verifier 拒絕 candidate proof,
可能原因:
- proof wrong;
- formalization wrong;
- missing lemma;
- library mismatch;
- type mismatch;
- kernel/tool issue。
所以:
131. Cross-Formal-System Federation
同一 theorem 可以在:
分別 formalize。
若有 bridge:
可以驗證:
這提高 translation / identity maturity。
132. Proof–Computation Feedback
計算可以:
- 找 lemma pattern;
- 猜 bound;
- 找 counterexample;
- 驗證 finite cases。
proof 又可以:
- certify algorithm;
- prove termination;
- prove error bound;
- 縮小 search domain。
因此:
133. Search–Proof Feedback
literature retrieval 找到 theorem:
proof system檢查是否真的 applicable。
proof failure 又可回到 retrieval:
找更弱/更強版本。
所以:
134. Simulation–Proof Feedback
simulation 發現 invariant candidate:
proof system嘗試證明:
若 proof 失敗,可搜索 counterexample。
這形成:
135. World Inference Loop
綜合:
136. Query Compiler
第一個 MWT-07 runtime 模組:
輸入:
輸出:
137. Intent / Scope Resolver
第二個模組:
解析:
- intent;
- domain;
- quantifier;
- answer type;
- identity;
- risk;
- time scope。
138. Obligation Graph Builder
第三個模組:
建立:
139. Capability Router
第四個模組:
把 obligation 路由到 participants。
140. Proof Federation Manager
第五個模組:
管理:
- theorem retrieval;
- informal planner;
- formal prover;
- verifier;
- proof ensemble。
141. Computation Federation Manager
第六個模組:
管理:
- symbolic;
- numeric;
- SAT/SMT;
- enumeration;
- optimization;
- simulation。
142. Evidence Ledger
第七個模組:
已於前文定義。
143. Counterexample Engine
第八個模組:
負責 adversarial negative search。
144. Coverage Engine
第九個模組:
管理:
- source coverage;
- finite enumeration completeness;
- query-plan coverage;
- unexplored branches。
145. Answer Synthesizer
第十個模組:
將 heterogeneous evidence:
轉成:
它不得自行把不同 evidence types 混成未定義 scalar。
146. Query Reopen Engine
第十一個模組:
監控:
- new evidence;
- version;
- counterexample;
- source update;
- stronger inquiry。
147. Reference Query Compiler
本 Source Pack 附帶:
mwt07_query_reference.py
它只固定最低 v0.1 semantics:
- query class;
- quantifier-aware obligation generation;
- capability routing;
- mandatory / optional obligation;
- completion判定;
Not Found != Does Not Exist的 negative-search guard。
它不是 natural-language semantic parser,也不是 universal theorem planner。
148. Example:Universal Claim
query:
compiler 建立:
- :proof;
- :counterexample;
- :finite/symbolic checks optional。
若 counterexample success:
若 sampled computation success:
仍然不能:
149. Example:Existence Search
query:
compiler 建立:
- retrieval/search;
- construction;
- counterexample-to-nonexistence 不適用;
- coverage track。
找到 witness:
沒找到:
除非有 exhaustive / impossibility certificate。
150. Example:Research-Level Theorem
對一個未形式化 conjecture:
- formalize statement;
- retrieve nearby theorem;
- informal reasoning;
- counterexample search;
- formal proof;
- independent verification。
這些可並行部分執行。
151. Example:Cross-Presentation Identity
問:
這兩個構造是不是同一個?
需要:
- identity specification;
- translation;
- invariant comparison;
- maybe proof;
- maybe counterexample。
若 不明:
第一個 mandatory obligation 是:
152. Example:World Model Prediction
問:
明天系統會怎樣?
如果沒有足夠 deterministic law,
answer contract 應變成:
- model-relative scenarios;
- probability;
- uncertainty;
- assumptions。
不能偷換成 theorem query。
153. MWT-07 Minimal Constitution
v0.1 固定二十七條:
Q1 — Query Is Not a String
surface form 不等於 inquiry contract。
Q2 — Intent Must Be Represented
query 必須有 answer-directed intent。
Q3 — Scope Must Be Explicit
domain / assumptions / version 不得被無聲省略。
Q4 — Answer Type Determines Burden
witness、proof、estimate、classification 不可混同。
Q5 — Identity Is Query-Indexed
「同一」必須帶 identity specification。
Q6 — Evidence Is Typed
proof、computation、simulation、observation、retrieval 不得默認等價。
Q7 — Validation Is Separate from Generation
candidate generation 不等於 verification。
Q8 — Query Decomposes into Obligations
複雜 query 不預設單一 solver call。
Q9 — Obligations Form a Graph
dependencies / alternatives / refutations 必須可表示。
Q10 — Quantifiers Control Evidence Burden
與 的正反責任不對稱。
Q11 — Not Found Is Not Nonexistence
有限 search failure 不能直接推出 existential negative。
Q12 — Proof Search Failure Is Not Refutation
除非 completeness 明示。
Q13 — Simulation Is Model-Relative
simulation output 不是 World 必然真值。
Q14 — Computation Can Be Proof Only Under Explicit Completeness Conditions
例如 finite exhaustive certified search。
Q15 — Counterexamples Require Domain Certificates
假的 counterexample 不得 refute theorem。
Q16 — Routing Is Capability-Aware
不同 participants 不假設同能力。
Q17 — Planning Is Reopenable
runtime evidence 可改 query plan。
Q18 — Planning Order May Be Noncommutative
query operations 可產生順序效應。
Q19 — Coverage Must Be Reported
停止 search 要說明搜了什麼。
Q20 — Coverage Unknown Is Allowed
不能偽裝全域完備搜尋。
Q21 — Answers Are Structured Bundles
Yes/No 只是某些 query 的投影。
Q22 — Conflict Is Preserved by Context
不同 foundation / source 衝突不可靜默平均。
Q23 — Answer Maturity Is Not Probability
形式化成熟度與信念分數分離。
Q24 — Query Completion Is Scoped
完成是相對 answer contract。
Q25 — Unknown Can Be a Complete Answer
如果 contract 要求判定可知性。
Q26 — New Evidence Can Reopen an Answer
query answer 不是永久封印。
Q27 — Query Execution Returns to World State
重要新 evidence / theorem / bridge 應能更新 MWT-04 world state。
154. 命題:Existential Positive Requires No Global Coverage
對:
若找到:
且:
有有效 certificate,
則 positive answer 已完成。
不需要遍歷整個 。
155. 命題:Existential Negative Needs Additional Burden
同一 query 若只得到:
由 Q11 不能推出:
需要額外 completeness / impossibility certificate。
156. 命題:Universal Negative Is Witness-Complete
對:
若找到:
且:
則 universal claim 被 refute。
157. 命題:Formal Proof Is Foundation-Indexed
若:
則可輸出:
不能刪除 index 後自動宣稱:
158. 命題:Query Replanning Does Not Invalidate Retained Evidence
若 plan:
而某 evidence:
仍滿足新 plan scope / version,
則 可以被 retained。
replan 不要求全部從頭開始。
159. 條件定理:Certified Query Completion
若:
- Inquiry Contract well-posed;
- 所有 mandatory obligations 有完成證書、valid refutation 或 contract-allowed unknown;
- 所有 claim scope / identity / version 明示;
- coverage obligations 滿足;
- no unreported hard conflict;
- Answer Bundle 與 provenance 完整;
則:
由本文 query-completion definition 成立。
160. 條件定理:Finite Exhaustive Universal Certification
若:
- 有有限完整 enumeration:
- enumeration completeness 有 certificate;
- 對每個 , 有 valid certificate;
則:
可由 finite exhaustive computation certification 得到。
161. 研究猜想:Query-Native Mathematics
未來 AI-native mathematics 的核心入口可能不再是:
選一個 theorem prover / solver。
而是:
162. 研究猜想:Proof/Computation Complementarity
對部分 research problems,proof search 與 counterexample / numerical search 並行可能比單獨任一路線更有效,因為兩者互相縮小 search space、產生 lemma 與 falsify weak conjectures。
163. 研究猜想:Persistent Query Residual as Discovery Signal
如果一個 query 在多 presentation、solver、proof / search route 下長期留下同一 unresolved obligation,該 residual 可能指向:
- missing definition;
- missing invariant;
- missing dimension;
- genuinely hard boundary。
164. 研究猜想:World Query Planner as AGI Mathematics Interface
當 AI 能從高層 query 自動生成可靠 obligation graph,並將 proof、computation、retrieval、simulation、observer 與 coupling participant 自動聯邦時,數學使用介面可能從「人類選方法」逐步變成「人類定義問題與驗證標準」。
165. 開放問題
O1 — Intent Compilation
自然語言 intent 如何無損轉成 Inquiry Contract?
O2 — Obligation Completeness
如何知道 planner 沒漏掉 mandatory obligation?
O3 — Plan Search Complexity
最佳 obligation graph 是否本身難解?
O4 — Proof/Computation Evidence Algebra
不同證據如何組成,而不做錯誤數值化?
O5 — Query Coverage
無限 source / strategy space 下如何表示 coverage?
O6 — Automated Identity Resolution
query 中的「同一」如何由 AI 安全推定?
O7 — Cross-Foundation Query Answer
多 formal systems 給出不同結果時,最佳 answer representation 是什麼?
O8 — Query Reopen Minimality
新 evidence 到來後如何只重算受影響 obligations?
O9 — Human Query Governance
哪些 query contract 必須由人類定義?
O10 — Query-to-Refinement
persistent query failure 何時應觸發 MWT-05 新 dimension / presentation?
166. 外部研究接口:Agentic Formal Theorem Proving
2026 年 OpenProver 展示:
- Planner;
- Workers;
- Lean 4 verifier;
- persistent repository;
可形成 agentic formal proof workflow。
MWT 將這種架構視為 Proof Federation Manager 的成熟 backend 類型。
167. 外部研究接口:Discover and Prove
Hard Mode ATP 顯示:
找到答案與形式證明答案是兩個不同任務。
MWT-07 將其一般化成:
168. 外部研究接口:Automated Conjecture Resolution
2026 年 Automated Conjecture Resolution 將 informal reasoning、theorem search 與 formal Lean verification連成研究流程。
這提供:
的當代成熟案例。
MWT 再把 numerical、simulation、retrieval、observer 與 coupling obligations 放入同一 query layer。
169. 外部研究接口:Federated Query Processing
heterogeneous data federation 已長期研究:
- source selection;
- decomposition;
- logical plan;
- interface-aware execution;
- adaptive replanning。
MWT 不把數學世界等同資料庫。
它吸收:
170. FedQPL Interface
FedQPL 對 heterogeneous RDF federation 建立 logical query-plan language,並形式研究 source selection 與 rewriting。
MWT 的 Obligation Hypergraph 在精神上更接近:
對 heterogeneous mathematical capabilities 建立 explicit world-inference plan。
但 MWT obligations 包括 proof、simulation 與 observation,不只是資料查詢。
171. 與 GIPSS / DRC / SGCD 的接口
GIPSS v0.2 已有:
MWT-07 將其定位為:
的高價值 specialized backend。
172. 與 MWT-06 的接口
如果 obligation graph 中:
成立,
Query Planner 建立:
World Solve 的 residual / result 回到 Answer Bundle。
173. 與 MWT-05 的接口
如果 query 無法被 current presentation vocabulary 表達:
可能生成:
- new dimension;
- new presentation;
- new bridge;
- new observer。
174. 與 MWT-04 的接口
重要 query answer:
若達到 Stable Core admission,更新:
未解 query 進:
新 evidence 可進 Reopen Set。
175. 與 MWT-03 的接口
obligation graph execution順序、parallel proof / search、noncommutative formalization / retrieval 全部交給 NCS。
176. 與 MWT-02 的接口
每個:
- proof attempt;
- external query;
- simulation;
- computation;
- translation;
都是 interaction,必須有 legality。
177. 與 MWT-01 的接口
query 的 scope、identity、presentation、translation 與 answer projection都依 Presentation Theory。
因此 MWT-07 沒有新增一個脫離世界的「超級問答器」。
178. MWT-01~07 的循環
目前可以寫:
179. 下一篇接口
下一篇最自然的是:
MWT-08:Global Quantification, Coverage, and Universal Proof Obligations
因為 MWT-07 已經知道如何問問題。
下一個最危險的地方就是:
與:
MWT-08 將正式處理:
- universal quantifier;
- finite / infinite coverage;
- global proof;
- exhaustive certificate;
- local-to-global lift;
- counterexample completeness;
- approximation;
- quantifier compression;
- 「驗證很多」何時真的能變成「對所有」。
也就是替 MWT 的「全域」補上真正的量詞責任。
180. 一句話版
MWT-07 將 query 從字串提升為 Inquiry Contract,明示 intent、scope、answer type、identity、evidence、validation、version、risk 與 budget,並將複雜問題編譯成帶 dependency、alternative、join 與 refutation edges 的 obligation hypergraph。Proof、computation、retrieval、simulation、observation、formalization、translation、counterexample 與 coupling 各自保留不同證據地位,由 capability-aware federation 並行執行與交叉驗證。系統不再把「沒有找到」偷換成「不存在」、不把 proof search failure 偷換成 refutation,也不把 simulation 或 LLM reasoning 偷換成 theorem;真正的回答是一個帶正反 claims、unknown、conflict、provenance、history 與 coverage certificate 的結構化 Answer Bundle。
附錄 A:核心符號表
| 符號 | 意義 |
|---|---|
| query surface | |
| Inquiry Contract | |
| query intent | |
| query scope | |
| answer contract | |
| identity specification | |
| evidence requirement | |
| validation requirement | |
| time/version scope | |
| risk profile | |
| budget | |
| Obligation Hypergraph | |
| proof obligation | |
| computation obligation | |
| retrieval obligation | |
| simulation obligation | |
| observation obligation | |
| formalization obligation | |
| translation obligation | |
| counterexample obligation | |
| coupling obligation | |
| verification obligation | |
| Query Answer Bundle | |
| Evidence Ledger | |
| completion / coverage certificate | |
| Query Compiler | |
| Intent/Scope Resolver | |
| Obligation Graph Builder | |
| Capability Router | |
| Proof Federation Manager | |
| Computation Federation Manager | |
| Counterexample Engine | |
| Coverage Engine | |
| Answer Synthesizer | |
| Query Reopen Engine |
附錄 B:v0.1 非主張清單
MWT-07 不主張:
- 每個自然語言 query 都能無歧義形式化;
- 每個 query 都存在完備 obligation graph;
- 所有 proof obligations 可自動解;
- 所有 query 都需要 formal proof;
- numerical evidence 等於 proof;
- simulation 等於現實;
- retrieval result 等於真理;
- LLM reasoning 等於 theorem;
- proof search failure 等於 theorem false;
- search failure 等於不存在;
- 所有 source coverage 可精確量化;
- query planner 可以搜尋所有可能方法;
- capability router 永遠選到最佳 solver;
- 多 verifier 同意等於 World truth;
- 不同 proof assistants 就天然獨立;
- 所有 evidence 可以壓成單一 confidence;
- Query Answer Bundle 永遠需要 Yes / No;
- query completion 等於數學問題永遠完成;
- answer stable 後不會被新證據 reopen;
- formalization 不會改變 query;
- 任何 counterexample candidate 都有效;
- federated query processing 等於 MWT;
- agentic theorem prover 等於 MWT;
- GIPSS 能回答所有 query type;
- MWT-07 已建立 universal AGI question-answering system;
- query planning 可繞過 MWT legality;
- 「global query」表示必須執行全域 exhaustive search。
附錄 C:外部研究接口與參考文獻
- Matěj Kripner and Milan Straka, OpenProver: Agentic and Interactive Theorem Proving with Lean 4, 2026, arXiv:2607.09217.
- Chengwu Liu et al., Discover and Prove: An Open-source Agentic Framework for Hard Mode Automated Theorem Proving in Lean 4, 2026, arXiv:2604.15839.
- Haocheng Ju et al., Automated Conjecture Resolution with Formal Verification, 2026, arXiv:2604.03789.
- Junqi Liu et al., Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematics, 2026, arXiv:2601.14027.
- Sijin Cheng and Olaf Hartig, FedQPL: A Language for Logical Query Plans over Heterogeneous Federations of RDF Data Sources, 2020, arXiv:2010.01190.
- Lars Heling and Maribel Acosta, A Framework for Federated SPARQL Query Processing over Heterogeneous Linked Data Fragments, 2021, arXiv:2102.03269.
- Amin Beiranvand and Nasser Ghadiri, ADQUEX: Adaptive Processing of Federated Queries over Linked Data based on Tuple Routing, 2015, arXiv:1505.04880.
附錄 D:內部依賴
MWT-07 直接依賴:
- MWT-01《World Primitive 與 Presentation Theory》
- MWT-02《Global Legality Calculus》
- MWT-03《Global Interaction Graph and Noncommutative Scheduler》
- MWT-04《World State, Branch Convergence, and Dynamic Fixed Points》
- MWT-05《Unbounded Refinement, World Expansion, and Resolution Dynamics》
- MWT-06《Global Coupling Calculus and Multi-Resolution World Solve》
- GIPSS v0.2/DRC/SGCD
- 《全域欲相位認識論》
- 帳本因果數學/數學因果帳本
- NTLA-O identity / observer 主線
本文把既有「搜尋/欲」擴展成一般 World Query,但保留 GIPSS 作 discovery-query specialized backend。