{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/fossil-2-0-formal-certificate-synthesis-for","title":"Fossil 2.0: Formal Certificate Synthesis for the Verification and Control of Dynamical Models","arxiv_id":"2311.09793","date":"2023-11-16","proceeding":null,"authors":["Alec Edwards","Andrea Peruffo","Alessandro Abate"],"abstract":"This paper presents Fossil 2.0, a new major release of a software tool for the synthesis of certificates (e.g., Lyapunov and barrier functions) for dynamical systems modelled as ordinary differential and difference equations. Fossil 2.0 is much improved from its original release, including new interfaces, a significantly expanded certificate portfolio, controller synthesis and enhanced extensibility. We present these new features as part of this tool paper. Fossil implements a counterexample-guided inductive synthesis (CEGIS) loop ensuring the soundness of the method. Our tool uses neural networks as templates to generate candidate functions, which are then formally proven by an SMT solver acting as an assertion verifier. Improvements with respect to the first release include a wider range of certificates, synthesis of control laws, and support for discrete-time models.","url_abs":"https://arxiv.org/abs/2311.09793v2","url_pdf":"https://arxiv.org/pdf/2311.09793v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"fossil-2-0-formal-certificate-synthesis-for","repo_url":"https://github.com/oxford-oxcav/fossil","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2311.09793","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2311.09793"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/oxford-oxcav/fossil","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"ran":7},"by_repo_kind":{"official":{"samples":7,"ran":7,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"6b3edd33e61374ff","entry":"get_plot_colour","repo":"oxford-oxcav/fossil","repo_kind":"official","path":"fossil/domains.py","file_url":"https://github.com/oxford-oxcav/fossil/blob/HEAD/fossil/domains.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"6b3edd33e61374ff"}},{"code_sha256_prefix":"c8a412c280a8529c","entry":"inf_bounds_n","repo":"oxford-oxcav/fossil","repo_kind":"official","path":"fossil/domains.py","file_url":"https://github.com/oxford-oxcav/fossil/blob/HEAD/fossil/domains.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"c8a412c280a8529c"}},{"code_sha256_prefix":"f5a10e092233f9ef","entry":"nonzero_loss1","repo":"oxford-oxcav/fossil","repo_kind":"official","path":"fossil/control.py","file_url":"https://github.com/oxford-oxcav/fossil/blob/HEAD/fossil/control.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"f5a10e092233f9ef"}},{"code_sha256_prefix":"855c9bdaa9a40b74","entry":"nonzero_loss1b","repo":"oxford-oxcav/fossil","repo_kind":"official","path":"fossil/control.py","file_url":"https://github.com/oxford-oxcav/fossil/blob/HEAD/fossil/control.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"855c9bdaa9a40b74"}},{"code_sha256_prefix":"7b38c4c198e0c5a0","entry":"nonzero_loss2","repo":"oxford-oxcav/fossil","repo_kind":"official","path":"fossil/control.py","file_url":"https://github.com/oxford-oxcav/fossil/blob/HEAD/fossil/control.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"7b38c4c198e0c5a0"}},{"code_sha256_prefix":"8b42f915f1b1858f","entry":"ratio","repo":"oxford-oxcav/fossil","repo_kind":"official","path":"fossil/analysis.py","file_url":"https://github.com/oxford-oxcav/fossil/blob/HEAD/fossil/analysis.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"8b42f915f1b1858f"}},{"code_sha256_prefix":"1b209731aee4a3c1","entry":"sphere_to_cube","repo":"oxford-oxcav/fossil","repo_kind":"official","path":"fossil/domains.py","file_url":"https://github.com/oxford-oxcav/fossil/blob/HEAD/fossil/domains.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"1b209731aee4a3c1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}