Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BiCoq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MARCON Cecile
BiCoq
Commits
ae47fbb7
Commit
ae47fbb7
authored
3 months ago
by
MARCON Cecile
Browse files
Options
Downloads
Patches
Plain Diff
small changes
parent
44aebd66
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/LeanSupportEquivalence.v
+5
-4
5 additions, 4 deletions
src/LeanSupportEquivalence.v
src/ListSpec.v
+1
-1
1 addition, 1 deletion
src/ListSpec.v
with
6 additions
and
5 deletions
src/LeanSupportEquivalence.v
+
5
−
4
View file @
ae47fbb7
...
...
@@ -43,8 +43,8 @@ Lemma wf_make_seq_infSub {l} (inner: infSub l) :
(
***
GET
LIST
OF
PORTS
***
)
Definition
make_seq_Port_for_node_n
{
s
i
r
o
}
{
b
:
bigraph
s
i
r
o
}
(
n
:
get_node
b
)
:
seq
(
Port
(
get_control
(
bg
:=
b
)))
:=
map
Definition
make_seq_Port_for_node_n
{
s
i
r
o
}
{
b
:
bigraph
s
i
r
o
}
(
n
:
get_node
b
)
:
seq
(
Port
(
get_control
(
bg
:=
b
)))
:=
map
(
fun
port
=>
existT
(
fun
n
=>
'
I_
(
Arity
(
get_control
(
bg
:=
b
)
n
)))
n
(
port
))
(
ord_enum
(
Arity
(
get_control
(
bg
:=
b
)
n
))).
...
...
@@ -183,7 +183,7 @@ Lemma not_is_idle_implies_exists_inner_or_node {s i r o} {b:bigraph s i r o} (e:
by
apply
/
eqP
.
Qed
.
Definition
get_edges_wo_idles
{
s
i
r
o
}
(
b
:
bigraph
s
i
r
o
)
:=
Definition
get_edges_wo_idles
{
s
i
r
o
}
(
b
:
bigraph
s
i
r
o
)
:
finType
:=
{
e
:
get_edge
b
|
not_is_idle
e
}
.
...
...
@@ -201,7 +201,8 @@ Definition lean {s i r o} (b:bigraph s i r o) :
_
(
get_ap
(
bg
:=
b
))).
intros
ip
'
.
assert
(
exists
ip
''
,
get_link
(
bg
:=
b
)
ip
''
=
get_link
(
bg
:=
b
)
ip
'
)
as
H
;
[
exists
(
ip
'
);
reflexivity
|
].
assert
(
exists
ip
''
,
get_link
(
bg
:=
b
)
ip
''
=
get_link
(
bg
:=
b
)
ip
'
)
as
H
;
[
exists
(
ip
'
);
reflexivity
|
].
destruct
(
get_link
(
bg
:=
b
)
ip
'
)
as
[
o
'
|
e
'
].
+
left
.
exact
o
'
.
+
right
.
exists
e
'
.
(
*
le
GOAL
*
)
...
...
This diff is collapsed.
Click to expand it.
src/ListSpec.v
+
1
−
1
View file @
ae47fbb7
...
...
@@ -7,7 +7,7 @@ Import ListNotations.
Ltac
disjunction
H
:=
destruct
H
as
[
H
|
H
].
Definition
cons_type
{
T
}
h
t
(
e
:
{
e
:
T
|
In
e
t
}
)
:
{
e
:
T
|
In
e
(
h
::
t
)
}
:=
let
(
e
,
H_
_
e
)
:=
e
in
exist
_
e
(
in_cons
h
e
t
H_
_
e
).
let
(
e
,
H_e
)
:=
e
in
exist
_
e
(
in_cons
h
e
t
H_e
).
Fixpoint
onto
{
T
:
Type
}
(
l
:
list
T
)
:
list
{
e
:
T
|
In
e
l
}
:=
match
l
with
...
...
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