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
8b17ca72
Commit
8b17ca72
authored
2 years ago
by
Ralf Jung
Browse files
Options
Downloads
Plain Diff
Merge branch 'robbert/issue_139' into 'master'
Set `Hint Mode` for `FinSet`. Closes #139 See merge request
iris/stdpp!379
parents
ebb89887
54a2f992
No related branches found
No related tags found
1 merge request
!379
Set `Hint Mode` for `FinSet`.
Pipeline
#65930
passed
2 years ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+2
-0
2 additions, 0 deletions
CHANGELOG.md
tests/gmap.v
+7
-0
7 additions, 0 deletions
tests/gmap.v
theories/base.v
+2
-0
2 additions, 0 deletions
theories/base.v
with
11 additions
and
0 deletions
CHANGELOG.md
+
2
−
0
View file @
8b17ca72
...
@@ -18,6 +18,8 @@ Coq 8.11 is no longer supported.
...
@@ -18,6 +18,8 @@ Coq 8.11 is no longer supported.
-
Rename "unsealing" lemmas from
`_eq`
to
`_unseal`
. This affects
`ndot_eq`
and
-
Rename "unsealing" lemmas from
`_eq`
to
`_unseal`
. This affects
`ndot_eq`
and
`nclose_eq`
. These unsealing lemmas are internal, so in principle you should
`nclose_eq`
. These unsealing lemmas are internal, so in principle you should
not rely on them.
not rely on them.
-
Declare
`Hint Mode`
for
`FinSet A C`
so that
`C`
is input, and
`A`
is output
(i.e., inferred from
`C`
).
## std++ 1.7.0 (2022-01-22)
## std++ 1.7.0 (2022-01-22)
...
...
This diff is collapsed.
Click to expand it.
tests/gmap.v
+
7
−
0
View file @
8b17ca72
...
@@ -82,3 +82,10 @@ Proof.
...
@@ -82,3 +82,10 @@ Proof.
Fail
progress
simplify_eq
.
Fail
progress
simplify_eq
.
done
.
done
.
Qed
.
Qed
.
(** Test case for issue #139 *)
Lemma
test_issue_139
(
m
:
gmap
nat
nat
)
:
∃
x
,
x
∉
dom
m
.
Proof
.
destruct
(
exist_fresh
(
dom
m
));
eauto
.
Qed
.
This diff is collapsed.
Click to expand it.
theories/base.v
+
2
−
0
View file @
8b17ca72
...
@@ -1468,6 +1468,8 @@ Class FinSet A C `{ElemOf A C, Empty C, Singleton A C, Union C,
...
@@ -1468,6 +1468,8 @@ Class FinSet A C `{ElemOf A C, Empty C, Singleton A C, Union C,
elem_of_elements
(
X
:
C
)
x
:
x
∈
elements
X
↔
x
∈
X
;
elem_of_elements
(
X
:
C
)
x
:
x
∈
elements
X
↔
x
∈
X
;
NoDup_elements
(
X
:
C
)
:
NoDup
(
elements
X
)
NoDup_elements
(
X
:
C
)
:
NoDup
(
elements
X
)
}
.
}
.
Global
Hint
Mode
FinSet
-
!
-
-
-
-
-
-
-
-
:
typeclass_instances
.
Class
Size
C
:=
size
:
C
→
nat
.
Class
Size
C
:=
size
:
C
→
nat
.
Global
Hint
Mode
Size
!
:
typeclass_instances
.
Global
Hint
Mode
Size
!
:
typeclass_instances
.
Global
Arguments
size
{_
_}
!
_
/
:
simpl
nomatch
,
assert
.
Global
Arguments
size
{_
_}
!
_
/
:
simpl
nomatch
,
assert
.
...
...
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