PofoliaGünlük literatür takibi

ACM Transactions on Programming Languages and Systems· 2026Q2

Bağlama Bağlı Etkiler ve Korunan Etkileşim Ağaçlarında Eşzamanlılık

Context-Dependent Effects and Concurrency in Guarded Interaction Trees

Sergei Stepanenko, Emma Nardino, Virgil Marionneau, Dan Frumin ve diğerleri

Kısa özet

Korunan Etkileşim Ağaçları, bağlama bağlı etkiler (call/cc gibi) ve öncelikli eşzamanlılık hakkında resmi akıl yürütmeyi desteklemek üzere genişletilerek, doğrudan stil anlamsal semantiği ve etki birlikte çalışabilirliği için tür sağlamlığı kanıtlamayı mümkün kılar.

Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.

Ana noktalar

  • Korunan Etkileşim Ağaçları, call/cc ve shift/reset gibi bağlama bağlı etkiler hakkında resmi akıl yürütmeyi desteklemek üzere genişletilmiştir.
  • Genişletme muhafazakardır ve bağlamdan bağımsız etkiler için mevcut prensipleri korur.
  • Bu, devamlılıkları olan üst düzey diller için doğrudan stil anlamsal semantiği sağlar.
  • Öncelikli eşzamanlılık eklenmiş olup, genel bir atomik etki yoluyla atomik durum değişikliklerinin modüler akıl yürütülmesine olanak tanır.
  • Sınırlı devamlılıkları olan programlama dilleri ile üst düzey depolama içeren programlama dilleri arasındaki güvenli birlikte çalışabilirlik için tür sağlamlığı kanıtlanmıştır.

Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.

Özet (abstract)

Guarded Interaction Trees are a structure and a fully formalized framework for representing higher-order computations with higher-order effects in Rocq. We present an extension of Guarded Interaction Trees to support formal reasoning about context-dependent effects. That is, effects whose behaviors depend on the evaluation context, e.g., , call/cc , shift and reset . Using and reasoning about such effects is challenging since certain compositionality principles no longer hold in the presence of such effects. For example, the so-called “bind rule” in modern program logics (which allows one to reason modularly about a term inside an evaluation context) is no longer valid. The goal of our extension is to support representation and reasoning about context-dependent effects in the most painless way possible. To that end, our extension is conservative: the reasoning principles (and the Rocq implementation) for context-independent effects remain the same. We show that our implementation of context-dependent effects is viable and powerful. We use it to give direct-style denotational semantics for higher-order programming languages with call/cc and with delimited continuations. We extend the program logic for Guarded Interaction Trees to account for context-dependent effects, and we use the program logic to prove that the denotational semantics is adequate with respect to the operational semantics. This is achieved by constructing logical relations between syntax and semantics inside the program logic. Additionally, we retain the ability to combine multiple effects in a modular way, which we demonstrate by showing type soundness for safe interoperability of a programming language with delimited continuations and a programming language with higher-order store. Furthermore, as another contribution, in addition to context-dependent effects, we show how to extend Guarded Interaction Trees with preemptive concurrency. To support implementation and verification of concurrent data structures and algorithms in the presence of preemptive concurrency one requires atomic state modification operations, e.g., , compare-and-exchange. We demonstrate how the ability to pass lambda functions as effect inputs allows us to define a single generic atomic state modification effect from which various atomic operations can be derived.

Yazarların özeti; kaynağından alınmıştır. ACM Transactions on Programming Languages and Systems, 2026 · DOI ↗

ÇıkarımlarPremium Makaleye SorÜcretsiz hesapla

Ücretsiz hesapla devam et

Makaleye Sor ile bu makaleye günde 5 soru ücretsiz; makaleyi kaydet, kaynakçasını al, ilgi alanına göre her gün yeni özetler. Çıkarımlar Premium.

Web'de ücretsiz devam et

Google ya da Apple hesabınla giriş; kart istemez. Bu makaleye geri dönersin.

Telefonda:

Alan: Yazılım

SoftwareComputer Science