Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
stdpp
Commits
a5a851f5
Verified
Commit
a5a851f5
authored
May 17, 2019
by
Paolo G. Giarrusso
Browse files
Strings are inhabited
parent
7b7ee122
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/strings.v
View file @
a5a851f5
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment