Best use case
dialectica is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Dialectica Skill (ERGODIC 0)
Teams using dialectica should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/dialectica/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How dialectica Compares
| Feature / Agent | dialectica | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Dialectica Skill (ERGODIC 0)
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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
```ruby
# 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
```bash
# 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:
1. **Dial(Set)**: Dialectica category over Set
2. **Morphisms**: (f, F) pairs with coherence
3. **Tensor**: Product of games
4. **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"Related Skills
zx-calculus
Coecke's ZX-calculus for quantum circuit reasoning via string diagrams with Z-spiders (green) and X-spiders (red)
zulip-cogen
Zulip Cogen Skill 🐸⚡
zls-integration
zls-integration skill
zig
zig skill
zig-syrup-bci
Multimodal BCI pipeline in Zig: DSI-24 EEG, fNIRS mBLL, eye tracking IVT, LSL sync, EDF read/write, GF(3) conservation
zig-programming
zig-programming skill
zeroth-bot
Zeroth Bot - 3D-printed open-source humanoid robot platform for sim-to-real and RL research. Affordable entry point for humanoid robotics.
xlsx
Comprehensive spreadsheet creation, editing, and analysis with support
wycheproof
Google's Wycheproof test vectors for cryptographic implementation testing.
Writing Hookify Rules
This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
worldmat-tidar
worldmat-tidar
worlding
Gay.jl world_ pattern: persistent composable state builders with GF(3) conservation, Möbius invertibility, and Narya verification