siddhartha-gadgil/leanaide/direct-contrapositive-contradiction
Claude Code and agent skill by siddhartha-gadgil/leanaide
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install siddhartha-gadgil/leanaide/direct-contrapositive-contradictionSKILL.md
Skill: Direct, Contrapositive, and Contradiction Proofs
Pre-condition: Apply this skill when the goal is an implication, a negation, an impossibility statement, or a proposition whose negation has strong usable content.
Goal: Select the most efficient propositional proof skeleton and expose the assumptions that should drive the proof.
Instructions:
- Classify the Goal Form:
- For
P -> Q, first try a direct proof: assumeP, proveQ. - If
not Qgives stronger algebraic or structural information, try the contrapositive: provenot Q -> not P. - If the negation of the whole goal creates a useful object or forbidden configuration, use contradiction.
- Open the Correct Assumptions:
- Direct: record the hypotheses and the assumed antecedent.
- Contrapositive: record the negated conclusion and target the negated hypothesis.
- Contradiction: record the exact negation of the claim and the contradiction target.
- Drive Forward: Derive concrete consequences of the assumptions before invoking high-level theorems.
- Close the Proof: Make the final contradiction, negated hypothesis, or desired conclusion explicit.
Common Failure Modes:
- Using contradiction when a direct implication proof is shorter.
- Forgetting that contrapositive only applies directly to implications.
- Treating "prove a contradiction" as a claim rather than deriving an explicit false statement.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmath-reasoning-system/skills/techniques/core/direct_contrapositive_contradiction/SKILL.md
Popularity
- Repository stars
- 119
- Repository forks
- 17
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/siddhartha-gadgil/leanaide/direct-contrapositive-contradiction)