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 条
  • [41] Accelerating signal processing algorithms in digital holography using an FPGA platform
    Lenart, T
    Öwall, V
    Gustafsson, M
    Sebesta, M
    Egelberg, P
    2003 IEEE INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (FPT), PROCEEDINGS, 2003, : 387 - 390
  • [42] Parallel Approaches to Digital Signal Processing Algorithms with Applications in Medical Imaging
    Kapinchev, Konstantin
    Bradu, Adrian
    Podoleanu, Adrian
    2019 13TH INTERNATIONAL CONFERENCE ON SIGNAL PROCESSING AND COMMUNICATION SYSTEMS (ICSPCS), 2019,
  • [43] Projector construction in the problems of synthesis of nonlinear algorithms for digital signal processing
    Lanne, A.A., 2000, Gordon & Breach Science Publ Inc, Newark, NJ, United States (17):
  • [44] AICE-CRT and digital signal processing algorithms: the complex case
    Krishna, H., 1600, Birkhaeuser Boston Inc, Cambridge, MA, United States (14):
  • [45] STATIC SCHEDULING OF SYNCHRONOUS DATA FLOW PROGRAMS FOR DIGITAL SIGNAL PROCESSING.
    Lee, Edward Ashford
    Messerschmitt, David G.
    IEEE Transactions on Computers, 1987, C-36 (01) : 24 - 35
  • [46] STATIC SCHEDULING OF SYNCHRONOUS DATA FLOW PROGRAMS FOR DIGITAL SIGNAL-PROCESSING
    LEE, EA
    MESSERSCHMITT, DG
    IEEE TRANSACTIONS ON COMPUTERS, 1987, 36 (01) : 24 - 35
  • [47] SOME APPLICATIONS OF FRACTIONAL ORDER CALCULUS TO DESIGN DIGITAL FILTERS FOR BIOMEDICAL SIGNAL PROCESSING
    Ferdi, Youcef
    JOURNAL OF MECHANICS IN MEDICINE AND BIOLOGY, 2012, 12 (02)
  • [48] A digital filterbank hearing aid: Three digital signal processing algorithms - User preference and performance
    Lunner, T
    Hellgren, J
    Arlinger, S
    Elberling, C
    EAR AND HEARING, 1997, 18 (05): : 373 - 387
  • [49] The interfacing of signal processing algorithms to full-field models for EMC modelling
    Choong, YK
    Christopoulos, C
    Paul, J
    Sewell, P
    Thomas, DWP
    2003 IEEE INTERNATIONAL SYMPOSIUM ON ELECTROMAGNETIC COMPATIBILITY (EMC), VOLS 1 AND 2, SYMPOSIUM RECORD, 2003, : 1273 - 1276
  • [50] A framework for automatic large-scale testing and characterization of signal processing algorithms
    Holladay, K
    Robbins, KA
    MILCOM 2004 - 2004 IEEE MILITARY COMMUNICATIONS CONFERENCE, VOLS 1- 3, 2004, : 265 - 270