On the specification and verification of the PCR parallel programming pattern in TLA+

Sobre la especificación y verificación del patrón de programación paralela PCR en TLA+

Sobre a especificação e verificação do padrão de programação paralela PCR em TLA+

Solsona, José E.
Detalles Bibliográficos
2023
Algoritmos paralelos
Patrones de diseño
Métodos formales
TLA
Parallel algorithms
Design patterns
Formal Methods
TLA
Algoritmos paralelos
Padrões de design
Métodos Formais
TLA
Español
Universidad de Montevideo
REDUM
http://revistas.um.edu.uy/index.php/ingenieria/article/view/1146
Acceso abierto
Atribución 4.0 Internacional
Resumen:
Sumario:Physical limitations in processor design have made the computer industry shift from improving the speed of a single processor to increasing the number of processing core units. But the design of software to exploit parallel processing power in a correct and cost-effective way is a challenging task requiring a high degree of expertise. In 2017, Pérez and Yovine proposed a platform-agnostic parallel programming pattern called PCR, that eases writing parallel code. In this work, we formalize the PCR pattern in terms of TLA+ - a formal specification language for concurrent systems that is being used at places such as Intel, Amazon and Microsoft. We seek to provide a formal framework mainly for (1) expressing high level PCR designs and prove their functional correctness in the sense that their parallel computation computes a given mathematical function, and (2) being able to formally relate different PCR designs. In this way, we contribute to the state of the art in formal verification of parallel programs by leveraging TLA+-related tools to proving properties about high-level PCR-based algorithms such as their functional correctness and refinement.