Definition AsGame {A} f (a:A) : Comp (list (Bvector 256) * KV 256) := ret(f a).
Definition Generate_refactored state := AsGame (GenUpdate_original_core state).

(* Specifications: *)
Lemma Refactored kv n:
comp_spec (fun x y => x=y)
(@Generate _ HMAC_Bvec eqDecState kv n)