siddhartha-gadgil/leanaide/direct-contrapositive-contradiction

Claude Code and agent skill by siddhartha-gadgil/leanaide

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install siddhartha-gadgil/leanaide/direct-contrapositive-contradiction

SKILL.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:

  1. Classify the Goal Form:
  • For P -> Q, first try a direct proof: assume P, prove Q.
  • If not Q gives stronger algebraic or structural information, try the contrapositive: prove not Q -> not P.
  • If the negation of the whole goal creates a useful object or forbidden configuration, use contradiction.
  1. 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.
  1. Drive Forward: Derive concrete consequences of the assumptions before invoking high-level theorems.
  2. 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/siddhartha-gadgil/leanaide/direct-contrapositive-contradiction/badge)](https://verified-skill.com/skills/siddhartha-gadgil/leanaide/direct-contrapositive-contradiction)

Something wrong with this skill or its page? Tell us.