๐ฎ
๐ฎ
The Ethereal
On Transforming Functions Accessing Global Variables into Logically Constrained Term Rewriting Systems
February 22, 2019 ยท The Ethereal ยท ๐ WPTE@FSCD
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Yoshiaki Kanazawa, Naoki Nishida
arXiv ID
1902.08421
Category
cs.LO: Logic in CS
Cross-listed
cs.PL
Citations
5
Venue
WPTE@FSCD
Last Checked
5 months ago
Abstract
In this paper, we show a new approach to transformations of an imperative program with function calls and global variables into a logically constrained term rewriting system. The resulting system represents transitions of the whole execution environment with a call stack. More precisely, we prepare a function symbol for the whole environment, which stores values for global variables and a call stack as its arguments. For a function call, we prepare rewrite rules to push the frame to the stack and to pop it after the execution. Any running frame is located at the top of the stack, and statements accessing global variables are represented by rewrite rules for the environment symbol. We show a precise transformation based on the approach and prove its correctness.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Logic in CS
๐ฎ
๐ฎ
The Ethereal
Safe Reinforcement Learning via Shielding
๐ฎ
๐ฎ
The Ethereal
Formal Verification of Piece-Wise Linear Feed-Forward Neural Networks
๐ฎ
๐ฎ
The Ethereal
Heterogeneous substitution systems revisited
๐ฎ
๐ฎ
The Ethereal
Omega-Regular Objectives in Model-Free Reinforcement Learning
๐ฎ
๐ฎ
The Ethereal