Formal methods : foundations and applications 25th Brazilian Symposium SBMF 2022 virtual event December 6 9 2022 : proceedings This book constitutes the refereed proceedings of the 25th Brazilian Symposium on Formal Methods SBMF 2022 which was held virtually in December 2022.The 8 regular papers presented in this book were carefully reviewed and selected from 15 submissions. The symposium focuses on the development dissemination and use of formal methods for the constructionof high quality computational systems aiming to promote opportunities for researchers and practitioners with an interest in formal methods to discuss the recent advances in this area