betaFeedback

WorksComputer Science

Rewinding the Fold: Making Stateful Computations Retractable

Abstract

Incremental computation seeks to maintain outputs efficiently as inputs evolve, without recomputing from scratch after every change. While much prior work has focused on updating results when new data arrive, supporting deletion is fundamentally more difficult: once prior inputs have been folded into a compact summary, the information needed to undo their effect may already have been lost. This paper studies incremental deletion for fold-based stream computations. This setting captures a broad class of data-processing tasks, where a program maintains a running summary of a stream and uses that summary to process future inputs. Given a fold that supports only additions and a policy describing what type of deletion support is required, our method synthesizes a new program that supports deletions by extending the summary state and deriving both the addition and deletion logic. Our synthesis procedure is backed by a new verification framework that decomposes correctness into local obligations over relational invariants. As a result, for every supported sequence of additions and deletions, the synthesized fold is guaranteed to match what full recomputation would produce. We implemented this approach in a new tool called Rewind and evaluated it on 94 benchmark scenarios drawn from real-world aggregations in the Flink framework. Rewind synthesizes deletion support for all 94 benchmarks, including cases that contain bugs in the manually-written deletion implementation.

Introduction

Incremental computation seeks to efficiently maintain a program’s outputs as its inputs evolve, without paying the cost of recomputing from scratch. A standard way to achieve this goal is to derive update logic that explains how the output should change as new data arrive [39, 51]. This paradigm is central to modern data-processing frameworks [15, 17, 42, 44], which commonly support stateful computations by repeatedly applying such update logic to a maintained state as new records arrive. In this way, the system incrementally accumulates the effect of the input stream, using the evolving state as a concise summary of prior computation.

Yet insertion is only part of the story. In many practical workloads, systems must also undo the effect of previously incorporated inputs. For example, records may age out of sliding windows, stale

Authors’ Contact Information: Ziteng Wang, University of Texas at Austin, Austin, USA, [email protected]; Linus Zheng, University of Texas at Austin, Austin, USA, [email protected]; Dixin Tang, University of Texas at Austin, Austin, USA, [email protected]; Işıl Dillig, University of Texas at Austin, Austin, USA, [email protected].

This work is licensed under a Creative Commons Attribution 4.0 International License.

© 2027 Copyright held by the owner/author(s).

ACM 2475-1421/2027/1-ART30

https://doi.org/10.1145/3871732

Proc. ACM Program. Lang., Vol. 11, No. POPL, Article 30. Publication date: January 2027. outputs may need to be withdrawn, and continuously maintained views must reflect deletions as well as additions. For this reason, modern data-processing frameworks such as Apache Flink [17] and Materialize [41] also support change-oriented maintenance, making it (in principle) possible to process deletions and modifications incrementally rather than by recomputing from scratch.

In practice, however, interfaces for incremental deletion are harder to use than their insertion-only counterparts. For example, while Flink provides a retract interface for handling deletions, developers must implement the retraction logic themselves and maintain any necessary auxiliary state. This can be challenging both semantically and algorithmically. Semantically, retracting a past contribution is harder because the maintained state may already have discarded the information needed to faithfully reverse its effect. Algorithmically, deletion support often demands auxiliary state and carefully orchestrated rollback logic, making such operators significantly harder to design and implement. As a result, although modern frameworks facilitate incremental deletion in principle, exploiting this capability effectively remains challenging in practice.

Motivated by this observation, this paper addresses the problem of automatically transforming an insertion-only computation into one that also supports incremental deletions. We study this problem in the setting of fold-based computations over input streams, which underlie many operators in modern data-processing systems. Such a setting is compelling for two reasons. First, it is broad: many practically relevant operators can be viewed as repeated updates to a maintained summary. Second, it exposes the core difficulty: because the past influences future behavior only through a summary, the ability to retract prior inputs depends entirely on what the computation has chosen to preserve. Hence, this setting isolates the central tension behind incremental deletion.

At a high level, the core contribution of this paper is a method for synthesizing incremental deletion logic for fold-based computations. The method takes as input an insertion-only computation together with a retraction specification describing which deletions must be supported. Such a specification is necessary because deletion support is inherently partial: a computation may be able to retract some prior inputs incrementally, but not others. Given these inputs, our method determines what additional information, if any, must be retained to support the required deletions, synthesizes the lifted update logic needed to maintain that information, and automatically constructs the corresponding retraction function. The resulting computation is then formally verified to be semantically equivalent to the original insertion-only computation.

From a programming languages perspective, this paper makes two main technical contributions. The first contribution is a semantic account of incremental deletion and a new verification methodology for proving equivalence between the insertion-only version and the corresponding retractable one. This equivalence checking problem is inherently challenging because (1) the retractable computation may maintain a different internal summary; (2) executions may contain arbitrary interleavings of insertions and deletions, and (3) correctness depends on which deletions must be handled incrementally. Our proposed verification methodology addresses all of these challenges by reducing a difficult global reasoning problem to local proof obligations over inductive relational invariants. The result is a sound and practically effective method for establishing semantic equivalence despite differences in internal representation and execution history.

Our second technical contribution is a synthesis framework for correct-by-construction retractable computations. The central difficulty is that the space of correct solutions is constrained simultaneously by the choice of retained summary information and by how deletion is performed over that representation. Our approach addresses this tension by jointly searching for auxiliary summary state and a lifting invariant that semantically relates the original fold to its enriched counterpart. Once the required auxiliary state is identified, our method derives the retraction logic by inferring a relational invariant as a local specification and then decomposing the implementation into semantic cases, each capturing a different way the removed element can affect the maintained summary. We implemented the proposed approach in a new tool called Rewind and evaluated it on 94 benchmarks covering real-world aggregations written in the Flink framework [17]. Rewind successfully synthesized correct retraction logic for all 94 scenarios, including cases where the original manually-written logic is wrong. We also conducted ablation studies demonstrating that all of our proposed ingredients are crucial for the practicality of Rewind. Finally, our performance results show that the synthesized incremental deletions substantially outperform recomputation.

To summarize, this paper makes the following contributions:

  • Formalization and verification. We formalize correctness for retractable folds by requiring that any supported sequence of insertions and deletions produce the same result as re-running the original fold on the remaining elements. We then give a sound and relatively complete verification methodology based on inductive relational invariants.

  • Synthesis of retractable folds. We develop a synthesis framework that turns an insertion-only fold into a retractable one by jointly discovering the enriched summary state and the operations over it. Rather than assuming a fixed representation, our method determines what information must be retained to make the required deletions possible, synthesizes lifted update logic to maintain that information, and derives a retraction function that is correct by construction.

  • Implementation and evaluation. We implement the approach in a prototype called Rewind and evaluate it on 94 benchmarks over 48 real-world aggregations and multiple retraction policies. Our evaluation demonstrates high synthesis success rates, the ability to uncover bugs in manual implementations, and the practical importance of the method’s main ingredients.

Motivating Example

We illustrate our approach using an aggregation function, adapted from [50], that computes auction statistics, including the maximum bid and the number of “high” bids exceeding $1000. This example captures a common pattern in streaming analytics, where an accumulator maintains key statistics, such as extremal values or counts. The insertion-only version of this computation, shown in Figure 1, is straightforward: the accumulator stores two fields, namely the current maximum and the high-bid count, and each call to accumulate updates these fields incrementally.

Figure 1. Insertion-only aggregation.

Now suppose the auction allows bidders to remove previously placed bids, but only under a specified service policy. One natural policy is a fixed guarantee: the auction is guaranteed to support up to NN bid removals, regardless of which bids are removed (Policy A). We express this policy as:

θA(xs)=min⁡(length⁡(xs),N)\theta_A(xs) = \min(\operatorname{length}(xs), N)

which says that, after bid history xsxs, the system must support removing NN bids if there are at least NN bids and all bids otherwise. Another natural policy is to protect the stability of the standing price. Under this policy, if the highest bid seen so far appears kk times, the auction guarantees support for k−1k - 1 arbitrary bid removals, so that the highest bid is not completely removed even in the worst case (Policy B). We express this policy as:

θB(xs)=count⁡(xs,max⁡(xs))−1\theta_B(xs) = \operatorname{count}(xs, \max(xs)) - 1

These two policies illustrate different kinds of retraction requirements: Policy A imposes a fixed removal budget, while Policy B makes the guarantee dependent on redundancy in the current auction state. Furthermore, the original aggregation state in Figure 1 cannot support either policy as written, because it discards information that may be needed when bids are later removed.

The missing information depends on the policy. To support Policy A, the aggregate must retain enough high-valued bids to recover the maximum after a bounded number of removals, and it must also track how many removals have already been processed. To support Policy B, the aggregate only needs to know whether the current maximum has another copy. Thus, even for the same base computation, different retraction requirements call for different auxiliary summaries.

Figure 2a and Figure 2b show two corresponding retractable variants of the computation from Figure 1 implementing Policies A and B, respectively. Both extend the original aggregation in three ways: they add auxiliary state, revise the insertion logic so that this state is maintained as new bids arrive, and implement retraction logic that updates the enriched state when bids are removed. Crucially, the details of all three components depend on the policy.

Two retractable variants of the auction aggregation

Figure 2. Two retractable variants of the auction aggregation: (a) supports a fixed budget of up to NN withdrawals; (b) supports the worst-case budget induced by multiplicity of the maximum bid.

The rest of this paper shows how to automatically generate retractable computations like those in Figure 2a and Figure 2b. Given an insertion-only computation such as Figure 1 and a user-provided retraction specification, such as θA\theta_A or θB\theta_B, our method synthesizes the enriched state, the lifted insertion logic, and the corresponding retraction procedure. Crucially, the synthesized computation comes with a formal guarantee: it satisfies the specified retraction requirement, and every supported sequence of removals yields the same observable result as recomputing the original aggregation.

Problem Statement

In this section, we formalize retractable folds and their semantics.

Semantics of Retractable Folds

Definition 3.1 (Fold-based computation). A fold-based computation is a triple P=(I,acc⁡,eval⁡)\mathcal{P} = (I, \operatorname{acc}, \operatorname{eval}), where I∈SI \in S is an initial state, acc⁡:S×A→S\operatorname{acc}: S \times A \to S is an accumulator function, and eval⁡:S→O\operatorname{eval}: S \to O is an evaluation function. For an input list xs=[x1,…,xn]xs = [x_1, \ldots, x_n], let s0,…,sns_0, \ldots, s_n be a state sequence defined as:

s0=I,sj=acc⁡(sj−1,xj)for 1≤j≤n\begin{aligned} s_0 &= I, \qquad s_j = \operatorname{acc}(s_{j-1}, x_j) \quad\text{for } 1 \leq j \leq n \end{aligned}

The state semantics of P\mathcal{P}, denoted [P]xs[\mathcal{P}]_{xs}, is the final state [P]xs≜sn[\mathcal{P}]_{xs} \triangleq s_n, and the observable semantics of P\mathcal{P} is ⟦P⟧xs≜eval⁡([P]xs)\llbracket\mathcal{P} \rrbracket_{xs} \triangleq\operatorname{eval}([\mathcal{P}]_{xs}).

Thus, the computation has the standard form eval⁡(fold⁡(acc⁡,I,X,xs))\operatorname{eval}(\operatorname{fold}(\operatorname{acc}, \mathcal{I}, \mathcal{X}, \mathit{xs})), where fold builds the internal state, and eval converts that state into an observable output. For example, an average computation may maintain a sum and count, and eval returns their quotient. A retractable fold, which is the central object of study in this paper, extends Definition 3.1 with a retraction function for supporting incremental deletions:

Definition 3.2 (Retractable fold). A retractable fold is a quadruple R=(I,acc⁡,retract⁡,eval⁡)\mathcal{R} = (\mathcal{I}, \operatorname{acc}, \operatorname{retract}, \operatorname{eval}), where I∈S\mathcal{I} \in S is an initial state, acc⁡:S×A→S\operatorname{acc}: S \times A \to S is an accumulator function, retract⁡:S×A→S∪{Err⁡}\operatorname{retract}: S \times A \to S \cup\{\operatorname{Err}\} is a retraction function, and eval⁡:S→O∪{Err⁡}\operatorname{eval}: S \to O \cup\{\operatorname{Err}\} is an evaluation function.

At a high level, retract⁡(s,a)\operatorname{retract}(s,a) attempts to remove one prior occurrence of aa from the history represented by summary state ss. Since the maintained state may not preserve enough information to support such a reversal, retract is allowed to fail with Err. The function eval maps the internal state to the observable output, discarding any auxiliary state. To define the semantics of a retractable fold under both insertions and deletions, we represent its input as an update sequence:

Definition 3.3 (Update sequence). An update sequence ω\omega is a list ω∈[(acc⁡,retract⁡)×A]\omega\in[( \operatorname{acc}, \operatorname{retract}) \times A], where each element consists of an operation tag (acc or retract) and an input value a∈Aa \in A. For ω=⟨(o1,a1),…,(on,an)⟩\omega= \langle(o_1,a_1),\ldots,(o_n,a_n)\rangle, we define:

ω+=[(oj,aj)∣oj=acc⁡],ω−=[(oj,aj)∣oj=retract⁡],ζ(ω)=[aj].\omega^{+} = [(o_j,a_j)\mid o_j=\operatorname{acc}],\qquad\omega^{-}=[(o_j,a_j)\mid o_j=\operatorname{retract}],\qquad\zeta(\omega)=[a_j].

In other words, ω+\omega^{+} and ω−\omega^{-} yield only the insertions and deletions respectively, whereas ζ(ω)\zeta(\omega) drops the operation tags entirely.

For a pair of input sequences ω,ω′\omega,\omega', we write ω⪯ω′\omega\preceq\omega' if ω\omega is a prefix of ω′\omega'. Next, we define a valid update sequence where each deletion contains a matching insertion:

Definition 3.4 (Valid sequence). An update sequence ω=⟨(o1,a1),…,(on,an)⟩\omega= \langle(o_1,a_1),\ldots,(o_n,a_n)\rangle is valid if

∀j. (1≤j≤n)⟹(∑1≤i≤j1{oi=acc⁡∧ai=aj}≥∑1≤i≤j1{oi=retract⁡∧ai=aj})\forall j.\,(1 \le j \le n)\Longrightarrow\left(\sum_{1\le i\le j}\mathbf{1}\{o_i=\operatorname{acc}\land a_i=a_j\}\ge\sum_{1\le i\le j}\mathbf{1}\{o_i=\operatorname{retract}\land a_i=a_j\}\right)

That is, an input to a retractable fold is valid if every deletion has a matching insertion that precedes it. From now on, we use the term update sequence to mean one that is valid.

Definition 3.5 (Retractable fold semantics). Consider a retractable fold R=(I,acc⁡,retract⁡,eval⁡)\mathcal{R}=(\mathcal{I},\operatorname{acc},\operatorname{retract},\operatorname{eval}) and an update sequence ω=⟨(o1,a1),…,(on,an)⟩\omega=\langle(o_1,a_1),\ldots,(o_n,a_n)\rangle. Let s0,…,sns_0,\ldots,s_n be a state sequence defined as:

s0=I,sj={acc⁡(sj−1,aj)if sj−1≠Err⁡∧oj=acc⁡retract⁡(sj−1,aj)if sj−1≠Err⁡∧oj=retract⁡Err⁡otherwises_0=\mathcal{I},\qquad s_j= \begin{cases} \operatorname{acc}(s_{j-1},a_j) & \text{if }s_{j-1}\ne\operatorname{Err}\land o_j=\operatorname{acc}\\ \operatorname{retract}(s_{j-1},a_j) & \text{if }s_{j-1}\ne\operatorname{Err}\land o_j=\operatorname{retract}\\ \operatorname{Err} & \text{otherwise} \end{cases}

The state semantics of R\mathcal{R}, denoted [R]ω[\mathcal{R}]_{\omega}, is the final state [R]ω=^sn[\mathcal{R}]_{\omega}\mathrel{\widehat{=}}s_n. The observable semantics is the corresponding output value:

[ ⁣[R] ⁣]ω=^([R]ω≠Err⁡ ? eval⁡([R]ω) : Err⁡)[\![\mathcal{R}]\!]_{\omega}\mathrel{\widehat{=}}\left([\mathcal{R}]_{\omega}\ne\operatorname{Err}\ ?\ \operatorname{eval}([\mathcal{R}]_{\omega})\ :\ \operatorname{Err}\right)

Retraction Specifications and Equivalence

To define correctness for a retractable fold, we must first specify the type of deletion support it is required to provide. As illustrated in § 2, a computation can admit multiple retractable variants, each supporting a different class of deletions. Requiring unrestricted deletion support may impose unnecessary storage costs when an application needs only a limited guarantee. We therefore specify how many arbitrary deletions must be supported, allowing this number to depend on the insertion history. For example, in Policy A, the budget is bounded by both NN and the number of placed bids, whereas in Policy B, it depends on the multiplicity of the maximum bid in the insertion history. We formalize these requirements as follows:

Definition 3.6 (Retraction specification). A retraction specification for R\mathcal{R} is a function θ:[A]→N\theta: [\mathcal{A}] \to\mathbb{N}. Formally, R\mathcal{R} satisfies θ\theta, denoted R⊨θ\mathcal{R} \models\theta, iff \forall \omega. \left(\forall \delta \preceq \omega. |\delta^{-}| \leq \theta(\zeta(\delta^{+}))\right) \Longrightarrow \llbracket \mathcal{R} \rrbracket_{\omega} \ne \operatorname{Err}.

In other words, R\mathcal{R} satisfies θ\theta if it can process any update sequence whose prefixes stay within the deletion budget specified by θ\theta. This budget specifies a minimum guarantee. In particular, the fold may support additional deletions, but it is not required to.

Example 3.7. Suppose an application must support withdrawing any previously inserted record. This requirement is expressed by θ(xs)=∣xs∣\theta(x_s) = |x_s|. Each new insertion increases the deletion allowance, so a record that is withdrawn and later reinserted can be withdrawn again. In contrast, θ(xs)=min⁡(1,∣xs∣)\theta(x_s) = \min(1, |x_s|) guarantees only one withdrawal over the entire execution, even if more records are subsequently inserted. An application may also require a correction allowance proportional to its workload. For example, θ(xs)=⌊∣xs∣/100⌋\theta(x_s) = \lfloor|x_s|/100 \rfloor guarantees support for a total of up to one withdrawal per hundred records inserted, regardless of which records are withdrawn.

Next, to define equivalence between the original computation and its retractable version, we introduce the concept of normalizing an update sequence:

Definition 3.8 (Normalization). Given ω=⟨(o1,a1),…,(on,an)⟩\omega= \langle(o_1,a_1), \ldots, (o_n,a_n)\rangle, the normalization of ω\omega, written Norm⁡(ω)\operatorname{Norm}(\omega), is the result of repeatedly applying the following rewrite rule to a fixpoint:

(oi,a), (oj,a)⇝ϵwhere:(1)  oi=acc⁡, oj=retract⁡, i<j,(o_i,a),\ (o_j,a) \leadsto\epsilon\quad\text{where:}\quad(1)\ \ o_i = \operatorname{acc},\ o_j = \operatorname{retract},\ i < j,
(2)  ∀k. (1≤k<i⟹ak≠a∨ok≠acc⁡),(3)  ∀k. (i<k<j⟹ak≠a∨ok≠retract⁡)(2)\ \ \forall k.\ (1 \leq k < i \Longrightarrow a_k \ne a \lor o_k \ne\operatorname{acc}),\quad(3)\ \ \forall k.\ (i < k < j \Longrightarrow a_k \ne a \lor o_k \ne\operatorname{retract})

Effect⁡(ω)\operatorname{Effect}(\omega) yields the list of elements in Norm⁡(ω)\operatorname{Norm}(\omega), i.e., Effect⁡(ω)=ζ(Norm⁡(ω))\operatorname{Effect}(\omega) = \zeta(\operatorname{Norm}(\omega)).

Hence, normalization repeatedly cancels the earliest valid retraction of a value with its earliest preceding accumulation, thereby producing a canonical sequence that reflects the net effect.

References

  1. [1][n. d.]. https://risingwave.com/
  2. [2]Umut Acar, Guy Blelloch, Matthias Blume, Robert Harper, and Kanat Tangwongsan. 2006. A Library for Self-Adjusting Computation. Electronic Notes in Theoretical Computer Science 148, 2 (2006), 127–154. doi:10.1016/j.entcs.2005.11.043 Proceedings of the ACM-SIGPLAN Workshop on ML (ML (2005).DOI
  3. [3]Umut A. Acar and Yan Chen. 2013. Streaming Big Data with Self-Adjusting Computation. In Proceedings of the 2013 Workshop on Data Driven Functional Programming (Rome, Italy) (DDFP ’13). Association for Computing Machinery, New York, NY, USA, 15–18. ISBN 9781450318716. doi:10.1145/2492376.2492382DOI
  4. [4]Rajeev Alur, Rastislav Bodík, Garvit Juniwal, Milo M. K. Martin, Mukund Raghothaman, Sanjit A. Seshia, Rishabh Singh, Armando Solar-Lezama, Emin Torlak, and Abhishek Udupa. 2013. Syntax-guided synthesis. In Formal Methods in Computer-Aided Design, FMCAD 2013, Portland, OR, USA, October 20-23, 2013. IEEE, 1–8. https://ieeexplore.ieee.org/document/6679385/
  5. [5]Haniel Barbosa, Clark Barrett, Martin Brain, Gereon Kremer, Hanna Lachnitt, Makai Mann, Abdalrhman Mohamed, Mudathir Mohamed, Aina Niemetz, Andres Nötzli, Alex Ozdemir, Mathias Preiner, Andrew Reynolds, Ying Sheng, Cesare Tinelli, and Yoni Zohar. 2022. cvc5: A Versatile and Industrial-Strength SMT Solver. In Tools and Algorithms for the Construction and Analysis of Systems, Dana Fisman and Grigore Roșu (Eds.). Springer International Publishing, Cham, 415–442. ISBN 978-3-030-99524-9.
  6. [6]Clark Barrett, Pascal Fontaine, and Cesare Tinelli. 2016. The Satisfiability Modulo Theories Library (SMT-LIB). www.SMT-LIB.org.
  7. [7]Gilles Barthe, Juan Manuel Crespo, and César Kunz. 2011. Relational Verification Using Product Programs. In Proceedings of the 17th International Symposium on Formal Methods (FM 2011). Springer, 200–214. doi:10.1007/978-3-642-21437-0_17DOI
  8. [8]Gilles Barthe, Juan Manuel Crespo, and César Kunz. 2013. Beyond 2-Safety: Asymmetric Product Programs for Relational Program Verification. In Proceedings of the International Symposium on Logical Foundations of Computer Science (LFCS 2013). Springer, 29–43. doi:10.1007/978-3-642-35722-0_3DOI
  9. [9]Gilles Barthe, Pedro R. D’Argenio, and Tamara Rezk. 2004. Secure Information Flow by Self-Composition. In Proceedings of the 17th IEEE Computer Security Foundations Workshop (CSFW 2004). IEEE Computer Society, 100–114.
  10. [10]Gilles Barthe, Benjamin Grégoire, and Santiago Zanella Béguelin. 2012. Probabilistic Relational Hoare Logics for Computer-Aided Security Proofs. In Proceedings of the 11th International Conference on Mathematics of Program Construction (MPC 2012). Springer, 1–6. doi:10.1007/978-3-642-31113-0_1DOI
  11. [11]Gilles Barthe, Boris Köpf, Federico Olmedo, and Santiago Zanella Béguelin. 2012. Probabilistic Relational Reasoning for Differential Privacy. In Proceedings of the 39th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2012). ACM, 97–110. doi:10.1145/2103656.2103670DOI
  12. [12]Nick Benton. 2004. Simple Relational Correctness Proofs for Static Analyses and Program Transformations. In Proceedings of the 31st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2004). ACM, 14–25. doi:10.1145/964001.964003DOI
  13. [13]Aaron Bohannon, J. Nathan Foster, Benjamin C. Pierce, Alexandre Pilkiewicz, and Alan Schmitt. 2008. Boomerang: Resourceful Lenses for String Data. In Proceedings of the 35th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2008). ACM, 407–419. doi:10.1145/1328438.1328487DOI
  14. [14]Aaron Bohannon, Benjamin C. Pierce, and Jeffrey A. Vaughan. 2006. Relational Lenses: A Language for Updatable Views. In Proceedings of the Twenty-Fifth ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems (PODS 2006). ACM, 338–347. doi:10.1145/1142351.1142399DOI
  15. [15]Mihai Chajed, Tej Chajed, Frank McSherry, Leonid Ryzhyk, and Val Tannen. 2023. DBSP: Automatic Incremental View Maintenance for Rich Query Languages. Proc. VLDB Endow. 16, 7 (March 2023), 1601–1614. doi:10.14778/3587136.3587137DOI
  16. [16]Yufei Cai, Paolo G. Giarrusso, Tillmann Rendel, and Klaus Ostermann. 2014. A theory of changes for higher-order languages: incrementalizing λ-calculi by static differentiation. In Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation (Edinburgh, United Kingdom, (PLDI ’14). Association for Computing Machinery, New York, NY, USA, 145–155. ISBN 9781450327848. doi:10.1145/2594291.2594304DOI
  17. [17]Paris Carbone, Asterios Kafatidis, Stephan Ewen, Volker Markl, Seiif Haridi, and Kostas Tzoumas. 2015. Apache flink: Stream and batch processing in a single engine. The Bulletin of the Technical Committee on Data Engineering 38, 4 (2015).
  18. [18]Jia Chen, Yu Feng, and Isil Dillig. 2017. Precise Detection of Side-Channel Vulnerabilities using Quantitative Cartesian Hoare Logic. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security (CCS 2017). ACM, 875–890. doi:10.1145/3133956.3134058DOI
  19. [19]Azadeh Farzan, Danya Letta, and Victor Nicolet. 2022. Recursion Synthesis with Unrealizability Witnesses. In Proceedings of the 43rd ACM SIGPLAN International Conference on Programming Language Design and Implementation (PLDI). 16:1–16:16.DOI
  20. [20]Azadeh Farzan and Victor Nicolet. 2017. Synthesis of divide and conquer parallelism for loops. In Proceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation (Barcelona, Spain) (PLDI 2017). Association for Computing Machinery, New York, NY, USA, 540–555. ISBN 9781450349888. doi:10.1145/3062341.3062355DOI
  21. [21]Azadeh Farzan and Victor Nicolet. 2019. Synthesis of divide and conquer parallelism for nested loops. In Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation (Phoenix, AZ, USA) (PLDI 2019). Association for Computing Machinery, New York, NY, USA, 610–624. ISBN 9781450367127. doi:10.1145/3314221.3314612
  22. [22]Azadeh Farzan and Victor Nicolet. 2021. Phased synthesis of divide and conquer programs. In Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation (Virtual, Canada) (PLDI 2021). Association for Computing Machinery, New York, NY, USA, 974–986. ISBN 9781450383912. doi:10.1145/3453483.3454089DOI
  23. [23]J. Nathan Foster, Michael B. Greenwald, Jonathan T. Moore, Benjamin C. Pierce, and Alan Schmitt. 2007. Combinators for bidirectional tree transformations: A linguistic approach to the view-update problem. ACM Trans. Program. Lang. Syst. 29, 3 (May 2007), 17–es. doi:10.1145/1232420.1232424DOI
  24. [24]J. Nathan Foster, Alexandre P. Kiełczewicz, and Benjamin C. Pierce. 2008. Quotient lenses. In Proceedings of the 13th ACM SIGPLAN International Conference on Functional Programming (Victoria, BC, Canada) (ICFP ’08). Association for Computing Machinery, New York, NY, USA, 383–396. ISBN 9781595939197. doi:10.1145/1411204.1411257DOI
  25. [25]Paolo G. Giarrusso, Yann Régis-Gianas, and Philipp Schuster. 2019. Incremental λ-Calculus in Cache-Transfer Style. In Programming Languages and Systems, Luís Caires (Ed.). Springer International Publishing, Cham, 553–580.
  26. [26]Matthew A. Hammer and Umut A. Acar. 2008. Memory management for self-adjusting computation. In Proceedings of the 7th International Symposium on Memory Management, ISMM 2008, Tucson, AZ, USA, June 7-8, 2008, Richard E. Jones and Stephen M. Blackburn (Eds.). ACM, 51–60. doi:10.1145/1375634.1375642DOI
  27. [27]Matthew A. Hammer, Umut A. Acar, and Yan Chen. 2009. CEAL: A C-Based Language for Self-Adjusting Computation. In Proceedings of the 30th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI 2009). ACM, 25–37. doi:10.1145/1542476.1542480DOI
  28. [28]Matthew A. Hammer, Jana Dunfield, Kyle Headley, Nicholas Labich, Jeffrey S. Foster, Michael Hicks, and David Van Horn. 2015. Incremental Computation with Names. In Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA 2015). ACM, 748–766. doi:10.1145/2814270.2814305DOI
  29. [29]Matthew A. Hammer, Khoi Yit Phang, Michael Hicks, and Jeffrey S. Foster. 2014. Adapton: Composable, Demand-Driven Incremental Computation. SIGPLAN Not. 49, 6 (jun 2014), 156–166. doi:10.1145/2666356.2594324DOI
  30. [30]Hossein Hojjat and Philipp Rümmer. 2018. The ELDARICA Horn Solver. In 2018 Formal Methods in Computer Aided Design (FMCAD). 1–7. doi:10.23919/FMCAD.2018.8603013DOI
  31. [31]Qinheping Hu, Jason Breck, John Cyphert, Loris D’Antoni, and Thomas Reps. 2019. Proving Unrealizability for Syntax-Guided Synthesis. In Computer Aided Verification (CAV). 335–352.arxiv.org/abs/1905.05800
  32. [32]Qinheping Hu, John Cyphert, Loris D’Antoni, and Thomas Reps. 2020. Exact and Approximate Methods for Proving Unrealizability of SyGuS Problems. In Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI). 1128–1142.DOI
  33. [33]Qinheping Hu and Loris D’Antoni. 2017. Automatic program inversion using symbolic transducers. SIGPLAN Not. 52, 6 (June 2017), 376–389. doi:10.1145/3140587.3062345DOI
  34. [34]Ruyi Ji, Yujie Zhao, Nadia Polikarpova, Yingfei Xiong, and Zhenjiang Hu. 2024. Superfusion: Eliminating Intermediate Data Structures via Inductive Synthesis. Proceedings of the ACM on Programming Languages 8, PLDI (2024). doi:10.1145/3656415DOI
  35. [35]Ruyi Ji, Yujie Zhao, Yingfei Xiong, Di Wang, Lu Zhang, and Zhenjiang Hu. 2024. Decomposition-Based Synthesis for Applying Divide-and-Conquer-Like Algorithmic Paradigms. ACM Transactions on Programming Languages and Systems (2024). doi:10.1145/3648440DOI
  36. [36]Ruyi Ji, Tanjan Zhu, Yingfei Xiong, and Zhenjiang Hu. 2022. Automating Thinning Theorem: Synthesizing Efficient Dynamic Programming Algorithms. In Programming Languages and Systems (ESOP 2022). Springer.arxiv.org/abs/2202.12208
  37. [37]Christoph Koch, Yanif Ahmad, Oliver Kennedy, Milos Nikolic, Andres Nötzli, Daniel Lupei, and Amir Shaikhha. 2014. DBToaster: higher-order delta processing for dynamic, frequently fresh views. The VLDB Journal 23, 2 (01 Apr 2014), 253–278. doi:10.1007/s00778-013-0348-4DOI
  38. [38]Anvesh Komuravelli, Arie Gurfinkel, and Sagar Chaki. 2016. The Spacer Horn Solver. In Computer Aided Verification (CAV 2016). Springer, 181–189.
  39. [39]Yanhong A. Liu. 2000. Efficiency by Incrementalization: An Introduction. Higher Order Symbol. Comput. 13, 4 (dec 2000), 289–313. doi:10.1023/A:1026540731739DOI
  40. [40]Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, Shashank Gupta, Bodhisattva Prasad Majumder, Katherine Hermann, Sean Welleck, Amir Yazdanbakhsh, and Peter Clark. 2023. Self-Refine: Iterative Refinement with Self-Feedback. In Advances in Neural Information Processing Systems.
  41. [41]Materialize. [n. d.]. Arrangements. https://materialize.com/docs/get-started/arrangements/. Accessed 2026-06-12.
  42. [42]Frank McSherry, Derek G. Murray, Rebecca Isaacs, and Michael Isard. 2013. Differential Dataflow. In Proceedings of the Sixth Biennial Conference on Innovative Data Systems Research (CIDR 2013).
  43. [43]Kazutaka Morita, Akimasa Morihata, Kiminori Matsuzaki, Zhenjiang Hu, and Masato Takeichi. 2007. Automatic inversion generates divide-and-conquer parallel programs. SIGPLAN Not. 42, 6 (June 2007), 146–155. doi:10.1145/1273442.1250752DOI
  44. [44]Derek G. Murray, Frank McSherry, Rebecca Isaacs, Michael Isard, Paul Barham, and Martín Abadi. 2013. Naiad: A Timely Dataflow System. In Proceedings of the 24th ACM Symposium on Operating Systems Principles. 439–455. doi:10.1145/2517349.2522738DOI
  45. [45]Armando Solar-Lezama, Christopher Grant Jones, and Rastislav Bodík. 2008. Sketching concurrent data structures. In Proceedings of the ACM SIGPLAN 2008 Conference on Programming Language Design and Implementation (PLDI). ACM, 136–148. doi:10.1145/1375581.1375599
  46. [46]Armando Solar-Lezama, Liviu Tancau, Rastislav Bodík, Sanjit A. Seshia, and Vijay A. Saraswat. 2006. Combinatorial sketching for finite programs. In Proceedings of the 12th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS). ACM, 404–415. doi:10.1145/1168857.1168907
  47. [47]Marcelo Sousa and Isıl Dillig. 2016. Cartesian Hoare Logic for Verifying k-Safety Properties. In Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI 2016). ACM, 57–69. doi:10.1145/2908080.2908092DOI
  48. [48]Saurabh Srivastava, Sumit Gulwani, Swarat Chaudhuri, and Jeffrey S. Foster. 2011. Path-based inductive synthesis for program inversion. SIGPLAN Not. 46, 6 (June 2011), 492–503. doi:10.1145/1993316.1993357DOI
  49. [49]Tachio Terauchi and Alex Aiken. 2005. Secure Information Flow as a Safety Problem. In Static Analysis (SAS 2005, Vol. 3672). Springer, 352–367.DOI
  50. [50]Ziteng Wang, Ruijie Fang, Linus Zheng, Dix in Tang, and Işıl Dillig. 2025. Homomorphism Calculus for User-Defined Aggregations. Proc. ACM Program. Lang. 9, OOPSLA2, Article 294 (Oct. 2025), 27 pages. doi:10.1145/3763072DOI
  51. [51]Ziteng Wang, Shankara Pailoor, Aaryan Prakash, Yuepeng Wang, and Işıl Dillig. 2024. From Batch to Stream: Automatic Generation of Online Algorithms. Proceedings of the ACM on Programming Languages 8, PLDI (2024), 1014–1039.DOI
  52. [52]Ziteng Wang, Linus Zheng, Dixin Tang, and Işıl Dillig. 2026. Software Artifact for “Rewinding the Fold: Making Stateful Computations Retractable”. doi:10.5281/zenodo.23329026DOI
  53. [53]Anna Zaks and Amir Pnueli. 2008. CoVaC: Compiler Validation by Program Analysis of the Cross-Product. In Formal Methods (FM 2008). Springer, 35–51.DOI

Paper details

vlnc:W_c4bghcwx
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 2

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents