Decidability Classes for Mobile Agents Computing Pierre Fraigniaud - - PowerPoint PPT Presentation

decidability classes for mobile agents computing
SMART_READER_LITE
LIVE PREVIEW

Decidability Classes for Mobile Agents Computing Pierre Fraigniaud - - PowerPoint PPT Presentation

Decidability Classes for Mobile Agents Computing Pierre Fraigniaud CNRS and University Paris Diderot GRASTA-MAC 2015 October 19-23, 2015 - Montral *Joint work with Andrzej Pelc, Universit du Qubec en Outaouais, Canada 1 Algorithmic


slide-1
SLIDE 1

Pierre Fraigniaud CNRS and University Paris Diderot

Decidability Classes for Mobile Agents Computing

GRASTA-MAC 2015 October 19-23, 2015 - Montréal

1

*Joint work with Andrzej Pelc, Université du Québec en Outaouais, Canada

slide-2
SLIDE 2

Algorithmic achievements in mobile computing

Many algorithms for ‘construction/coordination’ tasks: rendezvous exploration intruder detection/search/capture fault-tolerance (byzantine agents) ‘black-hole’ search etc.

2

slide-3
SLIDE 3

but…

3

slide-4
SLIDE 4

Verification

  • 1. Designing a program together with its proof
  • 2. Verifying a given program a posteriori
  • 3. Verifying the execution at runtime:

Runtime verification

4

slide-5
SLIDE 5

Results I would love to see in the context of mobile computing

Theorem (Naor&Stockmeyer, 1995). If there exists a distributed randomized construction algorithm for L running in O(1) rounds, then there exists a distributed deterministic construction algorithm for L running in O(1) rounds. *** Require L ∈ LD to be locally decidable! ***

5

slide-6
SLIDE 6

6

A Scenario of Application Is the system satisfying predicate P?

slide-7
SLIDE 7

Construction vs. Decision

Language: L = {w ∈ {0,1}* satisfying predicate P} Construction: Given x, compute y s.t. (x,y) ∈ L Decision: Given x, decide whether x ∈ L (yes/no) Applications:

  • Self-reducibility for NPC languages in sequential

computing

  • Derandomization theorems in distributed

computing

  • Monitoring (distributed) systems

7

slide-8
SLIDE 8

Distributed Decision Rules

8

✔ ✖

Yes! Yes! Yes! Yes! Yes! Yes! Yes! No! Yes! Yes!

slide-9
SLIDE 9

Decision tasks

9

Is there an intruder in this building? Is there an exit in this labyrinth? Is this network planar? Network monitoring

slide-10
SLIDE 10

Decision classes (computability)

Configuration: C = (G,S,x) with S ⊆ V(G) and x: S ⟶ {0,1}* Language: L = { configurations } MAD = Mobile Agent Decision MAD = { L | ∃ mobile agent algorithm A deciding L } A decide L if and only if, for every configuration C: C ∈ L ⇔ every agent outputs yes

10

slide-11
SLIDE 11

Deciding vs. verifying

11

Fermat's conjecture Wiles' proof Decide Verify Oracle Certificate

  • r Proof
slide-12
SLIDE 12

P vs. NP

NP = Non-deterministic Polynomial L ∈ NP iff there is a poly-time algorithm A such that:

  • x ∈ L ⇒ ∃c, A(x,c) accepts
  • x ∉ L ⇒ ∀c, A(x,c) rejects

c is the certificate, or the proof.

12

slide-13
SLIDE 13

MAD vs. MAV

MAV = Mobile Agent Verification L ∈ MAV iff there is a mobile agent algorithm A such that:

  • (G,x) ∈ L ⇒ ∃c, A(G,S,x,c) leads all agents to accept
  • (G,x) ∉ L ⇒ ∀c, A(G,S,x,c) leads at least one agent to reject

c: S ⟶ {0,1}* is the certificate, or the proof A is a verifier, while the certificates are given by a prover.

13

slide-14
SLIDE 14

Applications

14

Black box Input Output Certification

  • Composition of algorithms
  • Termination (e.g., in self-stabilization)

(yi,ci) (yv,cv) (yu,cu) (yw,cw)

slide-15
SLIDE 15

Oracles

CL = class C with an oracle for language L Example: PSAT = poly-time with TM using an oracle for SAT. Extend to CX = UL∈X CL Typical oracles for MAD and MAV: #nodes #agents upper-bounds on n,k,…

15

slide-16
SLIDE 16

A Scenario of Application

16

slide-17
SLIDE 17

Synchronous Mobile Agents in Anonymous Networks

17

1 1 1 1 1 2 2 2 2 2 3 3 Network: Agents:

+

Communication whenever at the same node Mobile TM

slide-18
SLIDE 18
  • treesize ∈ MAD (perform DFS for 2(n-1) steps)
  • tree ∉ MAD (even path ∉ MAD1)
  • tree ∈ MAV (certificate = n)
  • nontree ∈ co-MAV

18

MAD vs. MAV & co-MAV

slide-19
SLIDE 19

Views and Quotient

19

1 1 1 1 1 1 2 2 2 2 2 2 3 3 2 2 2 2 2 2 3 1 1 1 1 1 1 3

(c)

<<<

2 1 2 1 2 1 3 3

Non Isomorphic Graphs Same Quotient quotient(G) = G/view

slide-20
SLIDE 20

Two Central Languages (i.e., Tasks)

20

  • quotient = { (G,S,H) | G/view = H }
  • nonquotient = { (G,S,H) | G/view ≠ H }

nonquotient ∈ MAV (views at distance |G/view|)

  • accompanied = {(G,S,x), |S|>1}

accompanied ∈ MAV (lead all nodes to same node)

slide-21
SLIDE 21

Main Result

L1 x L2 = { (G,S,(i,x)) | i ∈{1,2} and (G,S,x) ∈ Li } Theorem (F, Pelc, 2012). accompanied x nonquotient is MAV-complete (for ‘natural’ reduction). Corollary nonquotient is MAV1-complete.

21

slide-22
SLIDE 22

Case of a Single Agent

22

MAD

1

MAV1 co-MAV1

1

MADnonquotient

1

MAD#nodes

1

MAD map

Δ1

slide-23
SLIDE 23

Equalities and Separations

MAV1 ∩ co-MAV1 = MAD1 (test all certificates) MAV1 U co-MAV1 ⊂ MAD1NonQuotient cycle x nosun ∉ MAV1 U co-MAV1 cycle x nosun ∈ MAD1NonQuotient

23

slide-24
SLIDE 24

More separations

24

MAD1nonquotient ⊂ MAD1#nodes ⊂ MAD1map ⊂ All1

u v

{

slide-25
SLIDE 25

Concluding remarks

Objective: developing an embryo of computability theory for mobile agent computing. Formalize the informal notion of ‘initial knowledge’ Open problems:

  • Construction vs. decision for mobile agent computing?
  • Complexity theory? (What is the right measure?)
  • Role of randomization?
  • P. Fraigniaud and A. Pelc, Decidability Classes for Mobile

Agents Computing, In LATIN 2012.

  • E. Bampas and D. Ilcinkas, Problèmes vérifiables par agents

mobiles, In AlgoTel 2015.

25