Skip to main content

Zero-One Laws

  • Reference work entry
  • First Online:
Encyclopedia of Database Systems
  • 100 Accesses

Definition

A query language is said to have the 01 law if every Boolean query that contains no constants (i.e., the query does not mention any particular element from the domain of potential data values) is almost surely true or almost surely false. The notions of being “almost surely true,” respectively, “almost surely false” are defined as follows: Let σ be a fixed database schema. For each natural number n, let DBn (σ) be the set of all database instances of schema σ whose active domain is a subset of {1,…,n} (i.e., all database entries belong to {1,…,n}). For a Boolean query q of schema σ let μn (q) be the probability that a database D chosen uniformly at random from DBn (σ) is a “yes”‐instance of query q. In other words, μn (q) is the number of databases in DBn (σ) on which q evaluates to “yes,” divided by the number of all databases in DBn (σ). Query q is said to be almost surely true (respectively, almost surely false), if the limit μ(q) := limn→∞μn (q) exists and is equal to...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 4,499.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 6,499.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Ebbinghaus H-D, Flum J. Finite model theory. 2nd ed. Berlin: Springer; 1999.

    MATH  Google Scholar 

  2. Hodges W. Model theory. Cambridge: Cambridge University Press; 1993.

    Book  Google Scholar 

  3. Kolaitis P, Vardi MY. 0–1 laws for fragments of existential second-order logic: a survey. In: Proceedings of the 25th International Symposium on Mathematical Foundations of Computer Science; 2000. p. 84–98.

    Google Scholar 

  4. Libkin L. Elements of finite model theory. New York: Springer; 2004.

    Book  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nicole Schweikardt .

Editor information

Editors and Affiliations

Section Editor information

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Science+Business Media, LLC, part of Springer Nature

About this entry

Check for updates. Verify currency and authenticity via CrossMark

Cite this entry

Schweikardt, N. (2018). Zero-One Laws. In: Liu, L., Özsu, M.T. (eds) Encyclopedia of Database Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-8265-9_1272

Download citation

Publish with us

Policies and ethics