Commit 72bf1989 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Merge branch 'inh-string' into 'master'

Strings are inhabited

See merge request iris/stdpp!70
parents 53e311e5 a5a851f5
Pipeline #16773 passed with stage
in 11 minutes and 8 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment