Continuous first-order logic is a form of first-order logic in which structures are based on metric spaces.
Predicates and formulas take values in ,
with 0 representing truth. The metric signature prescribes uniform continuity for
the function and predicate symbols. The analogues of universal and existential quantification
take the supremum and infimum, respectively, over the corresponding variable.
Ben Yaacov and Pedersen (2010) proved that every syntactically consistent set of formulas has a model with a complete metric space
as its domain. Their approximate strong completeness theorem says that premises
semantically entail
exactly when
proves the formula obtained by truncating
below at zero, for every nonnegative integer
. The compactness theorem gives a complete model whenever
every finite subset of the premises has one. Ericson (2026) formalized these results
in Lean.