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
c4055887
Commit
c4055887
authored
2 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
avoid section variables in printed terms
parent
0a010579
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
test-normalizer.sed
+0
-2
0 additions, 2 deletions
test-normalizer.sed
tests/notation.v
+4
-2
4 additions, 2 deletions
tests/notation.v
with
4 additions
and
4 deletions
test-normalizer.sed
+
0
−
2
View file @
c4055887
...
...
@@ -6,5 +6,3 @@ s/subgoal/goal/g
/
^
File
/
d
# extra space removed in https://github.com/coq/coq/pull/16130
s
/
=
$
/
=
/
# delete "uses section variable" lines (https://github.com/coq/coq/pull/16208)
/
^
[^
]
+ uses section variables?
.*
\.
$
/
d
This diff is collapsed.
Click to expand it.
tests/notation.v
+
4
−
2
View file @
c4055887
From
stdpp
Require
Import
base
tactics
fin_maps
gmultiset
.
From
stdpp
Require
Import
base
tactics
fin_maps
gmap
gmultiset
.
(** Test parsing of variants of [(≡)] notation. *)
Lemma
test_equiv_annot_sections
`{
!
Equiv
A
,
!
Equivalence
(
≡@
{
A
})}
(
x
:
A
)
:
...
...
@@ -10,7 +10,9 @@ Proof. naive_solver. Qed.
(** Test that notations for maps with multiple elements can be parsed and printed correctly. *)
Section
map_notations
.
Context
`{
FinMap
nat
M
}
.
(* Avoiding section variables so output is not affected by
https://github.com/coq/coq/pull/16208 *)
Let
M
:=
gmap
nat
.
Definition
test_2
:
M
(
M
nat
)
:=
{[
10
:=
{[
10
:=
1
]};
20
:=
{[
20
:=
2
]}
]}
.
Definition
test_3
:
M
(
M
nat
)
:=
{[
10
:=
{[
10
:=
1
]};
20
:=
{[
20
:=
2
]};
...
...
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