Enregistré dans:
Détails bibliographiques
Auteurs principaux: Esparza, Javier, Rubio, Rubén
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:https://arxiv.org/abs/2407.07759
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929416376942592
author Esparza, Javier
Rubio, Rubén
author_facet Esparza, Javier
Rubio, Rubén
contents Many well-known logical identities are naturally written as equivalences between contextual formulas. A simple example is the Boole-Shannon expansion $c[p] \equiv (p \wedge c[\mathrm{true}] ) \vee (\neg\, p \wedge c[\mathrm{false}] )$, where $c$ denotes an arbitrary formula with possibly multiple occurrences of a "hole", called a context, and $c[φ]$ denotes the result of "filling" all holes of $c$ with the formula $φ$. Another example is the unfolding rule $μX. c[X] \equiv c[μX. c[X]]$ of the modal $μ$-calculus. We consider the modal $μ$-calculus as overarching temporal logic and, as usual, reduce the problem whether $φ_1 \equiv φ_2$ holds for contextual formulas $φ_1, φ_2$ to the problem whether $φ_1 \leftrightarrow φ_2$ is valid . We show that the problem whether a contextual formula of the $μ$-calculus is valid for all contexts can be reduced to validity of ordinary formulas. Our first result constructs a canonical context such that a formula is valid for all contexts if{}f it is valid for this particular one. However, the ordinary formula is exponential in the nesting-depth of the context variables. In a second result we solve this problem, thus proving that validity of contextual formulas is EXP-complete, as for ordinary equivalences. We also prove that both results hold for CTL and LTL as well. We conclude the paper with some experimental results. In particular, we use our implementation to automatically prove the correctness of a set of six contextual equivalences of LTL recently introduced by Esparza et al. for the normalization of LTL formulas. While Esparza et al. need several pages of manual proof, our tool only needs milliseconds to do the job and to compute counterexamples for incorrect variants of the equivalences.
format Preprint
id arxiv_https___arxiv_org_abs_2407_07759
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Validity of contextual formulas (extended version)
Esparza, Javier
Rubio, Rubén
Logic in Computer Science
F.4.1
Many well-known logical identities are naturally written as equivalences between contextual formulas. A simple example is the Boole-Shannon expansion $c[p] \equiv (p \wedge c[\mathrm{true}] ) \vee (\neg\, p \wedge c[\mathrm{false}] )$, where $c$ denotes an arbitrary formula with possibly multiple occurrences of a "hole", called a context, and $c[φ]$ denotes the result of "filling" all holes of $c$ with the formula $φ$. Another example is the unfolding rule $μX. c[X] \equiv c[μX. c[X]]$ of the modal $μ$-calculus. We consider the modal $μ$-calculus as overarching temporal logic and, as usual, reduce the problem whether $φ_1 \equiv φ_2$ holds for contextual formulas $φ_1, φ_2$ to the problem whether $φ_1 \leftrightarrow φ_2$ is valid . We show that the problem whether a contextual formula of the $μ$-calculus is valid for all contexts can be reduced to validity of ordinary formulas. Our first result constructs a canonical context such that a formula is valid for all contexts if{}f it is valid for this particular one. However, the ordinary formula is exponential in the nesting-depth of the context variables. In a second result we solve this problem, thus proving that validity of contextual formulas is EXP-complete, as for ordinary equivalences. We also prove that both results hold for CTL and LTL as well. We conclude the paper with some experimental results. In particular, we use our implementation to automatically prove the correctness of a set of six contextual equivalences of LTL recently introduced by Esparza et al. for the normalization of LTL formulas. While Esparza et al. need several pages of manual proof, our tool only needs milliseconds to do the job and to compute counterexamples for incorrect variants of the equivalences.
title Validity of contextual formulas (extended version)
topic Logic in Computer Science
F.4.1
url https://arxiv.org/abs/2407.07759