Foundations of the GraphAlg Language

πŸ“… 2026-04-13
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF

career value

165K/year
πŸ€– AI Summary
This work addresses the challenge of efficiently expressing and executing user-defined graph algorithms in graph databases by proposing a solution grounded in the formal matrix language MATLANG. The authors extend MATLANG to construct GraphAlg Core, serving as an intermediate representation for the graph algorithm language GraphAlg, and provide the first rigorous proof that its core fragment can be effectively simulated by for-MATLANGβ€”an extension of MATLANG supporting synchronous iteration. This study establishes a formal theoretical connection between high-level graph algorithm languages and matrix-based computation, offering a solid foundation for compiling and executing graph algorithms within database systems. By doing so, it advances the practical adoption of domain-specific languages (DSLs) in graph processing and contributes to the formal underpinnings of graph query and algorithm evaluation.

Technology Category

Application Category

πŸ“ Abstract
The GraphAlg domain-specific language for graph algorithms enables user-defined algorithms in graph databases. In this work we show how GraphAlg is built on top of the formal MATLANG language for matrix manipulation. Starting from MATLANG, we describe the extensions to MATLANG needed to derive GraphAlg Core, a simplified version of GraphAlg that is used as the internal representation in the GraphAlg compiler. Furthermore, we prove that any GraphAlg Core expression can be simulated in an extension of for-MATLANG that supports simultaneous induction.
Problem

Research questions and friction points this paper is trying to address.

GraphAlg
MATLANG
graph algorithms
domain-specific language
formal foundation
Innovation

Methods, ideas, or system contributions that make the work stand out.

GraphAlg
MATLANG
domain-specific language
matrix manipulation
simultaneous induction
πŸ”Ž Similar Papers
No similar papers found.