Definition getStL n d (C : TPCCoh d) (pf : n \in nodes) : Log :=
match find log (getLocal n d) as f return _ = f -> _ with
Some v => fun epf => icast (sym_eq (cohStL C pf epf)) (dyn_val v)
| _ => fun epf => [::]
end (erefl _).

Lemma getStLE l this i j pf pf' :
forall (N : this \in cn :: pts),
getLocal this (getStatelet j l) = getLocal this (getStatelet i l) ->
@getStL _ (getStatelet j l) pf' (cn_pts_in N) =
@getStL _ (getStatelet i l) pf (cn_pts_in N).