[Paper Review] Towards a Logic-Based Unifying Framework for Computing
This paper proposes a logic-based unifying framework for computing that models computation as state transitions driven by goals, using first-order logic to represent states and events with timestamps in model-theoretic semantics, while supporting destructive updates in operational semantics. The key contribution is proving that both approaches generate identical models, unifying reactive and declarative computation in databases and programming.
In this paper we propose a logic-based, framework inspired by artificial intelligence, but scaled down for practical database and programming applications. Computation in the framework is viewed as the task of generating a sequence of state transitions, with the purpose of making an agent's goals all true. States are represented by sets of atomic sentences (or facts), representing the values of program variables, tuples in a coordination language, facts in relational databases, or Herbrand models. In the model-theoretic semantics, the entire sequence of states and events are combined into a single model-theoretic structure, by associating timestamps with facts and events. But in the operational semantics, facts are updated destructively, without timestamps. We show that the model generated by destructive updates is identical to the model generated by reasoning with facts containing timestamps. We also extend the model with intentional predicates and composite event predicates defined by logic programs containing conditions in first-order logic, which query the current state.
Motivation & Objective
- To unify reactive, database, and logic programming paradigms under a single logic-based computational model.
- To model computation as a sequence of state transitions where each state is a set of atomic facts.
- To reconcile model-theoretic semantics (with timestamps) and operational semantics (destructive updates) in a single framework.
- To extend the framework with intentional predicates and composite event predicates defined via logic programs.
- To provide a formal foundation for reactive computing as model generation, applicable to databases and programming languages.
Proposed method
- Represent states as sets of atomic sentences (facts), modeling program variables, database tuples, or Herbrand models.
- Introduce timestamps to facts and events in model-theoretic semantics to represent temporal evolution.
- Implement operational semantics via destructive updates to facts, without explicit timestamps.
- Define intentional predicates and composite event predicates using first-order logic programs that query current states.
- Prove semantic equivalence between the model generated by timestamped reasoning and the one generated by destructive updates.
- Use logic programs with conditions in first-order logic to express complex event detection and state transitions.
Experimental results
Research questions
- RQ1Can a unified logic-based framework model reactive, database, and programming computations under a single semantics?
- RQ2How can model-theoretic and operational semantics be made equivalent in a logic-based computation model?
- RQ3What is the role of timestamps in representing state evolution, and can they be eliminated without loss of semantics?
- RQ4How can composite events and intentional predicates be formally defined and integrated into the framework?
- RQ5Can destructive updates in operational semantics produce the same model as timestamped reasoning in model-theoretic semantics?
Key findings
- The model generated by destructive updates in operational semantics is identical to the model generated by reasoning with timestamped facts in model-theoretic semantics.
- The framework successfully unifies reactive, database, and logic programming paradigms through a common logic-based foundation.
- Intentional predicates and composite event predicates can be defined using first-order logic programs that query current states.
- The equivalence between timestamped and destructive update semantics holds under the proposed framework, validating its consistency.
- The framework supports practical applications in databases and programming by modeling computation as goal-driven state transitions.
- An improved version of the paper is published in *New Generation Computing* under the title 'Reactive Computing as Model Generation'.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.