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
Merge requests
!312
add binder_list
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add binder_list
ralf/binder_list
into
master
Overview
7
Commits
1
Pipelines
1
Changes
1
All threads resolved!
Show all comments
Merged
Ralf Jung
requested to merge
ralf/binder_list
into
master
3 years ago
Overview
7
Commits
1
Pipelines
1
Changes
1
All threads resolved!
Show all comments
Expand
another bit from Simuliris
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
42cdeefa
1 commit,
3 years ago
1 file
+
7
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
theories/binders.v
+
7
−
0
Options
@@ -19,6 +19,13 @@ Inductive binder := BAnon | BNamed :> string → binder.
Bind
Scope
binder_scope
with
binder
.
Notation
"<>"
:=
BAnon
:
binder_scope
.
(** [binder_list] matches [option_list]. *)
+4
Definition
binder_list
(
b
:
binder
)
:
list
string
:=
match
b
with
|
BAnon
=>
[]
|
BNamed
s
=>
[
s
]
end
.
Global
Instance
binder_dec_eq
:
EqDecision
binder
.
Proof
.
solve_decision
.
Defined
.
Global
Instance
binder_inhabited
:
Inhabited
binder
:=
populate
BAnon
.
Loading