Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Amin Timany
coq-stdpp
Commits
2131d528
Commit
2131d528
authored
Oct 10, 2017
by
Ralf Jung
Browse files
use a section for local options
parent
2ac3a3b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/base.v
View file @
2131d528
...
...
@@ -18,11 +18,12 @@ Obligation Tactic := idtac.
Add
Search
Blacklist
"_obligation_"
.
(
**
Sealing
off
definitions
*
)
Set
Primitive
Projections
.
Record
seal
{
A
}
(
f
:
A
)
:=
{
unseal
:
A
;
seal_eq
:
unseal
=
f
}
.
Arguments
unseal
{
_
_
}
_
:
assert
.
Arguments
seal_eq
{
_
_
}
_
:
assert
.
Unset
Primitive
Projections
.
Section
seal
.
Local
Set
Primitive
Projections
.
Record
seal
{
A
}
(
f
:
A
)
:=
{
unseal
:
A
;
seal_eq
:
unseal
=
f
}
.
Arguments
unseal
{
_
_
}
_
:
assert
.
Arguments
seal_eq
{
_
_
}
_
:
assert
.
End
seal
.
(
**
Typeclass
opaque
definitions
*
)
(
*
The
constant
[
tc_opaque
]
is
used
to
make
definitions
opaque
for
just
type
...
...
Write
Preview
Supports
Markdown
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