beyond np: the work and legacy of larry stockmeyer lance fortnow university of chicago

113
Beyond NP: The Work Beyond NP: The Work and and Legacy of Larry Legacy of Larry Stockmeyer Stockmeyer Lance Fortnow Lance Fortnow University of Chicago University of Chicago

Post on 18-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Beyond NP: The Work andBeyond NP: The Work andLegacy of Larry StockmeyerLegacy of Larry Stockmeyer

Lance FortnowLance Fortnow

University of ChicagoUniversity of Chicago

Page 2: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Larry Joseph StockmeyerLarry Joseph Stockmeyer

1948 – Born in Indiana1948 – Born in Indiana 1974 – MIT Ph.D.1974 – MIT Ph.D. IBM Research at IBM Research at

Yorktown and Yorktown and Almaden for most of Almaden for most of his careerhis career

82 Papers (11 JACM)82 Papers (11 JACM)– 49 Distinct Co-Authors49 Distinct Co-Authors

1996 – ACM Fellow1996 – ACM Fellow Died July 31, 2004Died July 31, 2004

Page 3: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

The UniverseThe Universe

Page 4: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Computer of ProtonsComputer of Protons

Page 5: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

The UniverseThe Universe

11,000,000,000 Light Years

Page 6: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Computer of ProtonsComputer of Protons

Radius 10-15 Meters

Page 7: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Computing with the UniverseComputing with the Universe

Universe can only have 10Universe can only have 10123 123 proton gates.proton gates. Consider the true sentences of weak Consider the true sentences of weak

monadic second-order theory of the natural monadic second-order theory of the natural numbers with successor (EWS1S).numbers with successor (EWS1S). A A B B x (x x (x A A x+1 x+1 B) B)

Cannot solve EWS1S on inputs of size 616 Cannot solve EWS1S on inputs of size 616 in universe with proton-sized gates.in universe with proton-sized gates.– Stockmeyer Ph.D. Thesis 1974Stockmeyer Ph.D. Thesis 1974– Stockmeyer-Meyer JACM 2002Stockmeyer-Meyer JACM 2002

Page 8: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

The UniverseThe Universe

11,000,000,000 Light Years

Page 9: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

The UniverseThe Universe

78,000,000,000 Light Years

Page 10: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Computing with the UniverseComputing with the Universe

Universe can have 10Universe can have 10123 123 proton gates.proton gates.

Page 11: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Computing with the UniverseComputing with the Universe

Universe can have Universe can have 3.5*3.5*1010121255 proton gates.proton gates.

Page 12: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Computing with the UniverseComputing with the Universe

Universe can have Universe can have 3.5*3.5*1010121255 proton gates.proton gates. Cannot solve EWS1S on inputs of size 616 Cannot solve EWS1S on inputs of size 616

in universe with proton-sized gates.in universe with proton-sized gates.

Page 13: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Computing with the UniverseComputing with the Universe

Universe can have Universe can have 3.5*3.5*1010121255 proton gates.proton gates. Cannot solve EWS1S on inputs of size 61Cannot solve EWS1S on inputs of size 6199

in universe with proton-sized gates.in universe with proton-sized gates.

Page 14: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Science Fiction?Science Fiction?

The complexity of algorithms The complexity of algorithms tax even the resources of sixty tax even the resources of sixty billion gigabits---or of a billion gigabits---or of a universe full of bits; Meyer and universe full of bits; Meyer and Stockmeyer had proved, long Stockmeyer had proved, long ago, that, regardless of ago, that, regardless of computer power, problems computer power, problems existed which could not be existed which could not be solved in the life of the solved in the life of the universe.universe.

Page 15: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of Complexity

Page 16: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of ComplexityTuring-Church-Kleene-Post 1936

ComputablyEnumerable

Computable

Page 17: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of Complexity

ComputablyEnumerable

Page 18: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of ComplexityKleene 1956

ComputablyEnumerable

Regular LanguagesFinite Automata

Page 19: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of ComplexityChomsky Hierarchy 1956

ComputablyEnumerable

Regular LanguagesFinite Automata

Page 20: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of ComplexityChomsky Hierarchy 1956

ComputablyEnumerable

Unrestricted Grammars

Regular LanguagesFinite Automata

Regular Grammars

Context-Free GrammarsPush-Down Automata

Context-Sensitive GrammarsLinear-Bounded Automata

Page 21: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Real Computers Real Computers

Page 22: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Faster ComputersFaster Computers

Page 23: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of Complexity

ComputablyEnumerable

Computable

Page 24: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of Complexity

Page 25: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of Complexity

Computable

Page 26: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of ComplexityHartmanis-Stearns 1965

Computable

Page 27: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of ComplexityHartmanis-Stearns 1965

Computable

TIME(n2)

Page 28: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of ComplexityHartmanis-Stearns 1965

Computable

TIME(n2)

TIME(2n)

TIME(n5)

Page 29: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of ComplexityHartmanis-Stearns 1965

TIME(n)

Computable

Page 30: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Limitations of DTIME(t(n))Limitations of DTIME(t(n))

Not Machine Independent.Not Machine Independent. Separations are by diagonalization and not Separations are by diagonalization and not

by natural problems.by natural problems. No clear notion of efficient computation.No clear notion of efficient computation.

Page 31: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of ComplexityCobham 1964 Edmonds 1965

Computable

Page 32: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of ComplexityCobham 1964 Edmonds 1965

Computable

P=DTIME(nk)

Page 33: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of ComplexityCobham 1964 Edmonds 1965

Computable

P=DTIME(nk)Matching

Page 34: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of Complexity

Computable

P

Page 35: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Evolution of ComplexityEvolution of Complexity

Computable

P

Cook 1971 Levin 1973 Karp 1972

NPSAT Clique Partition Max Cut

Page 36: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

State of Complexity 1972State of Complexity 1972

Computable

P

NP

Page 37: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Enter Larry StockmeyerEnter Larry Stockmeyer

January 1972 – Bachelors/Masters at MITJanuary 1972 – Bachelors/Masters at MIT– Bounds on Polynomial Evaluation AlgorithmsBounds on Polynomial Evaluation Algorithms

Can we find natural hard problems?Can we find natural hard problems?– Diagonalization methods do not lead to natural Diagonalization methods do not lead to natural

problems.problems.– There are natural NP-complete problems but There are natural NP-complete problems but

cannot prove them not in P.cannot prove them not in P.– With Advisor Albert MeyerWith Advisor Albert Meyer

Page 38: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Regular Expressions with SquaringRegular Expressions with Squaring

(0+1)*00(0+1)*00(0+1)*(0+1)*00(0+1)*00(0+1)*– All strings with two sets of consecutive zeros.All strings with two sets of consecutive zeros.

Allow Squaring operator: rAllow Squaring operator: r22=rr=rr (0+1)*(0(0+1)*(022(0+1)*)(0+1)*)22

No more expressive power but can be much No more expressive power but can be much shorter when used recursively.shorter when used recursively.– ((((((0((((((022))22))22))22))22))22)= )= 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Page 39: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Meyer-Stockmeyer 1972Meyer-Stockmeyer 1972

Computable

P

NP

REGSQ = { R | L(R) *}

EXPSPACEREGSQ

PSPACE

Page 40: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Regular Expressions with SquaringRegular Expressions with Squaring

Meyer and Stockmeyer, “The Equivalence Meyer and Stockmeyer, “The Equivalence Problem for Regular Expressions with Problem for Regular Expressions with Squaring Requires Exponential Space” – Squaring Requires Exponential Space” – SWAT 1972SWAT 1972

MINIMALMINIMAL– Set of Boolean formulas with no smaller Set of Boolean formulas with no smaller

equivalent formula.equivalent formula.

Page 41: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Meyer-Stockmeyer 1972Meyer-Stockmeyer 1972

Computable

P

NP

Complexity of MINIMAL

MINIMAL

Page 42: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

MINIMALMINIMAL

MINIMALMINIMAL– Set of Boolean formulas with no smaller Set of Boolean formulas with no smaller

equivalent formula.equivalent formula.

MINIMAL in NP?MINIMAL in NP?– Can’t check all smaller formulas.Can’t check all smaller formulas.

Page 43: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Meyer-Stockmeyer 1972Meyer-Stockmeyer 1972

Computable

P

NP

Complexity of MINIMAL

MINIMAL MINIMAL

Page 44: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

MINIMALMINIMAL

MINIMALMINIMAL– Set of Boolean formulas with no smaller Set of Boolean formulas with no smaller

equivalent formula.equivalent formula.

MINIMAL in NP?MINIMAL in NP?– Can’t check all smaller formulas.Can’t check all smaller formulas.

MINIMAL in NP?MINIMAL in NP?– Can’t check equivalence.Can’t check equivalence.

Page 45: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

MINIMALMINIMAL

MINIMALMINIMAL– Set of Boolean formulas with no smaller Set of Boolean formulas with no smaller

equivalent formula.equivalent formula.

MINIMAL in NP?MINIMAL in NP?– Can’t check all smaller formulas.Can’t check all smaller formulas.

MINIMAL in NP?MINIMAL in NP?– Can’t check equivalence.Can’t check equivalence.

MINIMAL is in NP with an “oracle” for MINIMAL is in NP with an “oracle” for equivalence.equivalence.

Page 46: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

MINIMAL in NP with Equivalence OracleMINIMAL in NP with Equivalence Oracle

(x y) (x y) z

Guess: x zEquivalence

(x z , (x y) (x y) z)

EQUIVALENT

Page 47: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

MINIMALMINIMAL

MINIMAL is in NP with an “oracle” for MINIMAL is in NP with an “oracle” for equivalence or non-equivalence.equivalence or non-equivalence.

Page 48: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

MINIMALMINIMAL

MINIMAL is in NP with an “oracle” for MINIMAL is in NP with an “oracle” for equivalence or non-equivalence.equivalence or non-equivalence.

Since non-equivalence is in NP we can Since non-equivalence is in NP we can solve MINIMAL in NP with NP oracle.solve MINIMAL in NP with NP oracle.

Page 49: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

MINIMALMINIMAL

MINIMAL is in NP with an “oracle” for MINIMAL is in NP with an “oracle” for equivalence or non-equivalence.equivalence or non-equivalence.

Since non-equivalence is in NP we can Since non-equivalence is in NP we can solve MINIMAL in NP with NP oracle.solve MINIMAL in NP with NP oracle.

Suggests a “hierarchy” above NP.Suggests a “hierarchy” above NP.

Page 50: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Meyer-Stockmeyer 1972Meyer-Stockmeyer 1972

P

NP

The Polynomial Time Hierarchy

NPNP

MINIMAL

Page 51: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Meyer-Stockmeyer 1972Meyer-Stockmeyer 1972

P

NP=1p

The Polynomial Time Hierarchy

NPNP

Page 52: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Meyer-Stockmeyer 1972Meyer-Stockmeyer 1972

P

NP=1p

The Polynomial Time Hierarchy

NPNP =2p

NP2p =3

p

NP3p =4

p

Page 53: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Meyer-Stockmeyer 1972Meyer-Stockmeyer 1972

P

1p=NP

The Polynomial Time Hierarchy

2p

3p

4p

co-NP=1p

co-NPNP=2pMINIMAL

co-NP2p =3

p

co-NP3p =4

p

Page 54: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Meyer-Stockmeyer 1972Meyer-Stockmeyer 1972

PNP=2p

1p=NP

The Polynomial Time Hierarchy

2p

3p

4p

co-NP=1p

2p

3p

4p

P=1p

P2p=3

p

P3p=4

p

PH

Page 55: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

Meyer-Stockmeyer, “The Equivalence Meyer-Stockmeyer, “The Equivalence Problem for Regular Expressions with Problem for Regular Expressions with Squaring Requires Exponential Space”, Squaring Requires Exponential Space”, SWAT 1972SWAT 1972

Stockmeyer, “The Polynomial-Time Stockmeyer, “The Polynomial-Time Hierarchy”Hierarchy”, , TCS, 1977.TCS, 1977.

Wrathall, “Complete Sets and the Wrathall, “Complete Sets and the Polynomial-Time Hierarchy”, TCS, 1977.Polynomial-Time Hierarchy”, TCS, 1977.

Page 56: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH

PSPACE

Page 57: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH

PSPACE

Page 58: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

2p

1p=NP

2p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p=3

p

4p

PH

PSPACE

Page 59: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

2p

1p=NP

2p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p=3

p

4p

PH

PSPACE

Page 60: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

2p

1p=NP

2p

Co-NP=1p

2p

P=1p

PH=3p=3

p=3p

PSPACE

Page 61: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

P=NP=PH

PSPACE

If P = NP

Page 62: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH

PSPACE

Page 63: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH

PSPACE

Page 64: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH=PSPACE

Page 65: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH=PSPACE

Page 66: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Properties of the HierarchyProperties of the Hierarchy

2p

1p=NP

2p

Co-NP=1p

2p

P=1p

PSPACE=PH=3p=3

p=3p

Page 67: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Quantifier CharacterizationQuantifier Characterization

A language L is in A language L is in 33P P if for all x in if for all x in **

x is in L x is in L u u v v w P(x,u,v,w)w P(x,u,v,w)

A language L is in A language L is in 33P P if for all x in if for all x in **

x is in L x is in L u u v v w P(x,u,v,w)w P(x,u,v,w)

Page 68: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Complete SetsComplete Sets

We define BWe define B33 by the set of true quantified by the set of true quantified

formula of the formformula of the form

xx11xx22xxnnyy11

yynnzz11zznn

(x(x11,,,x,xnn,y,y11,,,y,ynn,z,z11,,,z,znn) )

Page 69: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Complete Sets in the HierarchyComplete Sets in the Hierarchy

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH

PSPACE

B3

B4

B2

B1=SAT

B4

B3

B2

B1

Page 70: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Natural Complete SetsNatural Complete Sets

N-INEQ – Inequivalence of Integer N-INEQ – Inequivalence of Integer Expressions with union and addition.Expressions with union and addition.

(50+(40(50+(40202015))15))((2((25)+(75)+(79))9)) Meyer-Stockmeyer 1973 Stockmeyer 1977Meyer-Stockmeyer 1973 Stockmeyer 1977

– N-INEQ is N-INEQ is 22pp-complete-complete

Umans 1999Umans 1999– Succinct Set Cover is Succinct Set Cover is 22

pp-complete-complete Schafer 1999Schafer 1999

– Succinct VC Dimension is Succinct VC Dimension is 33pp-complete-complete

Page 71: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

The The -jump of the Hierarchy-jump of the Hierarchy

Meyer-Stockmeyer 1973, Stockmeyer 1977Meyer-Stockmeyer 1973, Stockmeyer 1977

BB==BBkk

Quantified Boolean Formula with an Quantified Boolean Formula with an unbounded number of alterations.unbounded number of alterations.

Now called QBF or TQBF.Now called QBF or TQBF.

Page 72: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Complexity of Complexity of -jump-jump

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH

PSPACE

B3

B4

B2

B1=SAT

B4

B3

B2

B1

B (TQBF)

Page 73: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

AlternationAlternation

Chandra-Kozen-Stockmeyer JACM 1981Chandra-Kozen-Stockmeyer JACM 1981 Chandra-Stockmeyer STOC 1976Chandra-Stockmeyer STOC 1976 Kozen FOCS 1976Kozen FOCS 1976

Page 74: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

AlternationAlternation

Acc Rej RejRejRejRejRejAccRej Rej Rej AccRejRej Rej Rej

Page 75: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

AlternationAlternation

Page 76: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

AlternationAlternation

Acc Acc Acc AccAcc Acc Acc Acc Acc Acc Acc AccAccAcc Acc Acc

Page 77: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

AlternationAlternation

Acc Acc Acc AccRejRej Rej Rej RejRejAccRejRejRej Rej Rej Rej

Page 78: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Alternation TheoremsAlternation Theorems

Chandra-Kozen-StockmeyerChandra-Kozen-Stockmeyer ATIME(t(n)) ATIME(t(n)) DSPACE(t(n)) DSPACE(t(n)) NSPACE(s(n)) NSPACE(s(n)) ATIME(s ATIME(s22(n))(n)) ASPACE(s(n)) = ASPACE(s(n)) = DTIME(cDTIME(cs(n)s(n)))

L P PSPACE EXP EXPSPACE =

AL

= = =

AP APSPACE AEXP

Page 79: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Alternate Characterization of Alternate Characterization of 22pp

Acc Acc Acc AccRejRej Rej Rej RejRejAccRejRejRej Rej Rej

Page 80: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Other Alternating ModelsOther Alternating Models

Log-Space HierarchyLog-Space Hierarchy– Collapses to NL (Immerman-Szelepcsényi ’88)Collapses to NL (Immerman-Szelepcsényi ’88)

Alternating Finite State AutomatonAlternating Finite State Automaton– Same power as DFA but doubly exponential Same power as DFA but doubly exponential

blowup in states.blowup in states.

Alternating Push-Down AutomatonAlternating Push-Down Automaton– Accepts exactly E=DTIME(2Accepts exactly E=DTIME(2O(n)O(n)))– Strictly stronger than PDAsStrictly stronger than PDAs– Inclusion due to Ladner-Lipton-Stockmeyer ’78Inclusion due to Ladner-Lipton-Stockmeyer ’78

Chandra-Kozen-Stockmeyer 1981

Page 81: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Alternation as a GameAlternation as a Game

Acc Acc Acc Acc

RejRej Rej Rej RejRejAccRejRejRej Rej Rej

Page 82: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Alternation as a GameAlternation as a Game

Acc Acc Acc Acc

RejRej Rej Rej RejRejAccRejRejRej Rej Rej

Page 83: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Alternation as a GameAlternation as a Game

Acc Acc Acc Acc

RejRej Rej Rej RejRejAccRejRejRej Rej Rej

Page 84: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Alternation as a GameAlternation as a Game

Acc Acc Acc Acc

RejRej Rej Rej RejRejAccRejRejRej Rej Rej

Page 85: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Alternation as a GameAlternation as a Game

Acc Acc Acc Acc

RejRej Rej Rej RejRejAccRejRejRej Rej Rej

Page 86: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Complete Sets Via GamesComplete Sets Via Games

Stockmeyer-Chandra 1979Stockmeyer-Chandra 1979 Can use problems based on games to get Can use problems based on games to get

completeness results for PSPACE and EXP.completeness results for PSPACE and EXP. Create a combinatorial game that is EXP-Create a combinatorial game that is EXP-

complete and thus not decidable in P.complete and thus not decidable in P. First complete sets for PSPACE and EXP First complete sets for PSPACE and EXP

not based on machines or logic.not based on machines or logic.

Page 87: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

CheckersCheckers

Page 88: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Generalized CheckersGeneralized Checkers

Page 89: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Generalized CheckersGeneralized Checkers

PSPACE-hardPSPACE-hard– Fraenkel et al. 1978Fraenkel et al. 1978

EXP-completeEXP-complete– Robson 1984Robson 1984

Page 90: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Approximate CoutingApproximate Couting

#P – Valiant 1979#P – Valiant 1979– Functions that count solutions of NP problems.Functions that count solutions of NP problems.– Permanent is #P-completePermanent is #P-complete

Stockmeyer 1985 building on Sipser 1983Stockmeyer 1985 building on Sipser 1983– Can approximate any #P function f in polytime Can approximate any #P function f in polytime

with an oracle for with an oracle for 22pp..

Toda 1991Toda 1991– Every language in PH reducible to #PEvery language in PH reducible to #P

Page 91: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Complexity of #PComplexity of #P

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH

PSPACE

P#PPerm

Approx-#P

Page 92: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Legacy of Larry StockmeyerLegacy of Larry Stockmeyer

Circuit ComplexityCircuit Complexity Infinite Hierarchy ConjectureInfinite Hierarchy Conjecture Probabilistic ComputationProbabilistic Computation Interactive Proof SystemsInteractive Proof Systems

Page 93: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Circuit ComplexityCircuit Complexity

Baker-Gill-Solovay ’75: Relativization PaperBaker-Gill-Solovay ’75: Relativization Paper– Open: Is PH infinite relative to an oracle?Open: Is PH infinite relative to an oracle?

Sipser ’83: Strong lower bounds on depth d Sipser ’83: Strong lower bounds on depth d circuits simulating depth d+1 circuits.circuits simulating depth d+1 circuits.

Yao ’85: “Separating the Polynomial-Time Yao ’85: “Separating the Polynomial-Time Hierarchy by Oracles”Hierarchy by Oracles”

Led to future circuit results by Håstad, Led to future circuit results by Håstad, Razborov, Smolensky and many others.Razborov, Smolensky and many others.

Page 94: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Infinite Hierarchy ConjectureInfinite Hierarchy Conjecture

Is the Polynomial-Time Hierarchy Infinite?Is the Polynomial-Time Hierarchy Infinite? Best Evidence: Yao’s result shows Best Evidence: Yao’s result shows

alternating log-time hierarchy infinite.alternating log-time hierarchy infinite. Many complexity resultsMany complexity results

– If PROP then the polynomial-time hierarchy If PROP then the polynomial-time hierarchy collapses.collapses.

– If PH is infinite then NOT PROP.If PH is infinite then NOT PROP.

Gives evidence for NOT PROP.Gives evidence for NOT PROP.

Page 95: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

If Hierarchy is Infinite If Hierarchy is Infinite

SAT does not have small circuits.SAT does not have small circuits.– Karp-Lipton 1980Karp-Lipton 1980

Graph isomorphism is not NP-complete.Graph isomorphism is not NP-complete.– Goldreich-Micali-Wigderson 1991Goldreich-Micali-Wigderson 1991– Goldwasser-Sipser 1989Goldwasser-Sipser 1989– Boppana-Håstad-Zachos 1987Boppana-Håstad-Zachos 1987

Boolean hierarchy is infinite.Boolean hierarchy is infinite.– Kadin 1988Kadin 1988

Page 96: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Boolean HierarchyBoolean Hierarchy

BHBH1 1 = NP= NP

BHBHk+1 k+1 = { B-C | B in NP and C in BH= { B-C | B in NP and C in BHkk}}

{ (G,k) | Max clique of G has size k} in BH{ (G,k) | Max clique of G has size k} in BH22

Kadin: If BHKadin: If BHkk=BH=BHk+1k+1 then PH= then PH=33pp..

Page 97: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Probabilistic ComputationProbabilistic Computation

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH

PSPACE

P#P

Page 98: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Probabilistic ComputationProbabilistic Computation

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH

PSPACE

P#P

BPP

Sipser-Gács-Lautemann 1983

Page 99: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Interactive Proof SystemsInteractive Proof Systems

Papadimitriou 1985 – Alternation between Papadimitriou 1985 – Alternation between nondeterministic and probabilistic playersnondeterministic and probabilistic players

Interactive Proof SystemsInteractive Proof Systems– Public Coin: Babai-Moran 1988Public Coin: Babai-Moran 1988– Private Coin: Goldwasser-Micali-Rackoff 1989Private Coin: Goldwasser-Micali-Rackoff 1989– Equivalent: Goldwasser-Sipser 1989Equivalent: Goldwasser-Sipser 1989

Page 100: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Interactive Proof SystemsInteractive Proof Systems

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH

PSPACE

P#P

BPP

Babai-Moran 1988

MAAM

Page 101: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Interactive Proof SystemsInteractive Proof Systems

2p

1p=NP

2p

3p

4p

Co-NP=1p

2p

3p

4p

P=1p

3p

4p

PH

PSPACE=IP

P#P

BPP

LFKN, Shamir 1992

MAAM

Page 102: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Interactive Proof SystemsInteractive Proof Systems

Hardness of ApproximationHardness of Approximation– Feige-Goldwasser-Lovász-Safra-Szegedy 1996Feige-Goldwasser-Lovász-Safra-Szegedy 1996

Probabilistically Checkable ProofsProbabilistically Checkable Proofs– NP in PCPs with O(log n) coins and constant NP in PCPs with O(log n) coins and constant

number of queries.number of queries.– Arora-Lund-Motwani-Sudan-Szegedy 1998Arora-Lund-Motwani-Sudan-Szegedy 1998

Interactive Proofs with Finite State VerifiersInteractive Proofs with Finite State Verifiers– Dwork and StockmeyerDwork and Stockmeyer

Page 103: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Other WorkOther Work

Larry Stockmeyer contributed much more to Larry Stockmeyer contributed much more to complexity and important work in other complexity and important work in other areas including automata theory and parallel areas including automata theory and parallel and distributed computing.and distributed computing.

Most Cited Article (CiteSeer):Most Cited Article (CiteSeer):– Dwork, Lynch, and Stockmeyer, “Consensus in Dwork, Lynch, and Stockmeyer, “Consensus in

the presence of partial synchrony” JACM, 1988.the presence of partial synchrony” JACM, 1988.

Page 104: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

ConclusionConclusion

What natural problems can’t we compute?What natural problems can’t we compute? Led to exciting work on polynomial-time Led to exciting work on polynomial-time

hierarchy, alternation, approximation and hierarchy, alternation, approximation and much more.much more.

These idea affect much of computational These idea affect much of computational complexity today and the legacy will complexity today and the legacy will continue for generations in the future.continue for generations in the future.

Page 105: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

RememberingRemembering

Other members of our community that we Other members of our community that we have recently losthave recently lost

Page 106: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

George DantzigGeorge Dantzig

Page 107: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Shimon EvenShimon Even

Page 108: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Seymour Ginsburg Seymour Ginsburg

Page 109: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Frank HararyFrank Harary

Page 110: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Leonid KhachiyanLeonid Khachiyan

Page 111: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Clemens LautemannClemens Lautemann

Page 112: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Carl SmithCarl Smith

Page 113: Beyond NP: The Work and Legacy of Larry Stockmeyer Lance Fortnow University of Chicago

Larry StockmeyerLarry Stockmeyer