1

A graph can be expressed as an structure $G = <A,R>$ satisfying the axioms $ \forall xy R(x,y) \rightarrow R(y,x)$ and $ \forall x \lnot R(x,x)$.

How to extend the structure and/or axioms to express a 5 colourable graph?

  • 2
    What have you tried? Where did you get stuck? Hint: add a predicate for every color, and add axioms that define the properties of a legal coloring. – Shaull May 13 '18 at 13:04
  • I fail on the axioms part. A predicate for each color seems to be obvious. – brandstifter May 13 '18 at 13:06
  • https://cs.stackexchange.com/q/13082/755, https://cs.stackexchange.com/q/23157/755, https://cs.stackexchange.com/q/12087/755, https://cs.stackexchange.com/q/30790/755 – D.W. May 13 '18 at 14:46

1 Answers1

2

General ideas:

  • Require that each vertex ($\forall x \ldots$) satisfies at least one color predicate (Use $\lor$ among five color predicates).
  • Also require that no vertex ($\lnot\exists x \ldots$) has two distinct colors (you can enumerate all the ten distinct pairs: $\lnot({\sf red}(x)\land{\sf blue}(x))\land \lnot(\ldots)\land \cdots$).
  • For each color (repeat this axiom five times, once for each color), require that if $x$ has that color and $R(x,y)$ then $y$ has not that color (e.g. $\forall x y.\ {\sf red}(x)\land R(x,y) \implies \lnot{\sf red}(y)$).
chi
  • 14,564
  • 1
  • 30
  • 40