proomt

Search

Search posts, papers, and topics

All posts

Lobsters2 min readintermediate

Relation algebra is not relational algebra

Summary

The post clarifies the long‑standing confusion between *relation algebra* (a mathematical logic framework equivalent to FOL³) and *relational algebra* (Codd’s query language foundation). It outlines their histories, theoretical differences, and recent CS applications such as Alloy and the Prela query language, urging the community to adopt the term “Tarski’s Algebra of Relations” (TAR) to avoid m…

  • Relation algebra ≠ relational algebra – they are distinct formal systems with different origins and expressive powers.
  • Relational algebra underpins SQL and was introduced by Codd; it is equivalent to domain‑independent relational calculus (first‑order logic).
  • Relation algebra is a math‑level algebraic structure (axiomatized) that corresponds to FOL³ and can be extended to full FOL with a fork operator.
  • Despite being a pure‑math construct, relation algebra powers tools like the Alloy analyzer and recent query languages (IUGQL, Prela).

Understanding the distinction prevents mis‑labeling in research, tooling, and education, and highlights that relation algebra offers a rich, under‑used foundation for query language design and formal verification.

5/10

Related reading

  1. Article: Your Next DSL Author Is a Language Model

    Typed Domain Grounding (TDG) embeds a DSL inside a mainstream language the LLM already knows (e.g., Kotlin) and uses the host compiler as an oracle. The author describes five building blocks—embedding, choosing a host language with high training‑data frequency, compiler‑driven type safety, a generate‑compile‑repair loop, and an on‑demand teaching tool—and shows measured results from kUML, a Kotli…

    InfoQinfoq.com18 min
  2. Glyph: A Multi-Strategy Agentic System for Column Description and Sensitivity-Ontology Tagging of Enterprise Data Catalogs

    Glyph is a production system that uses coordinated LLM agents and a fine‑tuned MiniLM encoder to automatically generate column descriptions and assign ontology tags in enterprise data catalogs. It combines code‑grounded retrieval, regex, and contrastive vector search, achieving NDCG@10 0.92 and MAP@100 0.90, and provides auditable provenance for each tag.

    Apple Machine Learning Researchapple.com1 minpaper