IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2024i1p96-d1555881.html
   My bibliography  Save this article

Formal Verification of Multi-Thread Minimax Behavior Using mCRL2 in the Connect 4

Author

Listed:
  • Diego Escobar

    (Systems Engineering Department, University of Nariño, Pasto 520001, Colombia)

  • Jesus Insuasti

    (Systems Engineering Department, University of Nariño, Pasto 520001, Colombia)

Abstract

This study focuses on the formal verification of a parallel version of the minimax algorithm using the mCRL2 modeling language, applied to the game of Connect 4. The research aims to ensure that the algorithm behaves correctly in concurrent execution environments by providing a formal model and conducting rigorous verification. The parallel version of minimax distributes computations across multiple threads, with each thread evaluating different successor states concurrently. Using mCRL2, we specify the algorithm’s behavior, generate Labeled Transition Systems (LTSs), and verify critical properties such as the absence of deadlocks, liveness, and correctness of state transitions. The formal verification process demonstrates that the proposed model accurately represents the parallel minimax algorithm and ensures its reliability by verifying properties that guarantee unique and non-redundant actions throughout the execution. The findings highlight the value of formal methods in validating the correctness of parallel artificial intelligence algorithms, laying the foundation for future optimizations that focus on performance.

Suggested Citation

  • Diego Escobar & Jesus Insuasti, 2024. "Formal Verification of Multi-Thread Minimax Behavior Using mCRL2 in the Connect 4," Mathematics, MDPI, vol. 13(1), pages 1-16, December.
  • Handle: RePEc:gam:jmathe:v:13:y:2024:i:1:p:96-:d:1555881
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/1/96/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/1/96/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    minimax; multithreaded; algorithm; formal; verification; mCRL2;
    All these keywords.

    JEL classification:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2024:i:1:p:96-:d:1555881. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.