Counterexample Heuristics
Researchcounterexample-heuristicsCounterexample Heuristics is an Agent Skill for research published in the yogsoth-ai/de-anthropocentric-research-engine repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Generate counterexamples (monsters), attempt monster-barring, incorporate surviving counterexamples as lemma refinements (Lakatos method).
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/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/counterexample-heuristics/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/counterexample-heuristics, 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 Heuristics
Orchestration Steps
- Receive claim/theorem from strategy
- Dispatch
counterexample-generationto produce candidate monsters - For each counterexample:
a. Dispatch
monster-barring-attempt— can it be excluded legitimately? b. If barring succeeds: record as excluded, note narrowed scope c. If barring fails: counterexample is genuine - For genuine counterexamples, dispatch
claim-refinement:- Incorporate as lemma (add condition to claim)
- Or weaken claim scope
- Report: original claim, counterexamples found, refined claim
Subagents
- counterexample-generation
- monster-barring-attempt
- claim-refinement
Termination Conditions
- All generated counterexamples resolved (barred or incorporated)
- Claim refined to survive all counterexamples (success)
- Claim collapses entirely under counterexamples (falsified)
- Budget exhausted (report current state)
Available SOPs
Optional, no fixed order; the final leaf is always a sop.
| SOP | When to use |
|---|---|
| claim-refinement | Propose a refined claim that survives counterexamples while preserving maximum explanatory power (Lakatos lemma-incorporation). |
| counterexample-generation | Systematically generate counterexamples (monsters) to a given claim using diverse heuristic strategies. |
| monster-barring-attempt | Attempt to exclude a counterexample as illegitimate by tightening definitions or preconditions (Lakatos monster-barring). |