Do AI assistants help students write formal specifications? A study with ChatGPT and the B-Method
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 4 of its 16 references that are in the map. First posted on arXiv 20 Jan 2025.
Builds on
4 of 16 references.
References · 4
- 2022Do Users Write More Insecure Code with AI Assistants?cited by 192
- 2022Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Languagecited by 82
- 2023Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?cited by 31
- 2023Can ChatGPT support software verification?cited by 14
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
- 2026Event-B Agent: Towards LLM Agent for Formal Model Synthesis and Repair17 May 2026
- 2025PAT-Agent: Autoformalization for Model Checking28 Sep 2025