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
1ee892d6
Commit
1ee892d6
authored
1 year ago
by
Thibaut Pérami
Browse files
Options
Downloads
Patches
Plain Diff
Add missing Bind Scope for fin
parent
db81d6be
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!503
Add missing Bind Scope for fin
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+2
-0
2 additions, 0 deletions
CHANGELOG.md
stdpp/fin.v
+1
-0
1 addition, 0 deletions
stdpp/fin.v
tests/fin.ref
+0
-0
0 additions, 0 deletions
tests/fin.ref
tests/fin.v
+6
-0
6 additions, 0 deletions
tests/fin.v
with
9 additions
and
0 deletions
CHANGELOG.md
+
2
−
0
View file @
1ee892d6
...
...
@@ -69,6 +69,8 @@ longer supported by this release.
`Fixpoint f (t : gtest) := let 'GTest ts := t in map_fold (λ _ t', plus (f t')) 1 ts`
.
-
Make
`fin`
number literal notations work with numbers above 10. (by Thibaut
Pérami)
-
Bind
`fin`
type to
`fin`
scope, so function taking a
`fin`
as argument will
implicitly parse it in
`fin`
scope (by Thibaut Pérami).
-
Change premise
`Equivalence`
into
`PreOrder`
for
`set_fold_proper`
.
-
Weaken
`Proper`
premises of
`set_ind`
,
`set_fold_ind`
,
`set_fold_proper`
. If
you use
`solve_proper`
to solve these premises, no change should be needed. If
...
...
This diff is collapsed.
Click to expand it.
stdpp/fin.v
+
1
−
0
View file @
1ee892d6
...
...
@@ -17,6 +17,7 @@ Notation FS := Fin.FS.
Declare
Scope
fin_scope
.
Delimit
Scope
fin_scope
with
fin
.
Bind
Scope
fin_scope
with
fin
.
Global
Arguments
Fin
.
FS
_
_
%
fin
:
assert
.
(** Allow any non-negative number literal to be parsed as a [fin]. For example
...
...
This diff is collapsed.
Click to expand it.
tests/fin.ref
0 → 100644
+
0
−
0
View file @
1ee892d6
This diff is collapsed.
Click to expand it.
tests/fin.v
0 → 100644
+
6
−
0
View file @
1ee892d6
From
stdpp
Require
Import
fin
.
Definition
f
n
m
(
p
:
fin
n
)
:=
m
<
p
.
Lemma
test
:
f
47
13
32
.
Proof
.
vm_compute
.
lia
.
Qed
.
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