dialectica
БесплатноБез исполняемых скриптовНе проверенDialectica Skill (ERGODIC 0)
от plurigrid★ 73 звезды на GitHubОб этом скилле
Dialectica Skill (ERGODIC 0)
Proof-as-game interpretation via Gödel's Dialectica
Trit: 0 (ERGODIC)
Color: #26D826 (Green)
Role: Coordinator/Transporter
Core Concept
Dialectica transforms proofs into games:
A ⊢ B becomes ∃x. ∀y. R(x, y)
Where:
- x = Proponent's move (witness/strategy)
- y = Opponent's challenge
- R(x,y) = Winning condition (atomic)
The Dialectica Interpretation
For Logical Connectives
D(A ∧ B) = ∃(x,x').∀(y,y'). D(A)[x,y] ∧ D(B)[x',y']
D(A → B) = ∃f,F. ∀x,y. D(A)[x, F(x,y)] → D(B)[f(x), y]
D(∀z.A) = ∃f. ∀z,y. D(A)[f(z), y]
D(∃z.A) = ∃(z,x). ∀y. D(A)[x, y]
Key Insight: Functions as Strategies
- f extracts witnesses from proofs
- F back-propagates challenges
- Composition = strategy composition
Integration with Glass Bead Game
# World hop via Dialectica
def dialectica_hop(proposition, world_state)
# Transform proposition to game
game = {
proponent_moves: extract_witnesses(proposition),
opponent_moves: extract_challenges(proposition),
winning: atomic_condition(proposition)
}
# Play generates new world
new_world = play_game(game, world_state)
# GF(3) conservation check
verify_gf3(world_state, new_world)
end
Attack/Defense Structure
Proponent (∃)
↓ witness x
Opponent (∀)
↓ challenge y
Proponent
↓ response (via f, F)
...
Atomic check R(x,y)
Linear Logic Decomposition
Dialectica splits into multiplicative/additive:
A ⊸ B = (A⊥ ⅋ B) # Linear implication
A ⊗ B # Tensor (both needed)
A & B # With (choice)
A ⊕ B # Plus (given)
!A # Of course (reusable)
?A # Why not (garbage)
Chu Construction
Chu(Set, ⊥) ≃ *-autonomous category
Objects: (A⁺, A⁻, ⟨-,-⟩: A⁺ × A⁻ → ⊥)
GF(3) Triads
three-match (-1) ⊗ dialectica (0) ⊗ gay-mcp (+1) = 0 ✓
proofgeneral-narya (-1) ⊗ dialectica (0) ⊗ rubato-composer (+1) = 0 ✓
clj-kondo-3color (-1) ⊗ dialectica (0) ⊗ cider-clojure (+1) = 0 ✓
Commands
# Transform proof to game
just dialectica-game "A → B"
# Play one round
just dialectica-play witness challenge
# Check linear decomposition
just dialectica-linear prop
de Paiva Categories
Dialectica produces:
- Dial(Set): Dialectica category over Set
- Morphisms: (f, F) pairs with coherence
- Tensor: Product of games
- Internal hom: Strategy space
Hom_Dial((A,X,α), (B,Y,β)) =
{ (f,F) : A×Y → B, A×Y → X |
α(a, F(a,y)) ≤ β(f(a,y), y) }
References
- Gödel, "Über eine bisher noch nicht benützte Erweiterung" (1958)
- de Paiva, "The Dialectica Categories"
- Shulman, "Linear Logic for Constructive Mathematics"
Установить dialectica в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dialectica?
Dialectica Skill (ERGODIC 0)
Как установить скилл dialectica?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dialectica запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub