Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Michael Sammler
iris-coq
Commits
4c341601
Commit
4c341601
authored
5 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Improve comment a bit.
parent
1a14cdd3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/proofmode/classes.v
+7
-7
7 additions, 7 deletions
theories/proofmode/classes.v
with
7 additions
and
7 deletions
theories/proofmode/classes.v
+
7
−
7
View file @
4c341601
...
...
@@ -56,15 +56,15 @@ Proof. by exists φ. Qed.
Hint
Extern
0
(
IntoPureT
_
_)
=>
notypeclasses
refine
(
into_pureT_hint
_
_
_)
:
typeclass_instances
.
(** [FromPure] is used when introducing a pure assertion. It is used by
[
IntoPure
] and the [[%]] specialization pattern.
(** [FromPure
a P φ
] is used when introducing a pure assertion. It is used by
[
iPureIntro
] and the [[%]] specialization pattern.
The Boolean [a]
assert
s whether
we the pure assertion required the [emp]
resource or not
. Concretely, for
[IntoPure]
it specifies whether
the spatial
context should be empty or not.
The Boolean [a]
specifie
s whether
introduction of [P] needs [emp] in addition
to [φ]
. Concretely, for
the [iPureIntro] tactic, this means
it specifies whether
the spatial
context should be empty or not.
Note that th
is
Boolean is not needed for
[IntoPure], because in the
case
of
[IntoPure], we can have the same behavior by
ask
ing
that [P]
be
[Affine]. *)
Note that th
e
Boolean
[a]
is not needed for
the (dual) [IntoPure] class, be
ca
u
se
there we can just
ask that [P]
is
[Affine]. *)
Class
FromPure
{
PROP
:
bi
}
(
a
:
bool
)
(
P
:
PROP
)
(
φ
:
Prop
)
:=
from_pure
:
<
affine
>
?a
⌜
φ
⌝
⊢
P
.
Arguments
FromPure
{_}
_
_
%
I
_
%
type_scope
:
simpl
never
.
...
...
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