<p>Since most graphs on n vertices are Kolmogorov-random, they cannot be described by a circuit (or any other program) that is significantly smaller than the graph itself.  (If you don't know what Kolmogorov-random means, you can basically take the conclusion of the previous sentence as its definition.  Then rely on the fact that almost all strings are Kolmogorov-random.)</p>

<p>Although I'm not intimately familiar with the works you cited, my guess is that they are always talking about graphs-described-by-circuits.  In other words, by focusing on the circuits, they are essentially restricting their attention to the class of graphs that do have succinct circuits (whose size is logarithmic in the size of the graph).</p>

CC BY-SA 2.5
2010-08-16T22:42:38.173Z
2010-08-16T22:42:38.173Z
Joshua Grochow
<p>Your question seems to be asking: how does one represent arbitrary graphs (or even arbitrary path graphs) as a circuit of polynomial size? The answer is, you don't. The number of different path graphs with 2<sup>n</sup> vertices is (2<sup>n</sup>)!, far more than the number of different circuits with n<sup>c</sup> gates (exponential in n<sup>c</sup> log n). So almost all graphs with this many vertices cannot be represented by a succinct circuit.</p>

<p>Therefore, as you hint, in some sense only graphs that have a high degree of structure can be represented in this way. That's what makes complexity classes like PPAD interesting: despite the structure that we know the input graphs to the EOL problem must have, we don't seem to know how to take advantage of the structure to solve the problem efficiently.</p>

<p>If I'm misunderstanding your question and you're really asking: how does one make a circuit that even meets the input requirements for EOL, for even a very highly structured graph: try the path graph that connects vertex x (considered as a number in binary) to x-1 and x+1, with ends at zero and at 2^n-1. Or if you want something less trivial that seems more difficult to solve EOL for: let E and D be the encryption and decryption functions for a fixed key in your favorite cryptosystem, let the neighbors of x in the graph be E(x) and D(x), and let the ends of the line be 0 and D(0).</p>

CC BY-SA 2.5
2010-08-16T23:00:08.300Z
2010-08-16T23:00:08.300Z
David Eppstein
<p>The complexity class <strong>PPAD</strong> (e.g. computing various Nash equilibria) can be defined as the set of total search problems polytime reducible to <strong>END OF THE LINE</strong>:</p>

<p><strong>END OF THE LINE</strong>: Given circuits <em>S</em> and <em>P</em> with <em>n</em> input bits and <em>n</em> output bits such that <em>P(0<sup>n</sup>)</em> = <em>0<sup>n</sup></em> != <em>S(0<sup>n</sup>)</em>, find an input <em>x</em> in {0,1}<sup><em>n</em></sup> such that <em>P(S(x))</em> != <em>x</em> <strong>or</strong> <em>S(P(x))</em> != <em>x</em> != <em>0<sup>n</sup></em>.</p>

<p>Circuits or algorithms such as <em>S</em> and <em>P</em> implicitly define an exponentially large graph that is only revealed on a query-by-query basis (to keep the problem in <strong>PSPACE</strong>!), e.g. <a href="http://www.cs.berkeley.edu/~christos/papers/On%20the%20Complexity.pdf">Papadimitrou's paper</a>.</p>

<p>However, I don't understand how one would design a circuit that enables <em>arbitrary</em> graphs (if there is a systematic structure to the graph, it appears much easier to find the circuit). For instance, how would one design a polynomially-sized circuit that represents an exponentially-long directed line, with an <em>all-0</em> label for the source vertex and randomly assigned binary labels to all other vertices? This seems to be implicit in the <strong>PPAD</strong>-related papers.</p>

<p>The closest I've come from a search online is <a href="http://www.math.ias.edu/~avi/PUBLICATIONS/MYPAPERS/GW84/GW84.pdf">Galperin/Widgerson's paper</a>, but the circuit described there takes two vertex labels and returns a Boolean answer to "Are these vertices adjacent?"</p>

<p>So, how would you design a polynomially-sized circuit of an exponentially-sized graph that takes an <em>n</em>-bit input and outputs the <em>n</em>-bit label of its predecessor or successor, respectively? Or even, does someone know of a resource that explains this well?</p>

<reference-request><combinatory-logic><graph-theory><ppad>
Succinct circuit representation of graphs
Daniel Apon
# Succinct circuit representation of graphs

(Asked by: username_0 on 2010-08-16)

The complexity class **PPAD** (e.g. computing various Nash equilibria) can be defined as the set of total search problems polytime reducible to **END OF THE LINE**:

**END OF THE LINE**: Given circuits *S* and *P* with *n* input bits and *n* output bits such that *P(0n)* = *0n* != *S(0n)*, find an input *x* in {0,1}*n* such that *P(S(x))* != *x* **or** *S(P(x))* != *x* != *0n*.

Circuits or algorithms such as *S* and *P* implicitly define an exponentially large graph that is only revealed on a query-by-query basis (to keep the problem in **PSPACE**!), e.g. [Papadimitrou's paper](http://www.cs.berkeley.edu/~christos/papers/On%20the%20Complexity.pdf).

However, I don't understand how one would design a circuit that enables *arbitrary* graphs (if there is a systematic structure to the graph, it appears much easier to find the circuit). For instance, how would one design a polynomially-sized circuit that represents an exponentially-long directed line, with an *all-0* label for the source vertex and randomly assigned binary labels to all other vertices? This seems to be implicit in the **PPAD**-related papers.

The closest I've come from a search online is [Galperin/Widgerson's paper](http://www.math.ias.edu/~avi/PUBLICATIONS/MYPAPERS/GW84/GW84.pdf), but the circuit described there takes two vertex labels and returns a Boolean answer to "Are these vertices adjacent?"

So, how would you design a polynomially-sized circuit of an exponentially-sized graph that takes an *n*-bit input and outputs the *n*-bit label of its predecessor or successor, respectively? Or even, does someone know of a resource that explains this well?

**Tags:** reference-request, combinatory-logic, graph-theory, ppad


---

## 2 answers

### Answer by username_2 on 2010-08-16. Score: 22 | Accepted answer

Your question seems to be asking: how does one represent arbitrary graphs (or even arbitrary path graphs) as a circuit of polynomial size? The answer is, you don't. The number of different path graphs with 2n vertices is (2n)!, far more than the number of different circuits with nc gates (exponential in nc log n). So almost all graphs with this many vertices cannot be represented by a succinct circuit.

Therefore, as you hint, in some sense only graphs that have a high degree of structure can be represented in this way. That's what makes complexity classes like PPAD interesting: despite the structure that we know the input graphs to the EOL problem must have, we don't seem to know how to take advantage of the structure to solve the problem efficiently.

If I'm misunderstanding your question and you're really asking: how does one make a circuit that even meets the input requirements for EOL, for even a very highly structured graph: try the path graph that connects vertex x (considered as a number in binary) to x-1 and x+1, with ends at zero and at 2^n-1. Or if you want something less trivial that seems more difficult to solve EOL for: let E and D be the encryption and decryption functions for a fixed key in your favorite cryptosystem, let the neighbors of x in the graph be E(x) and D(x), and let the ends of the line be 0 and D(0).


---

### Answer by username_1 on 2010-08-16. Score: 12

Since most graphs on n vertices are Kolmogorov-random, they cannot be described by a circuit (or any other program) that is significantly smaller than the graph itself. (If you don't know what Kolmogorov-random means, you can basically take the conclusion of the previous sentence as its definition. Then rely on the fact that almost all strings are Kolmogorov-random.)

Although I'm not intimately familiar with the works you cited, my guess is that they are always talking about graphs-described-by-circuits. In other words, by focusing on the circuits, they are essentially restricting their attention to the class of graphs that do have succinct circuits (whose size is logarithmic in the size of the graph).


---

