proof-assistant

Solid

Assist in constructing algorithm correctness proofs

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
77
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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" }...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills