Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
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
Yixuan Chen
Iris
Commits
c27b98bd
Commit
c27b98bd
authored
3 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
comments in laterable.v
parent
4d2df571
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
iris/bi/lib/laterable.v
+12
-1
12 additions, 1 deletion
iris/bi/lib/laterable.v
with
12 additions
and
1 deletion
iris/bi/lib/laterable.v
+
12
−
1
View file @
c27b98bd
...
...
@@ -13,6 +13,9 @@ Global Hint Mode Laterable + ! : typeclass_instances.
Well be the identity if [P] already is laterable, and add
[make_laterable] otherwise. *)
Class
IntoLaterable
{
PROP
:
bi
}
(
P
Q
:
PROP
)
:
Prop
:=
{
(** This is non-standard; usually we would just demand
[P ⊢ make_laterable Q]. However, we need these stronger properties for
the [make_laterable_id] hack in [atomic.v]. *)
into_laterable
:
P
⊢
Q
;
into_laterable_result_laterable
:
Laterable
Q
;
}
.
...
...
@@ -55,6 +58,10 @@ Section instances.
iIntros
"!> >_"
.
done
.
Qed
.
(** This instance, together with the one below, can lead to massive
backtracking, but only when searching for [Laterable]. In the future, it
should be rewritten using [Hint Immediate] or [Hint Cut], where the latter
is preferred once we figure out how to use it. *)
Global
Instance
persistent_laterable
`{
!
BiAffine
PROP
}
P
:
Persistent
P
→
Laterable
P
.
Proof
.
...
...
@@ -199,7 +206,11 @@ Section instances.
-
intros
?
.
done
.
Qed
.
(** * Proofmode integration *)
(** * Proofmode integration
We integrate [make_laterable] with [iModIntro]. All non-laterable
hypotheses have a ▷ added in front of them to ensure a laterable context.
*)
Global
Instance
into_laterable_laterable
P
:
Laterable
P
→
IntoLaterable
P
P
.
...
...
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