Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
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
Marianna Rapoport
iris-coq
Commits
c55672d8
Commit
c55672d8
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
prove that we actually completely characterized inclusion of the STS RA; derive a simpler form
parent
9bf9afb4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
algebra/sts.v
+37
-16
37 additions, 16 deletions
algebra/sts.v
with
37 additions
and
16 deletions
algebra/sts.v
+
37
−
16
View file @
c55672d8
...
...
@@ -228,23 +228,44 @@ Proof.
repeat
(
done
||
constructor
)
.
Qed
.
Lemma
sts_frag_included
S1
S2
T1
T2
Tdf
:
sts
.
closed
R
tok
S1
T1
→
sts
.
closed
R
tok
S2
T2
→
T2
≡
T1
∪
Tdf
→
T1
∩
Tdf
≡
∅
→
S2
≡
(
S1
∩
sts
.
up_set
R
tok
S2
Tdf
)
→
sts_frag
S1
T1
≼
sts_frag
S2
T2
.
Lemma
sts_frag_included
S1
S2
T1
T2
:
sts
.
closed
R
tok
S2
T2
→
sts_frag
S1
T1
≼
sts_frag
S2
T2
↔
(
sts
.
closed
R
tok
S1
T1
∧
∃
Tf
,
T2
≡
T1
∪
Tf
∧
T1
∩
Tf
≡
∅
∧
S2
≡
(
S1
∩
sts
.
up_set
R
tok
S2
Tf
))
.
Proof
.
move
=>
Hcl1
Hcl2
Htk
Hdf
Hs
.
exists
(
sts_frag
(
sts
.
up_set
R
tok
S2
Tdf
)
Tdf
)
.
split
;
first
split
;
simpl
.
-
intros
_
.
split_ands
.
+
done
.
+
apply
sts
.
closed_up_set
.
*
move
=>
s
Hs2
.
move
:(
sts
.
closed_disjoint
_
_
_
_
Hcl2
_
Hs2
)
.
move
=>
Hcl2
.
split
.
-
intros
[
xf
EQ
]
.
destruct
xf
as
[
xf
vf
Hvf
]
.
destruct
xf
as
[
Sf
Tf
|
Sf
Tf
]
.
{
exfalso
.
inversion_clear
EQ
.
apply
H0
in
Hcl2
.
simpl
in
Hcl2
.
inversion
Hcl2
.
}
inversion_clear
EQ
.
move
:(
H0
Hcl2
)=>{
H0
}
H0
.
inversion_clear
H0
.
destruct
H
as
[
H
_]
.
move
:(
H
Hcl2
)=>{
H
}
[
/=
Hcl1
[
Hclf
Hdisj
]]
.
apply
Hvf
in
Hclf
.
simpl
in
Hclf
.
clear
Hvf
.
inversion_clear
Hdisj
.
split
;
last
(
exists
Tf
;
split_ands
);
[
done
..|]
.
apply
(
anti_symm
(
⊆
))
.
+
move
=>
s
HS2
.
apply
elem_of_intersection
.
split
;
first
by
apply
H2
.
by
apply
sts
.
subseteq_up_set
.
+
move
=>
s
/
elem_of_intersection
[
HS1
Hscl
]
.
apply
H2
.
split
;
first
done
.
destruct
Hscl
as
[
s'
[
Hsup
Hs'
]]
.
eapply
sts
.
closed_steps
;
last
(
hnf
in
Hsup
;
eexact
Hsup
);
first
done
.
solve_elem_of
+
H2
Hs'
.
-
intros
(
Hcl1
&
Tf
&
Htk
&
Hf
&
Hs
)
.
exists
(
sts_frag
(
sts
.
up_set
R
tok
S2
Tf
)
Tf
)
.
split
;
first
split
;
simpl
;[|
done
|]
.
+
intros
_
.
split_ands
;
first
done
.
*
apply
sts
.
closed_up_set
;
last
by
eapply
sts
.
closed_ne
.
move
=>
s
Hs2
.
move
:(
sts
.
closed_disjoint
_
_
_
_
Hcl2
_
Hs2
)
.
solve_elem_of
+
Htk
.
*
by
eapply
sts
.
closed_ne
.
+
constructor
;
last
done
.
rewrite
-
Hs
.
by
eapply
sts
.
closed_ne
.
-
done
.
-
intros
_
.
constructor
;
[
solve_elem_of
+
Htk
|
done
]
.
Qed
.
*
constructor
;
last
done
.
rewrite
-
Hs
.
by
eapply
sts
.
closed_ne
.
+
intros
_
.
constructor
;
[
solve_elem_of
+
Htk
|
done
]
.
Qed
.
Lemma
sts_frag_included'
S1
S2
T
:
sts
.
closed
R
tok
S2
T
→
sts
.
closed
R
tok
S1
T
→
S2
≡
(
S1
∩
sts
.
up_set
R
tok
S2
∅
)
→
sts_frag
S1
T
≼
sts_frag
S2
T
.
Proof
.
intros
.
apply
sts_frag_included
;
first
done
.
split
;
first
done
.
exists
∅.
split_ands
;
done
||
solve_elem_of
+.
Qed
.
End
stsRA
.
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