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
William Mansky
Iris
Commits
00714cd6
Commit
00714cd6
authored
10 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
make iris_meta much faster
parent
2eb47177
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_meta.v
+4
-4
4 additions, 4 deletions
iris_meta.v
with
4 additions
and
4 deletions
iris_meta.v
+
4
−
4
View file @
00714cd6
...
...
@@ -52,7 +52,7 @@ Module Type IRIS_META (RL : RA_T) (C : CORE_LANG) (R: IRIS_RES RL C) (WP: WORLD_
Proof
.
induction
HW
;
constructor
;
[|
assumption
]
.
eapply
uni_pred
;
[
eassumption
|
reflexivity
|]
.
rewrite
<-
HSW
;
assumption
.
eapply
propsMW
,
WPE
.
assumption
.
Qed
.
Lemma
preserve_wptp
safe
m
n
k
tp
tp'
σ
σ'
w
rs
φs
...
...
@@ -213,7 +213,7 @@ Module Type IRIS_META (RL : RA_T) (C : CORE_LANG) (R: IRIS_RES RL C) (WP: WORLD_
Definition
pure
e
:=
~
atomic
e
/\
forall
σ
e'
σ'
,
prim_step
(
e
,
σ
)
(
e'
,
σ'
)
->
σ
=
=
σ'
.
σ
=
σ'
.
Definition
restrict_lang
:=
forall
e
,
reducible
e
->
...
...
@@ -281,7 +281,7 @@ Module Type IRIS_META (RL : RA_T) (C : CORE_LANG) (R: IRIS_RES RL C) (WP: WORLD_
have
HRed
:
reducible
ei
by
exists
σ
(
ei'
,
σ'
)
.
case
:
(
LANG
ei
HRed
)=>[
HA
{
VS
}
|
[_
HP
]
{
HT
}]
{
LANG
HRed
};
last
first
.
(* pure step *)
{
move
/
(_
_
_
_
HStep
):
HP
=>
HP
;
move
:
HStep
HW
;
rewrite
HP
=>
HStep
HW
{
HP
σ
}
.
{
move
/
(_
_
_
_
HStep
):
HP
=>
HP
;
move
:
HStep
HW
.
rewrite
HP
=>
HStep
HW
{
HP
σ
}
.
move
/
(_
_
_
_
HStep
_
HSw
_
_
HLe
unit_min
Hei
):
VS
=>
VS
{
HStep
HLe
Hei
}
.
move
:
HD
;
rewrite
-
{
1
}(
mask_union_idem
m
)
=>
HD
.
move
/
(_
_
_
_
_
_
(
prefl
w'
)
HLt'
HD
HW
):
VS
=>
[
w''
[
r'
[
HSw'
[
Hei'
HW'
]]]]
{
HLt'
HD
HW
}
.
...
...
@@ -366,7 +366,7 @@ Module Type IRIS_META (RL : RA_T) (C : CORE_LANG) (R: IRIS_RES RL C) (WP: WORLD_
Proof
.
move
=>
wz
nz
rz
Hfrom
w1
HSw1
n
r
HLe
_
HPS
.
rewrite
unfold_wp
;
move
=>
w2
k
rf
mf
σi
HSw2
HLt
_
HW
.
have
Hσ
:
σ
=
=
σi
.
have
Hσ
:
σ
=
σi
.
{
clear
-
HPS
HW
HSw2
.
move
:
HPS
=>
[
r1
[
r2
[
Hr
[_
/
(
propsMW
HSw2
)
HS
]]]]
{
HSw2
}
.
apply
:
(
ownS_wsat
HS
HW
);
move
=>
{
HS
HW
}
.
...
...
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