aggregate programming through a soft modal logic

63
Aggregate Programming through a Soft Modal Logic Alberto Lluch Lafuente Based on joint work with Ugo Montanari (University of Pisa) Michele Loreti (University of Florence) Martin Rasmussen (DTU) LMU, May 24, 2016

Upload: alberto-lluch-lafuente

Post on 14-Apr-2017

243 views

Category:

Science


1 download

TRANSCRIPT

Aggregate�Programming�through�a�Soft�Modal�Logic��

Alberto�Lluch�Lafuente��

Based�on�joint�work�with�Ugo�Montanari�(University�of�Pisa)�

Michele�Loreti�(University�of�Florence)�Martin�Rasmussen�(DTU)��

LMU,May24,2016

LMU,May24,2016

Whatis“aggregateprogramming”?

foldr f z [] = z foldr f z (x:xs) = f x (foldr f z xs)

MPI_Reduce(&sum,...);

SELECT COUNT(*) FROM ...

LMU,May24,2016

Asoftmodallogicforaggregateprogramming

⟦ ⟧ ∃ ⟦ ⟧

⟦ ⟧ ∃ ⟦ ⟧

⟦ ⟧ ⋁ ⟦ ⟧

⟦ ⟧ 𝔹

⟦ ⟧ ∃ ⟦ ⟧

⟦ ⟧ ⋁ ⟦ ⟧

⟦ ⟧ 𝔹

⟦∃ ⟧ ⋁ ⟦ ⟧

⟦ ⟧ ∃ ⟦ ⟧

⟦ ⟧ ⋁ ⟦ ⟧

⟦ ⟧ 𝔹

⟦∃ ⟧ ⋁ ⟦ ⟧

⟦ ⟧ ∃ ⟦ ⟧

⟦ ⟧ ⋁ ⟦ ⟧

⟦ ⟧ 𝔹

⟦∃ ⟧ ⋁ ⟦ ⟧

LMU,May24,2016

Addingrecursion

⨆ ⨆

⨆ ⨆

⨆ ⨆

⨆ ⨆

⨆ ⨆

LMU,May24,2016

Combiningqueries

ϵ

⨆ ⨆

ϵ

⨆ ⨆

⨆ ⨆

⨆ ⨆

LMU,May24,2016

CoordinationOfAgents

LMU,May24,2016

GraphDataAnalytics

LMU,May24,2016

Distributedcomputations

⨆ ⨆

⨆ ⨆

⨆ ⨆

⨆ ⨆

⨆ ⨆

LMU,May24,2016

Wrappingup

QUESTIONS?��

[email protected]��

LMU,May24,2016