12 example counterexample

From siddhartha-gadgil/LeanAide · View interactive version

12 example counterexample is an AI agent skill from the GitHub repository siddhartha-gadgil/LeanAide. **Goal:** Construct useful examples, test examples, boundary cases, and counterexamples that clarify a problem, stress-test a conjecture, or guide a proof strategy.

How to use this skill

Skill file

Skill: Example and Counterexample Construction

Goal: Construct useful examples, test examples, boundary cases, and counterexamples that clarify a problem, stress-test a conjecture, or guide a proof strategy.

Scope: This skill supports both PROBLEM_SOLVING and EXPLORATORY_RESEARCH.

Examples are evidence and diagnostic tools. They do not prove universal claims

unless the domain has been reduced to a finite exhaustive list and exhaustion is

explicitly justified.

Instructions:

  1. Classify the Target:
  1. Extract Constraints: List the hypotheses that examples must satisfy and the conclusion or behavior to test.
  2. Choose Construction Families:
  1. Compute Explicitly: Verify each hypothesis and conclusion directly. For candidate counterexamples, state exactly which hypothesis holds and which conclusion fails.
  2. Compare Variants: If no counterexample appears, try weakening one hypothesis at a time.
  3. Record Outcome: Label each constructed object as:
  1. Feed Back Into Workflow:

Output: Save to artifacts/02_examples.md for early examples or append to artifacts/04_research_trace.md / artifacts/04_execution_trace.md when used inside a loop. If structured output is requested, use schema.json.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.