Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Iris
stdpp
Commits
a5a851f5
Verified
Commit
a5a851f5
authored
5 years ago
by
Paolo G. Giarrusso
Browse files
Options
Downloads
Patches
Plain Diff
Strings are inhabited
parent
7b7ee122
No related branches found
No related tags found
1 merge request
!70
Strings are inhabited
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/strings.v
+2
-0
2 additions, 0 deletions
theories/strings.v
with
2 additions
and
0 deletions
theories/strings.v
+
2
−
0
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment