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

Atomic and Complex Formulas

College Depth 73 in the knowledge graph ☐ I know this ☆ Set as goal
618topics build on this
341prerequisites beneath it
See this on the map →
Propositional Logic SyntaxTerms and Atomic Formulas in FOL+1 more→→Conjunctive and Disjunctive Normal FormsLiterals and Clauses in Conjunctive Normal Form
syntax atomic complex propositional first-order

Core Idea

An atomic formula is a formula with no logical connectives: in propositional logic, atomic formulas are propositional variables; in first-order logic, they are of the form P(t₁, …, tₙ) where P is a predicate and tᵢ are terms. Complex (or molecular) formulas are built from atomic formulas using logical connectives (¬, ∧, ∨, →, ↔) and/or quantifiers (∀, ∃). This distinction is fundamental: the truth value of a complex formula is determined compositionally from the truth values of its atomic constituents and the semantics of the connectives and quantifiers.

How It's Best Learned

Use parse trees to visualize formula structure, showing atoms at the leaves and connectives/quantifiers at internal nodes. Practice identifying atoms in formulas of varying complexity. Relate atomicity to recursive definitions of formulas.

Common Misconceptions

Explainer

Every formula in a logical language is either an atom or built from atoms using connectives and quantifiers. This is not merely a classification — it is the foundation of how meaning is assigned to formulas. From your work on propositional syntax, you know that a formula is defined recursively: base cases and construction rules. The atomic formulas are precisely the base cases: the formulas that cannot be further decomposed. In propositional logic, every propositional variable (p, q, r, ...) is an atom. In first-order logic, atoms look like P(t₁, t₂, ..., tₙ) where P is a predicate symbol and each tᵢ is a term — for example, Loves(x, mary) or x = y.

The critical structural point is that atoms are the only formulas whose truth values are assigned directly by an interpretation. An interpretation specifies, for each predicate P and each tuple of elements from the domain, whether P holds of that tuple. Every other formula's truth value is derived from atoms through the semantics of connectives: ¬φ is true iff φ is false, φ ∧ ψ is true iff both are true, and so on. This compositionality — truth built bottom-up from atoms — is what makes logical semantics tractable.

A parse tree makes this structure visible. Build the tree of a formula like ¬(P(x) ∧ Q(y)) → R(z): the root is →, its left child is ¬, under which sits ∧, under which sit P(x) and Q(y); the right child of → is R(z). The *leaves* of the parse tree are exactly the atomic subformulas. Every complex formula corresponds to an internal node — a connective or quantifier applied to simpler subformulas. This is why atomic formulas are sometimes called "leaves" informally: they are the formulas that have no logical subformulas.

Understanding this distinction is prerequisite to everything that follows: normal forms (CNF, DNF) reorganize complex formulas while keeping atoms intact; resolution and tableaux methods work by decomposing formulas toward atoms; and the definition of logical consequence is stated in terms of truth-value assignments to atoms. When you later encounter clausal normal form, you will be converting arbitrary formulas into flat structures of atoms and their negations — recognizing atoms is what makes that conversion possible.

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 → Atomic and Complex Formulas

Longest path: 74 steps · 341 total prerequisite topics

Prerequisites (3)

Leads To (2)