Transaction Logic with (Complex) Events

05/15/2014
by   Ana Sofia Gomes, et al.
0

This work deals with the problem of combining reactive features, such as the ability to respond to events and define complex events, with the execution of transactions over general Knowledge Bases (KBs). With this as goal, we build on Transaction Logic (TR), a logic precisely designed to model and execute transactions in KBs defined by arbitrary logic theories. In it, transactions are written in a logic-programming style, by combining primitive update operations over a general KB, with the usual logic programming connectives and some additional connectives e.g. to express sequence of actions. While TR is a natural choice to deal with transactions, it remains the question whether TR can be used to express complex events, but also to deal simultaneously with the detection of complex events and the execution of transactions. In this paper we show that the former is possible while the latter is not. For that, we start by illustrating how TR can express complex events, and in particular, how SNOOP event expressions can be translated in the logic. Afterwards, we show why TR fails to deal with the two issues together, and to solve the intended problem propose Transaction Logic with Events, its syntax, model theory and executional semantics. The achieved solution is a non-monotonic extension of TR, which guarantees that every complex event detected in a transaction is necessarily responded.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/31/2017

Debugging Transactions and Tracking their Provenance with Reenactment

Debugging transactions and understanding their execution are of immense ...
research
10/23/2018

Pluralize: a Trustworthy Framework for High-Level Smart Contract-Draft

The paper presents Pluralize a formal logical framework able to extend t...
research
01/04/2016

Programming in logic without logic programming

In previous work, we proposed a logic-based framework in which computati...
research
01/24/2023

Breaking the f+1 Barrier: Executing Payment Transactions in Parallel with Less than f+1 Validations

We consider the problem of supporting payment transactions in an asynchr...
research
11/05/2018

Top-Down Transaction-Level Design with TL-Verilog

Transaction-Level Verilog (TL-Verilog) is an emerging extension to Syste...
research
06/01/2011

Grounding the Lexical Semantics of Verbs in Visual Perception using Force Dynamics and Event Logic

This paper presents an implemented system for recognizing the occurrence...
research
03/21/2014

Towards Active Logic Programming

In this paper we present the new logic programming language DALI, aimed ...

Please sign up or login with your details

Forgot password? Click here to reset