Streaming Transducers for Algorithmic Verification of Single-pass List-processing Programs

被引:41
|
作者
Alur, Rajeev [1 ]
Cerny, Pavol [1 ]
机构
[1] Univ Penn, Philadelphia, PA 19104 USA
关键词
transducers; algorithmic software verification; lists;
D O I
10.1145/1926385.1926454
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We introduce streaming data string transducers that map input data strings to output data strings in a single left-to-right pass in linear time. Data strings are (unbounded) sequences of data values, tagged with symbols from a finite set, over a potentially infinite data domain that supports only the operations of equality and ordering. The transducer uses a finite set of states, a finite set of variables ranging over the data domain, an a finite set of variables ranging over data strings. At every step, it tan make decisions based on the next input symbol, updating its state, remembering the input data value in its data variables, and updating data-string variables by concatenating data-string variables and new symbols formed from data variables, while avoiding duplication. We establish that the problems of checking functional equivalence of two streaming transducers, and of checking whether a streaming transducer satisfies pre/post verification conditions specified by streaming acceptors over input/output data. strings, are in PSPACE. We identify a class of imperative and a class of functional programs, manipulating lists of data items, which can be effectively translated to streaming data-string transducers. The imperative programs dynamically modily a singly-linked heap by changing next-pointers of heap-nodes and by adding new nodes. The main restriction specifics how the next-pointers can be used for traversal. We also identify an expressively equivalent fragment of functional programs that traverse a I st using syntactically restricted recursive calls. Our results lead to algorithms for assertion checking and for checking functional equivalence of two programs, written possibly in different programming styles, for commonly used routines such as insert, delete, and revel se.
引用
收藏
页码:599 / 610
页数:12
相关论文
共 43 条
  • [31] A linked list run-length-based single-pass connected component analysis for real-time embedded hardware
    Jia Wei Tang
    Nasir Shaikh-Husin
    Usman Ullah Sheikh
    M. N. Marsono
    Journal of Real-Time Image Processing, 2018, 15 : 197 - 215
  • [32] Flume and single-pass washing systems for fresh-cut produce processing: Disinfection by-products evaluation
    Zhang, Tianqi
    Lee, Wan-Ning
    Luo, Yaguang
    Huang, Ching-Hua
    FOOD CONTROL, 2022, 133
  • [33] Multimode parameter extraction for multiconductor transmission lines via single-pass FDTD and signal-processing techniques
    Wang, YX
    Ling, H
    IEEE TRANSACTIONS ON MICROWAVE THEORY AND TECHNIQUES, 1998, 46 (01) : 89 - 96
  • [34] Effect of single-pass friction stir processing parameters on the microstructure and properties of 2 mm thick AA2524
    He, Jiangmei
    Hu, Yijie
    Sun, Youping
    Li, Wangzhen
    Luo, Guojian
    MATERIALS RESEARCH EXPRESS, 2022, 9 (09)
  • [35] Immersion-free, single-pass, commercial fresh-cut produce washing system: An alternative to flume processing
    Bornhorst, Ellen R.
    Luo, Yaguang
    Park, Eunhee
    Vinyard, Bryan T.
    Nou, Xiangwu
    Zhou, Bin
    Turner, Ellen
    Millner, Patricia D.
    POSTHARVEST BIOLOGY AND TECHNOLOGY, 2018, 146 : 124 - 133
  • [36] Flowability, wet agglomeration, and pasta processing properties of whole-durum flour: Effect of direct single-pass and multiple-pass reconstituted milling systems
    Deng, Lingzhu
    Manthey, Frank A.
    CEREAL CHEMISTRY, 2019, 96 (04) : 708 - 716
  • [37] Influence of Processing Temperature and Strain Rate on the Microstructure and Mechanical Properties of Magnesium Alloys Processed by Single-Pass Differential Speed Rolling
    Hale, Christopher
    Xu, Zhigang
    Fialkova, Svitlana
    Rawles, Jessica
    Sankar, Jagannathan
    CRYSTALS, 2024, 14 (03)
  • [38] Enhanced Mechanical Properties of Cast Cu-10 wt%Fe Alloy via Single-Pass Friction Stir Processing
    Yuan, Xiaobo
    Wang, Hui
    Lai, Ruilin
    Li, Yunping
    MATERIALS, 2023, 16 (21)
  • [39] Heat-transfer analysis of AZ31B Mg alloys during single-pass flat rolling: Experimental verification and mathematical modeling
    Jia, Weitao
    Le, Qichi
    MATERIALS & DESIGN, 2017, 121 : 288 - 309
  • [40] Achieving single-pass high-reduction rolling and enhanced mechanical properties of AZ91 alloy by RD-ECAP pre-processing
    Li, Yuhua
    Jiang, Yaqing
    Xu, Qiong
    Ma, Aibin
    Jiang, Jinghua
    Liu, Huan
    Yuan, Yuchun
    Qiu, Chao
    MATERIALS SCIENCE AND ENGINEERING A-STRUCTURAL MATERIALS PROPERTIES MICROSTRUCTURE AND PROCESSING, 2021, 804