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
Package Registry
Model registry
Operate
Terraform modules
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
Thibaut Pérami
stdpp
Commits
b920e707
Verified
Commit
b920e707
authored
4 years ago
by
Tej Chajed
Browse files
Options
Downloads
Patches
Plain Diff
Replace unused pattern variables with underscore
Addresses new unused-pattern-matching-variable warning on Coq master.
parent
e88411b5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/coPset.v
+1
-1
1 addition, 1 deletion
theories/coPset.v
theories/hlist.v
+2
-2
2 additions, 2 deletions
theories/hlist.v
with
3 additions
and
3 deletions
theories/coPset.v
+
1
−
1
View file @
b920e707
...
...
@@ -26,7 +26,7 @@ Fixpoint coPset_wf (t : coPset_raw) : bool :=
|
coPLeaf
_
=>
true
|
coPNode
true
(
coPLeaf
true
)
(
coPLeaf
true
)
=>
false
|
coPNode
false
(
coPLeaf
false
)
(
coPLeaf
false
)
=>
false
|
coPNode
b
l
r
=>
coPset_wf
l
&&
coPset_wf
r
|
coPNode
_
l
r
=>
coPset_wf
l
&&
coPset_wf
r
end
.
Arguments
coPset_wf
!
_
/
:
simpl
nomatch
,
assert
.
...
...
This diff is collapsed.
Click to expand it.
theories/hlist.v
+
2
−
2
View file @
b920e707
...
...
@@ -22,12 +22,12 @@ Definition htail {A As} (xs : hlist (tcons A As)) : hlist As :=
Fixpoint
hheads
{
As
Bs
}
:
hlist
(
tapp
As
Bs
)
→
hlist
As
:=
match
As
with
|
tnil
=>
λ
_,
hnil
|
tcons
A
As
=>
λ
xs
,
hcons
(
hhead
xs
)
(
hheads
(
htail
xs
))
|
tcons
_
_
=>
λ
xs
,
hcons
(
hhead
xs
)
(
hheads
(
htail
xs
))
end
.
Fixpoint
htails
{
As
Bs
}
:
hlist
(
tapp
As
Bs
)
→
hlist
Bs
:=
match
As
with
|
tnil
=>
id
|
tcons
A
As
=>
λ
xs
,
htails
(
htail
xs
)
|
tcons
_
_
=>
λ
xs
,
htails
(
htail
xs
)
end
.
Fixpoint
himpl
(
As
:
tlist
)
(
B
:
Type
)
:
Type
:=
...
...
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