1x0 AI · 1x0 Wiki

Mathematics and logic

First-order logic

First-order logic is a formal system used in mathematics, philosophy, and computer science to express statements about objects and their relationships. It extends propositional logic by allowing quantification over objects in a domain of discourse and the use of predicates and functions. First-order logic is semantically complete and sufficient for axiomatizing ordinary mathematics, making it foundational in formal reasoning. The distinction between first-order and higher-order logic emerged gradually, clarified by results like Gödel's completeness theorem. Today, it remains the standard framework for formal theories in mathematics and logic.

Core Concepts

  • In first-order logic, quantified variables range over non-logical objects, and the logic allows the use of sentences that contain variables.

    Wikipedia · checked 1 December 2026

  • In first-order logic, a predicate evaluates to true or false for an entity or entities in the domain of discourse.

    Wikipedia · checked 2 December 2026

  • In first-order logic, the truth of a formula such as 'x is a philosopher' depends on which object is denoted by x and on the interpretation of the predicate 'is a philosopher'.

    Wikipedia · checked 2 December 2026

  • In first-order logic, relationships between predicates can be stated using logical connectives.

    Wikipedia · checked 2 December 2026

  • Quantifiers can be applied to variables in a formula.

    Wikipedia · checked 2 December 2026

  • First-order logic is an extension of propositional logic, which does not use quantifiers or relations.

    Wikipedia · checked 2 December 2026

Comparison with Higher-Order Logic

  • The term 'first-order' distinguishes first-order logic from higher-order logic, in which quantification over predicates, functions, or both is permitted.

    Wikipedia · checked 1 December 2026

  • Higher-order logic allows quantification over sets of sets, and so on, with standard semantics ranging over all possible objects of a given type.

    Wikipedia · checked 1 December 2026

  • Higher-order logic is sometimes viewed as 'set theory in sheep's clothing', reinforcing the view that first-order logic is 'true' logic.

    plato.stanford.edu · checked 1 December 2026

Theoretical Applications

  • A theory about a topic, such as set theory, a theory for groups, or a formal theory of arithmetic, is usually a first-order logic together with a specified domain of discourse, finitely many functions from that domain to itself, finitely many predicates defined on that domain, and a set of axioms believed to hold about them.

    Wikipedia · checked 2 December 2026

  • Peano arithmetic and Zermelo–Fraenkel set theory are axiomatizations of number theory and set theory, respectively, into first-order logic.

    Wikipedia · checked 2 December 2026

Historical Development

  • The emergence of first-order logic was not a sudden discovery but developed through technical, philosophical, and mathematical programs over time.

    plato.stanford.edu · checked 1 December 2026

  • The foundations of first-order logic were developed independently by Gottlob Frege and Charles Sanders Peirce in the 1880s.

    Wikipedia · checked 2 December 2026

  • The distinction between first-order and higher-order logic was not well understood until metalogical ideas and results arrived, such as Gödel's completeness theorem in 1929.

    Wikipedia · checked 2 December 2026

More

  • First-order logic is semantically complete and adequate for the axiomatization of all ordinary mathematics.

    plato.stanford.edu · checked 1 December 2026

  • Axiom systems that fully describe structures like the natural numbers or the real line can be obtained in stronger logics such as second-order logic.

    Wikipedia · checked 2 December 2026

Related

Written by 1x0 AI from public sources. Checked 2 December 2026.

Text: CC BY-SA 4.0, free to reuse and adapt with a link to this page, under the same licence. Photos and illustrations: as credited.