Handsome proof nets for MLL+Mix with forbidden transitions Nguyn L - - PowerPoint PPT Presentation

handsome proof nets for mll mix with forbidden transitions
SMART_READER_LITE
LIVE PREVIEW

Handsome proof nets for MLL+Mix with forbidden transitions Nguyn L - - PowerPoint PPT Presentation

. . . . . . . . . . . . . . Handsome proof nets for MLL+Mix with forbidden transitions Nguyn L Thnh Dng cole normale suprieure de Paris nltd@nguyentito.eu Trends in Linear Logic and Applications September 3, 2017


slide-1
SLIDE 1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Handsome proof nets for MLL+Mix with forbidden transitions

Nguyễn Lê Thành Dũng École normale supérieure de Paris nltd@nguyentito.eu Trends in Linear Logic and Applications September 3, 2017

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 1 / 21

slide-2
SLIDE 2

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Correctness criteria for MLL proof nets: a subject “explored to death1”?

Many correctness criteria already known Computational complexity is a solved problem

฀ Linear-time algorithms: parsing, dominator tree ฀ NL-completeness [Jacobé de Naurois and Mogbil, 2011]

However, much less is known about MLL with the Mix rule

฀ A while ago, I asked M. Pagani about references on MLL+Mix

proof nets…

฀ There is surprisingly little literature on this ฀ “it may be much more subtle than expected at fjrst sight” 1As aptly remarked by an anonymous reviewer. Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 2 / 21

slide-3
SLIDE 3

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Proof nets and algorithmic graph theory

Why don’t we juste use graph algorithms to check correctness?

฀ Proof nets are graph-like structures ฀ Correctness criteria are decision procedures ฀ Would let us leverage the work of algorithmists

Possible answer: the mainstream graph-theoretic toolbox wasn’t ready at the birth of linear logic

฀ As a result, an idiosyncratic combinatorics developed by the LL

community, e.g. paired graphs

Let us repair this missed opportunity now! This will allow us to determine the complexity of deciding correctness for MLL+Mix

฀ …and more! Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 3 / 21

slide-4
SLIDE 4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Proof nets and perfect matchings

In fact, there already is a graph-theoretic correctness criterion, from the article Handsome proof nets: perfect matchings and cographs [Retoré, 2003] Reduces correctness for MLL with Mix to absence of alternating cycle for a perfect matching Perfect matchings are a classical topic in graph theory and combinatorial optimisation Let us start from this point and dig deeper

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 4 / 21

slide-5
SLIDE 5

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Perfect matchings: reminder (1)

A perfect matching is a set of edges in an undirected graph such that each vertex is incident to exactly one edge in the matching Example below: blue edges form a perfect matching

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 5 / 21

slide-6
SLIDE 6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Perfect matchings: reminder (2)

An alternating path is a path

฀ without vertex repetitions ฀ which alternates between edges inside and outside the matching

Analogous notion of alternating cycle ∃ alternating cycle ⇔ the perfect matching is not unique

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 6 / 21

slide-7
SLIDE 7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Perfect matchings: reminder (2)

An alternating path is a path

฀ without vertex repetitions ฀ which alternates between edges inside and outside the matching

Analogous notion of alternating cycle ∃ alternating cycle ⇔ the perfect matching is not unique

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 6 / 21

slide-8
SLIDE 8

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Retoré’s R&B-graphs

  • ax
  • Correctness criterion: matching is unique, i.e. no alternating cycle

With this tweak, the matching edges are in bijection with the formulae of the proof structure

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 7 / 21

slide-9
SLIDE 9

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Retoré’s R&B-graphs

  • ax
  • Correctness criterion: matching is unique, i.e. no alternating cycle

With this tweak, the matching edges are in bijection with the formulae of the proof structure

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 7 / 21

slide-10
SLIDE 10

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

R&B-graphs: example (1)

  • ax

ax

  • Nguyễn L. T. D. (ENS Paris)

Proof nets with forbidden transitions TLLA 2017 8 / 21

slide-11
SLIDE 11

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

R&B-graphs: example (2)

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 9 / 21

slide-12
SLIDE 12

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

R&B-graphs: example (2)

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 9 / 21

slide-13
SLIDE 13

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

R&B-graphs: example (2)

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 9 / 21

slide-14
SLIDE 14

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

R&B-graphs: example (2)

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 9 / 21

slide-15
SLIDE 15

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Immediate consequences of R&B-graphs

Alternating cycles for perfect matchings can be found in linear time [Gabow et al., 2001] ⇒ Correctness for MLL+Mix can be decided in linear time

฀ First linear-time criterion for MLL+Mix ฀ Also works for MLL without Mix (by Euler–Poincaré…), and

simpler than other linear-time criteria: graph theory takes care of the diffjcult parts!

Also, a logspace reduction to the alternating cycle problem

฀ What about the converse? Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 10 / 21

slide-16
SLIDE 16

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Alternating cycle → MLL+Mix correctness (1)

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 11 / 21

slide-17
SLIDE 17

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Alternating cycle → MLL+Mix correctness (1)

A A⟂, B B⟂, C C⟂

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 11 / 21

slide-18
SLIDE 18

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Alternating cycle → MLL+Mix correctness (2)

A A⟂ B B⟂ C C⟂

ax ax ax

A⟂ B B⟂ C ⊗

  • Nguyễn L. T. D. (ENS Paris)

Proof nets with forbidden transitions TLLA 2017 12 / 21

slide-19
SLIDE 19

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Alternating cycle → MLL+Mix correctness (2)

A A⟂ B B⟂ C C⟂

ax ax ax

  • A⟂B
  • B⟂C

  • Nguyễn L. T. D. (ENS Paris)

Proof nets with forbidden transitions TLLA 2017 12 / 21

slide-20
SLIDE 20

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Alternating cycle → MLL+Mix correctness (2)

A A⟂ B B⟂ C C⟂

ax ax ax

  • A⟂B
  • B⟂C

  • Nguyễn L. T. D. (ENS Paris)

Proof nets with forbidden transitions TLLA 2017 12 / 21

slide-21
SLIDE 21

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Perfect matchings and sub-polynomial complexity

Reminder: NC is the class of problem effjciently computable in parallel (polylog(n) time with poly(n) processors)

฀ NL ⊆ NC

Finding an alternating cycle can be done in randomized NC (consequence of [Mulmuley et al., 1987]) Deterministic NC? Would solve an open problem from the 80’s Recently: deterministic quasi-NC [Svensson and Tarnawski, 2017]

฀ quasipolynomially many processors Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 13 / 21

slide-22
SLIDE 22

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

On the complexity of MLL+Mix correctness

Correctness for MLL+Mix is equivalent to the alternating cycle problem ⇒ MLL+Mix correctness ∈ NL is either false or very hard to prove Contrast with the NL-completeness of correctness for MLL

฀ Explains why many criteria for MLL, e.g. contractibility, cannot be

easily adapted to handle the Mix rule

Still, MLL+Mix correctness is in quasi-NC

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 14 / 21

slide-23
SLIDE 23

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Generalizing R&B-graphs to paired graphs

We can factorize Retoré’s correctness criterion as a composition of:

฀ the Danos–Regnier criterion ฀ a purely graph-theoretic construction on paired graphs ฀ (our tweak on axiom links helps)

As it turns out, alternating paths in a R&B-graph ∼ trails not crossing two paired edges consecutively

฀ A trail may repeat vertices, not edges ฀ Not always the same thing as paths in switchings! ฀ But they coincide for paired graphs coming from proof structures Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 15 / 21

slide-24
SLIDE 24

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Generalizing R&B-graphs to paired graphs

We can factorize Retoré’s correctness criterion as a composition of:

฀ the Danos–Regnier criterion ฀ a purely graph-theoretic construction on paired graphs ฀ (our tweak on axiom links helps)

As it turns out, alternating paths in a R&B-graph ∼ trails not crossing two paired edges consecutively

฀ A trail may repeat vertices, not edges ฀ Not always the same thing as paths in switchings! ฀ But they coincide for paired graphs coming from proof structures Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 15 / 21

slide-25
SLIDE 25

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Generalizing R&B-graphs to paired graphs

We can factorize Retoré’s correctness criterion as a composition of:

฀ the Danos–Regnier criterion ฀ a purely graph-theoretic construction on paired graphs ฀ (our tweak on axiom links helps)

As it turns out, alternating paths in a R&B-graph ∼ trails not crossing two paired edges consecutively

฀ A trail may repeat vertices, not edges ฀ Not always the same thing as paths in switchings! ฀ But they coincide for paired graphs coming from proof structures Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 15 / 21

slide-26
SLIDE 26

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Generalizing even further

Let’s consider paired graphs with non-disjoint pairs of edges And paths/trails which do not cross paired edges consecutively

฀ Pairs are forbidden transitions ฀ Very general notion of local constraints

Using R&B-graphs, we can fjnd a trail avoiding forbidden transitions between 2 vertices in linear time A new(?) result in graph theory NP-complete for paths avoiding forbidden transitions [Szeider, 2003]

฀ (Path: no repeated vertices) Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 16 / 21

slide-27
SLIDE 27

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

In summary

An application of graph theory to linear logic: MLL+Mix correctness…

฀ can be solved in linear time ฀ is probably harder (under logspace reductions) than without Mix

A result in graph theory taking inspiration from linear logic:

฀ an algorithm for fjnding trails avoiding forbidden transitions

Hopefully the start of fruitful interactions between these domains!

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 17 / 21

slide-28
SLIDE 28

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

More stufg I could not talk about

A graph-theoretic rephrasal of contracbitility and parsing criteria, in terms of rainbow paths in edge-colored graphs

฀ And edge-colored graphs are related to forbidden transitions… ฀ Preprint with all the graph theory stufg coming soon

An polynomial-time algorithm for computing the dependency graph

  • f [Bagnol et al., 2015], and thus the order of introduction of links in

a proof net

฀ Straightforward application of matching theory ฀ Relies crucially on the acyclicity property

A new correctness criterion for proof nets represented as cographs [Retoré, 2003] [Ehrhard, 2014]

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 18 / 21

slide-29
SLIDE 29

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

If time permits…

Ax Ax ⊗

  • Ccl

A Danos–Regnier paired graph

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 19 / 21

slide-30
SLIDE 30

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

If time permits…

Isomorphic to the R&B-graph seen earlier

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 19 / 21

slide-31
SLIDE 31

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

If time permits…

Recipe: take the graph with forbidden transitions and

฀ turn edges into matching edges ฀ turn vertices into cliques outside the matching ฀ delete non-matching edges corresponding to forbidden transitions

(here, paired edges)

This construction is actually related to a reduction from properly colored paths in 2-edge-colored graphs to alternating paths in perfect matchings

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 19 / 21

slide-32
SLIDE 32

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

References I

Bagnol, M., Doumane, A., and Saurin, A. (2015). On the dependencies of logical rules. Ehrhard, T. (2014). A new correctness criterion for MLL proof nets. Gabow, H. N., Kaplan, H., and Tarjan, R. E. (2001). Unique maximum matching algorithms. Hoang, T. M., Mahajan, M., and Thierauf, T. (2006). On the Bipartite Unique Perfect Matching Problem. Jacobé de Naurois, P. and Mogbil, V. (2011). Correctness of Linear Logic Proof Structures is NL-Complete. Mulmuley, K., Vazirani, U. V., and Vazirani, V. V. (1987). Matching is as easy as matrix inversion.

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 20 / 21

slide-33
SLIDE 33

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

References II

Retoré, C. (2003). Handsome proof-nets: perfect matchings and cographs. Svensson, O. and Tarnawski, J. (preprint, 2017). The Matching Problem in General Graphs is in Quasi-NC. Szeider, S. (2003). Finding paths in graphs avoiding forbidden transitions.

Nguyễn L. T. D. (ENS Paris) Proof nets with forbidden transitions TLLA 2017 21 / 21