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 getStPE l n i j C C' pf :
n \in pts ->
getLocal n (getStatelet j l) = getLocal n (getStatelet i l) ->
@getStP n (getStatelet j l) C' pf = @getStP n (getStatelet i l) C pf.