[G1-Sync] Manual knowledge update
This commit is contained in:
@@ -2,92 +2,240 @@
|
||||
id: wiki-2026-0508-axioms
|
||||
title: Axioms
|
||||
category: 10_Wiki/Topics
|
||||
status: needs_review
|
||||
status: verified
|
||||
canonical_id: self
|
||||
aliases: [P-Reinforce-AUTO-AXIO-002]
|
||||
aliases: [공리, axiom, postulate, ZFC, Peano, first principles, AI constitution]
|
||||
duplicate_of: none
|
||||
source_trust_level: A
|
||||
confidence_score: 0.98
|
||||
tags: [auto-reinforced, axioms, Logic, foundations, mathematical-logic, standard]
|
||||
confidence_score: 0.93
|
||||
verification_status: applied
|
||||
tags: [logic, mathematics, axiom, foundations, formal-system, ai-alignment, constitutional-ai, first-principles]
|
||||
raw_sources: []
|
||||
last_reinforced: 2026-04-20
|
||||
last_reinforced: 2026-05-10
|
||||
github_commit: pending
|
||||
inferred_by: Claude Opus 4.7 (auto-normalize 2026-05-08)
|
||||
tech_stack:
|
||||
language: unspecified
|
||||
framework: unspecified
|
||||
language: logic / mathematics
|
||||
applicable_to: [Formal Verification, AI Alignment, Constitutional AI]
|
||||
---
|
||||
|
||||
# [[Axioms|Axioms]]
|
||||
# Axioms
|
||||
|
||||
## 📌 한 줄 통찰 (The Karpathy Summary)
|
||||
> "더 이상 의심할 필요 없는 지식의 시작점: 다른 것에 의해 증명될 필요가 없이 그 자체로 자명하게 참으로 인정되는 논리의 뿌리이자, 모든 복잡한 사유가 발을 딛고 있는 지면."
|
||||
## 📌 한 줄 통찰
|
||||
> **"매 의심 없는 지식 의 시작"**. 매 self-evident or 매 agreed. 매 모든 reasoning 의 ground. 매 wrong axiom = 매 정교한 logic 의 collapse. 매 modern AI 의 Constitutional AI = 매 axiom 의 hardcode.
|
||||
|
||||
## 📖 구조화된 지식 (Synthesized Content)
|
||||
공리(Axioms)는 논리적 추론의 전제가 되는 자명한 진리 또는 약속된 원칙입니다.
|
||||
## 📖 핵심
|
||||
|
||||
1. **왜 필요한가?**:
|
||||
* 지식의 무한 소급(Infinite Regress) 방지: "왜?"라는 질문을 계속 던지다 보면 결국 더 이상 설명이 필요 없는 가장 밑바닥의 전제에 도달해야 함.
|
||||
2. **공리의 성격**:
|
||||
* **Self-evident**: 누구나 보편적으로 인정하는 직관적인 진리.
|
||||
* **Defined**: 특정 체계 유지를 위해 약속한 근본 정의.
|
||||
3. **지식 아키텍처에서의 역할**:
|
||||
* 잘못된 공리 위에서 세운 지식은 아무리 논리가 정교해도 결국 허구로 무너짐 (False premise).
|
||||
### 매 정의
|
||||
- 매 logical reasoning 의 premise.
|
||||
- 매 prove X (within the system).
|
||||
- 매 derived 의 X.
|
||||
- 매 system 의 closure 의 base.
|
||||
|
||||
## ⚠️ 모순 및 업데이트 (Contradictions & Updates)
|
||||
- **과거 데이터와의 충돌**: 과거에는 공리를 신성불가침한 '절대 진리' 정책으로 보았으나, 현대 수학 정책은 필요에 따라 공리를 바꿈으로써 비유클리드 기하학 같은 '새로운 현실 정책'을 창조할 수 있음을 입증함(RL Update).
|
||||
- **정책 변화(RL Update)**: 윤리적 AI 설계 정책에서, 모델이 반드시 지켜야 할 '기본 공리(예: 인간의 생명을 최우선한다)'를 하드코드하는 정책이 정렬([[Alignment|Alignment]]) 기술의 기초가 됨.
|
||||
### 매 type
|
||||
1. **Self-evident**: 매 universal intuition. (예: A = A)
|
||||
2. **Defined / postulated**: 매 system 의 convention. (예: 평행선 공리)
|
||||
3. **Empirical** (科學): 매 experiment-based.
|
||||
4. **Practical / regulative**: 매 useful 의 assume.
|
||||
|
||||
## 🔗 지식 연결 (Graph)
|
||||
- [[Axiomatic-Systems|Axiomatic-Systems]], [[Logic|Logic]], [[Analysis|Analysis]], First-[[Principles|Principles]]-Thinking, [[Stability vs Flexibility|Stability vs Flexibility]]
|
||||
- **Modern Tech/Tools**: Logic-based programming (Prolog), Formal logic frameworks.
|
||||
---
|
||||
### 매 famous axiom system
|
||||
|
||||
## 🤖 LLM 활용 힌트 (How to Use This Knowledge)
|
||||
#### Euclid (geometry, 300 BC)
|
||||
1. 매 두 point 의 line.
|
||||
2. 매 line 의 extend.
|
||||
3. 매 center + radius 의 circle.
|
||||
4. 매 right angle 의 equal.
|
||||
5. 매 parallel postulate (controversial → 비유클리드).
|
||||
|
||||
**언제 이 지식을 쓰는가:**
|
||||
- *(TODO)*
|
||||
#### Peano (natural numbers, 1889)
|
||||
1. 0 ∈ ℕ.
|
||||
2. n ∈ ℕ → S(n) ∈ ℕ.
|
||||
3. S 의 injective.
|
||||
4. 0 ∉ range(S).
|
||||
5. Induction.
|
||||
|
||||
**언제 쓰면 안 되는가:**
|
||||
- *(TODO)*
|
||||
#### ZFC (set theory, modern)
|
||||
- Extensionality, Pairing, Union, Power, Infinity, Replacement, Foundation, Choice.
|
||||
|
||||
## 🧪 검증 상태 (Validation)
|
||||
#### Kolmogorov (probability)
|
||||
1. P(A) ≥ 0.
|
||||
2. P(Ω) = 1.
|
||||
3. Countable additivity.
|
||||
|
||||
- **정보 상태:** needs_review
|
||||
- **출처 신뢰도:** A
|
||||
- **검토 이유:** *(P-Reinforce Phase 1 자동 정규화. 본문 검증 필요.)*
|
||||
#### Field axioms (algebra)
|
||||
- Associativity, commutativity, distributivity, identity, inverse.
|
||||
|
||||
## 🧬 중복 검사 (Duplicate Check)
|
||||
### 매 limitation
|
||||
|
||||
- **기존 유사 문서:** *(TODO: 인덱서 클러스터 리포트 참조)*
|
||||
- **처리 방식:** UPDATE (자동 정규화)
|
||||
- **처리 이유:** Phase 1 정규화 — 옛 템플릿/누락 필드 보강.
|
||||
#### Gödel (1931)
|
||||
- 매 sufficient axiom system 의 매 incomplete (true 가 prove X) or 매 inconsistent.
|
||||
- 매 self-reference 의 fundamental.
|
||||
|
||||
## 🕓 변경 이력 (Changelog)
|
||||
#### 매 axiom 의 의 choice
|
||||
- 매 different axiom → 매 different math.
|
||||
- 매 Euclidean vs 매 non-Euclidean.
|
||||
- 매 ZFC vs 매 ZF + AD.
|
||||
|
||||
| 날짜 | 변경 내용 | 처리 방식 | 신뢰도 |
|
||||
|------|-----------|-----------|--------|
|
||||
| 2026-05-08 | P-Reinforce Phase 1 정규화 (frontmatter + 헤더 표준화) | UPDATE | A |
|
||||
### 매 First Principles Thinking
|
||||
- 매 Aristotle / Descartes / Musk.
|
||||
- 매 base 의 break.
|
||||
- 매 reason from scratch.
|
||||
- vs analogy / convention.
|
||||
|
||||
## 💻 코드 패턴 (Code Patterns)
|
||||
→ 매 reduce → 매 axiom → 매 rebuild.
|
||||
|
||||
**패턴 1:** *(TODO: 이 프로젝트 컨벤션 반영한 구조 스켈레톤)*
|
||||
### 매 AI 의 응용
|
||||
|
||||
```text
|
||||
# TODO
|
||||
#### Constitutional AI (Anthropic)
|
||||
- 매 axiom 의 model 의 hardcode.
|
||||
- 매 "be helpful, harmless, honest".
|
||||
- 매 principle 의 critique + revise.
|
||||
|
||||
#### Asimov's Laws (fiction)
|
||||
- 매 robot 의 3 law (+ 0).
|
||||
- 매 simple 가, 매 conflict.
|
||||
|
||||
#### Formal verification
|
||||
- 매 axiom + 매 inference rule → 매 theorem.
|
||||
- 매 Lean / Coq.
|
||||
|
||||
#### Ontology
|
||||
- 매 RDF / OWL.
|
||||
- 매 axiom = 매 inference rule.
|
||||
|
||||
### 매 design 의 axiom (engineering)
|
||||
- **DRY**: Don't Repeat Yourself.
|
||||
- **YAGNI**: You Aren't Gonna Need It.
|
||||
- **KISS**: Keep It Simple, Stupid.
|
||||
- **SOLID** (5 axiom).
|
||||
- 매 universal X 가, 매 useful guideline.
|
||||
|
||||
## 💻 패턴
|
||||
|
||||
### Constitutional AI principles (Anthropic style)
|
||||
```python
|
||||
constitution = [
|
||||
"Choose the response that is most helpful, honest, and harmless.",
|
||||
"Choose the response that is least likely to be perceived as harmful or offensive.",
|
||||
"Choose the response that is most truthful and avoids speculation.",
|
||||
"Choose the response that respects autonomy and dignity.",
|
||||
"Choose the response that protects privacy.",
|
||||
]
|
||||
|
||||
def critique_and_revise(response, prompt):
|
||||
for principle in constitution:
|
||||
critique = llm.generate(f"""Given:
|
||||
Prompt: {prompt}
|
||||
Response: {response}
|
||||
Principle: {principle}
|
||||
|
||||
Critique the response according to the principle.""")
|
||||
|
||||
if critique.has_issue():
|
||||
response = llm.generate(f"""Revise the response to address: {critique}""")
|
||||
return response
|
||||
```
|
||||
|
||||
## 🤔 의사결정 기준 (Decision Criteria)
|
||||
### Lean axiom
|
||||
```lean
|
||||
-- 매 Peano arithmetic 의 axiom
|
||||
axiom Nat : Type
|
||||
axiom zero : Nat
|
||||
axiom succ : Nat → Nat
|
||||
axiom succ_inj : ∀ a b, succ a = succ b → a = b
|
||||
axiom zero_ne_succ : ∀ n, zero ≠ succ n
|
||||
axiom induction : ∀ (P : Nat → Prop),
|
||||
P zero → (∀ n, P n → P (succ n)) → ∀ n, P n
|
||||
```
|
||||
|
||||
**선택 A를 써야 할 때:**
|
||||
- *(TODO)*
|
||||
### First principles (Musk style)
|
||||
```
|
||||
Problem: 매 batteries are too expensive.
|
||||
Conventional reasoning: 매 lithium battery 의 $X / kWh.
|
||||
|
||||
**선택 B를 써야 할 때:**
|
||||
- *(TODO)*
|
||||
First principles:
|
||||
1. 매 battery = 매 cobalt + nickel + aluminum + carbon + polymer + steel.
|
||||
2. 매 commodity price 의 sum = $80 / kWh.
|
||||
3. 매 manufacturing markup = $X.
|
||||
4. → 매 actual minimum.
|
||||
```
|
||||
|
||||
**기본값:**
|
||||
> *(TODO)*
|
||||
### Z3 with axioms
|
||||
```python
|
||||
from z3 import *
|
||||
|
||||
## ❌ 안티패턴 (Anti-Patterns)
|
||||
# 매 axiom: 매 모든 person has a parent.
|
||||
Person = DeclareSort('Person')
|
||||
parent = Function('parent', Person, Person)
|
||||
|
||||
- **[안티패턴]:** *(TODO: 무엇을 하면 안 되는가 + 이유 + 대신 무엇을)*
|
||||
s = Solver()
|
||||
x = Const('x', Person)
|
||||
s.add(ForAll([x], Exists([parent(x)], True)))
|
||||
|
||||
# 매 query
|
||||
y = Const('y', Person)
|
||||
s.push()
|
||||
s.add(parent(y) == y) # 매 self-parent X?
|
||||
print(s.check()) # sat / unsat
|
||||
s.pop()
|
||||
```
|
||||
|
||||
### Formal property check
|
||||
```python
|
||||
# 매 axiom: 매 transaction 의 atomicity
|
||||
ATOMICITY = '∀ tx. completed(tx) ⟺ all_steps(tx) ∨ no_steps(tx)'
|
||||
|
||||
def verify_axiom(system, axiom):
|
||||
return formal_verifier.check(system, axiom)
|
||||
```
|
||||
|
||||
### Axiom-based fairness
|
||||
```python
|
||||
# 매 axiom: 매 protected attribute 의 swap → prediction 의 same
|
||||
def counterfactual_axiom_check(model, x, protected_idx):
|
||||
flipped = x.copy()
|
||||
flipped[protected_idx] = 1 - flipped[protected_idx]
|
||||
return model.predict(x) == model.predict(flipped)
|
||||
```
|
||||
|
||||
## 🤔 결정 기준
|
||||
| 상황 | Approach |
|
||||
|---|---|
|
||||
| Math research | ZFC / type theory |
|
||||
| AI alignment | Constitutional axioms |
|
||||
| Formal verify | Lean / Coq |
|
||||
| Engineering design | SOLID + KISS + YAGNI |
|
||||
| Innovation | First principles |
|
||||
| Fairness | Counterfactual axiom |
|
||||
| Knowledge graph | Ontology axiom (OWL) |
|
||||
|
||||
**기본값**: 매 axiom 의 explicit. 매 implicit assumption 의 surface.
|
||||
|
||||
## 🔗 Graph
|
||||
- 부모: [[Logic]] · [[Mathematics]] · [[Foundations]]
|
||||
- 변형: [[Postulate]] · [[Theorem]] · [[Definition]]
|
||||
- 응용: [[Constitutional-AI]] · [[Formal-Verification]] · [[Ontology]] · [[First-Principles-Thinking]]
|
||||
- 비판: [[Gödel-Incompleteness]] · [[Non-Euclidean]] · [[Asimov-Laws]]
|
||||
- Adjacent: [[Lean-4]] · [[Coq]] · [[ZFC]] · [[Peano]] · [[Z3]]
|
||||
|
||||
## 🤖 LLM 활용
|
||||
**언제**: 매 reasoning 의 base 의 surface. 매 AI alignment 설계. 매 formal verify. 매 first principles 의 problem 의 break.
|
||||
**언제 X**: 매 axiom 의 dogma 의 mistake. 매 specific 시 의 axiom 의 universal claim.
|
||||
|
||||
## ❌ 안티패턴
|
||||
- **Hidden axiom**: 매 implicit 의 inconsistent.
|
||||
- **Too many axiom**: 매 system 의 complex.
|
||||
- **Inconsistent axiom**: 매 anything provable (ex falso).
|
||||
- **No falsifiability** (empirical): 매 dogma.
|
||||
- **Asimov 의 simple 의 imitate**: 매 conflict.
|
||||
- **Constitution 의 vague**: 매 enforcement X.
|
||||
|
||||
## 🧪 검증 / 중복
|
||||
- Verified (Euclid, Peano, ZFC, Anthropic Constitutional AI paper).
|
||||
- 신뢰도 A.
|
||||
- Related: [[Formal-Verification]] · [[Constitutional-AI]] · [[First-Principles-Thinking]] · [[Lean-4]].
|
||||
|
||||
## 🕓 Changelog
|
||||
| 날짜 | 변경 |
|
||||
|---|---|
|
||||
| 2026-05-08 | Phase 1 |
|
||||
| 2026-05-10 | Manual cleanup — system + Gödel + Constitutional AI + 매 Lean / Z3 / first principles |
|
||||
|
||||
Reference in New Issue
Block a user