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
2bc00178
Commit
2bc00178
authored
7 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
document side-effects of importing std++
parent
7bb46268
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+14
-0
14 additions, 0 deletions
README.md
theories/base.v
+9
-1
9 additions, 1 deletion
theories/base.v
with
23 additions
and
1 deletion
README.md
+
14
−
0
View file @
2bc00178
...
...
@@ -20,6 +20,20 @@ The key features of this library are as follows:
`set_solver`
for goals involving set operations.
-
It is entirely dependency- and axiom-free.
## Side-effects
Importing std++ has some side effects as the library sets some global options.
Notably:
*
`Generalizable All Variables`
: This option enables implicit generalization in
arguments of the form
`` `{...}``
(i.e., anonymous arguments). Unfortunately, it
also enables implicit generalization in
`Instance`
. We think that the fact
taht both behaviors are coupled together is a
[
bug in Coq
](
https://github.com/coq/coq/issues/6030
)
.
*
The behavior of
`Program`
is tweaked:
`Unset Transparent Obligations`
,
`Obligation Tactic := idtac`
,
`Add Search Blacklist "_obligation_"`
. See
[
`base.v`
](
`theories/base.v`
)
for further details.
## History
Coq-std++ has originally been developed by Robbert Krebbers as part of his
...
...
This diff is collapsed.
Click to expand it.
theories/base.v
+
9
−
1
View file @
2bc00178
...
...
@@ -4,12 +4,20 @@
that are used throughout the whole development. Most importantly it contains
abstract interfaces for ordered structures, collections, and various other data
structures. *)
Global
Generalizable
All
Variables
.
From
Coq
Require
Export
Morphisms
RelationClasses
List
Bool
Utf8
Setoid
.
Set
Default
Proof
Using
"Type"
.
Export
ListNotations
.
From
Coq
.
Program
Require
Export
Basics
Syntax
.
(** Enable implicit generalization. *)
(* This option enables implicit generalization in arguments of the form
`{...} (i.e., anonymous arguments). Unfortunately, it also enables
implicit generalization in `Instance`. We think that the fact taht both
behaviors are coupled together is a [bug in
Coq](https://github.com/coq/coq/issues/6030). *)
Global
Generalizable
All
Variables
.
(** * Tweak program *)
(** 1. Since we only use Program to solve logical side-conditions, they should
always be made Opaque, otherwise we end up with performance problems due to
...
...
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