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
Abhishek Anand
Iris
Commits
360d8ac0
Commit
360d8ac0
authored
6 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
Prove that atomic triples imply "normal" triples
parent
cb77b8a5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/bi/lib/atomic.v
+2
-2
2 additions, 2 deletions
theories/bi/lib/atomic.v
theories/program_logic/atomic.v
+20
-0
20 additions, 0 deletions
theories/program_logic/atomic.v
with
22 additions
and
2 deletions
theories/bi/lib/atomic.v
+
2
−
2
View file @
360d8ac0
From
iris
.
bi
Require
Export
bi
updates
.
From
iris
.
bi
.
lib
Require
Import
fixpoint
laterable
.
From
iris
.
bi
Require
Export
bi
updates
laterable
.
From
iris
.
bi
.
lib
Require
Import
fixpoint
.
From
stdpp
Require
Import
coPset
namespaces
.
From
iris
.
proofmode
Require
Import
coq_tactics
tactics
reduction
.
Set
Default
Proof
Using
"Type"
.
...
...
This diff is collapsed.
Click to expand it.
theories/program_logic/atomic.v
+
20
−
0
View file @
360d8ac0
From
stdpp
Require
Import
namespaces
.
From
iris
.
program_logic
Require
Export
weakestpre
.
From
iris
.
proofmode
Require
Import
tactics
classes
.
From
iris
.
bi
.
lib
Require
Export
atomic
.
...
...
@@ -90,3 +91,22 @@ Notation "'<<<' α '>>>' e @ Eo '<<<' β , 'RET' v '>>>'" :=
(
at
level
20
,
Eo
,
α
,
β
,
v
at
level
200
,
format
"'[hv' '<<<' α '>>>' '/ ' e @ Eo '/' '[ ' '<<<' β , '/' 'RET' v '>>>' ']' ']'"
)
:
stdpp_scope
.
(** Theory *)
Section
lemmas
.
Context
`{
irisG
Λ
Σ
}
{
TA
TB
:
tele
}
.
Notation
iProp
:=
(
iProp
Σ
)
.
Implicit
Types
(
α
:
TA
→
iProp
)
(
β
:
TA
→
TB
→
iProp
)
(
f
:
TA
→
TB
→
val
Λ
)
.
Lemma
atomic_wp_seq
e
Eo
α
β
f
{
HL
:
∀
.
.
x
,
Laterable
(
α
x
)}
:
atomic_wp
e
Eo
α
β
f
-∗
∀
Φ
,
∀
.
.
x
,
α
x
-∗
(
∀
.
.
y
,
β
x
y
-∗
Φ
(
f
x
y
))
-∗
WP
e
{{
Φ
}}
.
Proof
.
rewrite
->
tforall_forall
in
HL
.
iIntros
"Hwp"
(
Φ
x
)
"Hα HΦ"
.
iApply
(
"Hwp"
with
"[HΦ]"
);
first
iAccu
.
iAuIntro
.
iApply
(
aacc_intro
with
"Hα"
);
first
solve_ndisj
.
iSplit
;
first
by
eauto
.
iIntros
(
y
)
"Hβ !>"
.
(* FIXME: Using ssreflect rewrite does not work? *)
rewrite
->!
tele_app_bind
.
iIntros
"HΦ"
.
iApply
"HΦ"
.
done
.
Qed
.
End
lemmas
.
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