Abstract
In this article we explore different issues and design choices that arise when considering how to fully embrace timed aspects in the formalisation of normative systems, e.g., by using deontic modalities, looking primarily through the lens of monitoring. We primarily focus on expressivity and computational aspects, discussing issues such as duration, superposition, conflicts, attempts, discharge, and complexity, while identifying semantic choices which arise and the challenges these pose for full monitoring of legal contracts.
Partially supported by UBACyT 20020130200032BA and PICT-2016 201-0112, the Swedish Research Council (VetenskapsrĆ„det) under grant Nr.Ā 2019-04951 (X-LEGAL: Smart Legal Contracts), and the ERC Consolidator grant DSynMA (No. 772459).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
In this paper we will use the notation O[b,Ā e](a) to denote the obligation to perform action a between time b and e. We use the same notation but with P to denote permission and F to denote prohibition. Note that despite the formal syntax, we are not committed to a formal semantics, since the paper is dedicated to explore the family of such semantics one can choose to adopt.
- 2.
It is worth noting that different interpretations of normative statements go far beyond the assignment of a formal semantics. Such differing views frequently correspond to views different parties may have of a normative text, e.g., a contract, including possibly in court.
- 3.
From this point onwards, we will use the notation \(C \oplus C'\) to denote both C and \(C'\) being enacted. We avoid the use of symbols typically used for conjunction e.g., \(\wedge \) or & in order to avoid implicit assumptions of idempotency of the operator.
References
Alur, R., Henzinger, T.A.: Logics and models of real time: a survey. In: de Bakker, J.W., Huizing, C., de Roever, W.P., Rozenberg, G. (eds.) REX 1991. LNCS, vol. 600, pp. 74ā106. Springer, Heidelberg (1992). https://doi.org/10.1007/BFb0031988
Alvarez-Napagao, S., Aldewereld, H., VĆ”zquez-Salceda, J., Dignum, F.: Normative monitoring: semantics and implementation. In: De Vos, M., Fornara, N., Pitt, J.V., Vouros, G. (eds.) COIN -2010. LNCS (LNAI), vol. 6541, pp. 321ā336. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-21268-0_18
Azzopardi, S.: Extending contract automata with reparation, hypothetical and conditional clauses. Technical report, University of Malta, May 2014
Azzopardi, S., Colombo, C., Ebejer, J.-P., Mallia, E., Pace, G.J.: Runtime verification using VALOUR. In: RV-CuBES 2017. Kalpa Publications in Computing, vol. 3, pp. 10ā18 (2017)
Azzopardi, S., Gatt, A., Pace, G.J.: Reasoning about partial contracts. In: JURIX 2016, pp. 23ā32 (2016)
Azzopardi, S., Pace, G.J., Schapachnik, F.: Contract automata with reparations. In: JURIX 2014, pp. 49ā54 (2014)
Azzopardi, S., Pace, G.J., Schapachnik, F.: On observing contracts: deontic contracts meet smart contracts. In: JURIX 2018, pp. 21ā30 (2018)
Azzopardi, S., Pace, G.J., Schapachnik, F., Schneider, G.: Contract automata - an operational view of contracts between interactive parties. Artif. Intell. Law 24(3), 203ā243 (2016)
Bauer, A., Leucker, M., Schallhart, C.: Runtime verification for LTL and TLTL. ACM Trans. Softw. Eng. Methodol. 20(4) (2011)
Bouyer, P., Laroussinie, F.: Model checking timed automata. In: Modeling and Verification of Real-Time Systems: Formalisms and Software Tools, pp. 111ā140 (2010)
Cambronero, M., Llana, L., Pace, G.J.: Timed contract compliance under event timing uncertainty (2019, submitted for publication)
Camilleri, J.J., Haghshenas, M.R., Schneider, G.: A web-based tool for analysing normative documents in English. In: SAC-SVT 2018, pp. 1865ā1872. ACM (2018)
Camilleri, J.J., Schneider, G.: Modelling and analysis of normative documents. Logical Algebraic Methods Program. 91, 33ā59 (2017)
Chaochen, Z., Hoare, C.A.R., Ravn, A.P.: A calculus of durations. Inf. Process. Lett. 40(5), 269ā276 (1991)
Colombo, C., Pace, G.J., Schneider, G.: Dynamic event-based runtime monitoring of real-time and contextual properties. In: Cofer, D., Fantechi, A. (eds.) FMICS 2008. LNCS, vol. 5596, pp. 135ā149. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-03240-0_13
DĆaz, G., Cambronero, M.-E., MartĆnez, E., Schneider, G.: Specification and verification of normative texts using C-O Diagrams. Trans. Softw. Eng. 40(8), 795ā817 (2014)
Farrell, A.D.H., Sergot, M.J., SallĆ©, M., Bartolini, C.: Using the event calculus for tracking the normative state of contracts. Int. J. Cooperative Inf. Syst. 14(2ā3), 99ā129 (2005)
Fenech, S., Okika, J., Pace, G.J., Ravn, A.P., Schneider, G.: On the specification of full contracts. In: FESCA 2009. ENTCS, vol. 253(1), pp. 39ā55 (2009)
Fenech, S., Pace, G.J., Schneider, G.: Automatic conflict detection on contracts. In: Leucker, M., Morgan, C. (eds.) ICTAC 2009. LNCS, vol. 5684, pp. 200ā214. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-03466-4_13
Gabbay, D., van der Meyden, R., Horty, J., Parent, X., van der Torre, L.: The Handbook of Deontic Logic. College Publications (2013)
Aranda GarcĆa, A., Cambronero, M.-E., Colombo, C., Llana, L., Pace, G.J.: Runtime verification of contracts with Themulus. In: de Boer, F., Cerone, A. (eds.) SEFM 2020. LNCS, vol. 12310, pp. 231ā246. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-58768-0_13
Wright, G.H.V.: Deontic logic. Mind 60(237), 1ā15 (1951)
Wright, G.H.V.: Deontic logic: a personal view. Ratio Juris 12, 26ā38 (1999)
GorĆn, D., Mera, S., Schapachnik, F.: A software tool for legal drafting. In: FLACOS 2011, pp. 1ā15. Elsevier (2011)
Governatori, G., Hulstijn, J., Riveret, R., Rotolo, A.: Characterising deadlines in temporal modal defeasible logic. In: Orgun, M.A., Thornton, J. (eds.) AI 2007. LNCS (LNAI), vol. 4830, pp. 486ā496. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-76928-6_50
Governatori, G., Rotolo, A.: Justice delayed is justice denied: logics for a temporal account of reparations and legal compliance. In: Leite, J., Torroni, P., Ć gotnes, T., Boella, G., van der Torre, L. (eds.) CLIMA 2011. LNCS (LNAI), vol. 6814, pp. 364ā382. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-22359-4_25
Governatori, G., Rotolo, A., Sartor, G.: Temporalised normative positions in defeasible logic. In: ICAIL 2005, pp. 25ā34 (2005)
Hansen, J.: The paradoxes of deontic logic: alive and kicking. Theoria 72(3), 221ā232 (2006)
Hashmi, M., Governatori, G., Wynn, M.T.: Modeling obligations with event-calculus. In: Bikakis, A., Fodor, P., Roman, D. (eds.) RuleML 2014. LNCS, vol. 8620, pp. 296ā310. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-09870-8_22
Hashmi, M., Governatori, G., Wynn, M.T.: Normative requirements for regulatory compliance: an abstract formal framework. Inf. Syst. Front. 18(3), 429ā455 (2015). https://doi.org/10.1007/s10796-015-9558-1
Henzinger, T.A.: Itās about time: real-time logics reviewed. In: Sangiorgi, D., de Simone, R. (eds.) CONCUR 1998. LNCS, vol. 1466, pp. 439ā454. Springer, Heidelberg (1998). https://doi.org/10.1007/BFb0055640
Ho, H.-M., Ouaknine, J., Worrell, J.: Online monitoring of metric temporal logic. In: Bonakdarpour, B., Smolka, S.A. (eds.) RV 2014. LNCS, vol. 8734, pp. 178ā192. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11164-3_15
Ho, H.-M., Ouaknine, J., Worrell, J.: On the expressiveness and monitoring of metric temporal logic. CoRR, abs/1803.02653 (2018)
Kanger, S., Kanger, H.: Rights and parliamentarism. Theoria 32(2), 85ā115 (1966)
Konur, S.: Real-time and probabilistic temporal logics: an overview. CoRR, abs/1005.3200 (2010)
Lamport, L.: Specifying Systems: The TLA+ Language and Tools for Hardware and Software Engineers. Addison-Wesley Longman Publishing Co., Inc. (2002)
Larsen, K.G., Pettersson, P., Yi, W.: UPPAAL in a nutshell. Softw. Tools Technol. Transfer 1(1), 134ā152 (1997)
MartĆnez, E., DĆaz, G., Cambronero, M.-E., Schneider, G.: A model for visual specification of E-contracts. In: IEEE SCC 2010, pp. 1ā8. IEEE Computer Society (2010)
McNamara, P.: Deontic logic. In: Gabbay, D.M., Woods, J., (eds.) Handbook of the History of Logic, vol. 7, pp. 197ā289. North-Holland Publishing (2006)
Meyer, J.-J., Dignum, F., Johannes, R.: The Paradoxes of Deontic Logic Revisited: A Computer Science Perspective. Technical report UU-CS-1994-38, EWI-IS: Department of Computer Science, University of Utrecht, Utrecht, September 1994
Moszkowski, B., Manna, Z.: Reasoning in interval temporal logic. In: Clarke, E., Kozen, D. (eds.) Logic of Programs 1983. LNCS, vol. 164, pp. 371ā382. Springer, Heidelberg (1984). https://doi.org/10.1007/3-540-12896-4_374
NiÄkoviÄ, D., Piterman, N.: From Mtl to deterministic timed automata. In: Chatterjee, K., Henzinger, T.A. (eds.) FORMATS 2010. LNCS, vol. 6246, pp. 152ā167. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-15297-9_13
Pace, G.J., Schneider, G.: Challenges in the specification of full contracts. In: Leuschel, M., Wehrheim, H. (eds.) IFM 2009. LNCS, vol. 5423, pp. 292ā306. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-00255-7_20
Prisacariu, C., Schneider, G.: A formal language for electronic contracts. In: Bonsangue, M.M., Johnsen, E.B. (eds.) FMOODS 2007. LNCS, vol. 4468, pp. 174ā189. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-72952-5_11
Prisacariu, C., Schneider, G.: A dynamic deontic logic for complex contracts. J. Logic Algebraic Program. 81(4), 458ā490 (2012)
Stucki, S., SĆ”nchez, C., Schneider, G., Bonakdarpour, B.: Gray-box monitoring of hyperproperties. In: ter Beek, M.H., McIver, A., Oliveira, J.N. (eds.) FM 2019. LNCS, vol. 11800, pp. 406ā424. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-30942-8_25
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
Ā© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Azzopardi, S., Pace, G., Schapachnik, F., Schneider, G. (2021). On the Specification and Monitoring of Timed Normative Systems. In: Feng, L., Fisman, D. (eds) Runtime Verification. RV 2021. Lecture Notes in Computer Science(), vol 12974. Springer, Cham. https://doi.org/10.1007/978-3-030-88494-9_5
Download citation
DOI: https://doi.org/10.1007/978-3-030-88494-9_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-88493-2
Online ISBN: 978-3-030-88494-9
eBook Packages: Computer ScienceComputer Science (R0)