Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris
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
Tej Chajed
iris
Commits
94351334
Commit
94351334
authored
1 year ago
by
Robbert Krebbers
Committed by
Ike Mulder
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Apply 2 suggestion(s) to 1 file(s)
parent
ccd9cdac
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iris/proofmode/class_instances_frame.v
+5
-4
5 additions, 4 deletions
iris/proofmode/class_instances_frame.v
with
5 additions
and
4 deletions
iris/proofmode/class_instances_frame.v
+
5
−
4
View file @
94351334
...
...
@@ -324,8 +324,8 @@ Inductive TCCbnTele {A} (x : A) : A → Prop :=
Existing
Class
TCCbnTele
.
Global
Hint
Mode
TCCbnTele
!
-
-
:
typeclass_instances
.
(* We include a dependency on [FrameCanInstantiateExist]
,
so
that we can
disable this
instance when framing beneath [∀], [-∗] and [→] *)
(* We include a dependency on [FrameCanInstantiateExist] so
as to disable this
instance when framing beneath [∀], [-∗] and [→] *)
Global
Instance
frame_exist
{
A
}
p
R
(
Φ
:
A
→
PROP
)
(
TT
:
tele
)
(
g
:
TT
→
A
)
(
Ψ
:
TT
→
PROP
)
Q
:
FrameCanInstantiateExist
→
...
...
@@ -337,8 +337,9 @@ Proof.
eapply
frame_exist_helper
=>
c
.
by
specialize
(
H
c
)
as
[
a
G
HG
->
->
]
.
Qed
.
(* In case we are not allowed to instantiate, we try to look for a Frame that
works for all instantiations. *)
(* If [FrameNoInstantiateExist] holds we are not allowed to instantiate
existentials, so we just frame below the quantifier without instantiating
anything. *)
Global
Instance
frame_exist_no_instantiate
{
A
}
p
R
(
Φ
Ψ
:
A
→
PROP
)
:
FrameNoInstantiateExist
→
(
∀
a
,
Frame
p
R
(
Φ
a
)
(
Ψ
a
))
→
...
...
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