Formal Verification of Minimax Algorithms

📅 2025-09-24
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the formal verification of correctness for the minimax algorithm, its α-β pruning variant, and transposition-table-enhanced versions in game-tree search. We propose a witness-based correctness criterion—the first enabling rigorous verification of depth-limited search with transposition tables. Methodologically, we develop an executable model in Dafny, integrating program implementation, mathematical reasoning, and automated proof; this yields both verified Python code and complete, machine-checked proof artifacts. Our contributions are threefold: (1) a scalable semantic modeling and verification framework for transposition tables; (2) end-to-end formal verification of multiple minimax variants—including standard minimax, α-β pruning, and transposition-table-augmented search—under depth limits; and (3) full open-sourcing of all proofs and code, establishing a high-assurance trust foundation for safety-critical decision-making algorithms. The approach bridges formal methods and practical search implementations, advancing verifiable AI for adversarial reasoning.

Technology Category

Application Category

📝 Abstract
Using the Dafny verification system, we formally verify a range of minimax search algorithms, including variations with alpha-beta pruning and transposition tables. For depth-limited search with transposition tables, we introduce a witness-based correctness criterion and apply it to two representative algorithms. All verification artifacts, including proofs and Python implementations, are publicly available.
Problem

Research questions and friction points this paper is trying to address.

Formally verifying minimax algorithms using Dafny verification system
Developing correctness criteria for depth-limited search with transposition tables
Verifying alpha-beta pruning variations and making proofs publicly available
Innovation

Methods, ideas, or system contributions that make the work stand out.

Formally verifying minimax algorithms using Dafny system
Introducing witness-based correctness for transposition tables
Providing publicly available verification artifacts and implementations
🔎 Similar Papers
No similar papers found.