TY - GEN
T1 - Program Semantics and Verification Technique for AI-Centred Programs
AU - Rajaona, Fortunat
AU - Boureanu, Ioana
AU - Malvone, Vadim
AU - Belardinelli, Francesco
N1 - Publisher Copyright:
© 2023, The Author(s), under exclusive license to Springer Nature Switzerland AG.
PY - 2023/1/1
Y1 - 2023/1/1
N2 - We give a general-purpose programming language in which programs can reason about their own knowledge. To specify what these intelligent programs know, we define a “program epistemic” logic, akin to a dynamic epistemic logic for programs. Our logic properties are complex, including programs introspecting into future state of affairs, i.e., reasoning now about facts that hold only after they and other threads will execute. To model aspects anchored in privacy, our logic is interpreted over partial observability of variables, thus capturing that each thread can “see” only a part of the global space of variables. We verify program-epistemic properties on such AI-centred programs. To this end, we give a sound translation of the validity of our program-epistemic logic into first-order validity, using a new weakest-precondition semantics and a book-keeping of variable assignment. We implement our translation and fully automate our verification method for well-established examples using SMT solvers.
AB - We give a general-purpose programming language in which programs can reason about their own knowledge. To specify what these intelligent programs know, we define a “program epistemic” logic, akin to a dynamic epistemic logic for programs. Our logic properties are complex, including programs introspecting into future state of affairs, i.e., reasoning now about facts that hold only after they and other threads will execute. To model aspects anchored in privacy, our logic is interpreted over partial observability of variables, thus capturing that each thread can “see” only a part of the global space of variables. We verify program-epistemic properties on such AI-centred programs. To this end, we give a sound translation of the validity of our program-epistemic logic into first-order validity, using a new weakest-precondition semantics and a book-keeping of variable assignment. We implement our translation and fully automate our verification method for well-established examples using SMT solvers.
U2 - 10.1007/978-3-031-27481-7_27
DO - 10.1007/978-3-031-27481-7_27
M3 - Conference contribution
AN - SCOPUS:85151051553
SN - 9783031274800
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 473
EP - 491
BT - Formal Methods - 25th International Symposium, FM 2023, Proceedings
A2 - Chechik, Marsha
A2 - Katoen, Joost-Pieter
A2 - Leucker, Martin
PB - Springer Science and Business Media Deutschland GmbH
T2 - 25th International Symposium on Formal Methods, FM 2023
Y2 - 6 March 2023 through 10 March 2023
ER -