Polyvariant Program Specialisation with Property-based Abstraction

被引:3
|
作者
Gallagher, John P. [1 ,2 ]
机构
[1] Roskilde Univ, Roskilde, Denmark
[2] IMDEA Software Inst, Madrid, Spain
关键词
VERIFICATION;
D O I
10.4204/EPTCS.299.6
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper we show that property-based abstraction, an established technique originating in software model checking, is a flexible method of controlling polyvariance in program specialisation in a standard online specialisation algorithm. Specialisation is a program transformation that transforms a program with respect to given constraints that restrict its behaviour. Polyvariant specialisation refers to the generation of two or more specialised versions of the same program code. The same program point can be reached more than once during a computation, with different constraints applying in each case, and polyvariant specialisation allows different specialisations to be realised. A propertybased abstraction uses a finite set of properties to define a finite set of abstract versions of predicates, ensuring that only a finite number of specialised versions is generated. The particular choice of properties is critical for polyvariance; too few versions can result in insufficient specialisation, while too many can result in an increase of code size with no corresponding efficiency gains. Using examples, we show the flexibility of specialisation with property-based abstraction and discuss its application in control flow refinement, verification, termination analysis and dimension-based specialisation.
引用
收藏
页码:34 / 48
页数:15
相关论文
共 50 条
  • [1] A property-based abstraction framework for SysML activity diagrams
    Ouchani, Samir
    Mohamed, Otmane Ait
    Debbabi, Mourad
    KNOWLEDGE-BASED SYSTEMS, 2014, 56 : 328 - 343
  • [2] PROPR: Property-Based Automatic Program Repair
    Gissurarson, Matthias Pall
    Applis, Leonhard
    Panichella, Annibale
    van Deursen, Arie
    Sands, David
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 1768 - 1780
  • [3] Convex polyhedral abstractions, specialisation and property-based predicate splitting in Horn clause verification
    Kafle, Bishoksan
    Gallagher, John P.
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2014, (169): : 53 - 67
  • [4] Developments in Property-Based Testing
    Midtgaard, Jan
    PROCEEDINGS OF THE ACM SIGPLAN WORKSHOP ON PARTIAL EVALUATION AND PROGRAM MANIPULATION (PEPM'18), 2018, : 1 - 1
  • [5] What is a property-based similarity?
    Tetko, Igor V.
    ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2006, 232 : 338 - 338
  • [6] Targeted Property-Based Testing
    Loscher, Andreas
    Sagonas, Konstantinos
    PROCEEDINGS OF THE 26TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA'17), 2017, : 46 - 56
  • [7] Property-based TPM virtualization
    Sadeghi, Ahmad-Reza
    Stueble, Christian
    Winandy, Marcel
    INFORMATION SECURITY, PROCEEDINGS, 2008, 5222 : 1 - +
  • [8] Toward Property-Based Regulation
    Muellers, Tobias D.
    Petrovic, Predrag V.
    Zimmerman, Julie B.
    Anastas, Paul T.
    ENVIRONMENTAL SCIENCE & TECHNOLOGY, 2023, 57 (32) : 11718 - 11730
  • [9] Property-based optimisation of PROTACs
    Scott, James S.
    Michaelides, Iacovos N.
    Schade, Markus
    RSC MEDICINAL CHEMISTRY, 2025, 16 (02): : 449 - 456
  • [10] A Primer on Property-Based Testing
    Koparkar, Chaitanya
    XRDS: Crossroads, 2024, 30 (02): : 40 - 41