diff --git a/theories/strings.v b/theories/strings.v index 7c674d38ab38e54839a4c5572c595e96391b1e47..989dfa95a80d18b23a77696408e297ad052602d2 100644 --- a/theories/strings.v +++ b/theories/strings.v @@ -23,6 +23,8 @@ Proof. solve_decision. Defined. Instance string_app_inj : Inj (=) (=) (String.append s1). Proof. intros s1 ???. induction s1; simplify_eq/=; f_equal/=; auto. Qed. +Instance string_inhabited : Inhabited string := populate "". + (* Reverse *) Fixpoint string_rev_app (s1 s2 : string) : string := match s1 with