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
f02ecca3
Commit
f02ecca3
authored
2 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
document what needs to be in pm_eval
parent
5f7e437f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
iris/proofmode/environments.v
+5
-6
5 additions, 6 deletions
iris/proofmode/environments.v
iris/proofmode/reduction.v
+3
-1
3 additions, 1 deletion
iris/proofmode/reduction.v
with
8 additions
and
7 deletions
iris/proofmode/environments.v
+
5
−
6
View file @
f02ecca3
...
...
@@ -863,14 +863,13 @@ Proof.
-
rewrite
/=
IH
(
comm
_
Q
_)
assoc
.
done
.
Qed
.
Lemma
env_to_prop_and_pers_sound
Γ
:
□
env_to_prop_and
Γ
⊣⊢
<
affine
>
[
∧
]
(
env_map_pers
Γ
)
.
Lemma
env_to_prop_and_pers_sound
Γ
i
P
:
□
env_to_prop_and
(
Esnoc
Γ
i
P
)
⊣⊢
<
affine
>
[
∧
]
(
env_map_pers
(
Esnoc
Γ
i
P
)
)
.
Proof
.
destruct
Γ
as
[|
Γ
i
P
];
simpl
.
{
rewrite
/
bi_intuitionistically
persistent_persistently
//.
}
revert
P
.
induction
Γ
as
[|
Γ
IH
?
Q
]=>
P
;
simpl
.
-
by
rewrite
right_id
.
-
rewrite
/=
IH
(
comm
_
Q
_)
assoc
.
f_equiv
.
rewrite
persistently_and
.
done
.
-
rewrite
/=
IH
.
clear
IH
.
f_equiv
.
simpl
.
rewrite
assoc
.
f_equiv
.
rewrite
persistently_and
comm
.
done
.
Qed
.
End
envs
.
This diff is collapsed.
Click to expand it.
iris/proofmode/reduction.v
+
3
−
1
View file @
f02ecca3
...
...
@@ -4,7 +4,9 @@ From iris.prelude Require Import options.
(** Called by all tactics to perform computation to lookup items in the
context. We avoid reducing anything user-visible here to make sure we
do not reduce e.g. before unification happens in [iApply].*)
do not reduce e.g. before unification happens in [iApply].
This needs to contain all definitions used in the user-visible statements in
[coq_tactics], and their dependencies. *)
Declare
Reduction
pm_eval
:=
cbv
[
(* base *)
base
.
negb
base
.
beq
...
...
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