tag:blogger.com,1999:blog-3722233.post3330999190670044401..comments2022-11-23T12:43:47.064-06:00Comments on Computational Complexity: Barrington's TheoremLance Fortnowhttp://www.blogger.com/profile/06752030912874378610noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-3722233.post-53447728189028479692008-11-13T06:18:00.000-06:002008-11-13T06:18:00.000-06:00Here is another on-line proof of Barrington's Theo...Here is another on-line proof of Barrington's Theorem: http://www.cs.rutgers.edu/~allender/538/notes.htmlAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-70065429874017160682008-11-11T15:20:00.000-06:002008-11-11T15:20:00.000-06:00The PDF link on Bill's site is actually to the JCS...The PDF link on Bill's site is actually to the JCSS paper rather than the conference version as Bill says on the linking page. Thanks for putting this up, Bill, and sorry that I've been remiss in dealing with this. Lance's link is also to a PDF of the book chapter. So the proof I just posted is redundant, but it might be useful as a more compressed "elevator conversation" version.<BR/><BR/>Commenter rgrig: Yes, the size of a branching program is the number of nodes, and in a constant-width program this is linear in the number of edges and in the number of levels. The latter is the "length" of one of my algebraic programs.<BR/><BR/>Paul is of course right about BDD's versus branching programs. As I said in the paper, the model was originally due to C. Y. Lee in 1959, who called them "binary decision programs". (It's sometimes credited to Masek's 1976 MIT master's thesis, but Masek references Lee, and Lee only references Shannon 1948 as a competing model.)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-56981341302394771122008-11-11T15:03:00.000-06:002008-11-11T15:03:00.000-06:00Well, this is embarrassing!Bill's been nagging me ...Well, this is embarrassing!<BR/><BR/>Bill's been nagging me about this for a while, and with the question hitting the big time here I finally went to check and it appears that <I>I don't have an electronic copy!</I>. It was my first paper, and I've switched computers a few times since then, and somewhere along the line it seems that I didn't preserve stuff from MIT. I seem to have everything going back to my <I>second</I> paper, Barrington-Therien STOC 1987, but no STOC, JCSS, or thesis version of Barrington 1986.<BR/><BR/>As Lance pointed out, the proof is in the Boppana-Sipser survey from the Handbook of TCS, and also in the Wegener book that Paul mentioned. And JCSS is in a lot of libraries. There's even a Russian translation of the JCSS paper. But none of this is electronic!<BR/><BR/>OK, if I write it here then there will be at least one proof on the internet. Define an instruction over S_5 to be a triple (i,sigma,tau) where i is the index of one of the n boolean inputs and sigma and tau are permutations in S_5. The instruction (i,sigma,tau) evaluates to sigma if x_i is true and to tau if x_i is false. A program is a sequence of instructions, and it evaluations to the product of the values of its instructions. The theorem is that if you have a boolean circuit C of fan-in two and depth d, and sigma is any 5-cycle in S_5, there is a program of length at most 4^d that evaluates to sigma if C evaluates to true and to the identity if C evaluates to false. It should be obvious how to convert the program into a width-5 branching program as Lance defined. (My real contribution, I think, was to define this "M-program" model that captures all the interesting power of constant-width branching programs and can be looked at algebraically.)<BR/><BR/>Base case: C is an input or negated input, you can make a program of one instruction that evaluates to just what you want.<BR/><BR/>Independence with respect to sigma: If sigma and tau are both five-cycles and you have a program that evaluates to sigma if C is true and to e if C is false, find a permuation gamma so that tau is <BR/>gamma times sigma times gamma^{-1}. Then multiply both permutations in the first instruction by gamma on the left, and both permutations in the last instruction by gamma^{-1} on the right. The new program has the same length as the old but produces tau if C is true and e if C is false.<BR/><BR/>Negation case: If program P evaluates to sigma if C is true and to e if C is false, multiply both permutations of the last instruction on the right by sigma^{-1}. The new program has the same length as the old and evaluates to e if C is true and to sigma^{-1} (a five-cycle) if C is false. By the previous lemma you can replace sigma^{-1} by any desired five-cycle.<BR/><BR/>Induction case for AND (OR is not needed because you have negation already): Given circuits C and D you want a program that evaluates to sigma if C and D are both true and to e otherwise. By the inductive hypothesis you have programs P, P', Q, and Q' of length at most 4^d each such that:<BR/><BR/>P evaluates to (12345) if C is true, to e otherwise.<BR/><BR/>Q evaluates to (13542) if D is true, to e otherwise.<BR/><BR/>P' evaluates to (54321) if C is true, to e otherwise.<BR/><BR/>Q' evalautes to (24531) if D is true, to e otherwise.<BR/><BR/>You can check that PQP'Q' evaluates to (13254) if C and D are both true, and to e otherwise. By the lemma above, this five-cycle is as good as any other, and the length of this program is at most 4^{d+1}.<BR/><BR/>Commenter dimpase's correction of Lance is right. The specific fact about S_5 used in the proof is that there are two elements that are conjugate to each other and to their commutator. This can only happen in a non-solvable group. The proof easily generalizes to programs over any non-solvable group -- it's probably simplest algebraically if G is a non-abelian simple group, and your inductive hypothesis is that for any circuit C of depth d and for any non-identity element sigma of G, you have a program of length at most c^d that evaluates to sigma if C is true and to e if C is false.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-44472204835816509772008-11-11T14:12:00.000-06:002008-11-11T14:12:00.000-06:00I remember seeing this result proved in the follow...I remember seeing this result proved in the following book:<BR/><BR/><BR/>Boolean Functions and Computation Models by Peter Clote and Evangelos KranakisAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-12618852999999413332008-11-11T12:44:00.000-06:002008-11-11T12:44:00.000-06:00Sounds like branching programs are what other peop...<I>Sounds like branching programs are what other people call binary decision diagrams.</I><BR/><BR/>BDD as commonly used represents only a special case of branching programs. On page 1 of his fascicle (the first page is an unnumbered page 0) Knuth makes the usual assumption that BDDs are both ordered and read-once. Barrington's theorem requires multiple accesses. <BR/><BR/>The book <BR/><A HREF="http://ls2-www.cs.uni-dortmund.de/monographs/bdd/" REL="nofollow">Branching Programs and Binary Decision Diagrams<BR/></A>by Ingo Wegener (referred to on page 56 of the Knuth fascicle you cite)<BR/>goes into a lot of detail on the relationship.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-34260387090829602072008-11-11T12:10:00.000-06:002008-11-11T12:10:00.000-06:00for the paper you can goto my course website for C...for the paper you can goto my course website for CMSC 752.<BR/><BR/>Bill GasarchGASARCHhttps://www.blogger.com/profile/06134382469361359081noreply@blogger.comtag:blogger.com,1999:blog-3722233.post-37423713762755681532008-11-11T12:06:00.000-06:002008-11-11T12:06:00.000-06:00Anyone aware of a (good) writeup of a proof of Bar...Anyone aware of a (good) writeup of a <EM>proof</EM> of Barrington's theorem? I, too, have been unable to get a copy of Barrington's journal version, and I have not yet seen lecture notes or a textbook that covers it.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-43799484799913467682008-11-11T09:18:00.000-06:002008-11-11T09:18:00.000-06:00the existence of that \sigma and \tau in S_5 just...the existence of that \sigma and \tau in S_5 just means that S_5 is not commutative. Non-solvability is less trivial than that: first, you generate the commutator subgroup H (i.e. the subgroup generated by all the expressions xyx^{-1}y^{-1}, for x,y in S_5.)<BR/>Then you generate the commutator subgroup H' of H, etc. If in the end you get a trivial group, your group is solvable. Otherwise, it is not. In fact, here H=A_5, the group of even permutations of 5 symbols, and H'=H.dimpasehttps://www.blogger.com/profile/14596969929730094920noreply@blogger.comtag:blogger.com,1999:blog-3722233.post-41806571520323655882008-11-11T08:56:00.000-06:002008-11-11T08:56:00.000-06:00Does "polynomial-size" mean that the number of nod...Does "polynomial-size" mean that the number of nodes and edges is polynomial in the number of variables?rgrighttps://www.blogger.com/profile/02991214367108471744noreply@blogger.comtag:blogger.com,1999:blog-3722233.post-30480353647981762292008-11-11T07:31:00.000-06:002008-11-11T07:31:00.000-06:00Sounds like branching programs are what other peop...Sounds like branching programs are what other people call <A HREF="http://www-cs-faculty.stanford.edu/~knuth/fasc1b.ps.gz" REL="nofollow">binary decision diagrams</A>.rgrighttps://www.blogger.com/profile/02991214367108471744noreply@blogger.com