کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
435047 1441672 2014 14 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Preventing arithmetic overflows in Alloy
ترجمه فارسی عنوان
جلوگیری از سرریز حساب در آلیاژ
کلمات کلیدی
سرریز ریاضی، توابع جزئی، منطق، مرتبه اول، آلیاژ
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی


• A new treatment of partial functions in classical logic.
• Goal: suppress variable bindings causing out-of-domain applications.
• Idea: assign truth values to undefined formulas to make them globally irrelevant.
• Applied to Alloy (a bounded model finder) to prevent arithmetic overflows.
• Result: the Alloy Analyzer made sound with respect to counterexamples.

In a bounded analysis, arithmetic operators become partial, and a different semantics becomes necessary. One approach, mimicking programming languages, is for overflow to result in wrap-around. Although easy to implement, wrap-around produces unexpected counterexamples that do not correspond to cases that would arise in the unbounded setting. This paper describes a new approach, implemented in the latest version of the Alloy Analyzer, in which instances that would involve overflow are suppressed, and consequently, spurious counterexamples are eliminated. The key idea is to interpret quantifiers so that bound variables range only over values that do not cause overflow.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 94, Part 2, 15 November 2014, Pages 203–216
نویسندگان
, ,