{"title":"行为不等价的一般模态见证的拟线性时间计算","authors":"Thorsten Wißmann, Stefan Milius, Lutz Schröder","doi":"10.46298/lmcs-18(4:6)2022","DOIUrl":null,"url":null,"abstract":"We provide a generic algorithm for constructing formulae that distinguish\nbehaviourally inequivalent states in systems of various transition types such\nas nondeterministic, probabilistic or weighted; genericity over the transition\ntype is achieved by working with coalgebras for a set functor in the paradigm\nof universal coalgebra. For every behavioural equivalence class in a given\nsystem, we construct a formula which holds precisely at the states in that\nclass. The algorithm instantiates to deterministic finite automata, transition\nsystems, labelled Markov chains, and systems of many other types. The ambient\nlogic is a modal logic featuring modalities that are generically extracted from\nthe functor; these modalities can be systematically translated into custom sets\nof modalities in a postprocessing step. The new algorithm builds on an existing\ncoalgebraic partition refinement algorithm. It runs in time $\\mathcal{O}((m+n)\n\\log n)$ on systems with $n$ states and $m$ transitions, and the same\nasymptotic bound applies to the dag size of the formulae it constructs. This\nimproves the bounds on run time and formula size compared to previous\nalgorithms even for previously known specific instances, viz. transition\nsystems and Markov chains; in particular, the best previous bound for\ntransition systems was $\\mathcal{O}(m n)$.","PeriodicalId":314387,"journal":{"name":"Log. Methods Comput. Sci.","volume":"505 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-03-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Quasilinear-time Computation of Generic Modal Witnesses for Behavioural Inequivalence\",\"authors\":\"Thorsten Wißmann, Stefan Milius, Lutz Schröder\",\"doi\":\"10.46298/lmcs-18(4:6)2022\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"We provide a generic algorithm for constructing formulae that distinguish\\nbehaviourally inequivalent states in systems of various transition types such\\nas nondeterministic, probabilistic or weighted; genericity over the transition\\ntype is achieved by working with coalgebras for a set functor in the paradigm\\nof universal coalgebra. For every behavioural equivalence class in a given\\nsystem, we construct a formula which holds precisely at the states in that\\nclass. The algorithm instantiates to deterministic finite automata, transition\\nsystems, labelled Markov chains, and systems of many other types. The ambient\\nlogic is a modal logic featuring modalities that are generically extracted from\\nthe functor; these modalities can be systematically translated into custom sets\\nof modalities in a postprocessing step. The new algorithm builds on an existing\\ncoalgebraic partition refinement algorithm. It runs in time $\\\\mathcal{O}((m+n)\\n\\\\log n)$ on systems with $n$ states and $m$ transitions, and the same\\nasymptotic bound applies to the dag size of the formulae it constructs. This\\nimproves the bounds on run time and formula size compared to previous\\nalgorithms even for previously known specific instances, viz. transition\\nsystems and Markov chains; in particular, the best previous bound for\\ntransition systems was $\\\\mathcal{O}(m n)$.\",\"PeriodicalId\":314387,\"journal\":{\"name\":\"Log. Methods Comput. Sci.\",\"volume\":\"505 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-03-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Log. Methods Comput. Sci.\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.46298/lmcs-18(4:6)2022\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Log. Methods Comput. Sci.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.46298/lmcs-18(4:6)2022","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Quasilinear-time Computation of Generic Modal Witnesses for Behavioural Inequivalence
We provide a generic algorithm for constructing formulae that distinguish
behaviourally inequivalent states in systems of various transition types such
as nondeterministic, probabilistic or weighted; genericity over the transition
type is achieved by working with coalgebras for a set functor in the paradigm
of universal coalgebra. For every behavioural equivalence class in a given
system, we construct a formula which holds precisely at the states in that
class. The algorithm instantiates to deterministic finite automata, transition
systems, labelled Markov chains, and systems of many other types. The ambient
logic is a modal logic featuring modalities that are generically extracted from
the functor; these modalities can be systematically translated into custom sets
of modalities in a postprocessing step. The new algorithm builds on an existing
coalgebraic partition refinement algorithm. It runs in time $\mathcal{O}((m+n)
\log n)$ on systems with $n$ states and $m$ transitions, and the same
asymptotic bound applies to the dag size of the formulae it constructs. This
improves the bounds on run time and formula size compared to previous
algorithms even for previously known specific instances, viz. transition
systems and Markov chains; in particular, the best previous bound for
transition systems was $\mathcal{O}(m n)$.