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
Gaëtan Gilbert
Iris
Commits
c5fa01fe
Commit
c5fa01fe
authored
7 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
rename adequate_safe -> adequate_not_stuck
parent
f8890ff9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
theories/program_logic/adequacy.v
+2
-2
2 additions, 2 deletions
theories/program_logic/adequacy.v
with
3 additions
and
2 deletions
CHANGELOG.md
+
1
−
0
View file @
c5fa01fe
...
@@ -34,6 +34,7 @@ Changes in Coq:
...
@@ -34,6 +34,7 @@ Changes in Coq:
-
Camera elements such that
`core x = x`
:
`Persistent`
->
`CoreId`
-
Camera elements such that
`core x = x`
:
`Persistent`
->
`CoreId`
-
Persistent propositions:
`PersistentP`
->
`Persistent`
-
Persistent propositions:
`PersistentP`
->
`Persistent`
-
The persistent modality:
`always`
->
`persistently`
-
The persistent modality:
`always`
->
`persistently`
-
Adequacy for non-stuck weakestpre:
`adequate_safe`
->
`adequate_not_stuck`
-
Consistently SnakeCase identifiers:
-
Consistently SnakeCase identifiers:
+
`CMRAMixin`
->
`CmraMixin`
+
`CMRAMixin`
->
`CmraMixin`
+
`CMRAT`
->
`CmraT`
+
`CMRAT`
->
`CmraT`
...
...
This diff is collapsed.
Click to expand it.
theories/program_logic/adequacy.v
+
2
−
2
View file @
c5fa01fe
...
@@ -37,7 +37,7 @@ Qed.
...
@@ -37,7 +37,7 @@ Qed.
Record
adequate
{
Λ
}
(
s
:
stuckness
)
(
e1
:
expr
Λ
)
(
σ1
:
state
Λ
)
(
φ
:
val
Λ
→
Prop
)
:=
{
Record
adequate
{
Λ
}
(
s
:
stuckness
)
(
e1
:
expr
Λ
)
(
σ1
:
state
Λ
)
(
φ
:
val
Λ
→
Prop
)
:=
{
adequate_result
t2
σ2
v2
:
adequate_result
t2
σ2
v2
:
rtc
step
([
e1
],
σ1
)
(
of_val
v2
::
t2
,
σ2
)
→
φ
v2
;
rtc
step
([
e1
],
σ1
)
(
of_val
v2
::
t2
,
σ2
)
→
φ
v2
;
adequate_
safe
t2
σ2
e2
:
adequate_
not_stuck
t2
σ2
e2
:
s
=
NotStuck
→
s
=
NotStuck
→
rtc
step
([
e1
],
σ1
)
(
t2
,
σ2
)
→
rtc
step
([
e1
],
σ1
)
(
t2
,
σ2
)
→
e2
∈
t2
→
(
is_Some
(
to_val
e2
)
∨
reducible
e2
σ2
)
e2
∈
t2
→
(
is_Some
(
to_val
e2
)
∨
reducible
e2
σ2
)
...
@@ -51,7 +51,7 @@ Proof.
...
@@ -51,7 +51,7 @@ Proof.
intros
Had
?
.
intros
Had
?
.
destruct
(
decide
(
Forall
(
λ
e
,
is_Some
(
to_val
e
))
t2
))
as
[|
Ht2
];
[
by
left
|]
.
destruct
(
decide
(
Forall
(
λ
e
,
is_Some
(
to_val
e
))
t2
))
as
[|
Ht2
];
[
by
left
|]
.
apply
(
not_Forall_Exists
_),
Exists_exists
in
Ht2
;
destruct
Ht2
as
(
e2
&
?
&
He2
)
.
apply
(
not_Forall_Exists
_),
Exists_exists
in
Ht2
;
destruct
Ht2
as
(
e2
&
?
&
He2
)
.
destruct
(
adequate_
safe
NotStuck
e1
σ1
φ
Had
t2
σ2
e2
)
as
[?|(
e3
&
σ3
&
efs
&
?)];
destruct
(
adequate_
not_stuck
NotStuck
e1
σ1
φ
Had
t2
σ2
e2
)
as
[?|(
e3
&
σ3
&
efs
&
?)];
rewrite
?eq_None_not_Some
;
auto
.
rewrite
?eq_None_not_Some
;
auto
.
{
exfalso
.
eauto
.
}
{
exfalso
.
eauto
.
}
destruct
(
elem_of_list_split
t2
e2
)
as
(
t2'
&
t2''
&
->
);
auto
.
destruct
(
elem_of_list_split
t2
e2
)
as
(
t2'
&
t2''
&
->
);
auto
.
...
...
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