Logic
Logic is the branch of philosophy and mathematics that studies the principles of valid reasoning and inference. It seeks to distinguish good from poor arguments by analyzing the forms of reasoning rather than the content of the statements. An argument is valid if the conclusion follows from the premises; it is sound if it is valid and its premises are true.
Formal logic studies the structure of arguments using formal languages. The core domains include propositional logic,
Origins in Aristotle's syllogistic, later Boolean algebra by Boole, Frege's predicate calculus, and Russell and Whitehead's
Semantics link formal expressions to meanings via models; syntax concerns formal rules of inference. Important properties
Logic underpins mathematics, computer science, formal verification, programming languages, artificial intelligence, linguistics, and philosophy.