{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T04:09:19Z","timestamp":1750219759978,"version":"3.41.0"},"reference-count":39,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","license":[{"start":{"date-parts":[[2023,8,30]],"date-time":"2023-08-30T00:00:00Z","timestamp":1693353600000},"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":[[2023,8,30]]},"abstract":"<jats:p>\n            This paper addresses the question \u201cwhat is a digital circuit?\u201d in relation to the fundamentally analog nature of actual (physical) circuits. A simple informal definition is given and then formalized in the proof assistant Agda. At the heart of this definition is the\n            <jats:italic>timely<\/jats:italic>\n            embedding of\n            <jats:italic>discrete<\/jats:italic>\n            information in temporally\n            <jats:italic>continuous<\/jats:italic>\n            signals. Once this embedding is defined (in constructive logic, i.e., type theory), it is extended in a generic fashion from one signal to many and from simple boolean operations (logic gates) to arbitrarily sophisticated sequential and parallel compositions, i.e., to computational circuits.\n          <\/jats:p>\n          <jats:p>\n            Rather than constructing circuits and\n            <jats:italic>then<\/jats:italic>\n            trying to prove their correctness, a\n            <jats:italic>compositionally correct<\/jats:italic>\n            methodology maintains specification, implementation, timing, and correctness proofs at every step. Compositionality of each aspect and of their combination is supported by a single, shared algebraic vocabulary and related by homomorphisms. After formally defining and proving these notions, a few key transformations are applied to reveal the\n            <jats:italic>linearity<\/jats:italic>\n            of circuit timing (over a suitable semiring), thus enabling practical, modular, and fully verified timing analysis as linear maps over higher-dimensional time intervals.\n          <\/jats:p>\n          <jats:p>An emphasis throughout the paper is simplicity and generality of specification, minimizing circuit-specific definitions and proofs while highlighting a broadly applicable methodology of scalable, compositionally correct engineering through simple denotations and homomorphisms.<\/jats:p>","DOI":"10.1145\/3607861","type":"journal-article","created":{"date-parts":[[2023,8,31]],"date-time":"2023-08-31T17:40:31Z","timestamp":1693503631000},"page":"895-919","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Timely Computation"],"prefix":"10.1145","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9480-9518","authenticated-orcid":false,"given":"Conal","family":"Elliott","sequence":"first","affiliation":[{"name":"Independent, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2023,8,31]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Agda Team. 2022. https:\/\/github.com\/agda\/agda-stdlib"},{"key":"e_1_2_1_2_1","doi-asserted-by":"crossref","unstructured":"John Baez and Mike Stay. 2010. arxiv:0903.0340 New Structures for Physics. 95\u2013172.","DOI":"10.1007\/978-3-642-12821-9_2"},{"key":"e_1_2_1_3_1","unstructured":"Ana Bove Peter Dybjer and Ulf Norell. 2009. http:\/\/www.cse.chalmers.se\/ ulfn\/papers\/tphols09\/tutorial.pdf Theorem Proving in Higher Order Logics."},{"volume-title":"https:\/\/www.fceia.unr.edu.ar\/ mauro\/pubs\/contractions.pdf Proceedings of the 28th Symposium on the Implementation and Application of Functional Programming Languages","author":"Capretta Venanzio","key":"e_1_2_1_4_1","unstructured":"Venanzio Capretta, Graham Hutton, and Mauro Jaskelioff. 2016. https:\/\/www.fceia.unr.edu.ar\/ mauro\/pubs\/contractions.pdf Proceedings of the 28th Symposium on the Implementation and Application of Functional Programming Languages."},{"key":"e_1_2_1_5_1","volume-title":"https:\/\/www.cs.utexas.edu\/ EWD\/transcriptions\/EWD03xx\/EWD340.html Communications of the ACM, 15, 10","author":"Dijkstra Edsger W.","year":"1972","unstructured":"Edsger W. Dijkstra. 1972. https:\/\/www.cs.utexas.edu\/ EWD\/transcriptions\/EWD03xx\/EWD340.html Communications of the ACM, 15, 10 (1972), Turing award lecture"},{"volume-title":"http:\/\/stedolan.net\/research\/semirings.pdf Proceedings of the 18th ACM SIGPLAN International Conference on Functional Programming (ICFP \u201913). 101\u2013110","author":"Dolan Stephen","key":"e_1_2_1_6_1","unstructured":"Stephen Dolan. 2013. http:\/\/stedolan.net\/research\/semirings.pdf Proceedings of the 18th ACM SIGPLAN International Conference on Functional Programming (ICFP \u201913). 101\u2013110."},{"key":"e_1_2_1_7_1","volume-title":"ICFP","author":"Elliott Conal","year":"2017","unstructured":"Conal Elliott. 2017. http:\/\/conal.net\/papers\/compiling-to-categories Proceedings of the ACM on Programming Languages, 1, ICFP (2017), Sept.."},{"key":"e_1_2_1_8_1","volume-title":"ICFP","author":"Elliott Conal","year":"2018","unstructured":"Conal Elliott. 2018. http:\/\/conal.net\/papers\/essence-of-ad\/ Proceedings of the ACM on Programming Languages, 2, ICFP (2018), Article 4, Sept., 29 pages."},{"key":"e_1_2_1_9_1","volume-title":"arxiv:1903.10677 CoRR, abs\/1903.10677","author":"Elliott Conal","year":"2019","unstructured":"Conal Elliott. 2019. arxiv:1903.10677 CoRR, abs\/1903.10677 (2019)."},{"key":"e_1_2_1_10_1","unstructured":"Conal Elliott. 2021. http:\/\/conal.net\/papers\/language-derivatives\/ Proceedings of the ACM on Programming Languages (ICFP)."},{"key":"e_1_2_1_11_1","unstructured":"Conal Elliott. 2023. https:\/\/github.com\/conal\/felix"},{"key":"e_1_2_1_12_1","unstructured":"Jo\u00e3o Paulo Pizani Flor Wouter Swierstra and Yorick Sijsling. 2018. https:\/\/drops.dagstuhl.de\/opus\/volltexte\/2018\/8479\/pdf\/LIPIcs-TYPES-2015-9.pdf 21st International Conference on Types for Proofs and Programs (TYPES 2015) (Leibniz International Proceedings in Informatics)."},{"key":"e_1_2_1_13_1","volume-title":"Symposium on Language Design and Implementation.","author":"Freeman Tim","year":"1991","unstructured":"Tim Freeman and Frank Pfenning. 1991. http:\/\/www.cs.cmu.edu\/ fp\/papers\/pldi91.pdf Proceedings of the SIGPLAN \u201991 Symposium on Language Design and Implementation."},{"key":"e_1_2_1_14_1","unstructured":"Murray Gell-Mann. 2009. https:\/\/www.youtube.com\/watch?v=anHgZru8acg&t=379s Talk given at University of Scranton"},{"key":"e_1_2_1_15_1","volume-title":"arxiv:1703.10247 26th EACSL Annual Conference on Computer Science Logic (CSL","author":"Ghica Dan R","year":"2017","unstructured":"Dan R Ghica, Achim Jung, and Aliaume Lopez. 2017. arxiv:1703.10247 26th EACSL Annual Conference on Computer Science Logic (CSL 2017)."},{"key":"e_1_2_1_16_1","volume-title":"Ghica and Achim Jung","author":"Dan","year":"2016","unstructured":"Dan R. Ghica and Achim Jung. 2016. https:\/\/www.cs.bham.ac.uk\/ axj\/pub\/papers\/Ghica-Jung-2016-Categorical-semantics-of-digital-circuits.pdf 2016 Formal Methods in Computer-Aided Design (FMCAD)."},{"volume-title":"http:\/\/www.cs.ox.ac.uk\/people\/jeremy.gibbons\/publications\/acmmpc-calcfp.pdf Algebraic and Coalgebraic Methods in the Mathematics of Program Construction (Lecture Notes in Computer Science","author":"Gibbons Jeremy","key":"e_1_2_1_17_1","unstructured":"Jeremy Gibbons. 2002. http:\/\/www.cs.ox.ac.uk\/people\/jeremy.gibbons\/publications\/acmmpc-calcfp.pdf Algebraic and Coalgebraic Methods in the Mathematics of Program Construction (Lecture Notes in Computer Science, Vol. 2297). Springer-Verlag. issn:0302-9743"},{"key":"e_1_2_1_18_1","unstructured":"Jonathan S. Golan. 2005. http:\/\/citeseerx.ist.psu.edu\/viewdoc\/summary?doi=10.1.1.318.6696 International Conference on Algebra in Memory of Kostia Beidar."},{"key":"e_1_2_1_19_1","series-title":"Series A: Physical and Engineering Sciences, 339","volume-title":"https:\/\/royalsocietypublishing.org\/doi\/10.1098\/rsta.1992.0029 Philosophical Transactions of the Royal Society of London","author":"Hanna F. K.","year":"1992","unstructured":"F. K. Hanna and Neil Daeche. 1992. https:\/\/royalsocietypublishing.org\/doi\/10.1098\/rsta.1992.0029 Philosophical Transactions of the Royal Society of London. Series A: Physical and Engineering Sciences, 339 (1992)."},{"key":"e_1_2_1_20_1","unstructured":"William L. Harrison Chris Hathhorn and Gerard Allwein. 2021. (https:\/\/harrisonwl.github.io\/assets\/papers\/ppdp21.pdf) 23rd International Symposium on Principles and Practice of Declarative Programming."},{"key":"e_1_2_1_21_1","volume-title":"https:\/\/www.cse.chalmers.se\/ rjmh\/Papers\/whyfp.html Computer Journal, 32, 2","author":"Hughes John","year":"1989","unstructured":"John Hughes. 1989. https:\/\/www.cse.chalmers.se\/ rjmh\/Papers\/whyfp.html Computer Journal, 32, 2 (1989)."},{"key":"e_1_2_1_22_1","unstructured":"Graham Hutton and Mauro Jaskelioff. 2011. https:\/\/www.cs.nott.ac.uk\/ pszgmh\/contractive.pdf Submitted to the Journal of Functional Programming."},{"key":"e_1_2_1_23_1","volume-title":"Saxe","author":"Leiserson Charles E.","year":"1991","unstructured":"Charles E. Leiserson and James B. Saxe. 1991. https:\/\/citeseerx.ist.psu.edu\/doc\/10.1.1.368.3222 Algorithmica, 6, 1\u20136 (1991), June."},{"key":"e_1_2_1_24_1","volume-title":"http:\/\/www.cs.cmu.edu\/ fp\/papers\/tlca09.pdf Proceedings of the 9th International Conference on Typed Lambda Calculi and Applications (TLCA","author":"Lovas William","year":"2009","unstructured":"William Lovas and Frank Pfenning. 2009. http:\/\/www.cs.cmu.edu\/ fp\/papers\/tlca09.pdf Proceedings of the 9th International Conference on Typed Lambda Calculi and Applications (TLCA 2009)."},{"volume-title":"Categories for the working mathematician","author":"Lane Saunders Mac","key":"e_1_2_1_25_1","unstructured":"Saunders Mac Lane. 1998. Categories for the working mathematician, second edition. Springer."},{"key":"e_1_2_1_26_1","volume-title":"http:\/\/www.sciencedirect.com\/science\/article\/pii\/S0167642312001402 Science of Computer Programming, 78, 11","author":"Macedo Hugo Daniel","year":"2013","unstructured":"Hugo Daniel Macedo and Jos\u00e9 Nuno Oliveira. 2013. http:\/\/www.sciencedirect.com\/science\/article\/pii\/S0167642312001402 Science of Computer Programming, 78, 11 (2013)."},{"volume-title":"https:\/\/launchbury.files.wordpress.com\/2019\/01\/microporocessor-specification-in-hawk.pdf Proceedings of the 1998 International Conference on Computer Languages","author":"Matthews John","key":"e_1_2_1_27_1","unstructured":"John Matthews, Byron Cook, and John Launchbury. 1998. https:\/\/launchbury.files.wordpress.com\/2019\/01\/microporocessor-specification-in-hawk.pdf Proceedings of the 1998 International Conference on Computer Languages. IEEE Computer Society."},{"key":"e_1_2_1_28_1","unstructured":"Ulf Norell. 2008. http:\/\/www.cse.chalmers.se\/ ulfn\/papers\/afp08\/tutorial.pdf Revised Lectures of the Sixth International Spring School on Advanced Functional Programming (Lecture Notes in Computer Science)."},{"volume-title":"https:\/\/citeseerx.ist.psu.edu\/viewdoc\/summary?doi=10.1.1.30.3418 IFIP 8th International Symposium on Hardware Description Languages and their Applications","author":"O\u2019Donnell John T.","key":"e_1_2_1_29_1","unstructured":"John T. O\u2019Donnell. 1987. https:\/\/citeseerx.ist.psu.edu\/viewdoc\/summary?doi=10.1.1.30.3418 IFIP 8th International Symposium on Hardware Description Languages and their Applications."},{"volume-title":"http:\/\/mu-chaco.github.io\/ReWire\/assets\/papers\/lctes15.pdf Proceedings of the 16th ACM SIGPLAN\/SIGBED Conference on Languages, Compilers and Tools for Embedded Systems 2015 CD-ROM","author":"Procter Adam M.","key":"e_1_2_1_30_1","unstructured":"Adam M. Procter, William L. Harrison, Ian Graves, Michela Becchi, and Gerard Allwein. 2015. http:\/\/mu-chaco.github.io\/ReWire\/assets\/papers\/lctes15.pdf Proceedings of the 16th ACM SIGPLAN\/SIGBED Conference on Languages, Compilers and Tools for Embedded Systems 2015 CD-ROM."},{"key":"e_1_2_1_31_1","unstructured":"Emily Riehl. 2016. http:\/\/www.math.jhu.edu\/\u1ebdriehl\/context.pdf"},{"key":"e_1_2_1_32_1","volume-title":"Oliveira","author":"Santos Armando","year":"2020","unstructured":"Armando Santos and Jos\u00e9 N. Oliveira. 2020. http:\/\/davinci.di.uminho.pt\/publications\/type-your-matrices.pdf Proceedings of the 13th ACM SIGPLAN International Symposium on Haskell."},{"key":"e_1_2_1_33_1","unstructured":"Mary Sheeran. 1984. https:\/\/dl.acm.org\/doi\/10.1145\/800055.802026 Proceedings of the 1984 ACM Symposium on LISP and Functional Programming."},{"key":"e_1_2_1_34_1","volume-title":"IFIP Workshop on The Fusion of Hardware Design and Verification.","author":"Sheeran Mary","year":"1988","unstructured":"Mary Sheeran. 1988. Slowdown and retiming in Ruby. In IFIP Workshop on The Fusion of Hardware Design and Verification."},{"key":"e_1_2_1_35_1","volume-title":"https:\/\/lib.jucs.org\/article\/28436\/list\/9\/ JUCS - Journal of Universal Computer Science, 11, 7","author":"Sheeran Mary","year":"2005","unstructured":"Mary Sheeran. 2005. https:\/\/lib.jucs.org\/article\/28436\/list\/9\/ JUCS - Journal of Universal Computer Science, 11, 7 (2005)."},{"key":"e_1_2_1_36_1","volume-title":"Edwards","author":"Townsend Richard","year":"2015","unstructured":"Richard Townsend, Martha A. Kim, and Stephen A. Edwards. 2015. http:\/\/www1.cs.columbia.edu\/ sedwards\/papers\/townsend2015hardware.pdf Columbia University, Department of Computer Science."},{"key":"e_1_2_1_37_1","volume-title":"https:\/\/homepages.inf.ed.ac.uk\/wadler\/topics\/history.html#propositions-as-types Commun. ACM, 58, 12","author":"Wadler Philip","year":"2015","unstructured":"Philip Wadler. 2015. https:\/\/homepages.inf.ed.ac.uk\/wadler\/topics\/history.html#propositions-as-types Commun. ACM, 58, 12 (2015)."},{"volume-title":"https:\/\/www.escholar.manchester.ac.uk\/uk-ac-man-scw:246131 Ph. D. Dissertation","author":"Wilding David","key":"e_1_2_1_38_1","unstructured":"David Wilding. 2015. https:\/\/www.escholar.manchester.ac.uk\/uk-ac-man-scw:246131 Ph. D. Dissertation. University of Manchester."},{"key":"e_1_2_1_39_1","volume-title":"Edwards","author":"Zhai Kuangya","year":"2015","unstructured":"Kuangya Zhai, Richard Townsend, Lianne Lairmore, Martha A. Kim, and Stephen A. Edwards. 2015. http:\/\/arcade.cs.columbia.edu\/hardware-codes15.pdf 2015 International Conference on Hardware\/Software Codesign and System Synthesis (CODES+ISSS)."}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3607861","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3607861","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T16:37:06Z","timestamp":1750178226000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3607861"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,8,30]]},"references-count":39,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2023,8,30]]}},"alternative-id":["10.1145\/3607861"],"URL":"https:\/\/doi.org\/10.1145\/3607861","relation":{},"ISSN":["2475-1421"],"issn-type":[{"type":"electronic","value":"2475-1421"}],"subject":[],"published":{"date-parts":[[2023,8,30]]},"assertion":[{"value":"2023-08-31","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}