[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-733020-105":59,"doc-detail-733020-en":130,"doc-similar-733020":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","from-specification-to-kernel-commit-verified-code-generation-on-real-world-systems","From Specification to Kernel Commit - Verified Code Generation on Real-World Systems","","Verified code generation, where an LLM outputs both an implementation and a correctness proof, aims to enable correct-by-construction software despite earlier reports of limited model performance. Prior evaluations relied on bare-model settings that do not match real deployments such as coding agents. This work re-evaluates existing benchmarks and introduces Vero, a set of 103 real-world verified tasks from eBPF verifier, LLVM, and seL4. Results show real-world difficulty remains open.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/from-specification-to-kernel-commit-verified-code-generation-on-real-world-systems/733020/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/from-specification-to-kernel-commit-verified-code-generation-on-real-world-systems/733020.png","ImageObject",300,407,{"name":92,"@type":93},"\tJames","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-11-22",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does verified code generation require from an LLM?","Question",{"text":112,"@type":113},"It requires the LLM to produce both an implementation and a correctness proof that certifies the implementation satisfies the given formal specification.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why do existing benchmarks not reflect real-world LLM usage?",{"text":117,"@type":113},"They were evaluated in bare-model settings, while real deployments often use coding agents that operate in agentic loops with external tools and an execution environment.",{"name":119,"@type":110,"acceptedAnswer":120},"What is Vero and what tasks does it include?",{"text":121,"@type":113},"Vero is a benchmark of 103 verified code generation tasks drawn from three security- and correctness-critical projects: the Linux kernel eBPF verifier, the LLVM compiler, and the seL4 microkernel.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},733020,1795383340,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":36,"preview_page_count":19,"preview_urls":144},2336474466412,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","From Specification to Kernel Commit: Verified Code Generation on Real-World Systems  \nHao Sun  \nETH Zurich Switzerland  \n[hao.sun@inf.ethz.ch](hao.sun@inf.ethz.ch)  \nZenan Li  \nETH Zurich Switzerland  \n[zenan.li@inf.ethz.ch](zenan.li@inf.ethz.ch)  \nCong Li  \nETH Zurich Switzerland  \n[cong.li@inf.ethz.ch](cong.li@inf.ethz.ch)  \nZhendong Su  \nETH Zurich Switzerland  \n[zhendong.su@inf.ethz.ch](zhendong.su@inf.ethz.ch)  \nAbstract  \nVerified code generation, in which an LLM produces both an implementation and a correctness proof, offers a promising path toward correct-by-construction software. Prior evaluations report that LLM capability remains unsatisfactory, but they test models in a bare-model setting that no longer reflects how LLMs are deployed in practice, e.g., as coding agents. We re-evaluate existing benchmarks and find that coding agents solve nearly all tasks derived from well-studied sources such as programming contests.  \nThis raises the question of whether such success extends to real-world systems tasks. We present Vero, a benchmark of 103 verified code generation tasks drawn from three securityand correctness-critical projects: the Linux kernel eBPF verifier, the LLVM compiler, and the seL4 microkernel. Each task is real-world, encodes a new specification, and is valuable to solve in that a correct solution directly benefits the upstream project. We evaluate three coding agents; the strongest solves only 3 of the 103 tasks, establishing that real-world verified code generation remains an open problem. Notably, one agent-discovered solution to a Vero task has been merged into the Linux kernel, replacing a 20-line algorithm proposed by domain experts with a 4-line provably correct one. The unsolved tasks provide concrete targets for future work.  \nCCS Concepts: • Software and its engineering → Formal software verification; Automatic programming; • Computing methodologies → Machine learning.  \nKeywords: verified code generation; LLM agents ACM Reference Format:  \nHao Sun, Zenan Li, Cong Li, and Zhendong Su. 2027. From Specification to Kernel Commit: Verified Code Generation on Real-World Systems. In Proceedings of the 32nd ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1 (ASPLOS’27), April 11–15, 2027, Heraklion, Greece. ACM, New York, NY, USA, 16 pages. [https://doi.org/10.1145/](https://doi.org/10.1145/)[ ](https://doi.org/10.1145/)[3845814.3850060](3845814.3850060)  \nThis work is licensed under a Creative Commons Attribution 4 .0 International License.  \nASPLOS’27, Heraklion, Greece  \n© 2027 Copyright held by the owner/author(s) .  \nACM ISBN 979-8-4007-3012-2/2027/04  \n[https://doi.org/10.1145/3845814.3850060](https://doi.org/10.1145/3845814.3850060)  \n1 Introduction  \nIn 1976, Dijkstra argued that correctness should be established by construction rather than post-hoc testing, advocating the derivation of programs from formal specifications via weakest preconditions [16] . The idea of mechanizing this process has deep roots in the program synthesis literature [36, 37]: the programmer expresses what the program should do via a formal specification, and the machine derives how, producing both an implementation and a machinecheckable proof of its correctness. Classical approaches, however, struggled with intractable search spaces [3, 24, 54] . The advent of LLM agents introduces a promising new instantiation of this vision, giving rise to what the community terms verified code generation [63, 72, 74, 75] . In this paradigm, the programmer supplies a formal specification 􀀨, and the agent produces an implementation 􀀘 together with a proof 􀀥 certifying 􀀘 |= 􀀨 . Recent work explores this direction across multiple verification frameworks [10, 21, 27, 44, 57, 73] .  \nVerified code generation offers two advantages over conventional code generation. First, the review burden shifts from inspecting low-level implementation details to validating a concise, high-level","cbCaiktE41P8PAuA","https://ap.wps.com/l/cbCaiktE41P8PAuA","pdf",723300,16,"English","# Introduction\n## Verified code generation paradigm\n## Advantages over conventional code generation\n## Limitations of existing benchmarks\n## Re-evaluating with coding agents","[{\"question\":\"What does verified code generation require from an LLM?\",\"answer\":\"It requires the LLM to produce both an implementation and a correctness proof that certifies the implementation satisfies the given formal specification.\"},{\"question\":\"Why do existing benchmarks not reflect real-world LLM usage?\",\"answer\":\"They were evaluated in bare-model settings, while real deployments often use coding agents that operate in agentic loops with external tools and an execution environment.\"},{\"question\":\"What is Vero and what tasks does it include?\",\"answer\":\"Vero is a benchmark of 103 verified code generation tasks drawn from three security- and correctness-critical projects: the Linux kernel eBPF verifier, the LLVM compiler, and the seL4 microkernel.\"}]","From Specification to Kernel Commit - Verified Code Generation on Real-World Systems | PDF",[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/488ca76a684cc17390f39ba7f8f4815b.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/1e711ccd3dd9403925df5851e1d63b8c.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/5ef22151448edea965d46903fa24940a.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/ea8f4b5e2ec9194e5db023f7d6f09d99.webp",980,1268,{"list":162,"token":66},[163,170,176,183,190,196,203,209,215,222],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":40,"create_tm":169},84663,"Characterizing and Bridging the Diagnostic Gap in eBPF Verifier Rejections","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809195254/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=DKbyObxNDh5g3HreFFCGCeaenU4%3D","characterizing-and-bridging-the-diagnostic-gap-in-ebpf-verifier-rejections",33,1784197546,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":41,"category_name":40,"create_tm":175},83290,"Orchestrating Workflows with Declarative Deterministic–Probabilistic Composition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808959684/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=ZxWviK7Q7SvOoEUATV9%2BzbdcbuM%3D","orchestrating-workflows-with-declarative-deterministicprobabilistic-composition",1784186512,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":40,"create_tm":182},85270,"From Checker to Forecaster: Code-Owned Evaluation of Model-Generated Strategic Routes Under Delayed Ground Truth","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809298547/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=nyT3Po2GJoF5%2Fq7F8svjdfdxWAI%3D","from-checker-to-forecaster-code-owned-evaluation-of-model-generated-strategic-routes-under-delayed-ground-truth",27,1784202187,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":40,"create_tm":189},82320,"Diversifying to Verify: When Task-Equivalent Programs Differ in Verifiability","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808684176/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=AI3ANTKTqBfb2A2AZk6dPh0v%2BIU%3D","diversifying-to-verify-when-task-equivalent-programs-differ-in-verifiability",21,1784179588,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":19,"category_name":40,"create_tm":195},698714,"SAFE - An LLM-as-Verifier Framework for Evidence-Grounded Multi-Hop Reasoning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010418384/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=rnplbT0JxMoKxLwGTlbbaxDSrUI%3D","safe-an-llm-as-verifier-framework-for-evidence-grounded-multi-hop-reasoning",1794455131,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":40,"create_tm":202},82828,"Detecting Answer-Driven Reasoning in LLM-Based Educational Tutors via Truncated Chain-of-Thought Auditing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808794544/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=mT3wTTCN%2FJZd%2Bkm6ED4TyR0%2FZ9E%3D","detecting-answer-driven-reasoning-in-llm-based-educational-tutors-via-truncated-chain-of-thought-auditing",29,1784183242,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":181,"category_name":40,"create_tm":208},84818,"LLM-as-a-Verifier: A General-Purpose Verification Framework","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809208144/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=%2FJZTJ2Ka%2FqwoZfczGtjty8%2FTE0Y%3D","llm-as-a-verifier-a-general-purpose-verification-framework",1784198484,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":41,"category_name":40,"create_tm":214},82236,"SherAgent Scaling Attack Investigation in the Wild via LLM-Empowered Iterative Query-Filter Backtracking","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808724266/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=EbWZ%2F9q4hXSTLMYM7YcV%2B%2FWkyIQ%3D","sheragent-scaling-attack-investigation-in-the-wild-via-llm-empowered-iterative-query-filter-backtracking",1784179045,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":40,"create_tm":221},81713,"LLMs in the Real World: Evaluating “AI” in Emergency Contexts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808473717/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=g82Yqshpe%2Bj4HBMuQlHRvVCp49w%3D","llms-in-the-real-world-evaluating-ai-in-emergency-contexts",15,1784175570,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":227,"category_name":40,"create_tm":228},84197,"Predicting LLM Safety Before Release by Simulating Deployment","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809148030/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110919&Signature=io%2Fg40kqQVMITI48k9ZZqPVDEOg%3D","predicting-llm-safety-before-release-by-simulating-deployment",22,1784193879]