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 reg_valnum_sound:
forall n v r valu ge sp rs m,
reg_valnum n v = Some r ->
numbering_holds valu ge sp rs m n ->
rs#r = valu v.