a5c-ai/babysitter / library/specializations/algorithms-optimization/skills/proof-assistant
proof-assistant
VerifiedAssist in constructing algorithm correctness proofs
SKILL.md
View on GitHub---
name: proof-assistant
description: Assist in constructing algorithm correctness proofs
allowed-tools:
- Read
- Write
- Grep
- Glob
graph:
domains: [domain:computer-science]
specializations: [specialization:algorithms-optimization]
skillAreas: [skill-area:mathematical-reasoning, skill-area:dynamic-programming]
roles: [role:backend-engineer, role:computational-scientist]
---
# Proof Assistant Skill
## Purpose
Assist in constructing formal correctness proofs for algorithms using standard proof techniques.
## Capabilities
- Proof structure templates (induction, contradiction, etc.)
- Step-by-step proof guidance
- Termination argument generation
- Proof review and validation
- Identify proof gaps
## Target Processes
- correctness-proof-testing
- algorithm-implementation
## Proof Techniques
### Mathematical Induction
- Base case identification
- Inductive hypothesis formulation
- Inductive step construction
### Proof by Contradiction
- Assumption negation
- Logical derivation
- Contradiction identification
### Loop Invariant Proofs
- Invariant specification
- Three-part proof (init, maintenance, termination)
### Structural Induction
- For recursive data structures
- Base case (leaf/empty)
- Inductive case (composite)
## Input Schema
```json
{
"type": "object",
"properties": {
"algorithm": { "type": "string" },
"code": { "type": "string" },
"proofType": {
"type": "string",
"enum": ["induction", "contradiction", "invariant", "structural"]
},
"claim": { "type": "string" },
"partialProof": { "type": "string" }
},
"required": ["algorithm", "claim"]
}
```
## Output Schema
```json
{
"type": "object",
"properties": {
"success": { "type": "boolean" },
"proof": { "type": "string" },
"structure": { "type": "array" },
"gaps": { "type": "array" },
"suggestions": { "type": "array" }
},
"required": ["success"]
}
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |