Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stdpp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
47
Issues
47
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
stdpp
Commits
2bc00178
Commit
2bc00178
authored
Oct 28, 2017
by
Ralf Jung
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document side-effects of importing std++
parent
7bb46268
Pipeline
#4970
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
README.md
README.md
+14
-0
theories/base.v
theories/base.v
+9
-1
No files found.
README.md
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
...
...
theories/base.v
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
Robbert
@robbertkrebbers
·
Oct 28, 2017
Maintainer
s/taht/that
s/taht/that
Ralf Jung
@jung
·
Oct 28, 2017
Owner
Thanks, fixed.
Thanks, fixed.
Please
register
or
sign in
to reply
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment