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
Jan
iris-coq
Commits
8f1acb74
There was a problem fetching the pipeline summary.
Commit
8f1acb74
authored
6 years ago
by
Jan
Browse files
Options
Downloads
Patches
Plain Diff
NEW: Now with strange typing error.
parent
1d29427d
Branches
master
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/algebra/sts.v
+6
-3
6 additions, 3 deletions
theories/algebra/sts.v
with
6 additions
and
3 deletions
theories/algebra/sts.v
+
6
−
3
View file @
8f1acb74
...
@@ -22,7 +22,7 @@ Notation tokens sts := (set (token sts)).
...
@@ -22,7 +22,7 @@ Notation tokens sts := (set (token sts)).
(** * Theory and definitions *)
(** * Theory and definitions *)
Section
sts
.
Section
sts
.
Context
{
sts
:
stsT
}
.
Context
{
sts
:
stsT
}
.
(** ** Step relations *)
(** ** Step relations *)
Inductive
step
:
relation
(
state
sts
*
tokens
sts
)
:=
Inductive
step
:
relation
(
state
sts
*
tokens
sts
)
:=
...
@@ -33,16 +33,19 @@ Notation steps := (rtc step).
...
@@ -33,16 +33,19 @@ Notation steps := (rtc step).
Inductive
frame_step
(
T
:
tokens
sts
)
(
s1
s2
:
state
sts
)
:
Prop
:=
Inductive
frame_step
(
T
:
tokens
sts
)
(
s1
s2
:
state
sts
)
:
Prop
:=
(* Probably equivalent definition: (\mathcal{L}(s') ## T) ∧ s \rightarrow s' *)
(* Probably equivalent definition: (\mathcal{L}(s') ## T) ∧ s \rightarrow s' *)
|
Frame_step
T1
T2
:
|
Frame_step
T1
T2
:
T1
##
tok
s1
∪
T
→
step
(
s1
,
T1
)
(
s2
,
T2
)
→
frame_step
T
s1
s2
.
T1
##
tok
s1
∪
T
→
step
(
s1
,
T1
)
(
s2
,
T2
)
→
frame_step
T
s1
s2
.
Notation
frame_steps
T
:=
(
rtc
(
frame_step
T
))
.
Notation
frame_steps
T
:=
(
rtc
(
frame_step
T
))
.
(** ** Closure under frame steps *)
(** ** Closure under frame steps *)
Record
closed
(
S
:
states
sts
)
(
T
:
tokens
sts
)
:
Prop
:=
Closed
{
Record
closed
(
S
:
states
sts
)
(
T
:
tokens
sts
)
:
Prop
:=
Closed
{
closed_disjoint
s
:
s
∈
S
→
tok
s
##
T
;
closed_disjoint
s
:
s
∈
S
→
tok
s
##
T
;
closed_step
s1
s2
:
s1
∈
S
→
frame_step
T
s1
s2
→
s2
∈
S
closed_step
s1
s2
:
s1
∈
S
→
frame_step
T
s1
s2
→
s2
∈
S
}
.
}
.
Definition
up
(
s
:
state
sts
)
(
T
:
tokens
sts
)
:
states
sts
:=
Definition
up
(
s
:
state
sts
)
(
T
:
tokens
sts
)
:
states
sts
:=
{[
s'
|
frame_steps
T
s
s'
]}
.
{[
s'
|
frame_steps
T
s
s'
]}
.
Definition
up_set
(
S
:
states
sts
)
(
T
:
tokens
sts
)
:
states
sts
:=
Definition
up_set
(
S
:
states
sts
)
(
T
:
tokens
sts
)
:
states
sts
:=
S
≫=
λ
s
,
up
s
T
.
S
≫=
λ
s
,
up
s
T
.
...
...
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