Skip to content
logic logo

Logic Skill

logic

Master formal and informal logic - valid reasoning, fallacies, paradoxes. Use for: argument analysis, validity, soundness, logical form, fallacies, paradoxes. Triggers: 'valid', 'validity', 'fallacy', 'premise', 'conclusion', 'modus ponens', 'modus tollens', 'paradox', 'logical', 'syllogism', 'de...

SKILL.md

Full skill instructions

Logic Skill

Master the principles of valid reasoning: formal logic, informal logic, fallacy detection, and paradox analysis.

Fundamentals

Basic Concepts

TermDefinition
ArgumentPremises + Conclusion
PremiseStatement offered as support
ConclusionStatement being supported
ValidConclusion follows from premises
SoundValid + true premises
CogentStrong inductive + true premises

Validity vs. Soundness

VALIDITY: If premises true, conclusion must be true
          (Logical form preserves truth)

SOUNDNESS: Valid + Actually true premises
           (Guarantees true conclusion)

EXAMPLE:
All cats are mammals.     (True)
All mammals are animals.  (True)
∴ All cats are animals.   (True) → SOUND

All fish are mammals.     (False)
All mammals can fly.      (False)
∴ All fish can fly.       (False) → VALID but not SOUND

Propositional Logic

Connectives

SymbolNameMeaning
¬NegationNot P
∧ConjunctionP and Q
∨DisjunctionP or Q
→ConditionalIf P then Q
↔BiconditionalP iff Q

Valid Argument Forms

MODUS PONENS               MODUS TOLLENS
P → Q                      P → Q
P                          ¬Q
─────                      ─────
∴ Q                        ∴ ¬P

HYPOTHETICAL SYLLOGISM     DISJUNCTIVE SYLLOGISM
P → Q                      P ∨ Q
Q → R                      ¬P
─────                      ─────
∴ P → R                    ∴ Q

CONSTRUCTIVE DILEMMA       REDUCTIO AD ABSURDUM
P → Q                      Assume P
R → S                      ...
P ∨ R                      Derive contradiction
─────                      ─────
∴ Q ∨ S                    ∴ ¬P

Invalid Forms (Fallacies)

AFFIRMING THE CONSEQUENT   DENYING THE ANTECEDENT
P → Q                      P → Q
Q                          ¬P
─────                      ─────
∴ P ✗ INVALID              ∴ ¬Q ✗ INVALID

Predicate Logic

Quantifiers

SymbolNameMeaning
∀xUniversalFor all x
∃xExistentialThere exists x

Valid Inferences

UNIVERSAL INSTANTIATION    EXISTENTIAL GENERALIZATION
∀x(Fx)                     Fa
─────                      ─────
∴ Fa                       ∴ ∃x(Fx)

UNIVERSAL GENERALIZATION   EXISTENTIAL INSTANTIATION
(arbitrary a) Fa           ∃x(Fx)
─────                      ─────
∴ ∀x(Fx)                   ∴ Fa (for new constant a)

Informal Fallacies

Fallacies of Relevance

FallacyDescriptionExample
Ad hominemAttack the person"You're wrong because you're stupid"
Appeal to authorityIrrelevant authority"A celebrity says X"
Appeal to emotionManipulate feelingsFear-mongering
Red herringChange subjectDiverting attention
Straw manMisrepresent argumentAttack weaker version

Fallacies of Presumption

FallacyDescriptionExample
Begging the questionAssume conclusionCircular reasoning
False dilemmaOnly two options"With us or against us"
Hasty generalizationSmall sample"Two Xs did Y, so all Xs"
Slippery slopeUnsupported chain"A leads to Z inevitably"

Fallacies of Ambiguity

FallacyDescriptionExample
EquivocationShifting meaning"Light" (weight/​illumination)
AmphibolyGrammatical ambiguityHeadlines
CompositionParts → whole"Atoms invisible ∴ tables invisible"
DivisionWhole → parts"Team good ∴ each player good"

Paradoxes

Liar Paradox

"This sentence is false"

If true → It says it's false → False
If false → It says it's false, which is true → True

RESPONSES:
├── Tarskian hierarchy: No self-reference
├── Paraconsistent logic: Accept contradiction
├── Gapping: Sentence is neither true nor false
└── Contextualism: Truth conditions shift

Sorites Paradox (Heap)

1 grain is not a heap.
If n grains is not a heap, n+1 grains is not a heap.
∴ 1,000,000 grains is not a heap. ✗

RESPONSES:
├── Epistemicism: Sharp boundary, we don't know where
├── Supervaluationism: True under all precisifications
├── Degree theory: "Heap" admits degrees
└── Contextualism: Boundary shifts with context

Russell's Paradox

R = {x : x ∉ x} (Set of all sets not members of themselves)

Is R ∈ R?
If yes → By definition, R ∉ R
If no → By definition, R ∈ R

RESPONSE: Type theory, set-theoretic axioms preventing
          unrestricted comprehension

Modal Logic

Basic Modal Operators

SymbolMeaning
□PNecessarily P
◊PPossibly P

Relations

□P ↔ ¬◊¬P   (Necessary = not possibly not)
◊P ↔ ¬□¬P   (Possible = not necessarily not)

Systems

SystemCharacteristic Axiom
KBasic modal logic
T□P → P (Necessity implies truth)
S4□P → □□P (Iterated necessity)
S5◊P → □◊P (Possibility is necessary)

Argument Analysis Protocol

ANALYZING ARGUMENTS
═══════════════════

1. IDENTIFY CONCLUSION
   What is being argued for?

2. IDENTIFY PREMISES
   What reasons are given?

3. SUPPLY HIDDEN PREMISES
   What's assumed but not stated?

4. EVALUATE VALIDITY
   Does conclusion follow?

5. EVALUATE SOUNDNESS
   Are premises true?

6. CHECK FOR FALLACIES
   Any reasoning errors?

Key Vocabulary

TermMeaning
EntailmentP logically implies Q
TautologyTrue under all interpretations
ContradictionFalse under all interpretations
ContingentNeither tautology nor contradiction
ConsistentCan all be true together
InferenceMoving from premises to conclusion
DeductionConclusion follows necessarily
InductionConclusion follows probably

Integration with Repository

Related Skills

  • argument-mapping: Visualizing argument structure
  • thought-experiments: Logical analysis of scenarios

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View