Section EXTEN.
Variable valu1: valuation.
Variable upto: valnum.
Variable valu2: valuation.
Hypothesis AGREE: valu_agree valu1 valu2 upto.
Variable ge: genv.
Variable sp: val.
Variable rs: regset.
Variable m: mem.
End EXTEN.
Ltac splitall := repeat (match goal with |- _ /\ _ => split end).

Lemma find_rhs_sound:
forall n rh r valu ge sp rs m,
find_rhs n rh = Some r ->
numbering_holds valu ge sp rs m n ->
exists v, rhs_eval_to valu ge sp m rh v /\ Val.lessdef v rs#r.