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
993b33c9
Commit
993b33c9
authored
May 11, 2023
by
MARCON Cecile
Browse files
Options
Downloads
Patches
Plain Diff
stopped in tracks
parent
1abe2501
Branches
allParameters
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/AbstractBigraphs.v
+33
-29
33 additions, 29 deletions
src/AbstractBigraphs.v
with
33 additions
and
29 deletions
src/AbstractBigraphs.v
+
33
−
29
View file @
993b33c9
...
...
@@ -68,39 +68,35 @@ Definition Kappa (kind : Type) (arity : kind -> nat) : Type :=
Definition
Port
(
node
:
Type
)
(
kind
:
Type
)
(
control
:
node
->
kind
*
nat
)
:
Type
:=
{
vi
:
node
*
nat
|
let
(
v
,
i
)
:=
vi
in
let
(
_
,
a
)
:=
control
v
in
i
<
a
}
.
Record
bigraph
(
site
:
Type
)
(
innername
:
Type
)
(
root
:
Type
)
(
outername
:
Type
)
(
kind
:
Type
)
:
Type
:=
Record
bigraph
(
site
:
Type
)
(
innername
:
Type
)
(
root
:
Type
)
(
outername
:
Type
)
(
kind
:
Type
)
(
node
:
Type
)
(
edge
:
Type
)
(
control
:
node
->
kind
*
nat
)
(
parent
:
node
+
site
->
node
+
root
)
(
link
:
innername
+
Port
control
->
outername
+
edge
)
(
ap
:
acyclic
parent
)
:
Type
:=
Big
{
node
:
Type
;
edge
:
Type
;
control
:
node
->
kind
*
nat
;
(
*
k
*
nat
*
)
parent
:
node
+
site
->
node
+
root
;
link
:
innername
+
Port
control
->
outername
+
edge
;
(
*
sd
:
EqDec
site
;
sf
:
finite
site
;
id_
:
EqDec
innername
;
if_
:
finite
innername
;
rd
:
EqDec
root
;
rf
:
finite
root
;
od
:
EqDec
outername
;
of
:
finite
outername
;
*
)
(
*
nd
:
EqDec
node
;
nf
:
finite
node
;
ed
:
EqDec
edge
;
ef
:
finite
edge
;
*
)
ap
:
acyclic
parent
}
.
(
*
sortir
les
preuves
des
types
interface
?*
)
{
}
.
Check
ap
.
Definition
getNode
{
s
i
r
o
k
:
Type
}
(
bg
:
bigraph
s
i
r
o
k
)
:
Type
:=
node
bg
.
Definition
getNode
{
s
i
r
o
k
n
e
:
Type
}
(
c
:
n
->
k
*
nat
)
(
p
:
n
+
s
->
n
+
r
)
(
l
:
i
+
Port
c
->
o
+
e
)
(
a
:
acyclic
p
)
(
bg
:
bigraph
l
a
)
:
Type
:=
n
.
(
*
Definition
getParent
{
s
i
r
o
:
Type
}
(
bg
:
bigraph
s
i
r
o
)
:
node
bg
+
s
->
node
bg
+
r
:=
parent
bg
.
*
)
Definition
getControl
{
s
i
r
o
k
:
Type
}
(
bg
:
bigraph
s
i
r
o
k
)
:
node
bg
->
k
*
nat
:=
@
control
s
i
r
o
k
bg
.
(
*
Definition
getControl
{
s
i
r
o
k
:
Type
}
(
bg
:
bigraph
s
i
r
o
k
)
:
node
bg
->
k
*
nat
:=
@
control
s
i
r
o
k
bg
.
*
)
(
*
Check
getControl
.
Locate
"+"
.
...
...
@@ -114,9 +110,17 @@ Definition mk_new_link {i1 i2 o1 o2 new_edge new_node new_kind: Type} (new_contr
Admitted
.
(
*
close_scope
nat_scope
*
)
Definition
juxtaposition
{
s1
i1
r1
o1
k1
s2
i2
r2
o2
k2
:
Type
}
(
b1
:
bigraph
s1
i1
r1
o1
k1
)
(
b2
:
bigraph
s2
i2
r2
o2
k2
)
:
bigraph
(
s1
+
s2
)
%
type
(
i1
+
i2
)
%
type
(
r1
+
r2
)
%
type
(
o1
+
o2
)
%
type
(
k1
+
k2
)
%
type
:=
Definition
juxtaposition
{
s1
i1
r1
o1
k1
n1
e1
s2
i2
r2
o2
k2
n2
e2
:
Type
}
(
c1
:
n1
->
k1
*
nat
)
(
p1
:
n1
+
s1
->
n1
+
r1
)
(
l1
:
i1
+
Port
c1
->
o1
+
e1
)
(
a1
:
acyclic
p1
)
(
c2
:
n2
->
k2
*
nat
)
(
p2
:
n2
+
s2
->
n2
+
r2
)
(
l2
:
i2
+
Port
c2
->
o2
+
e2
)
(
a2
:
acyclic
p2
)
(
b1
:
bigraph
l1
a1
)
(
b2
:
bigraph
l2
a2
)
:
bigraph
(
l1
+
l2
)
%
type
(
a1
+
a2
)
%
type
:=
let
new_node
:
Type
:=
(
node
b1
+
node
b2
)
%
type
in
(
*
let
eqdec_newnode
:=
fun
a
b
=>
match
a
,
b
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