Higher-Order, Data-Parallel Structured Deduction

11/21/2022
by   Thomas Gilray, et al.
0

State-of-the-art Datalog engines include expressive features such as ADTs (structured heap values), stratified aggregation and negation, various primitive operations, and the opportunity for further extension using FFIs. Current parallelization approaches for state-of-art Datalogs target shared-memory locking data-structures using conventional multi-threading, or use the map-reduce model for distributed computing. Furthermore, current state-of-art approaches cannot scale to formal systems which pervasively manipulate structured data due to their lack of indexing for structured data stored in the heap. In this paper, we describe a new approach to data-parallel structured deduction that involves a key semantic extension of Datalog to permit first-class facts and higher-order relations via defunctionalization, an implementation approach that enables parallelism uniformly both across sets of disjoint facts and over individual facts with nested structure. We detail a core language, DL_s, whose key invariant (subfact closure) ensures that each subfact is materialized as a top-class fact. We extend DL_s to Slog, a fully-featured language whose forms facilitate leveraging subfact closure to rapidly implement expressive, high-performance formal systems. We demonstrate Slog by building a family of control-flow analyses from abstract machines, systematically, along with several implementations of classical type systems (such as STLC and LF). We performed experiments on EC2, Azure, and ALCF's Theta at up to 1000 threads, showing orders-of-magnitude scalability improvements versus competing state-of-art systems.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/02/2023

Staged Specifications for Automated Verification of Higher-Order Imperative Programs

Higher-order functions and imperative references are language features s...
research
11/16/2015

Sherlock: Scalable Fact Learning in Images

We study scalable and uniform understanding of facts in images. Existing...
research
12/07/2022

Efficient Optimization with Higher-Order Ising Machines

A prominent approach to solving combinatorial optimization problems on p...
research
04/16/2018

Expressivity within second-order transitive-closure logic

Second-order transitive-closure logic, SO(TC), is an expressive declarat...
research
11/18/2020

Efficient Full Higher-Order Unification

We developed a procedure to enumerate complete sets of higher-order unif...
research
01/29/2020

Higher Order Method for Differential Inclusions

Uncertainty is unavoidable in modeling dynamical systems and it may be r...
research
09/07/2018

Textual Analogy Parsing: What's Shared and What's Compared among Analogous Facts

To understand a sentence like "whereas only 10 below the poverty line, 2...

Please sign up or login with your details

Forgot password? Click here to reset