OpenParable
Skip to content
← Back to skills

Counterexample Generator

Testing & Quality
counterexample-generator

Counterexample Generator is an Agent Skill for testing & quality published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Automated search for counterexamples to mathematical conjectures

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/mathematics/skills/counterexample-generator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/counterexample-generator, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Counterexample Generator

Purpose

Provides automated search capabilities for finding counterexamples to mathematical conjectures and validating proof attempts.

Capabilities

  • Random testing with intelligent sampling
  • SMT-based counterexample search
  • Quickcheck-style property testing
  • Boundary case enumeration
  • Finite model finding (Nitpick, Quickcheck)

Usage Guidelines

  1. Property Specification: Define testable properties formally
  2. Sampling Strategy: Choose appropriate random distributions
  3. Constraint Solving: Use SMT for structured search
  4. Boundary Testing: Exhaustively check small cases

Tools/Libraries

  • Z3
  • CVC5
  • Quickcheck
  • Nitpick