Counterexample Generator
Testing & Qualitycounterexample-generatorCounterexample 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
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- 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
- Property Specification: Define testable properties formally
- Sampling Strategy: Choose appropriate random distributions
- Constraint Solving: Use SMT for structured search
- Boundary Testing: Exhaustively check small cases
Tools/Libraries
- Z3
- CVC5
- Quickcheck
- Nitpick