Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3018610.3018622acmotherconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
research-article

A reflexive tactic for polynomial positivity using numerical solvers and floating-point computations

Published: 16 January 2017 Publication History
  • Get Citation Alerts
  • Abstract

    Polynomial positivity over the real field is known to be decidable but even the best algorithms remain costly. An incomplete but often efficient alternative consists in looking for positivity witnesses as sum of squares decompositions. Such decompositions can in practice be obtained through convex optimization. Unfortunately, these methods only yield approximate solutions. Hence the need for formal verification of such witnesses. State of the art methods rely on heuristic roundings to exact solutions in the rational field. These solutions are then easy to verify in a proof assistant. However, this verification often turns out to be very costly, as rational coefficients may blow up during computations.
    Nevertheless, overapproximations with floating-point arithmetic can be enough to obtain proofs at a much lower cost. Such overapproximations being non trivial, it is mandatory to formally prove that rounding errors are correctly taken into account. We develop a reflexive tactic for the Coq proof assistant allowing one to automatically discharge polynomial positivity proofs. The tactic relies on heavy computation involving multivariate polynomials, matrices and floating-point arithmetic. Benchmarks indicate that we are able to formally address positivity problems that would otherwise be untractable with other state of the art methods.

    References

    [1]
    A. Adjé, P. Garoche, and V. Magron. Property-based polynomial invariant generation using sums-of-squares optimization. In S. Blazy and T. Jensen, editors, Static Analysis - 22nd International Symposium, SAS 2015, Saint-Malo, France, September 9-11, 2015, Proceedings, volume 9291 of LNCS, pages 235– 251. Springer, 2015. ISBN 978-3-662-48287-2.
    [2]
    1356057. S. Bernard, Y. Bertot, L. Rideau, and P. Strub. Formal proofs of transcendence for e and pi as an application of multivariate and symmetric polynomials. In J. Avigad and A. Chlipala, editors, Proceedings of the 5th ACM SIGPLAN Conference on Certified Programs and Proofs, Saint Petersburg, FL, USA, January 20-22, 2016, pages 76–87. ACM, 2016. ISBN 978- 1-4503-4127-1.
    [3]
    B. Borchers. CSDP, a C library for semidefinite programming. Optimization Methods and Software, 11(1-4), 1999.
    [4]
    C. Cohen, M. Dénès, and A. Mörtberg. Refinements for free! In G. Gonthier and M. Norrish, editors, Certified Programs and Proofs, volume 8307 of LNCS, pages 147–162. Springer, 2013. ISBN 978-3-319-03544-4.
    [5]
    The Coq proof assistant reference manual. The Coq development team, 2016.
    [6]
    J. Harrison. Verifying nonlinear real formulas via sums of squares. In TPHOLs 2007, volume 4732 of LNCS, pages 102–118. Springer, 2007.
    [7]
    IEEE Computer Society. IEEE Standard for Floating-Point Arithmetic. IEEE Standard 754-2008, 2008.
    [8]
    J. B. Lasserre. Global optimization with polynomials and the problem of moments. SIAM Journal on Optimization, 11(3): 796–817, 2001.
    [10]
    S. M. Rump. Verification methods: Rigorous results using floatingpoint arithmetic. Acta Numerica, 19, 2010.
    [11]
    A. Solovyev and T. C. Hales. Formal verification of nonlinear inequalities with Taylor interval approximations. In NASA Formal Methods, volume 7871 of LNCS, pages 383–397, 2013.
    [12]
    L. Vandenberghe and S. P. Boyd. Semidefinite programming. SIAM Review, 38(1):49–95, 1996.

    Cited By

    View all
    • (2023)Enabling Floating-Point Arithmetic in the Coq Proof AssistantJournal of Automated Reasoning10.1007/s10817-023-09679-x67:4Online publication date: 16-Sep-2023
    • (2023)Code-Level Formal Verification of Ellipsoidal Invariant Sets for Linear Parameter-Varying SystemsNASA Formal Methods10.1007/978-3-031-33170-1_10(157-173)Online publication date: 3-Jun-2023
    • (2023)Verified reductions for optimizationTools and Algorithms for the Construction and Analysis of Systems10.1007/978-3-031-30820-8_8(74-92)Online publication date: 20-Apr-2023
    • Show More Cited By

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    CPP 2017: Proceedings of the 6th ACM SIGPLAN Conference on Certified Programs and Proofs
    January 2017
    234 pages
    ISBN:9781450347051
    DOI:10.1145/3018610
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    In-Cooperation

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 16 January 2017

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Cholesky decomposition
    2. Coq formal proof
    3. SDP solvers
    4. data refinement
    5. floating-point
    6. multivariate polynomials
    7. reflexive tactic
    8. witness verification

    Qualifiers

    • Research-article

    Funding Sources

    Conference

    CPP '17
    CPP '17: Certified Proofs and Programs
    January 16 - 17, 2017
    Paris, France

    Acceptance Rates

    Overall Acceptance Rate 18 of 26 submissions, 69%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)2
    • Downloads (Last 6 weeks)0

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Enabling Floating-Point Arithmetic in the Coq Proof AssistantJournal of Automated Reasoning10.1007/s10817-023-09679-x67:4Online publication date: 16-Sep-2023
    • (2023)Code-Level Formal Verification of Ellipsoidal Invariant Sets for Linear Parameter-Varying SystemsNASA Formal Methods10.1007/978-3-031-33170-1_10(157-173)Online publication date: 3-Jun-2023
    • (2023)Verified reductions for optimizationTools and Algorithms for the Construction and Analysis of Systems10.1007/978-3-031-30820-8_8(74-92)Online publication date: 20-Apr-2023
    • (2018)Verifying Safety and Persistence in Hybrid Systems Using Flowpipes and Continuous InvariantsJournal of Automated Reasoning10.1007/s10817-018-9497-xOnline publication date: 24-Nov-2018
    • (2018)Validating numerical semidefinite programming solvers for polynomial invariantsFormal Methods in System Design10.1007/s10703-017-0302-y53:2(286-312)Online publication date: 1-Oct-2018
    • (2018)A Non-linear Arithmetic Procedure for Control-Command Software VerificationTools and Algorithms for the Construction and Analysis of Systems10.1007/978-3-319-89963-3_8(132-151)Online publication date: 14-Apr-2018

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media