Skip to content
Snippets Groups Projects
Verified Commit a5a851f5 authored by Paolo G. Giarrusso's avatar Paolo G. Giarrusso
Browse files

Strings are inhabited

parent 7b7ee122
No related branches found
No related tags found
1 merge request!70Strings are inhabited
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment