Skip to main content
Glama

find-counterexample

Find logical counterexamples by identifying models where premises are true but the conclusion is false, proving the conclusion doesn't logically follow from given premises.

Instructions

Find a counterexample showing the conclusion doesn't follow from premises.

When to use: You suspect a conclusion doesn't logically follow and want proof. When NOT to use: You want to prove the conclusion (use prove instead).

Example: premises: ["P(a)"] conclusion: "P(b)" → Returns counterexample where P(a)=true but P(b)=false

How it works: Searches for a model satisfying premises ∧ ¬conclusion. If found, proves the conclusion doesn't logically follow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
premisesYesList of logical premises
conclusionYesConclusion to disprove
domain_sizeNoSpecific domain size to search
max_domain_sizeNoMaximum domain size to try (default: 10)
verbosityNoResponse verbosity: 'minimal' (token-efficient), 'standard' (default), 'detailed' (debug info)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/automenta/mcplogic'

If you have feedback or need assistance with the MCP directory API, please join our Discord server