Section GeneralLseg.
Context {V: Type}.
Variable listrep: list V -> val -> mpred.
Definition lseg (contents: list V) (x z: val) : mpred :=
ALL tcontents: list V, listrep tcontents z -* listrep (contents ++ tcontents) x.
End GeneralLseg.
End GeneralLseg.

Lemma body_YTree_add: semax_body Vprog Gprog f_YTree_add YTree_add_spec.