A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Logical Consequence and Validity

College Depth 87 in the knowledge graph ☐ I know this ☆ Set as goal
531topics build on this
448prerequisites beneath it
See this on the map →
Satisfaction of Formulas in StructuresLogical Implication and Semantic Entailment+1 more→→Basic Model TheoryConsistency and Inconsistency+4 more
semantics entailment first-order-logic

Core Idea

Γ semantically entails φ (Γ ⊨ φ) if every structure satisfying all formulas in Γ also satisfies φ. A formula is valid if it is entailed by the empty set—true in every structure. Gödel's completeness theorem establishes that syntactic consequence (provability) equals semantic consequence for first-order logic.

How It's Best Learned

Build counterexamples to refute proposed consequences. Identify valid formulas (like ∀x (P(x) → P(x))) and satisfiable-but-invalid formulas.

Explainer

From satisfaction in structures, you know what it means for a formula φ to be true in a structure M under an assignment s: written M ⊨ φ[s], this is defined recursively by the semantics of connectives and quantifiers. With that foundation, you can define the central semantic notions of logic. A formula φ is satisfiable if there exists some structure M and assignment s such that M ⊨ φ[s]. A formula is valid (also called a tautology or logically true) if it is true in every structure under every assignment — no counterexample exists. Validity is the strongest semantic property a formula can have.

Logical consequence lifts these notions to sets of formulas. A set of premises Γ semantically entails a conclusion φ, written Γ ⊨ φ, if every structure that satisfies all formulas in Γ also satisfies φ. Equivalently, there is no structure in which all premises are true but the conclusion is false — every model of Γ is automatically a model of φ. This is the semantic definition of "follows necessarily from": if you accept all the premises, you must accept the conclusion, because rejecting the conclusion would force you to reject at least one premise. Note that φ is valid if and only if ∅ ⊨ φ — the empty set of premises entails φ — because a valid formula is true in every structure, with no premises required.

The key proof strategy for establishing Γ ⊨ φ is to show that any structure satisfying Γ has no choice but to satisfy φ. The key refutation strategy — showing Γ ⊭ φ — is to construct a countermodel: a specific structure M in which every formula of Γ is true and φ is false. Finding a countermodel is often easier than proving entailment, because you're constructing a concrete object. For example, to show that ∃x P(x) does not entail ∀x P(x), take the structure with domain {a, b} where P(a) holds but P(b) does not: the premise is satisfied (something has P) but the conclusion fails (not everything has P). One countermodel suffices to refute a claimed entailment.

Gödel's Completeness Theorem (1930) ties the semantic notion Γ ⊨ φ to the syntactic notion Γ ⊢ φ (provability from Γ using a formal deductive system). The theorem states that these two notions coincide for first-order logic: Γ ⊨ φ if and only if Γ ⊢ φ. Soundness (⊢ implies ⊨) is the easier direction: every inference rule preserves truth, so anything provable is semantically true. Completeness (⊨ implies ⊢) is the deep direction: if φ is a semantic consequence of Γ, then there exists a finite formal proof of φ from Γ. This means first-order logic has no semantic "gaps" — nothing is entailed that cannot also be proved. The completeness theorem underpins the entire use of proof systems as a tool for semantic reasoning, and it is what distinguishes first-order logic from higher-order logics, for which completeness fails.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Introduction to Propositional Logic → Introduction to Predicate Logic (First-Order Logic) → First-Order Logic Syntax → Terms and Atomic Formulas in FOL → Variable Binding and Scope → Open and Closed Formulas in First-Order Logic → Variable Substitution and Capture-Avoidance in First-Order Logic → Quantifier Instantiation Rules in First-Order Proof Systems → Universal Quantification: Meaning and Scope → Free Variables and Bound Variables → Substitution and Instantiation in Predicate Logic → Terms and Atomic Formulas → Formulas and Well-Formed Expressions → Structures and Interpretations → Model Interpretation and Satisfaction → Interpretation, Truth, and Satisfaction of Formulas → Logical Consequence and Entailment → Syntactic Consequence (⊢) Versus Semantic Consequence (⊨) → Logical Consequence and Validity

Longest path: 88 steps · 448 total prerequisite topics

Prerequisites (3)

Leads To (6)