counterexample-debugger

Community

Debug proof failures with counterexamples.

AuthorArabelaTso
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps users understand and fix proof failures in formal verification systems by analyzing counterexamples generated by tools like Nitpick and QuickChick.

Core Features & Use Cases

  • Counterexample Analysis: Interprets outputs from Nitpick (Isabelle/HOL) and QuickChick (Coq).
  • Root Cause Identification: Pinpoints issues like missing preconditions, incorrect specifications, or quantifier errors.
  • Correction Suggestions: Provides concrete examples of how to fix specifications or proofs.
  • Use Case: When a theorem prover fails to prove a property and provides a counterexample, this Skill guides you through understanding why that specific input breaks the theorem and suggests how to correct the underlying specification or proof.

Quick Start

Analyze the provided counterexample output from Nitpick for the failed theorem 'my_lemma' and suggest corrections.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: counterexample-debugger
Download link: https://github.com/ArabelaTso/Skills-4-SE/archive/main.zip#counterexample-debugger

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.