• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2025, Vol. 47 ›› Issue (06): 1050-1061.

• Software Engineering • Previous Articles     Next Articles

Formal verification of Stokes’ theorem and its applications

LIU Yongmei1,2,WANG Guohui1,GUAN Yong2,ZHANG Jingzhi2,SHI Zhiping1,2,DONG Lu1   

  1. (1.Information Engineering College,Capital Normal University,Beijing 100048;
    2.International Science and Technology Cooperation Base of Electronic System 
    Reliability and Mathematical Interdisciplinary,Capital Normal University,Beijing 100048,China)
  • Received:2023-12-11 Revised:2024-07-10 Online:2025-06-25 Published:2025-06-26

Abstract: Stokes’ theorem is one of the fundamental theorems in field theory, with extensive applications in fluid mechanics, electromagnetics, and other domains. However, in practical applications, the satisfaction of its prerequisite conditions is often not rigorously verified, which introduces certain risks. Therefore, it is necessary to validate Stokes’ theorem. This paper constructs a formal model of Stokes’ theorem based on its mathematical definition. By analyzing the mathematical proof process of the theorem, this paper derives the derivation methodology for its formal verification. Following the analysis, construction, and verification objectives, this paper ccompletes the formal proof of the theorem. Finally, the proven Stokes’ theorem is applied to the validation of the  pipeline flow design models.

Key words: formal verification, theorem proving, Stokes’theorem, HOL light