CSS Prepare

Logic

9 min read

Logic is the systematic study of valid inference — what follows from what. It originated with Aristotle's Organon (4th c. BCE), was extended by Stoics and medievals, and was revolutionised by Gottlob Frege in the late 19th century with the development of modern symbolic logic.

Logic

Aristotle in the Posterior Analytics calls it 'the science of demonstration'; modern logicians define it as the systematic study of valid argument forms — those in which the truth of premises guarantees the truth of conclusion. Logic is normative (rules of correct reasoning), not psychological (description of actual thought).

Argument: structure and evaluation

An argument consists of:

  • Premises — propositions offered as evidence.
  • Conclusion — proposition supposedly supported by premises.
  • Inferential link — the claim that premises support the conclusion.

Two principal types:

TypeAimStrength
DeductiveConclusion necessarily followsValid / invalid
InductiveConclusion probably followsStrong / weak

A valid deductive argument has the property: if premises are true, conclusion must be true. A sound argument is valid + true premises.

Aristotelian / syllogistic logic

Aristotle's logic — codified in the Organon (Categories, De Interpretatione, Prior Analytics, Posterior Analytics, Topics, Sophistical Refutations) — dominated until the late 19th century.

Four categorical propositions (A, E, I, O)

LetterFormExample
AUniversal affirmative: All S are PAll humans are mortal
EUniversal negative: No S are PNo humans are immortal
IParticular affirmative: Some S are PSome humans are wise
OParticular negative: Some S are not PSome humans are not wise

Syllogism

A syllogism is an argument with two premises and a conclusion, with three terms (major, minor, middle):

All men are mortal. (major premise) Socrates is a man. (minor premise) Therefore, Socrates is mortal. (conclusion)

There are 256 possible syllogistic forms in four figures; only 15 (or 24 if existential import included) are valid. Medieval mnemonic: Barbara, Celarent, Darii, Ferio…

Square of opposition

A and O are contradictories; E and I are contradictories; A and E are contraries; I and O are subcontraries; A implies I; E implies O.

Key Points
  • Validity is about form, not content — an argument can be valid with false premises and invalid with true premises.
  • Truth is a property of propositions; validity of arguments; soundness combines both.
  • Modus ponens and modus tollens are the two foundational propositional inference patterns.
  • Fallacies are persuasive but invalid argument patterns — formal or informal.

Propositional (sentential) logic

Modern logic begins with George Boole (The Laws of Thought, 1854) and is systematised by Frege, Russell, Whitehead (Principia Mathematica 1910–13).

Connectives

SymbolNameReading
¬Negationnot p
Conjunctionp and q
Disjunctionp or q
Conditionalif p then q
Biconditionalp if and only if q

Key inference rules

RuleForm
Modus Ponensp → q; p; ∴ q
Modus Tollensp → q; ¬q; ∴ ¬p
Hypothetical Syllogismp → q; q → r; ∴ p → r
Disjunctive Syllogismp ∨ q; ¬p; ∴ q
Constructive Dilemma(p → q) ∧ (r → s); p ∨ r; ∴ q ∨ s

Truth tables test validity of propositional forms; an argument is valid iff there is no row where premises are all true and conclusion false.

Predicate (first-order) logic

Frege's Begriffsschrift (1879) introduced quantifiers — ∀ (universal) and ∃ (existential) — and predicates with variables. This allows expression of propositions like:

  • All humans are mortal: ∀x (H(x) → M(x))
  • Some humans are wise: ∃x (H(x) ∧ W(x))
  • There exists exactly one God: ∃x (G(x) ∧ ∀y (G(y) → x=y))

First-order logic is sound and complete (Gödel's Completeness Theorem 1929). Higher-order logics quantify over predicates or sets.

Induction

Inductive reasoning moves from particular cases to general conclusions or to specific predictions. Types:

  • Enumerative: from instances to general — "every observed swan is white, so all swans are white".
  • Analogical: from similarity in known cases.
  • Causal: identifying cause-effect relationships.
  • Statistical: from sample to population.

Hume's problem of induction (1748): induction itself cannot be justified deductively, and to justify it inductively is circular. Modern responses include Popper's falsificationism (Logic of Scientific Discovery 1934 / 1959), Bayesianism (probabilistic inference), and pragmatism.

Mill's methods of induction

John Stuart Mill (A System of Logic, 1843) identified five canons for identifying causes:

  1. Agreement — common factor in all positive instances.
  2. Difference — different factor between positive and negative.
  3. Joint (Agreement and Difference combined).
  4. Concomitant Variation — variation of factor with effect.
  5. Residues — subtracting known causes leaves residue caused by remaining factor.

Informal fallacies

Fallacies are common errors of reasoning that may persuade despite their invalidity:

FallacyPattern
Ad hominemAttacking the person, not argument
Straw manMisrepresenting opponent's position
Appeal to ignoranceTreating absence of evidence as evidence of absence
Appeal to authorityCiting inappropriate authority
Begging the questionAssuming conclusion in premise
False dilemmaPresenting only two options when more exist
Slippery slopeAsserting chain of consequences without basis
Post hoc ergo propter hocConfusing sequence with causation
Hasty generalisationFrom inadequate sample
EquivocationShifting meaning of a term
Tu quoque"You also" — dismissing argument by pointing to similar fault in arguer

For CSS Logic questions, master: (1) categorical propositions and the square of opposition; (2) one valid syllogism with names of the moods; (3) the major propositional inference rules — Modus Ponens, Tollens; (4) Mill's five methods; (5) eight to ten common informal fallacies. Cite Aristotle's Organon and Frege's Begriffsschrift (1879) as the two great moments in the history of logic.

20th-century logic has proliferated:

  • Modal logic — necessity (□) and possibility (◇); C.I. Lewis (1932), Saul Kripke (1959 — possible-worlds semantics).
  • Deontic logic — obligation, permission, prohibition (von Wright 1951).
  • Epistemic logic — knowledge and belief (Hintikka 1962).
  • Temporal logic — past, present, future (Prior 1957).
  • Many-valued logics — Łukasiewicz, fuzzy logic.
  • Intuitionistic logic — Brouwer, Heyting; rejects law of excluded middle.
  • Paraconsistent logic — handles contradiction without explosion (Priest).

Logic in Islamic philosophy

Islamic philosophers built on Aristotelian logic:

  • Al-Farabi — extensive commentary on the Organon.
  • Ibn Sinaal-Najat and al-Shifa logical sections; modal innovations.
  • Ibn Rushd — Aristotle commentaries, central to Latin Averroism.
  • Ibn Sina–Razi controversies on modal logic, contingency, necessity.
  • The post-classical madrasa logic (Tahdhib, Sullam al-Ulum) persists in many Pakistani religious schools today.
Logic — Philosophy CSS Notes · CSS Prepare