Online2020

From ifipwg21

Meeting Information

This short online meeting was organised by the chair and secretary for members and observers to get in touch during the corona pandemic.

Date

Tuesday 2020-12-01.

Participants

Participation is not recorded.

Technical presentations in scheduled order

Bernhard Moeller, Incorrectness Logic and its Algebra_

The talk will give a more (but not too) detailed review of Incorectness Logic, including some interesting examples. It goes on to look how the formalisation can be lifted to more abstract algebraic levels, to obtain better support by (automated) thorem provers. As far as only control structures and no data structures are considered, simple variants of the loop rules can be dealt with purely in first-order logic (e.g., using semirings). More complex (and hence more powerful) variants require fragments of second-order logic (e.g., quantales)

slides

Jeremy Gibbons, Continuations and Associativity_

There’s a well-known technique, originating with John Reynolds but popularized by Olivier Danvy, using continuation- passing style and defunctionalization to transform a recursive interpreter into a tail-recursive abstract machine. I think there is a missing link in this familiar story: an appeal to associativity, in order to further transform the result into a more efficient or more convenient form. This links to lots of things we already know: fast reverse, foldr and foldl, accumulating parameters, data refinement, zippers, clowns and jokers, calculating compilers.

slides

Annie Liu, Distributed Computing: Logic, Algorithms, and Programming_

A distributed system is a set of processes---or agents, parties, players, entities, and so on---interacting with each other, in the presence of many kinds of possible failures. As distributed systems and distributed modeling become increasingly indispensable, distributed algorithms and protocols become essential to the core of computer science.

This talk shows how complex distributed algorithms can be expressed at a high level, as we think logically in our daily lives, yet precisely, as we write programs to be directly executable, thanks to Python and our extension DistAlgo. We use well-known algorithms for classical and blockchain consensus as examples, Paxos and Bitcoin algorithms in particular, among dozens of algorithms and variants from over 100 different research and course projects.

We highlight the core of our work that allows us to better understand and improve well-known distributed algorithms: modeling live objects with both synchrony and asynchrony, expressing logical conditions as high-level queries, and optimizing expensive computations by incrementalization---the discrete analogue of differentiation in calculus.

slides

Copy of Zoom Chat

20:04:15    From Janis Voigtländer : Don't have a camera at the desk I'm currently sitting at. :-)
20:06:14    From Peter Hoefner : no worries, Janis.
20:20:38    From Jeremy Gibbons : So [x=0] (x:=x+2)''' [x>0] is false, because only even values of x are reachable
20:23:38    From Fritz Henglein : I don’t get it. Isn’t it true?  Just as [x=0] (x:=x+1)''' [x=0] is true?!
20:24:18    From Nicolas Wu : It's false because it states that we can reach '''any''' state where Q is true?
20:25:05    From Fritz Henglein : Got it.
20:30:17    From Peter Hoefner : let’s turn the mics off  to avoid echos.
20:46:18    From Pretnar, Matija : perhaps P_nthey could be called stages?
20:56:37    From Jose Oliveira : Any connection to program derivation by correctness enhancement by Jules, Mili et al?
21:03:26    From Carroll Morgan : !!!
21:08:43    From Carroll Morgan : BTW "!!!" means "applause".
21:12:23    From johan : I need to leave now I’m afraid. See you later
21:24:09    From Tarmo Uustalu : Why is this tail-recursive if the call flatten' t (on the left subtree) is not a tail call?
21:25:26    From Shin-Cheng Mu : flatten2’ t (\xs -> k (xs++ys)) is a tail call… isn’t it?
21:25:36    From Peter Hoefner : Tarmo, feel free to interrupt Jeremy and ask your question
21:25:43    From Pretnar, Matija : Because you do not extend the stack, but store the second call on the heap
21:25:58    From Jose Oliveira : Not yet tail-recursive, but moving on towards it (I think)
21:26:30    From Tarmo Uustalu : Ah I think I see...
21:35:12    From Carroll Morgan : I have to go now. Great to see everyone!
21:59:03    From Graham Hutton : Here’s the slides of the related talk at WG2.1 from a few years ago: http://www.cs.nott.ac.uk/~pszgmh/calculating.ppt
22:00:44    From Tarmo Uustalu : Also relating to associativity of bind and how to exploit it "on the fly", I wrote a paper for FLOPS 2012: Explicit binds: effortless efficiency with and without trees. 
22:00:58    From Tarmo Uustalu : I think this covers some of your tricks but not others.
22:01:36    From Hendrik Boom : I very much want to study these transformations in detail.  Could I get the slides?
22:01:40    From Tarmo Uustalu : https://doi.org/10.1007/978-3-642-29822-6_25
22:01:42    From Graham Hutton : For Jeremy: this paper is also relevant in case you haven’t seen it before: “notions of computations as monoids”.%BR%
22:02:02    From Peter Hoefner : we will put the slides on the grpup-wiki%BR%
22:02:02    From Graham Hutton : https://www.fceia.unr.edu.ar/~mauro/pubs/Notions_of_Computation_as_Monoids.pdf%BR%
22:02:07    From Tom Schrijvers : ^^^^^
22:02:27    From Janis Voigtländer : Jeremy, in our joint Haskell'13 paper (with Richard, Tom, Stefan), we introduce the same "generalised composition", I think. :-)
22:03:29    From Tarmo Uustalu : At one point there was a lot of fuss about Atze van der Ploeg's Reflection without remorse, but this is very complicated, I think my approach was simpler. 
22:03:35    From Tarmo Uustalu : Can we get your slides, Jeremy?
22:05:01    From Jose Oliveira : Yes, I would like to have the slides too - Peter, are you going to put them in the wg wiki?
22:05:15    From Tom Schrijvers : We will put the slides on the wiki.
22:11:43    From Graham Hutton : I need to leave now unfortunately.  I really enjoyed the two talks so far, much more than other online events I’ve been too.
22:46:12    From Sam Lindley : This paper expresses Paxos using an asynchronous session-typed process calculus: https://arxiv.org/abs/1902.01353 (doesn't capture full correctness, but at least provides some sanity checking)
22:52:34    From Wouter : Sorry - I have to run. Thanks for organizing this! It was good to see you all.
22:52:34    From Peter Hoefner : I am pretty sure I’ve seen other “Paxos in process algebra” papers … cannot find it right now
22:55:15    From Marcos Viera : I'm afraid I have to leave now. It was a very nice sort-of-meeting! Thank you!
22:57:14    From Tom Schrijvers : https://ifipwg21wiki.cs.kuleuven.be/IFIP21/Online2020
22:57:51    From Peter Hoefner : Thanks for setting this page up, Tom
23:00:36    From Pretnar, Matija : I am sorry but I need to go now. Thank you all for a great meeting!
23:03:10    From Alberto Pardo - InCo : Unfortunately I have to leave. I really enjoyed this online meeting and it was a pleasure to see you all! Thanks you!
23:04:40    From Brijesh Dongol : Here is a simple Paxos implementation in Elixir, which also seems very compact: https://github.com/365andreas/paxos-simple-implementation-elixir - but I don’t know anything about verification in these actor-based models.

-- Main.TomSchrijvers - 01 Dec 2020