Pub Date : 2019-11-30Epub Date: 2019-12-09DOI: 10.1016/j.entcs.2019.09.010
Robin Kaarsgaard
In flowchart languages, predicates play an interesting double role. In the textual representation, they are often presented as conditions, i.e., expressions which are easily combined with other conditions (often via Boolean combinators) to form new conditions, though they only play a supporting role in aiding branching statements choose a branch to follow. On the other hand, in the graphical representation they are typically presented as decisions, intrinsically capable of directing control flow yet mostly oblivious to Boolean combination.
While categorical treatments of flowchart languages are abundant, none of them provide a treatment of this dual nature of predicates. In the present paper, we argue that extensive restriction categories are precisely categories that capture such a condition/decision duality, by means of morphisms which, coincidentally, are also called decisions. Further, we show that having these categorical decisions amounts to having an internal logic: Analogous to how subobjects of an object in a topos form a Heyting algebra, we show that decisions on an object in an extensive restriction category form a De Morgan quasilattice, the algebraic structure associated with the (three-valued) weak Kleene logic . Full classical propositional logic can be recovered by restricting to total decisions, yielding extensive categories in the usual sense, and confirming (from a different direction) a result from effectus theory that predicates on objects in extensive categories form Boolean algebras.
As an application, since (categorical) decisions are partial isomorphisms, this approach provides naturally reversible models of classical propositional logic and weak Kleene logic.
{"title":"Condition/Decision Duality and the Internal Logic of Extensive Restriction Categories","authors":"Robin Kaarsgaard","doi":"10.1016/j.entcs.2019.09.010","DOIUrl":"10.1016/j.entcs.2019.09.010","url":null,"abstract":"<div><p>In flowchart languages, predicates play an interesting double role. In the textual representation, they are often presented as <em>conditions</em>, <em>i.e.</em>, expressions which are easily combined with other conditions (often via Boolean combinators) to form new conditions, though they only play a supporting role in aiding branching statements choose a branch to follow. On the other hand, in the graphical representation they are typically presented as <em>decisions</em>, intrinsically capable of directing control flow yet mostly oblivious to Boolean combination.</p><p>While categorical treatments of flowchart languages are abundant, none of them provide a treatment of this dual nature of predicates. In the present paper, we argue that extensive restriction categories are precisely categories that capture such a condition/decision duality, by means of morphisms which, coincidentally, are also called decisions. Further, we show that having these categorical decisions amounts to having an internal logic: Analogous to how subobjects of an object in a topos form a Heyting algebra, we show that decisions on an object in an extensive restriction category form a <em>De Morgan quasilattice</em>, the algebraic structure associated with the (three-valued) <em>weak Kleene logic</em> <span><math><msubsup><mrow><mi>K</mi></mrow><mrow><mn>3</mn></mrow><mrow><mi>w</mi></mrow></msubsup></math></span>. Full classical propositional logic can be recovered by restricting to <em>total</em> decisions, yielding extensive categories in the usual sense, and confirming (from a different direction) a result from effectus theory that predicates on objects in extensive categories form Boolean algebras.</p><p>As an application, since (categorical) decisions are partial isomorphisms, this approach provides naturally reversible models of classical propositional logic and weak Kleene logic.</p></div>","PeriodicalId":38770,"journal":{"name":"Electronic Notes in Theoretical Computer Science","volume":"347 ","pages":"Pages 179-202"},"PeriodicalIF":0.0,"publicationDate":"2019-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/j.entcs.2019.09.010","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"75723020","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2019-11-30Epub Date: 2019-12-09DOI: 10.1016/j.entcs.2019.09.011
Jim Laird
We describe a type theory or metalanguage for constructing and reasoning about higher-order programs with global and local state, and its categorical model. This provides an encapsulation primitive for abstracting global state and making it local to an object, so that it is passed only between its invocations. Our calculus and its semantics extend the interpretation of lambda-terms in a Cartesian closed category with a monoidal action on a category of evaluation contexts — the sequoid — which is dual to the action of the function type. This gives an interpretation of a new type constructor which allows the representation of both global state — via “state-passing-style” interpretation which uses it to represent output states — and local state, via encapsulation, which corresponds to the unique map into a final coalgebra for the sequoid. This provides the equational theory of our calculus with a coinduction rule for proving equivalence between objects with local state. We show that this theory is sound and complete with respect to the categorical semantics by constructing a term model and we show that it is consistent by giving a concrete example based on a category of games and strategies previously used to interpret general references.
{"title":"From Global to Local State, Coalgebraically and Compositionally","authors":"Jim Laird","doi":"10.1016/j.entcs.2019.09.011","DOIUrl":"10.1016/j.entcs.2019.09.011","url":null,"abstract":"<div><p>We describe a type theory or metalanguage for constructing and reasoning about higher-order programs with global and local state, and its categorical model. This provides an encapsulation primitive for abstracting global state and making it local to an object, so that it is passed only between its invocations. Our calculus and its semantics extend the interpretation of lambda-terms in a Cartesian closed category with a monoidal action on a category of evaluation contexts — <em>the sequoid</em> — which is dual to the action of the function type. This gives an interpretation of a new type constructor which allows the representation of both global state — via “state-passing-style” interpretation which uses it to represent output states — and local state, via encapsulation, which corresponds to the unique map into a <em>final coalgebra</em> for the sequoid. This provides the equational theory of our calculus with a coinduction rule for proving equivalence between objects with local state. We show that this theory is sound and complete with respect to the categorical semantics by constructing a term model and we show that it is consistent by giving a concrete example based on a category of games and strategies previously used to interpret general references.</p></div>","PeriodicalId":38770,"journal":{"name":"Electronic Notes in Theoretical Computer Science","volume":"347 ","pages":"Pages 203-222"},"PeriodicalIF":0.0,"publicationDate":"2019-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/j.entcs.2019.09.011","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127540276","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2019-11-30Epub Date: 2019-12-09DOI: 10.1016/j.entcs.2019.09.006
Liron Cohen, Sofia Abreu Faro, Ross Tate
It is commonly understood that Countable Choice holds constructively due to the underlying computational nature of constructivism. However, in this paper we demonstrate that invoking different notions of computation result in radically different behaviors regarding Countable Choice. In particular, we illustrate that, although deterministic computation guarantees Countable Choice, non-deterministic computation can negate Countable Choice. We then further show that using stateful computation can restore Countable Choice even in the presence of non-determinism. This finding suggests that much of the modern discourse of constructivism assumes a deterministic underlying computational system, despite non-determinism being a fundamental aspect of modern-day computation.
{"title":"The Effects of Effects on Constructivism","authors":"Liron Cohen, Sofia Abreu Faro, Ross Tate","doi":"10.1016/j.entcs.2019.09.006","DOIUrl":"10.1016/j.entcs.2019.09.006","url":null,"abstract":"<div><p>It is commonly understood that Countable Choice holds constructively due to the underlying computational nature of constructivism. However, in this paper we demonstrate that invoking different notions of computation result in radically different behaviors regarding Countable Choice. In particular, we illustrate that, although <em>deterministic</em> computation guarantees Countable Choice, <em>non</em>-deterministic computation can negate Countable Choice. We then further show that using <em>stateful</em> computation can restore Countable Choice even in the presence of non-determinism. This finding suggests that much of the modern discourse of constructivism assumes a deterministic underlying computational system, despite non-determinism being a fundamental aspect of modern-day computation.</p></div>","PeriodicalId":38770,"journal":{"name":"Electronic Notes in Theoretical Computer Science","volume":"347 ","pages":"Pages 87-120"},"PeriodicalIF":0.0,"publicationDate":"2019-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/j.entcs.2019.09.006","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121792679","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2019-11-30Epub Date: 2019-12-09DOI: 10.1016/j.entcs.2019.09.014
Niels van der Weide , Herman Geuvers
We construct finitary set-truncated higher inductive types (HITs) from quotients and the propositional truncation. For that, we first define signatures as a modification of the schema by Basold et al., and we show they give rise to univalent categories of algebras in both sets and setoids. To interpret HITs, we use the well-known method of initial algebra semantics. The desired algebra is obtained by lifting the quotient adjunction to the level of algebras and adapting Dybjer's and Moeneclaey's interpretation of HITs in setoids. From this construction, we conclude that the equality types of HITs are freely generated and that HITs are unique. The results are formalized in the UniMath library.
{"title":"The Construction of Set-Truncated Higher Inductive Types","authors":"Niels van der Weide , Herman Geuvers","doi":"10.1016/j.entcs.2019.09.014","DOIUrl":"10.1016/j.entcs.2019.09.014","url":null,"abstract":"<div><p>We construct finitary set-truncated higher inductive types (HITs) from quotients and the propositional truncation. For that, we first define signatures as a modification of the schema by Basold <em>et al.</em>, and we show they give rise to univalent categories of algebras in both sets and setoids. To interpret HITs, we use the well-known method of initial algebra semantics. The desired algebra is obtained by lifting the quotient adjunction to the level of algebras and adapting Dybjer's and Moeneclaey's interpretation of HITs in setoids. From this construction, we conclude that the equality types of HITs are freely generated and that HITs are unique. The results are formalized in the UniMath library.</p></div>","PeriodicalId":38770,"journal":{"name":"Electronic Notes in Theoretical Computer Science","volume":"347 ","pages":"Pages 261-280"},"PeriodicalIF":0.0,"publicationDate":"2019-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/j.entcs.2019.09.014","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133552525","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2019-11-30Epub Date: 2019-12-09DOI: 10.1016/j.entcs.2019.09.009
Bart Jacobs , David Sprunger
This article studies (multilayer perceptron) neural networks with an emphasis on the transformations involved — both forward and backward — in order to develop a semantic/logical perspective that is in line with standard program semantics. The common two-pass neural network training algorithms make this viewpoint particularly fitting. In the forward direction, neural networks act as state transformers, using Kleisli composition for the multiset monad — for the linear parts of network layers. In the reverse direction, however, neural networks change losses of outputs to losses of inputs, thereby acting like a (real-valued) predicate transformer. In this way, backpropagation is functorial by construction, as shown in other works recently. We illustrate this perspective by training a simple instance of a neural network.
{"title":"Neural Nets via Forward State Transformation and Backward Loss Transformation","authors":"Bart Jacobs , David Sprunger","doi":"10.1016/j.entcs.2019.09.009","DOIUrl":"10.1016/j.entcs.2019.09.009","url":null,"abstract":"<div><p>This article studies (multilayer perceptron) neural networks with an emphasis on the transformations involved — both forward and backward — in order to develop a semantic/logical perspective that is in line with standard program semantics. The common two-pass neural network training algorithms make this viewpoint particularly fitting. In the forward direction, neural networks act as state transformers, using Kleisli composition for the multiset monad — for the linear parts of network layers. In the reverse direction, however, neural networks change losses of outputs to losses of inputs, thereby acting like a (real-valued) predicate transformer. In this way, backpropagation is functorial by construction, as shown in other works recently. We illustrate this perspective by training a simple instance of a neural network.</p></div>","PeriodicalId":38770,"journal":{"name":"Electronic Notes in Theoretical Computer Science","volume":"347 ","pages":"Pages 161-177"},"PeriodicalIF":0.0,"publicationDate":"2019-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/j.entcs.2019.09.009","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114308173","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2019-11-30Epub Date: 2019-12-09DOI: 10.1016/j.entcs.2019.09.002
Harsh Beohar, Sebastian Küpper
The category of presheaves on a (small) category is a suitable semantic universe to study behaviour of various dynamical systems. In particular, presheaves can be used to record the executions of a system and their morphisms correspond to simulation maps for various kinds of state-based systems. In this paper, we introduce a notion of bisimulation maps between presheaves (or executions) to capture well known behavioural equivalences in an abstract way. We demonstrate the versatility of this framework by working out the characterisations for standard bisimulation, ∀-fair bisimulation, and branching bisimulation.
{"title":"Bisimulation Maps in Presheaf Categories","authors":"Harsh Beohar, Sebastian Küpper","doi":"10.1016/j.entcs.2019.09.002","DOIUrl":"10.1016/j.entcs.2019.09.002","url":null,"abstract":"<div><p>The category of presheaves on a (small) category is a suitable semantic universe to study behaviour of various dynamical systems. In particular, presheaves can be used to record the executions of a system and their morphisms correspond to simulation maps for various kinds of state-based systems. In this paper, we introduce a notion of bisimulation maps between presheaves (or executions) to capture well known behavioural equivalences in an abstract way. We demonstrate the versatility of this framework by working out the characterisations for standard bisimulation, ∀-fair bisimulation, and branching bisimulation.</p></div>","PeriodicalId":38770,"journal":{"name":"Electronic Notes in Theoretical Computer Science","volume":"347 ","pages":"Pages 5-24"},"PeriodicalIF":0.0,"publicationDate":"2019-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/j.entcs.2019.09.002","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"78055485","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2019-11-30Epub Date: 2019-12-09DOI: 10.1016/j.entcs.2019.09.005
Jules Chouquet
We examine some recent methods introduced to extend Ehrhard and Regnier's result on Taylor expansion: infinite linear combinations of approximants of a lambda-term can be normalized while keeping all coefficients finite. The methods considered allow to extend this result to non-uniform calculi; we show that when focusing on precise reduction strategies, such as Call-By-Value, Call-By-Need, PCF or variants of Call-By-Push-Value, the extension of Ehrhard and Regnier's finiteness result can hold or not, depending on the structure of the original calculus.
In particular, we introduce a resource calculus for Call-By-Need, and show that the finiteness result about its Taylor expansion can be derived from our Call-By-Value considerations. We also introduce a resource calculus for a presentation of PCF with an explicit fixpoint construction, and show how it interferes with the finiteness result. We examine then Ehrhard and Guerrieri's Bang Calculus which enjoys some Call-By-Push-Value features in a slightly different presentation.
{"title":"Taylor Expansion, Finiteness and Strategies","authors":"Jules Chouquet","doi":"10.1016/j.entcs.2019.09.005","DOIUrl":"10.1016/j.entcs.2019.09.005","url":null,"abstract":"<div><p>We examine some recent methods introduced to extend Ehrhard and Regnier's result on Taylor expansion: infinite linear combinations of approximants of a lambda-term can be normalized while keeping all coefficients finite. The methods considered allow to extend this result to non-uniform calculi; we show that when focusing on precise reduction strategies, such as Call-By-Value, Call-By-Need, PCF or variants of Call-By-Push-Value, the extension of Ehrhard and Regnier's finiteness result can hold or not, depending on the structure of the original calculus.</p><p>In particular, we introduce a resource calculus for Call-By-Need, and show that the finiteness result about its Taylor expansion can be derived from our Call-By-Value considerations. We also introduce a resource calculus for a presentation of PCF with an explicit fixpoint construction, and show how it interferes with the finiteness result. We examine then Ehrhard and Guerrieri's Bang Calculus which enjoys some Call-By-Push-Value features in a slightly different presentation.</p></div>","PeriodicalId":38770,"journal":{"name":"Electronic Notes in Theoretical Computer Science","volume":"347 ","pages":"Pages 65-85"},"PeriodicalIF":0.0,"publicationDate":"2019-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/j.entcs.2019.09.005","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132279500","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2019-08-30Epub Date: 2019-09-30DOI: 10.1016/j.entcs.2019.08.058
Breno Piva
In this paper we present approximation preserving reductions from the Budgeted and Generalized Maximum Coverage Problems to the Knapsack Problem with Conflict Graphs. The reductions are used to yield Polynomial Time Approximation Schemes for special classes of instances of these problems. Using these approximation schemes, the existence of pseudo-polynomial algorithms are proven and, in more particular cases, these algorithms are shown to have polynomial time complexity. Moreover, the characteristics of the instances that admit these algorithms are analyzed.
{"title":"Approximations for Restrictions of The Budgeted and Generalized Maximum Coverage Problems","authors":"Breno Piva","doi":"10.1016/j.entcs.2019.08.058","DOIUrl":"10.1016/j.entcs.2019.08.058","url":null,"abstract":"<div><p>In this paper we present approximation preserving reductions from the Budgeted and Generalized Maximum Coverage Problems to the Knapsack Problem with Conflict Graphs. The reductions are used to yield Polynomial Time Approximation Schemes for special classes of instances of these problems. Using these approximation schemes, the existence of pseudo-polynomial algorithms are proven and, in more particular cases, these algorithms are shown to have polynomial time complexity. Moreover, the characteristics of the instances that admit these algorithms are analyzed.</p></div>","PeriodicalId":38770,"journal":{"name":"Electronic Notes in Theoretical Computer Science","volume":"346 ","pages":"Pages 667-676"},"PeriodicalIF":0.0,"publicationDate":"2019-08-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/j.entcs.2019.08.058","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127647939","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2019-08-30Epub Date: 2019-09-30DOI: 10.1016/j.entcs.2019.08.006
Camila Araujo, Julio Araujo, Ana Silva, Alexandre Cezar
A (proper) k-coloring of a graph G = (V,E) is a function c : V (G) → {1,...,k} such that c(u) ≠ c(v) for every uv ∈ E(G). Given a graph G and a subgraph H of G, a q-backbone k-coloring of (G,H) is a k-coloring c of G such that q ≤ |c(u) − c(v)| for every edge uv ∈ E(H). The q-backbone chromatic number of (G,H), denoted by BBCq(G,H), is the minimum integer k for which there exists a q-backbone k-coloring of (G,H). Similarly, a circular q-backbone k-coloring of (G,H) is a function c: V (G) → {1,...,k} such that, for every edge uv ∈ E(G), we have |c(u)−c(v)| ≥ 1 and, for every edge uv ∈ E(H), we have k−q ≥ |c(u)−c(v)| ≥ q. The circular q-backbone chromatic number of (G,H), denoted by CBCq(G,H), is the smallest integer k such that there exists such coloring c.
In this work, we first prove that if G is a 3-chromatic graph and F is a galaxy, then CBCq(G,F) ≤ 2q + 2. Then, we prove that CBC3(G,M) ≤ 7 and CBCq(G,M) ≤ 2q, for every q ≥ 4, whenever M is a matching of a planar graph G. Moreover, we argue that both bounds are tight. Such bounds partially answer open questions in the literature. We also prove that one can compute BBC2(G,M) in polynomial time, whenever G is an outerplanar graph with a matching backbone M. Finally, we show a mistake in a proof that BBC2(G,M) ≤ Δ(G)+1, for any matching M of an arbitrary graph G [Miškuf et al., 2010] and we present how to fix it.
图G = (V,E)的(适当)k-着色是函数c: V (G)→{1,…,k}使得c(u)≠c(v)对于每一个uv∈E(G)。给定一个图G和G的子图H, (G,H)的q-主干k-着色是G的k-着色c,使得对于每条边uv∈E(H), q≤|c(u)−c(v)|。(G,H)的q-主色数,用BBCq(G,H)表示,是存在(G,H)的q-主色的最小整数k。同样,(G,H)的圆形q-骨干k-着色是一个函数c: V (G)→{1,…,k}使得对于每条边uv∈E(G),我们有|c(u)−c(v)|≥1,对于每条边uv∈E(H),我们有k−q≥|c(u)−c(v)|≥q. (G,H)的圆q-主色数CBCq(G,H)是存在这样的着色c的最小整数k。在本文中,我们首先证明了如果G是一个三色图,F是一个星系,那么CBCq(G,F)≤2q + 2。然后,我们证明了当M是平面图G的匹配时,对于每一个q≥4,CBC3(G,M)≤7和CBCq(G,M)≤2q,并且证明了这两个界都是紧的。这样的界限部分地回答了文献中的开放性问题。我们还证明了当G是具有匹配主干M的外平面图时,可以在多项式时间内计算BBC2(G,M)。最后,我们指出了在证明中,对于任意图G的任何匹配M, BBC2(G,M)≤Δ(G)+1的错误[Miškuf et al., 2010],并给出了如何修正它。
{"title":"Backbone Coloring of Graphs with Galaxy Backbones","authors":"Camila Araujo, Julio Araujo, Ana Silva, Alexandre Cezar","doi":"10.1016/j.entcs.2019.08.006","DOIUrl":"10.1016/j.entcs.2019.08.006","url":null,"abstract":"<div><p>A (proper) <em>k</em>-coloring of a graph <em>G</em> = (<em>V</em>,<em>E</em>) is a function <em>c</em> : <em>V</em> (<em>G</em>) → {1,...,<em>k</em>} such that <em>c</em>(<em>u</em>) ≠ <em>c</em>(<em>v</em>) for every <em>uv</em> ∈ <em>E</em>(<em>G</em>). Given a graph <em>G</em> and a subgraph <em>H</em> of <em>G</em>, a <em>q</em>-backbone <em>k</em>-coloring of (<em>G</em>,<em>H</em>) is a <em>k</em>-coloring <em>c</em> of <em>G</em> such that <em>q</em> ≤ <em>|c</em>(<em>u</em>) <em>− c</em>(<em>v</em>)<em>|</em> for every edge <em>uv</em> ∈ <em>E</em>(<em>H</em>). The <em>q</em>-backbone chromatic number of (<em>G</em>,<em>H</em>), denoted by BBC<em>q</em>(<em>G</em>,<em>H</em>), is the minimum integer <em>k</em> for which there exists a <em>q</em>-backbone <em>k</em>-coloring of (<em>G</em>,<em>H</em>). Similarly, a circular <em>q</em>-backbone <em>k</em>-coloring of (<em>G</em>,<em>H</em>) is a function <em>c</em>: <em>V</em> (<em>G</em>) → {1,...,<em>k</em>} such that, for every edge <em>uv</em> ∈ <em>E</em>(<em>G</em>), we have <em>|c</em>(<em>u</em>)<em>−c</em>(<em>v</em>)<em>|</em> ≥ 1 and, for every edge <em>uv</em> ∈ <em>E</em>(<em>H</em>), we have <em>k−q</em> ≥ <em>|c</em>(<em>u</em>)<em>−c</em>(<em>v</em>)<em>|</em> ≥ <em>q</em>. The circular <em>q</em>-backbone chromatic number of (<em>G</em>,<em>H</em>), denoted by CBC<em>q</em>(<em>G</em>,<em>H</em>), is the smallest integer <em>k</em> such that there exists such coloring <em>c</em>.</p><p>In this work, we first prove that if <em>G</em> is a 3-chromatic graph and <em>F</em> is a galaxy, then CBC<em>q</em>(<em>G</em>,<em>F</em>) ≤ 2<em>q</em> + 2. Then, we prove that CBC3(<em>G</em>,<em>M</em>) ≤ 7 and CBC<em>q</em>(<em>G</em>,<em>M</em>) ≤ 2<em>q</em>, for every <em>q</em> ≥ 4, whenever <em>M</em> is a matching of a planar graph <em>G</em>. Moreover, we argue that both bounds are tight. Such bounds partially answer open questions in the literature. We also prove that one can compute BBC2(<em>G</em>,<em>M</em>) in polynomial time, whenever <em>G</em> is an outerplanar graph with a matching backbone <em>M</em>. Finally, we show a mistake in a proof that BBC2(<em>G</em>,<em>M</em>) ≤ Δ(<em>G</em>)+1, for any matching <em>M</em> of an arbitrary graph <em>G</em> [Miškuf <em>et al.</em>, 2010] and we present how to fix it.</p></div>","PeriodicalId":38770,"journal":{"name":"Electronic Notes in Theoretical Computer Science","volume":"346 ","pages":"Pages 53-64"},"PeriodicalIF":0.0,"publicationDate":"2019-08-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/j.entcs.2019.08.006","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125544031","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Pub Date : 2019-08-30Epub Date: 2019-09-30DOI: 10.1016/j.entcs.2019.08.010
Jesse Beisegel , Carolin Denkert , Ekkehard Köhler , Matjaž Krnc , Nevena Pivač , Robert Scheffler , Martin Strehler
Graph searches and the corresponding search trees can exhibit important structural properties and are used in various graph algorithms. The problem of deciding whether a given spanning tree of a graph is a search tree of a particular search on this graph was introduced by Hagerup and Nowak in 1985, and independently by Korach and Ostfeld in 1989 where the authors showed that this problem is efficiently solvable for DFS trees. A linear time algorithm for BFS trees was obtained by Manber in 1990. In this paper we prove that the search tree problem is also in P for LDFS, in contrast to LBFS, MCS, and MNS, where we show NP-completeness. We complement our results by providing linear time algorithms for these searches on split graphs.
{"title":"Recognizing Graph Search Trees","authors":"Jesse Beisegel , Carolin Denkert , Ekkehard Köhler , Matjaž Krnc , Nevena Pivač , Robert Scheffler , Martin Strehler","doi":"10.1016/j.entcs.2019.08.010","DOIUrl":"10.1016/j.entcs.2019.08.010","url":null,"abstract":"<div><p>Graph searches and the corresponding search trees can exhibit important structural properties and are used in various graph algorithms. The problem of deciding whether a given spanning tree of a graph is a search tree of a particular search on this graph was introduced by Hagerup and Nowak in 1985, and independently by Korach and Ostfeld in 1989 where the authors showed that this problem is efficiently solvable for DFS trees. A linear time algorithm for BFS trees was obtained by Manber in 1990. In this paper we prove that the search tree problem is also in <em>P</em> for LDFS, in contrast to LBFS, MCS, and MNS, where we show <em>NP</em>-completeness. We complement our results by providing linear time algorithms for these searches on split graphs.</p></div>","PeriodicalId":38770,"journal":{"name":"Electronic Notes in Theoretical Computer Science","volume":"346 ","pages":"Pages 99-110"},"PeriodicalIF":0.0,"publicationDate":"2019-08-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/j.entcs.2019.08.010","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128515221","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}