{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,16]],"date-time":"2026-11-16T18:44:37Z","timestamp":1794854677614,"version":"4.9.1"},"publisher-location":"Cham","reference-count":19,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783032411594","type":"print"},{"value":"9783032411600","type":"electronic"}],"license":[{"start":{"date-parts":[[2026,10,7]],"date-time":"2026-10-07T00:00:00Z","timestamp":1791331200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,10,7]],"date-time":"2026-10-07T00:00:00Z","timestamp":1791331200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2027]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Constructing correct Signal Temporal Logic (STL) specifications from informal requirements is a challenging task, due to the ambiguous and imprecise nature of natural language descriptions. Witness traces can support requirements elicitation and validation by providing concrete behavioral examples that satisfy or violate a specification. However, naive generation of traces from a specification can result in behaviors that are not plausible.<\/jats:p>\n                  <jats:p>We present a method for generating semantically meaningful witnesses for STL specifications by explicitly incorporating domain knowledge into the generation process. The approach uses signal templates representing common CPS behaviors to constrain the space of generated traces and formulates witness generation as an optimization problem. The resulting framework supports the generation of both satisfying and violating witnesses, as well as differential witnesses that expose behavioral differences between alternative STL specifications. We further combine witness generation with explainable trace diagnostics to facilitate requirements elicitation, specification validation, and the comparison of alternative specifications. We illustrate the approach on representative CPS examples.<\/jats:p>","DOI":"10.1007\/978-3-032-41160-0_25","type":"book-chapter","created":{"date-parts":[[2026,10,6]],"date-time":"2026-10-06T15:01:30Z","timestamp":1791298890000},"page":"404-421","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["STL-Witness: Signal Generation from\u00a0STL Specifications"],"prefix":"10.1007","author":[{"given":"Dejan","family":"Ni\u010dkovi\u0107","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2026,10,7]]},"reference":[{"key":"25_CR1","doi-asserted-by":"crossref","unstructured":"Bartocci, E., Ferr\u00e8re, T., Manjunath, N., Ni\u010dkovi\u0107, D.: Localizing faults in simulink\/stateflow models with STL. In: Prandini, M., Deshmukh, J.V. (eds.) Proceedings of the 21st International Conference on Hybrid Systems: Computation and Control (part of CPS Week), HSCC 2018, Porto, Portugal, 11\u201313 April 2018, pp. 197\u2013206. ACM (2018)","DOI":"10.1145\/3178126.3178131"},{"key":"25_CR2","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"425","DOI":"10.1007\/978-3-642-14295-6_37","volume-title":"Computer Aided Verification","author":"R Bloem","year":"2010","unstructured":"Bloem, R., et al.: RATSY \u2013 a new requirements analysis tool with synthesis. In: Touili, T., Cook, B., Jackson, P. (eds.) CAV 2010. LNCS, vol. 6174, pp. 425\u2013429. Springer, Heidelberg (2010). https:\/\/doi.org\/10.1007\/978-3-642-14295-6_37"},{"key":"25_CR3","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"63","DOI":"10.1007\/978-3-642-41010-9_5","volume-title":"Formal Methods for Industrial Critical Systems","author":"JA Davis","year":"2013","unstructured":"Davis, J.A., et al.: Study on the barriers to the industrial adoption of formal methods. In: Pecheur, C., Dierkes, M. (eds.) FMICS 2013. LNCS, vol. 8187, pp. 63\u201377. Springer, Heidelberg (2013). https:\/\/doi.org\/10.1007\/978-3-642-41010-9_5"},{"key":"25_CR4","doi-asserted-by":"crossref","unstructured":"Dokhanchi, A., Hoxha, B., Fainekos, G.: Metric interval temporal logic specification elicitation and debugging. In: ACM\/IEEE International Conference on Formal Methods and Models for Codesign, MEMOCODE 2015, Austin, TX, USA, 21\u201323 September 2015, pp. 70\u201379. IEEE (2015)","DOI":"10.1109\/MEMCOD.2015.7340472"},{"key":"25_CR5","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"92","DOI":"10.1007\/978-3-642-15297-9_9","volume-title":"Formal Modeling and Analysis of Timed Systems","author":"A Donz\u00e9","year":"2010","unstructured":"Donz\u00e9, A., Maler, O.: Robust satisfaction of temporal logic over real-valued signals. In: Chatterjee, K., Henzinger, T.A. (eds.) FORMATS 2010. LNCS, vol. 6246, pp. 92\u2013106. Springer, Heidelberg (2010). https:\/\/doi.org\/10.1007\/978-3-642-15297-9_9"},{"key":"25_CR6","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"241","DOI":"10.1007\/978-3-319-24953-7_20","volume-title":"Automated Technology for Verification and Analysis","author":"T Ferr\u00e8re","year":"2015","unstructured":"Ferr\u00e8re, T., Maler, O., Ni\u010dkovi\u0107, D.: Trace diagnostics using temporal implicants. In: Finkbeiner, B., Pu, G., Zhang, L. (eds.) ATVA 2015. LNCS, vol. 9364, pp. 241\u2013258. Springer, Cham (2015). https:\/\/doi.org\/10.1007\/978-3-319-24953-7_20"},{"key":"25_CR7","doi-asserted-by":"crossref","unstructured":"Ferr\u00e8re, T., Nickovic, D., Donz\u00e9, A., Ito, H., Kapinski, J.: Interface-aware signal temporal logic. In: Ozay, N., Prabhakar, P. (eds.) Proceedings of the 22nd ACM International Conference on Hybrid Systems: Computation and Control, HSCC 2019, Montreal, QC, Canada, 16\u201318 April 2019, pp. 57\u201366. ACM (2019)","DOI":"10.1145\/3302504.3311800"},{"key":"25_CR8","doi-asserted-by":"publisher","first-page":"293","DOI":"10.1016\/0304-3975(85)90224-5","volume":"38","author":"TF Gonzalez","year":"1985","unstructured":"Gonzalez, T.F.: Clustering to minimize the maximum intercluster distance. Theoret. Comput. Sci. 38, 293\u2013306 (1985)","journal-title":"Theoret. Comput. Sci."},{"key":"25_CR9","doi-asserted-by":"crossref","unstructured":"Greenman, B., Saarinen, S., Nelson, T., Krishnamurthi, S.: Little tricky logic: misconceptions in the understanding of LTL. Art Sci. Eng. Program. 7(2) (2023)","DOI":"10.22152\/programming-journal.org\/2023\/7\/7"},{"key":"25_CR10","doi-asserted-by":"crossref","unstructured":"Hoxha, B., Mavridis, N., Fainekos, G.: VISPEC: a graphical tool for elicitation of MTL requirements. In: 2015 IEEE\/RSJ International Conference on Intelligent Robots and Systems, IROS 2015, Hamburg, Germany, September 28 - October 2, 2015, pp. 3486\u20133492. IEEE (2015)","DOI":"10.1109\/IROS.2015.7353863"},{"key":"25_CR11","doi-asserted-by":"crossref","unstructured":"Jouve-Genty, M., Su, H., Sato, S., An, J., Zhang, Z., Hasuo, I.: STLts-Div: diversified trace synthesis from STL specifications using MILP. In: Sampaio, A., Stoelinga, M. (eds.) Formal Methods - 27th International Symposium, FM 2026, Tokyo, Japan, 18\u201322 May 2026, Proceedings, Part I. Lecture Notes in Computer Science, vol. 16556, pp. 3\u201320. Springer (2026)","DOI":"10.1007\/978-3-032-26204-2_1"},{"key":"25_CR12","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"152","DOI":"10.1007\/978-3-540-30206-3_12","volume-title":"Formal Techniques, Modelling and Analysis of Timed and Fault-Tolerant Systems","author":"O Maler","year":"2004","unstructured":"Maler, O., Nickovic, D.: Monitoring temporal properties of continuous signals. In: Lakhnech, Y., Yovine, S. (eds.) FORMATS\/FTRTFT -2004. LNCS, vol. 3253, pp. 152\u2013166. Springer, Heidelberg (2004). https:\/\/doi.org\/10.1007\/978-3-540-30206-3_12"},{"key":"25_CR13","doi-asserted-by":"crossref","unstructured":"Melani, B., Bartocci, E., Chiari, M.: A tree-shaped tableau for checking the satisfiability of signal temporal logic with bounded temporal operators. ACM Trans. Embed. Comput. Syst. 24(5s), 147:1\u2013147:26 (2025)","DOI":"10.1145\/3759917"},{"key":"25_CR14","doi-asserted-by":"crossref","unstructured":"Mohammadinejad, S., Paul, S., Xia, Y., Kudalkar, V., Thomason, J., Deshmukh, J.V.: Systematic translation from natural language robot task descriptions to STL. In: Steffen, B. (ed.) Bridging the Gap Between AI and Reality - Second International Conference, AISoLA 2024, Crete, Greece, October 30 - November 3, 2024, Proceedings. Lecture Notes in Computer Science, vol. 15217, pp. 259\u2013276. Springer (2024)","DOI":"10.1007\/978-3-031-75434-0_18"},{"key":"25_CR15","doi-asserted-by":"crossref","unstructured":"Prabhakar, P., Lal, R., Kapinski, J.: Automatic trace generation for signal temporal logic. In: 2018 IEEE Real-Time Systems Symposium, RTSS 2018, Nashville, TN, USA, 11\u201314 December 2018, pp. 208\u2013217. IEEE Computer Society (2018)","DOI":"10.1109\/RTSS.2018.00038"},{"key":"25_CR16","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"225","DOI":"10.1007\/978-3-319-63387-9_11","volume-title":"Computer Aided Verification","author":"H Roehm","year":"2017","unstructured":"Roehm, H., Heinz, T., Mayer, E.C.: STLInspector: STL validation with guarantees. In: Majumdar, R., Kun\u010dak, V. (eds.) CAV 2017. LNCS, vol. 10426, pp. 225\u2013232. Springer, Cham (2017). https:\/\/doi.org\/10.1007\/978-3-319-63387-9_11"},{"key":"25_CR17","doi-asserted-by":"crossref","unstructured":"ato, S., An, J., Zhang, Z., Hasuo, I.: Optimization-based model checking and trace synthesis for complex STL specifications. In: Gurfinkel, A., Ganesh, V. (eds.) Computer Aided Verification - 36th International Conference, CAV 2024, Montreal, QC, Canada, 24\u201327 July 2024, Proceedings, Part III. Lecture Notes in Computer Science, vol. 14683, pp. 282\u2013306. Springer (2024)","DOI":"10.1007\/978-3-031-65633-0_13"},{"key":"25_CR18","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"223","DOI":"10.1007\/978-3-030-85248-1_15","volume-title":"Formal Methods for Industrial Critical Systems","author":"Q Thibeault","year":"2021","unstructured":"Thibeault, Q., Anderson, J., Chandratre, A., Pedrielli, G., Fainekos, G.: PSY-TaLiRo: a python toolbox for search-based test generation for cyber-physical systems. In: Lluch Lafuente, A., Mavridou, A. (eds.) FMICS 2021. LNCS, vol. 12863, pp. 223\u2013231. Springer, Cham (2021). https:\/\/doi.org\/10.1007\/978-3-030-85248-1_15"},{"issue":"1","key":"25_CR19","doi-asserted-by":"publisher","first-page":"79","DOI":"10.1007\/s10009-023-00720-3","volume":"26","author":"T Yamaguchi","year":"2024","unstructured":"Yamaguchi, T., Hoxha, B., Nickovic, D.: RTAMT - runtime robustness monitors with application to CPS and robotics. Int. J. Softw. Tools Technol. Transf. 26(1), 79\u201399 (2024)","journal-title":"Int. J. Softw. Tools Technol. Transf."}],"container-title":["Lecture Notes in Computer Science","Runtime Verification"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-032-41160-0_25","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,6]],"date-time":"2026-10-06T15:01:33Z","timestamp":1791298893000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-032-41160-0_25"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,10,7]]},"ISBN":["9783032411594","9783032411600"],"references-count":19,"URL":"https:\/\/doi.org\/10.1007\/978-3-032-41160-0_25","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-032-41160-0","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,10,7]]},"assertion":[{"value":"7 October 2026","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"RV","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"International Conference on Runtime Verification","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Kingston","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Canada","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2026","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"6 October 2026","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"9 October 2026","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"rv2026","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/rv2026.smithengineering.queensu.ca\/","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}}]}}