Introduction to Propositional Logic: Syntax

<aside> ⚡

Master the foundations of propositional logic and formal reasoning. Learn the three pillars of logic systems (syntax, semantics, deduction), understand propositional variables, logical operators, BNF derivation rules, syntax trees, and operator precedence conventions. Build syntactically correct formulas and prepare for formal proofs!

</aside>

At-a-glance checklist

Key takeaways

Three pillars of logic: Every logic system has syntax (symbols and rules), semantics (meaning/truth values), and deduction (proving conclusions from premises). Master all three!

BNF ensures correctness: If you can derive a formula from BNF rules starting with F, the formula is syntactically valid. Can't derive it? It's not a proper formula.

Syntax trees visualize structure: The root shows the top-level operator, children show sub-formulas. P ∧ Q → R has implication as root, conjunction (P ∧ Q) and R as children.

Order matters syntactically: P ∧ Q and Q ∧ P are different formulas even if they have the same meaning. Syntax is about structure, not semantics.