Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Do AI Assistants Help Students Write Formal Specifications? A Study with ChatGPT and the B-Method
CAPOZUCCA, Alfredo; Yampolskyi, Daniil; Goldberg, Alexander et al.
2025In Proceedings - 2025 IEEE/ACM 37th International Conference on Software Engineering Education and Training, CSEE and T 2025
Peer reviewed
 

Files


Full Text
2502.07789v1.pdf
Author preprint (2.2 MB)
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
AI assistants; B-Method; ChatGPT; formal methods; requirements specification; AI assistant; B-method; Behavioral patterns; Formal specification techniques; Requirements specifications; Undergraduate students; Software; Education
Abstract :
[en] This paper investigates the role of AI assistants, specifically OpenAI's ChatGPT, in teaching formal methods (FM) to undergraduate students, using the B-method as a formal specification technique. While existing studies demonstrate the effectiveness of AI in coding tasks, no study reports on its impact on formal specifications. We examine whether ChatGPT provides an advantage when writing B-specifications and analyse student trust in its outputs. Our findings indicate that the AI does not help students to enhance the correctness of their specifications, with low trust correlating to better outcomes. Additionally, we identify a behavioural pattern with which to interact with ChatGPT which may influence the correctness of B-specifications.
Disciplines :
Computer science
Author, co-author :
CAPOZUCCA, Alfredo  ;  University of Luxembourg > Faculty of Science, Technology and Medicine (FSTM) > Department of Computer Science (DCS)
Yampolskyi, Daniil;  University of Luxembourg, Department of Computer Science, Esch-sur-Alzette, Luxembourg
Goldberg, Alexander;  University of Luxembourg, Department of Computer Science, Esch-sur-Alzette, Luxembourg
Cristia, Maximiliano;  Universidad Nacional de Rosario and Cifasis, Rosario, Argentina
External co-authors :
yes
Language :
English
Title :
Do AI Assistants Help Students Write Formal Specifications? A Study with ChatGPT and the B-Method
Publication date :
2025
Event name :
2025 IEEE/ACM 37th International Conference on Software Engineering Education and Training (CSEE&T)
Event place :
Ottawa, Can
Event date :
28-04-2025 => 29-04-2025
By request :
Yes
Audience :
International
Main work title :
Proceedings - 2025 IEEE/ACM 37th International Conference on Software Engineering Education and Training, CSEE and T 2025
Publisher :
Institute of Electrical and Electronics Engineers Inc.
ISBN/EAN :
9798331537098
Pages :
19-29
Peer reviewed :
Peer reviewed
Funders :
University of Luxembourg
Available on ORBilu :
since 18 September 2025

Statistics


Number of views
14 (2 by Unilu)
Number of downloads
9 (2 by Unilu)

Scopus citations®
 
0
Scopus citations®
without self-citations
0
OpenCitations
 
0
OpenAlex citations
 
2

Bibliography


Similar publications



Contact ORBilu