{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,17]],"date-time":"2026-08-17T20:47:26Z","timestamp":1786999646432,"version":"build-2736575974"},"reference-count":29,"publisher":"Cambridge University Press (CUP)","issue":"4-5","license":[{"start":{"date-parts":[[2015,9,3]],"date-time":"2015-09-03T00:00:00Z","timestamp":1441238400000},"content-version":"unspecified","delay-in-days":64,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Theory and Practice of Logic Programming"],"published-print":{"date-parts":[[2015,7]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>The use of annotations, referred to as assertions or contracts, to describe program properties for which run-time tests are to be generated, has become frequent in dynamic programing languages. However, the frameworks proposed to support such run-time testing generally incur high time and\/or space overheads over standard program execution. We present an approach for reducing this overhead that is based on the use of memoization to cache intermediate results of check evaluation, avoiding repeated checking of previously verified properties. Compared to approaches that reduce checking frequency, our proposal has the advantage of being exhaustive (i.e., all tests are checked at all points) while still being much more efficient than standard run-time checking. Compared to the limited previous work on memoization, it performs the task without requiring modifications to data structure representation or checking code. While the approach is general and system-independent, we present it for concreteness in the context of the Ciao run-time checking framework, which allows us to provide an operational semantics with checks and caching. We also report on a prototype implementation and provide some experimental results that support that using a relatively small cache leads to significant decreases in run-time checking overhead.<\/jats:p>","DOI":"10.1017\/s1471068415000344","type":"journal-article","created":{"date-parts":[[2015,9,3]],"date-time":"2015-09-03T04:21:21Z","timestamp":1441254081000},"page":"726-741","source":"Crossref","is-referenced-by-count":5,"title":["Practical run-time checking via unobtrusive property caching"],"prefix":"10.1017","volume":"15","author":[{"given":"NATALIIA","family":"STULOVA","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"JOS\u00c9 F.","family":"MORALES","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"MANUEL V.","family":"HERMENEGILDO","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2015,9,3]]},"reference":[{"key":"S1471068415000344_ref13","doi-asserted-by":"publisher","DOI":"10.1007\/10722311_4"},{"key":"S1471068415000344_ref23","volume-title":"16th Int'l. ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming (PPDP'14)","author":"Stulova","year":"2014"},{"key":"S1471068415000344_ref21","doi-asserted-by":"publisher","DOI":"10.1007\/10722311_2"},{"key":"S1471068415000344_ref11","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068411000457"},{"key":"S1471068415000344_ref25","first-page":"84","volume-title":"ICLP","author":"Tamaki","year":"1986"},{"key":"S1471068415000344_ref7","first-page":"10","volume-title":"Proceedings of the 2010 International Conference on Formal Verification of Object-oriented Software","author":"F\u00e4hndrich","year":"2011"},{"key":"S1471068415000344_ref19","doi-asserted-by":"publisher","DOI":"10.1016\/0743-1066(92)90035-2"},{"key":"S1471068415000344_ref18","article-title":"Porting and refactoring Prolog programs: the PROSYN case study","volume":"13","author":"Mera","year":"2013","journal-title":"TPLP"},{"key":"S1471068415000344_ref10","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2005.02.006"},{"key":"S1471068415000344_ref14","doi-asserted-by":"publisher","DOI":"10.1145\/319301.319317"},{"key":"S1471068415000344_ref4","first-page":"157","volume-title":"Types in Logic Programming","author":"Dart","year":"1992"},{"key":"S1471068415000344_ref28","first-page":"684","volume-title":"Fifth International Conference and Symposium on Logic Programming","author":"Warren","year":"1988"},{"key":"S1471068415000344_ref6","doi-asserted-by":"publisher","DOI":"10.1145\/2039346.2039348"},{"key":"S1471068415000344_ref15","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-007-0026-7"},{"key":"S1471068415000344_ref20","unstructured":"Puebla G. , Bueno F. and Hermenegildo M. 1997. An Assertion Language for Debugging of Constraint Logic Programs. In Proceedings of the ILPS'97 Workshop on Tools and Environments for (Constraint) Logic Programming. Available from ftp:\/\/clip.dia.fi.upm.es\/pub\/papers\/assert_lang_tr_discipldeliv.ps.gz as technical report CLIP2\/97.1."},{"key":"S1471068415000344_ref5","unstructured":"Dietrich S. 1987. Extension Tables for Recursive Query Evaluation. Ph.D. thesis, Departament of Computer Science, State University of New York."},{"key":"S1471068415000344_ref26","doi-asserted-by":"publisher","DOI":"10.1145\/1328438.1328486"},{"key":"S1471068415000344_ref2","first-page":"155","volume-title":"Proc. of the 3rd. Int'l WS on Automated Debugging\u2013AADEBUG","author":"Bueno","year":"1997"},{"key":"S1471068415000344_ref27","doi-asserted-by":"publisher","DOI":"10.1145\/131295.131299"},{"key":"S1471068415000344_ref1","first-page":"123","volume-title":"Proc. of the 3rd. Int'l Workshop on Automated Debugging\u2013AADEBUG'97","author":"Boye","year":"1997"},{"key":"S1471068415000344_ref29","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068412000178"},{"key":"S1471068415000344_ref3","doi-asserted-by":"publisher","DOI":"10.1145\/113445.113469"},{"key":"S1471068415000344_ref17","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-18378-2_6"},{"key":"S1471068415000344_ref8","doi-asserted-by":"crossref","first-page":"48","DOI":"10.1145\/581478.581484","volume-title":"ICFP","author":"Findler","year":"2002"},{"key":"S1471068415000344_ref9","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-60085-2_7"},{"key":"S1471068415000344_ref24","first-page":"157","article-title":"XSB: Extending Prolog with Tabled Logic Programming","volume":"12","author":"Swift","year":"2012","journal-title":"TPLP"},{"key":"S1471068415000344_ref16","first-page":"281","volume-title":"25th International Conference on Logic Programming (ICLP'09)","author":"Mera","year":"2009"},{"key":"S1471068415000344_ref22","doi-asserted-by":"publisher","DOI":"10.1007\/10720327_16"},{"key":"S1471068415000344_ref12","doi-asserted-by":"crossref","first-page":"263","DOI":"10.1007\/978-3-319-11164-3_22","volume-title":"Runtime Verification","author":"Koukoutos","year":"2014"}],"container-title":["Theory and Practice of Logic Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068415000344","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2019,8,30]],"date-time":"2019-08-30T00:20:11Z","timestamp":1567124411000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068415000344\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2015,7]]},"references-count":29,"journal-issue":{"issue":"4-5","published-print":{"date-parts":[[2015,7]]}},"alternative-id":["S1471068415000344"],"URL":"https:\/\/doi.org\/10.1017\/s1471068415000344","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"value":"1471-0684","type":"print"},{"value":"1475-3081","type":"electronic"}],"subject":[],"published":{"date-parts":[[2015,7]]}}}