Zero-One Laws and Almost Sure Valuations of First-Order Logic in Semiring Semantics
Erich Gr\"adel, Hayyan Helal, Matthias Naaf, Richard Wilke

TL;DR
This paper extends classical 0-1 laws of first-order logic to semiring semantics, showing that under random interpretations, sentences almost surely evaluate to specific semiring values, with detailed classifications for various semirings.
Contribution
It generalizes 0-1 laws to semiring semantics, providing a detailed classification of first-order sentences based on their almost sure valuations in different semirings.
Findings
Classical 0-1 law extends to positive semirings, with sentences evaluating almost surely to 0 or non-zero values.
For lattice semirings, sentences fall into three classes: almost surely 0, 1, or minimal non-zero value.
In natural number semirings, some sentences evaluate almost surely to unboundedly large values.
Abstract
Semiring semantics evaluates logical statements by values in some commutative semiring K. Random semiring interpretations, induced by a probability distribution on K, generalise random structures, and we investigate here the question of how classical results on first-order logic on random structures, most importantly the 0-1 laws of Glebskii et al. and Fagin, generalise to semiring semantics. For positive semirings, the classical 0-1 law implies that every first-order sentence is, asymptotically, either almost surely evaluated to 0 by random semiring interpretations, or almost surely takes only values different from 0. However, by means of a more sophisticated analysis, based on appropriate extension properties and on algebraic representations of first-order formulae, we can prove much stronger results. For many semirings K, the first-order sentences can be partitioned into classes…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
