Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cfml
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
CHARGUERAUD Arthur
cfml
Commits
15c4ffc0
Commit
15c4ffc0
authored
Mar 20, 2018
by
Jacques-Henri Jourdan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better FromModal instance for <absorb>normally P.
parent
996a7db5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
model/ExampleROProofMode.v
model/ExampleROProofMode.v
+5
-5
model/LambdaSepRO.v
model/LambdaSepRO.v
+2
-2
No files found.
model/ExampleROProofMode.v
View file @
15c4ffc0
...
...
@@ -151,7 +151,7 @@ Arguments RO_Box_fold : clear implicits.
(
*
----------------------------------------------------------------------
*
)
(
**
Get
operation
*
)
(
*
(
*
let
get
p
=
!
(
!
p
)
*
)
...
...
@@ -168,14 +168,14 @@ Lemma rule_box_get : forall p n,
Proof
using
.
intros
.
xdef
.
xchanges
(
RO_Box_unfold
p
)
;
=>
q
.
xletapp
rule_get_ro
=>
?
->
.
ram_apply
rule_get_ro
.
auto
with
iFrame
.
ram_apply
rule_get_ro
.
auto
10
with
iFrame
.
Qed
.
(
*
----------------------------------------------------------------------
*
)
(
**
Box
up2
operation
*
)
(
*
(
*
let
up2
f
p
=
let
q
=
!
p
in
q
:=
f
!
q
+
f
!
q
...
...
@@ -244,9 +244,9 @@ Proof using.
xletfun
=>
F
HF
.
ram_apply_let
(
rule_box_up2
(
fun
(
x
:
int
)
=>
(
x
+
n
)
%
Z
)
n
).
{
intros
.
xdef
.
xletapp
rule_box_get
=>
m
->
.
ram_apply
rule_add
.
{
auto
with
iFrame
.
}
}
ram_apply
rule_add
.
{
auto
10
with
iFrame
.
}
}
{
iIntros
"Hq Hp"
.
iDestruct
(
Box_fold
with
"[$Hq $Hp]"
)
as
"$"
.
auto
with
iFrame
.
}
unlock
.
xpull
=>
u
/=
_.
apply
rule_htop_post
.
ram_apply
rule_box_get
.
math_rewrite
(
2
*
(
n
+
n
)
=
4
*
n
)
%
Z
.
auto
with
iFrame
.
math_rewrite
(
2
*
(
n
+
n
)
=
4
*
n
)
%
Z
.
auto
10
with
iFrame
.
Qed
.
model/LambdaSepRO.v
View file @
15c4ffc0
...
...
@@ -1871,8 +1871,8 @@ Instance from_modal_normally P :
Proof
.
by
rewrite
/
FromModal
.
Qed
.
(
*
Low
priority
to
force
annotation
.
*
)
Instance
from_modal_abs_normally
P
:
FromModal
modality_normally
(
normally
P
)
(
<
absorb
>
normally
P
)
P
|
100.
Proof
.
by
rewrite
/
FromModal
-
bi
.
absorbingly_intro
.
Qed
.
FromModal
modality_normally
(
normally
P
)
(
<
absorb
>
normally
P
)
(
<
absorb
>
P
)
|
100.
Proof
.
by
rewrite
/
FromModal
/=
/
bi_absorbingly
normally_hstar
normally_erase
.
Qed
.
(
**
Frame
instances
*
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment