Math 2.0

Mathematical logic and foundations Definition

Sentence

Builds on Well-formed formulaTerm

Definition

Let σ\sigma be a signature. The set FV⁡(φ)\operatorname{FV}(\varphi) of free variables of a formula φ\varphi over σ\sigma is defined by recursion on φ\varphi:

  1. for an atomic formula, FV⁡(φ)\operatorname{FV}(\varphi) is the set of variables that occur in its terms;
  2. FV⁡(¬φ)=FV⁡(φ)\operatorname{FV}(\neg \varphi) = \operatorname{FV}(\varphi), and FV⁡(φ∗ψ)=FV⁡(φ)∪FV⁡(ψ)\operatorname{FV}(\varphi \ast \psi) = \operatorname{FV}(\varphi) \cup \operatorname{FV}(\psi) for each binary connective ∗\ast;
  3. FV⁡(∀x φ)=FV⁡(∃x φ)=FV⁡(φ)∖{x}\operatorname{FV}(\forall x \, \varphi) = \operatorname{FV}(\exists x \, \varphi) = \operatorname{FV}(\varphi) \setminus \set{x}.

A sentence over σ\sigma is a formula φ\varphi with FV⁡(φ)=∅\operatorname{FV}(\varphi) = \emptyset.

Remarks

The formula ∀x ∃y (x<y)\forall x \, \exists y \, (x < y) is a sentence. Indeed FV⁡(x<y)={x,y}\operatorname{FV}(x < y) = \set{x, y}, removing yy gives {x}\set{x}, and removing xx gives ∅\emptyset. The formula ∃y (x<y)\exists y \, (x < y) is not a sentence, since xx remains free. Sentences are also called closed formulas. In Mathlib sentences are FirstOrder.Language.Sentence.

Reading path

To understand this page from the ground up, read these 3 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Term concept
  2. Well-formed formula concept
  3. Sentence definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Sentence_(mathematical_logic)
About this page
TagQ85MMH5DEY
URIm2://Q85MMH5DEY
Kinddefinition
WritingW0 stub
MSC03B10, 03C07
DefinesSentence
UsesWell-formed formula, Term
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.