{"id":2257,"date":"2012-10-27T01:08:38","date_gmt":"2012-10-27T01:08:38","guid":{"rendered":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/?p=2257"},"modified":"2013-03-08T05:44:26","modified_gmt":"2013-03-08T05:44:26","slug":"a-formally-verified-c-compiler-supporting-floating-point-arithmetic","status":"publish","type":"post","link":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/a-formally-verified-c-compiler-supporting-floating-point-arithmetic\/","title":{"rendered":"Rese\u00f1a: A formally-verified C compiler supporting floating-point arithmetic"},"content":{"rendered":"<p>Uno de los principales problemas en la verificaci\u00f3n de programas consiste en verificaci\u00f3n de propiedades de programas con aritm\u00e9tica flotante. Un avance en dicho problema es el reciente trabajo <a href=\"http:\/\/hal.inria.fr\/docs\/00\/74\/30\/90\/PDF\/article.pdf\">A formally-verified C compiler supporting floating-point arithmetic<\/a>. <\/p>\n<p> Sus autores son <a href=\"http:\/\/www.lri.fr\/~sboldo\">Sylvie Boldo<\/a>, Jacques-Henri Jourdan, <a href=\"http:\/\/pauillac.inria.fr\/~xleroy\">Xavier Leroy<\/a> y <a href=\"http:\/\/www.lri.fr\/~melquion\">Guillaume Melquiond<\/a>.<\/p>\n<p>Su resumen es<\/p>\n<blockquote><p>\n<a href=\"http:\/\/en.wikipedia.org\/wiki\/Floating_point\">Floating-point arithmetic<\/a> is known to be tricky: roundings, formats, exceptional values. The <a href=\"http:\/\/en.wikipedia.org\/wiki\/Floating_point#IEEE_754:_floating_point_in_modern_computers\">IEEE-754 standard<\/a> was a push towards straightening the field and made formal reasoning about floating-point computations possible. Unfortunately, this is not sufficient to guarantee the final result of a program, as several other actors are involved: programming language, compiler, architecture. The <a href=\"http:\/\/compcert.inria.fr\">CompCert<\/a> formally-verified compiler provides a solution to this problem: this compiler comes with a mathematical specification of the semantics of its source language (ISO C90) and target platforms (ARM, PowerPC, x86-SSE2), and with a proof that compilation preserves semantics. In this paper, we report on our recent success in formally specifying and proving correct CompCert&#8217;s compilation of floating-point arithmetic. Since CompCert is verified using the <a href=\"http:\/\/coq.inria.fr\">Coq proof assistant<\/a>, this effort required a suitable Coq formalization of the IEEE-754 standard; we extended the <a href=\"http:\/\/flocq.gforge.inria.fr\">Flocq library<\/a> for this purpose. As a result, we obtain the first formally verified compiler that provably preserves the semantics of floating-point programs.\n<\/p><\/blockquote>\n<p>El trabajo est\u00e1 integrado en la versi\u00f3n 1.12 de CompCert que se encuentra <a href=\"http:\/\/compcert.inria.fr\">aqu\u00ed<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Uno de los principales problemas en la verificaci\u00f3n de programas consiste en verificaci\u00f3n de propiedades de programas con aritm\u00e9tica flotante. Un avance en dicho problema es el reciente trabajo A formally-verified C compiler supporting floating-point arithmetic. Sus autores son Sylvie Boldo, Jacques-Henri Jourdan, Xavier Leroy y Guillaume Melquiond. Su resumen es Floating-point arithmetic is known&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[100],"tags":[45,285,275],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/posts\/2257"}],"collection":[{"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/comments?post=2257"}],"version-history":[{"count":2,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/posts\/2257\/revisions"}],"predecessor-version":[{"id":2643,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/posts\/2257\/revisions\/2643"}],"wp:attachment":[{"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/media?parent=2257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/categories?post=2257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.glc.us.es\/~jalonso\/vestigium\/wp-json\/wp\/v2\/tags?post=2257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}