{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,23]],"date-time":"2026-04-23T22:55:15Z","timestamp":1776984915173,"version":"3.51.4"},"reference-count":54,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA2","license":[{"start":{"date-parts":[[2024,10,8]],"date-time":"2024-10-08T00:00:00Z","timestamp":1728345600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2024,10,8]]},"abstract":"<jats:p>CompCert project, the state-of-the-art compiler that achieves the first end-to-end formally verified C compiler, does not support fully verified instruction scheduling. Instead, existing research that works on such topics only implements translation validation. This means they do not have direct formal proof that the scheduling algorithm is correct, but only a posterior validation to check each compiling case. Using such a method, CompCert accepts a valid C program and compiles correctly only when the untrusted scheduler generates a correct result. However, it does not guarantee the complete correctness of the scheduler. It also causes compile-time validation overhead in the view of runtime performance.<\/jats:p>\n                  <jats:p>In this work, we present the first achievement in developing a mechanized library for fully verified instruction scheduling while keeping the proof workload acceptably lightweight. The idea to reduce the proof length is to exploit a simple property that the topological reordering of a topological sorted list is equal to a sequence of swapping adjacent unordered elements. Together with the transitivity of semantic simulation relation, the only burden will become proving the semantic preservation of a transition that only swaps two adjacent independent instructions inside one block. After successfully proving this result, proving the correctness of any new instruction scheduling algorithm only requires proof that it preserved the syntax-level dependence among instructions, instead of reasoning about semantics details every time. We implemented a mechanized library of such methods in the Coq proof assistant based on CompCert\u2019s library as a framework and used the list scheduling algorithm as a case study to show the correctness can be formally proved using our theory.<\/jats:p>\n                  <jats:p>We show that with our method that abstracts away the semantics details, it is flexible to implement any scheduler that reorders instructions with little extra proof burden. Our scheduler in the case study also abstracts away the outside scheduling heuristic as a universal parameter so it is flexible to modify without touching any correctness proof.<\/jats:p>","DOI":"10.1145\/3689739","type":"journal-article","created":{"date-parts":[[2024,10,8]],"date-time":"2024-10-08T03:23:04Z","timestamp":1728357784000},"page":"791-816","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Fully Verified Instruction Scheduling"],"prefix":"10.1145","volume":"8","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-5849-7409","authenticated-orcid":false,"given":"Ziteng","family":"Yang","sequence":"first","affiliation":[{"name":"Georgia Institute of Technology, Atlanta, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7900-7680","authenticated-orcid":false,"given":"Jun","family":"Shirako","sequence":"additional","affiliation":[{"name":"Georgia Institute of Technology, Atlanta, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3433-8830","authenticated-orcid":false,"given":"Vivek","family":"Sarkar","sequence":"additional","affiliation":[{"name":"Georgia Institute of Technology, Atlanta, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2024,10,8]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","DOI":"10.1145\/960116.54021"},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9781107256552"},{"key":"e_1_3_1_4_2","unstructured":"Andrew W. Appel. 2023. Verified Functional Algorithms. Software Foundations Vol. 3. Electronic textbook. http:\/\/softwarefoundations.cis.upenn.edu"},{"key":"e_1_3_1_5_2","doi-asserted-by":"crossref","unstructured":"David Bernstein and Michael Rodeh. 1991. Global instruction scheduling for superscalar machines. In Proceedings of the ACM SIGPLAN 1991 conference on Programming language design and implementation. 241\u2013255.","DOI":"10.1145\/113445.113466"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.1109\/12.29469"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-018-9496-y"},{"key":"e_1_3_1_8_2","doi-asserted-by":"crossref","first-page":"145","DOI":"10.1007\/978-3-642-11957-6_9","volume-title":"Programming Languages and Systems","author":"Blazy Sandrine","year":"2010","unstructured":"Sandrine Blazy, Beno\u00eet Robillard, and Andrew W. Appel. 2010. Formal Verification of Coalescing Graph-Coloring Register Allocation. In Programming Languages and Systems, Andrew D. Gordon (Ed.). Springer Berlin Heidelberg, Berlin, Heidelberg, 145\u2013164."},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1145\/2896389"},{"key":"e_1_3_1_10_2","volume-title":"Formally Verified Defensive Programming (efficient Coq-verified computations from untrusted ML oracles)","author":"Boulm\u00e9 Sylvain","year":"2021","unstructured":"Sylvain Boulm\u00e9. 2021. Formally Verified Defensive Programming (efficient Coq-verified computations from untrusted ML oracles). Habilitation \u00e0 diriger des recherches. Universit\u00e9 Grenoble-Alpes. https:\/\/hal.science\/tel-03356701 See also http:\/\/www-verimag.imag.fr\/boulme\/hdr.html."},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","unstructured":"William Y. Chen Scott A. Mahlke Nancy J. Warter Sadun Anik and Wen-Mei W. Hwu. 1994. Profile-assisted instruction scheduling. International Journal of Parallel Programming (1994). https:\/\/doi.org\/10.1007\/BF02577873 10.1007\/BF02577873","DOI":"10.1007\/BF02577873"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1109\/71.372778"},{"key":"e_1_3_1_13_2","unstructured":"Edward G. Coffman and John Bruno. 1976. Computer and job-shop scheduling theory. https:\/\/api.semanticscholar.org\/CorpusID:60396080"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","unstructured":"R. Collins and G.B. Steven. 1996. Instruction scheduling for a superscalar architecture. In Proceedings of EUROMICRO 96. 22nd Euromicro Conference. Beyond 2000: Hardware and Software Design Strategies. 643\u2013650. https:\/\/doi.org\/10.1109\/EURMIC.1996.546492 10.1109\/EURMIC.1996.546492","DOI":"10.1109\/EURMIC.1996.546492"},{"key":"e_1_3_1_15_2","unstructured":"CompCert web 2023. COMPCERT: COMPILERS YOU CAN FORMALLY TRUST. https:\/\/compcert.org."},{"key":"e_1_3_1_16_2","unstructured":"Cortex-A53 2012. Cortex-A53. https:\/\/developer.arm.com\/Processors\/Cortex-A53."},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-44404-1_7"},{"key":"e_1_3_1_18_2","unstructured":"J R Ellis. 1985. Bulldog: a compiler for VLIW architectures. (1 1985). https:\/\/www.osti.gov\/biblio\/5724953"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.5555\/5910"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1109\/5.964443"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","unstructured":"Paul Feautrier. 1991. Dataflow analysis of array and scalar references. International Journal of Parallel Programming (1991). https:\/\/doi.org\/10.1007\/BF01407931 10.1007\/BF01407931","DOI":"10.1007\/BF01407931"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/24039.24041"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.1109\/TC.1981.1675827"},{"key":"e_1_3_1_24_2","doi-asserted-by":"crossref","unstructured":"Philip B Gibbons and Steven S Muchnick. 1986. Efficient instruction scheduling for a pipelined architecture. In Proceedings of the 1986 SIGPLAN symposium on Compiler construction. 11\u201316.","DOI":"10.1145\/12276.13312"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/3622799"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/174146.154268"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/3314221.3314595"},{"key":"e_1_3_1_28_2","doi-asserted-by":"crossref","unstructured":"Jeehoon Kang Yoonseung Kim Chung-Kil Hur Derek Dreyer and Viktor Vafeiadis. 2016. Lightweight verification of separate compilation. In Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages. 178\u2013190.","DOI":"10.1145\/2837614.2837642"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1109\/TC.1984.1676376"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","unstructured":"V. L. Kompel\u2019makher and V. A. Liskovets. 1975. Sequential generation of arrangements by means of a basis of transpositions. Cybernetics (1975). https:\/\/doi.org\/10.1007\/BF01069459 10.1007\/BF01069459","DOI":"10.1007\/BF01069459"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/960116.54022"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/1538788.1538814"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-009-9155-4"},{"key":"e_1_3_1_34_2","doi-asserted-by":"crossref","unstructured":"Hongjin Liang and Xinyu Feng. 2016. A program logic for concurrent objects under fair scheduling. In Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages. 385\u2013399.","DOI":"10.1145\/2837614.2837635"},{"key":"e_1_3_1_35_2","doi-asserted-by":"crossref","DOI":"10.1017\/9781009129220","volume-title":"Real World OCaml: Functional Programming for the Masses","author":"Madhavapeddy Anil","year":"2022","unstructured":"Anil Madhavapeddy and Yaron Minsky. 2022. Real World OCaml: Functional Programming for the Masses. Cambridge University Press."},{"key":"e_1_3_1_36_2","doi-asserted-by":"crossref","unstructured":"Eric Mullen Daryl Zuniga Zachary Tatlock and Dan Grossman. 2016. Verified peephole optimizations for CompCert. In Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation. 448\u2013461.","DOI":"10.1145\/2908080.2908109"},{"key":"e_1_3_1_37_2","doi-asserted-by":"crossref","unstructured":"George C Necula. 2000. Translation validation for an optimizing compiler. In Proceedings of the ACM SIGPLAN 2000 conference on Programming language design and implementation. 83\u201394.","DOI":"10.1145\/349299.349314"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/3341689"},{"key":"e_1_3_1_39_2","unstructured":"Pierre-Marie P\u00e9drot. 2019. Ltac2: tactical warfare. In The Fifth International Workshop on Coq for Programming Languages CoqPL Vol. 2019."},{"key":"e_1_3_1_40_2","doi-asserted-by":"crossref","first-page":"151","DOI":"10.1007\/BFb0054170","volume-title":"Tools and Algorithms for the Construction and Analysis of Systems: 4th International Conference, TACAS\u201998 Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS\u201998 Lisbon, Portugal, March 28\u2013April 4, 1998 Proceedings 4","author":"Pnueli Amir","year":"1998","unstructured":"Amir Pnueli, Michael Siegel, and Eli Singerman. 1998. Translation validation. In Tools and Algorithms for the Construction and Analysis of Systems: 4th International Conference, TACAS\u201998 Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS\u201998 Lisbon, Portugal, March 28\u2013April 4, 1998 Proceedings 4. Springer, 151\u2013166."},{"key":"e_1_3_1_41_2","unstructured":"PolyBench. 2011. The Polyhedral Benchmark Suite. http:\/\/www.cse.ohio-state.edu\/~pouchet\/software\/polybench\/."},{"key":"e_1_3_1_42_2","first-page":"131","volume-title":"Proceedings of the 9th Annual Symposium on Computer Architecture (Austin, Texas, USA) (ISCA\u201982)","author":"Ramakrishna Rau B.","year":"1982","unstructured":"B. Ramakrishna Rau, Christopher D. Glaeser, and Raymond L. Picard. 1982. Efficient code generation for horizontal architectures: Compiler techniques and architectural support. In Proceedings of the 9th Annual Symposium on Computer Architecture (Austin, Texas, USA) (ISCA\u201982). IEEE Computer Society Press, Washington, DC, USA, 131\u2013139."},{"key":"e_1_3_1_43_2","first-page":"224","article-title":"Validating Register Allocation and Spilling","volume":"6011","author":"Rideau Silvain","year":"2010","unstructured":"Silvain Rideau and Xavier Leroy. 2010. Validating Register Allocation and Spilling. CC 6011 (2010), 224\u2013243.","journal-title":"CC"},{"issue":"3","key":"e_1_3_1_44_2","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/2487241.2487248","article-title":"CompCertTSO: A verified compiler for relaxed-memory concurrency","volume":"60","author":"\u0160ev\u010d\u00edk Jaroslav","year":"2013","unstructured":"Jaroslav \u0160ev\u010d\u00edk, Viktor Vafeiadis, Francesco Zappa Nardelli, Suresh Jagannathan, and Peter Sewell. 2013. CompCertTSO: A verified compiler for relaxed-memory concurrency. Journal of the ACM (JACM) 60, 3 (2013), 1\u201350.","journal-title":"Journal of the ACM (JACM)"},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/3428197"},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3497775.3503679"},{"key":"e_1_3_1_47_2","doi-asserted-by":"crossref","unstructured":"Gordon Stewart Lennart Beringer Santiago Cuellar and Andrew W Appel. 2015. Compositional compcert. In Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages. 275\u2013287.","DOI":"10.1145\/2676726.2676985"},{"key":"e_1_3_1_48_2","unstructured":"The OCaml Manual chapter 22 2023. https:\/\/v2.ocaml.org\/manual\/intfc.html#c%3Aintf-c"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.1145\/1328438.1328444"},{"key":"e_1_3_1_50_2","unstructured":"U74MC 2021. SiFive U74-MC Core Complex Manual 21G1.01.00. https:\/\/starfivetech.com\/uploads\/u74mc_core_complex_manual_21G1.pdf."},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/3498686"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/358438.349318"},{"key":"e_1_3_1_53_2","doi-asserted-by":"crossref","unstructured":"Xuejun Yang Yang Chen Eric Eide and John Regehr. 2011. Finding and understanding bugs in C compilers. In Proceedings of the 32nd ACM SIGPLAN conference on Programming language design and implementation. 283\u2013294.","DOI":"10.1145\/1993498.1993532"},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","unstructured":"Ziteng Yang Jun Shirako and Vivek Sarkar. 2024. Artifact for paper \"Fully Verified Instruction Scheduling\". https:\/\/doi.org\/10.5281\/zenodo.13625830 10.5281\/zenodo.13625830.","DOI":"10.5281\/zenodo.13625830"},{"key":"e_1_3_1_55_2","doi-asserted-by":"publisher","DOI":"10.1145\/3140587.3062379"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3689739","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3689739","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,2,4]],"date-time":"2026-02-04T09:08:04Z","timestamp":1770196084000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3689739"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,10,8]]},"references-count":54,"journal-issue":{"issue":"OOPSLA2","published-print":{"date-parts":[[2024,10,8]]}},"alternative-id":["10.1145\/3689739"],"URL":"https:\/\/doi.org\/10.1145\/3689739","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,10,8]]},"assertion":[{"value":"2024-04-06","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-08-18","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-10-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}