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
Simcha van Collem
Iris
Commits
e9af95ac
Commit
e9af95ac
authored
9 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Fix mess by my previous commits ...
due to an accidental git commit --amend after a git push.
parent
6146f3c9
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
algebra/sts.v
+1
-1
1 addition, 1 deletion
algebra/sts.v
barrier/barrier.v
+4
-6
4 additions, 6 deletions
barrier/barrier.v
with
5 additions
and
7 deletions
algebra/sts.v
+
1
−
1
View file @
e9af95ac
...
...
@@ -290,7 +290,7 @@ Proof.
intros
s2
;
rewrite
elem_of_intersection
.
destruct_conjs
.
unfold
up_set
;
rewrite
elem_of_bind
;
intros
(?
&
s1
&
?
&
?
&
?)
.
apply
closed_steps
with
T2
s1
;
auto
with
sts
.
Admitt
ed
.
Q
ed
.
Canonical
Structure
RA
:
cmraT
:=
validityRA
(
car
sts
)
.
End
sts_dra
.
End
sts_dra
.
...
...
This diff is collapsed.
Click to expand it.
barrier/barrier.v
+
4
−
6
View file @
e9af95ac
...
...
@@ -42,7 +42,7 @@ Module barrier_proto.
Proof
.
split
.
-
move
=>[
p
I
]
.
rewrite
/=
/
tok
!
mkSet_elem_of
/=
=>
HI
.
destruct
p
;
set_solver
.
destruct
p
;
set_solver
eauto
.
-
(* If we do the destruct of the states early, and then inversion
on the proof of a transition, it doesn't work - we do not obtain
the equalities we need. So we destruct the states late, because this
...
...
@@ -57,9 +57,7 @@ Module barrier_proto.
assert
(
Change
i
∉
change_tokens
I1
)
as
HI1
by
(
rewrite
mkSet_not_elem_of
;
set_solver
+
Hs1
)
.
assert
(
Change
i
∉
change_tokens
I2
)
as
HI2
.
{
destruct
p
.
-
set_solver
+
Htok
Hdisj
HI1
.
-
set_solver
+
Htok
Hdisj
HI1
/
discriminate
.
}
{
destruct
p
;
set_solver
+
Htok
Hdisj
HI1
.
}
done
.
Qed
.
...
...
@@ -92,7 +90,7 @@ Module barrier_proto.
i
∈
I
→
sts
.
steps
(
State
High
I
,
{[
Change
i
]})
(
State
High
(
I
∖
{[
i
]}),
∅
)
.
Proof
.
intros
.
apply
rtc_once
.
constructor
;
first
constructor
;
rewrite
/=
/
tok
/=
;
[
set_solver
..|]
.
constructor
;
first
constructor
;
rewrite
/=
/
tok
/=
;
[
set_solver
eauto
..|]
.
(* TODO this proof is rather annoying. *)
apply
elem_of_equiv
=>
t
.
rewrite
!
elem_of_union
.
rewrite
!
mkSet_elem_of
/
change_tokens
/=.
...
...
@@ -100,7 +98,7 @@ Module barrier_proto.
rewrite
elem_of_difference
elem_of_singleton
.
destruct
(
decide
(
i
=
j
));
set_solver
.
Qed
.
Lemma
split_step
p
i
i1
i2
I
:
i
∈
I
→
i1
∉
I
→
i2
∉
I
→
i1
≠
i2
→
sts
.
steps
(
State
p
I
,
{[
Change
i
]})
...
...
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