Separation logic a tl;dr

$\{P\}\,\texttt{prog}\,\{\lambda\,v.\,Q\,v\}$


$P_{1}\,\ast\,P_{2}$

$(P_{1}\,\ast\,P_{2})\,H$


$P_{1}\,-\!\!\ast\,P_{2}$

$(P_{1}\,-\!\!\ast\,P_{2})\,H$


$ \{a \mapsto 1 \ast b \mapsto 2 \ast c \mapsto 3\}$

$ a := b + c $

$ \{\lambda\_.\,a \mapsto 5 \ast b \mapsto 2 \ast c \mapsto 3\} $

$ \{\top\}$

$ a := b + c $

$ \{\lambda\_.\,(b \mapsto 2 \ast c \mapsto 3) -\!\!\ast\, a \mapsto 5 \} $