UTC Time, Formally Verified

被引:1
|
作者
de Almeida Borges, Ana [1 ,2 ]
Gonzalez Bedmar, Mireia [1 ,2 ]
Conejero Rodriguez, Juan [1 ,2 ]
Hermo Reyes, Eduardo [1 ,2 ]
Casals Bunuel, Joaquim [1 ,2 ]
Joosten, Joost J. [1 ]
机构
[1] Univ Barcelona, Barcelona, Spain
[2] Formal Vindicat S L, Barcelona, Spain
关键词
Coq; MathComp; formal verification; automation; time; UTC; REFINEMENT; VERIFICATION; CALCULUS; PROOF;
D O I
10.1145/3636501.3636958
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
FV Time is a small-scale verification project developed in the Coq proof assistant using the Mathematical Components libraries. It is a library for managing conversions between time formats (UTC and timestamps), as well as commonly used functions for time arithmetic. As a library for time conversions, its novelty is the implementation of leap seconds, which are part of the UTC standard but usually not implemented in existing libraries. Since the verified functions of FV Time are reasonably simple yet non-trivial, it nicely illustrates our methodology for verifying software with Coq. In this paper we present a description of the project, emphasizing the main problems faced while developing the library, as well as some general-purpose solutions that were produced as by-products and may be used in other verification projects. These include a refinement package between proof-oriented MathComp numbers and computationoriented primitive numbers from the Coq standard library, as well as a set of tactics to automatically prove certain decidable statements over finite ranges through brute-force computation.
引用
收藏
页码:2 / 13
页数:12
相关论文
共 50 条
  • [41] A Formally-Verified C Static Analyzer
    Jourdan, Jacques-Henri
    Laporte, Vincent
    Blazy, Sandrine
    Leroy, Xavier
    Pichardie, David
    ACM SIGPLAN NOTICES, 2015, 50 (01) : 247 - 259
  • [42] Formally Verified Quite OK Image Format
    Bucev, Mario
    Kuncak, Viktor
    2022 FORMAL METHODS IN COMPUTER-AIDED DESIGN, FMCAD, 2022, 3 : 343 - 348
  • [43] FORMALLY VERIFIED SYNTHESIS OF COMBINATIONAL CMOS CIRCUITS
    BASIN, DA
    BROWN, GM
    LEESER, ME
    INTEGRATION-THE VLSI JOURNAL, 1991, 11 (03) : 235 - 250
  • [44] Formally Verified Cryptographic Web Applications in WebAssembly
    Protzenko, Jonathan
    Beurdouche, Benjamin
    Merigoux, Denis
    Bhargavan, Karthikeyan
    2019 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP 2019), 2019, : 1256 - 1274
  • [45] Formally Verified Speculation and Deoptimization in a JIT Compiler
    Barriere, Aurele
    Blazy, Sandrine
    Fluckiger, Olivier
    Pichardie, David
    Vitek, Jan
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2021, 5 (POPL):
  • [46] A formally verified prover for the ALC description logic
    Alonso, Jose-Antonio
    Borrego-Diaz, Joaquin
    Hidalgo, Maria-Jose
    Martin-Mateos, Francisco-Jesus
    Ruiz-Reina, Jose-Luis
    THEOREM PROVING IN HIGHER ORDER LOGICS, PROCEEDINGS, 2007, 4732 : 135 - +
  • [47] A Formally Verified Motion Planner for Autonomous Vehicles
    Rizaldi, Albert
    Immler, Fabian
    Schurmann, Bastian
    Althoff, Matthias
    AUTOMATED TECHNOLOGY FOR VERIFICATION AND ANALYSIS (ATVA 2018), 2018, 11138 : 75 - 90
  • [48] Formally Verified Conditions for Regularity of Interval Matrices
    Pasca, Ioana
    INTELLIGENT COMPUTER MATHEMATICS, 2010, 6167 : 219 - 233
  • [49] A Formally Verified Proof of the Central Limit Theorem
    Avigad, Jeremy
    Hoelzl, Johannes
    Serafin, Luke
    JOURNAL OF AUTOMATED REASONING, 2017, 59 (04) : 389 - 423
  • [50] A Formally Verified Plasma Vertical Position Control Algorithm
    Wu, May
    Rosenberg, Jessie
    Fulton, Nathan
    FORMAL METHODS FOR INDUSTRIAL CRITICAL SYSTEMS, FMICS 2020, 2020, 12327 : 170 - 188