Do AI assistants help students write formal specifications? A study with ChatGPT and the B-Method
Capozucca, Alfredo, Yampolskyi, Daniil, Goldberg, Alexander, Cristiá, Maximiliano
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Jan-20-2025
- Country:
- Europe > Switzerland (0.04)
- North America > United States
- New York > New York County > New York City (0.04)
- South America > Argentina (0.04)
- Genre:
- Instructional Material > Course Syllabus & Notes (1.00)
- Research Report
- Experimental Study (1.00)
- New Finding (1.00)
- Industry:
- Education > Educational Setting > Higher Education (0.66)
- Technology: