The W-CALCULUS: A Synchronous Framework for the Verified Modelling of Digital Signal Processing Algorithms

被引:0
|
作者
Arias, Emilio Jesus Gallego [1 ]
Jouvelot, Pierre [2 ]
Ribstein, Sylvain
Desblancs, Dorian [3 ]
机构
[1] Inria Paris, Equipe R2, Paris, France
[2] PSL Univ, MINES ParisTech, Paris, France
[3] Ecole Normale Super Paris Saclay, Paris, France
关键词
Digital Signal Processing; Programming Language Semantics; Synchronous Programming; Formal Verification; Linear Time-invariance;
D O I
10.1145/3471872.3472970
中图分类号
C [社会科学总论];
学科分类号
03 ; 0303 ;
摘要
We introduce the W-CALCULUS, an extension of the call-by-value lambda-calculus with synchronous semantics, designed to be flexible enough to capture different implementation forms of Digital Signal Processing algorithms, while permitting a direct embedding into the Coq proof assistant for mechanized formal verification. In particular, we are interested in the different implementations of classical DSP algorithms such as audio filters and resonators, and their associated high-level properties such as Linear Time-invariance. We describe the syntax and denotational semantics of the W-CALCULUS, providing a Coq implementation. As a first application of the mechanized semantics, we prove that every program expressed in a restricted syntactic subset of W is linear time-invariant, by means of a characterization of the property using logical relations. This first semantics, while convenient for mechanized reasoning, is still not useful in practice as it requires re-computation of previous steps. To improve on that, we develop an imperative version of the semantics that avoids recomputation of prior stream states. We empirically evaluate the performance of the imperative semantics using a staged interpreter written in OCaml, which, for an input program in W, produces a specialized OCaml program, which is then fed to the optimizing OCaml compiler. The approach provides a convenient path from the high-level semantical description to low-level efficient code.
引用
收藏
页码:35 / 46
页数:12
相关论文
共 50 条
  • [1] Differential algorithms of digital signal processing
    Pogribny W.A.
    Radioelectronics and Communications Systems, 2010, 53 (7) : 380 - 388
  • [2] A Framework for Interval Quantization and Application to Interval Based Algorithms in Digital Signal Processing
    Santanat, Fabiana T.
    Santana, Fagner L.
    Guerreiro, Ana Maria G.
    Doria Neto, Adriao D.
    Santiago, Regivan H. N.
    FUNDAMENTA INFORMATICAE, 2011, 112 (04) : 337 - 363
  • [3] MOVAL - A FRAMEWORK FOR TURNING DIGITAL SIGNAL-PROCESSING ALGORITHMS INTO CUSTOM CHIPS
    LIGTENBERG, A
    ONEILL, JH
    VETTERLI, M
    SIGNAL PROCESSING, 1986, 11 (02) : 119 - 132
  • [4] On algorithms for digital signal processing of sequences
    Garg, HK
    Ko, CC
    Lin, KY
    Liu, H
    CIRCUITS SYSTEMS AND SIGNAL PROCESSING, 1996, 15 (04) : 437 - 452
  • [5] Synchronous SRAM for digital signal processing applications
    Shulman, D
    ELECTRONICS LETTERS, 1997, 33 (07) : 562 - 564
  • [6] Hardware Implementation of Digital Signal Processing Algorithms
    Ashrafi, Ashkan
    Strollo, Antonio G. M.
    Gustafsson, Oscar
    JOURNAL OF ELECTRICAL AND COMPUTER ENGINEERING, 2013, 2013
  • [7] Digital signal processing and algorithms for γ-ray tracking
    Gast, W
    Lieder, RM
    Mihailescu, L
    Rossewij, MJ
    Brands, H
    Georgiev, A
    Stein, J
    Kröll, T
    IEEE TRANSACTIONS ON NUCLEAR SCIENCE, 2001, 48 (06) : 2380 - 2384
  • [8] SYSTOLIC ALGORITHMS FOR DIGITAL SIGNAL-PROCESSING
    CHARLIER, JP
    VANBEGIN, M
    VANDOOREN, P
    PHILIPS JOURNAL OF RESEARCH, 1988, 43 (3-4) : 268 - 290
  • [9] Errors of signal processing in digital terrain modelling
    Florinsky, IV
    INTERNATIONAL JOURNAL OF GEOGRAPHICAL INFORMATION SCIENCE, 2002, 16 (05) : 475 - 501
  • [10] A rapid prototyping framework for audio signal processing algorithms
    Voss, N
    Eisenbach, T
    Mertsching, B
    2004 IEEE INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY, PROCEEDINGS, 2004, : 375 - 378