fact: Definition conv_for_array (v : Value) (t : StaticType) : Value := match v with | Ref loc => v | Num (I i) => match t with | PrimitiveType INT => v | PrimitiveType BOOLEAN => Bool (i2bool i) | PrimitiveType BYTE => Num (B (i2b i)) | PrimitiveType SHORT => Num (Sh (i2s i)) | _ => v end | _ => v end.
imports: Coq(List) Coq(Relation_Operators) Coq(DecidableType) Coq(FSetInterface)