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
d1c14eb3
Commit
d1c14eb3
authored
2 months ago
by
MARCON Cecile
Browse files
Options
Downloads
Patches
Plain Diff
bunfold tact
parent
f3583c54
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/Composition.v
+16
-28
16 additions, 28 deletions
src/Composition.v
src/LeanSupportEquivalence.v
+0
-1
0 additions, 1 deletion
src/LeanSupportEquivalence.v
with
16 additions
and
29 deletions
src/Composition.v
+
16
−
28
View file @
d1c14eb3
...
...
@@ -76,6 +76,14 @@ Lemma arity_comp_left_neutral : forall {s i r o}
Qed
.
Ltac
bigraph_unfold
:=
unfold
funcomp
,
parallel
,
sequence
,
rearrange
,
extract1
,
bij_rew_forward
,
sum_shuffle
,
bij_join_port_backward
,
bij_dep_sum_1_forward
,
bij_dep_sum_2_forward
,
eq_rect_r
,
bij_subset_forward
,
permut_list_forward
,
bij_rew
,
bijection_inv
.
Tactic
Notation
"bunfold"
:=
bigraph_unfold
.
Theorem
bigraph_comp_left_neutral
:
forall
{
s
i
r
o
}
(
b
:
bigraph
s
i
r
o
),
support_equivalence
(
bigraph_id
r
o
<<
o
>>
b
)
b
.
...
...
@@ -96,40 +104,20 @@ Theorem bigraph_comp_left_neutral : forall {s i r o}
intro
x
.
reflexivity
.
+
apply
functional_extensionality
.
destruct
x
as
[
n1
|
s1
];
rewrite
bij_rew_id
;
rewrite
bij_rew_id
;
simpl
.
-
unfold
funcomp
,
parallel
,
sequence
,
rearrange
,
extract1
,
bij_rew_forward
.
destruct
get_parent
;
try
reflexivity
.
rewrite
<-
eq_rect_eq
.
reflexivity
.
-
unfold
funcomp
,
parallel
.
Check
eq_rect_eq
.
simpl
.
unfold
rearrange
.
simpl
.
destruct
get_parent
;
try
reflexivity
.
f_equal
.
unfold
bij_rew_forward
.
rewrite
<-
eq_rect_eq
.
reflexivity
.
destruct
x
as
[
n1
|
s1
];
rewrite
bij_rew_id
;
rewrite
bij_rew_id
;
simpl
;
bunfold
;
destruct
get_parent
;
try
reflexivity
;
rewrite
<-
eq_rect_eq
;
reflexivity
.
+
apply
functional_extensionality
.
destruct
x
as
[(
v1
,
(
k1
,
Hvk1
))
|
[
name
]];
simpl
.
-
unfold
parallel
,
sum_shuffle
,
choice
,
funcomp
.
simpl
.
unfold
bij_join_port_backward
,
bij_dep_sum_2_forward
,
bijection_inv
,
bij_dep_sum_1_forward
.
simpl
.
unfold
bij_rew_forward
,
eq_rect_r
,
funcomp
.
simpl
.
unfold
rearrange
,
extract1
,
bij_subset_forward
.
simpl
.
(
*
erewrite
eq_rect_pi
.
erewrite
(
eq_rect_pi
(
x
:=
v1
)).
*
)
-
bunfold
.
simpl
.
bunfold
.
rewrite
<-
eq_rect_eq
.
rewrite
<-
eq_rect_eq
.
destruct
get_link
;
try
reflexivity
.
*
apply
f_equal
.
destruct
s0
.
apply
subset_eq_compat
.
reflexivity
.
-
unfold
funcomp
.
simpl
.
unfold
bij_list_forward
,
bij_list_backward
'
,
bij_subset_forward
,
bij_subset_backward
,
parallel
,
sum_shuffle
,
choice
,
funcomp
.
simpl
.
unfold
rearrange
.
simpl
.
-
bunfold
.
simpl
.
rewrite
<-
(
innername_proof_irrelevant
b
i0
).
destruct
get_link
;
try
reflexivity
.
*
apply
f_equal
.
destruct
s0
.
apply
subset_eq_compat
.
reflexivity
.
...
...
@@ -428,7 +416,7 @@ Theorem bigraph_comp_congruence : forall
*
unfold
bij_rew_forward
.
erewrite
eq_rect_compose
.
erewrite
eq_rect_compose
.
instantiate
(
1
:=
Logic
.
eq_sym
eq
xy
).
instantiate
(
1
:=
(
Logic
.
eq_sym
eq
s1r3
)
).
destruct
get_parent
;
try
reflexivity
.
-
rewrite
<-
big_parent_eq34
.
rewrite
<-
big_parent_eq12
.
...
...
This diff is collapsed.
Click to expand it.
src/LeanSupportEquivalence.v
+
0
−
1
View file @
d1c14eb3
...
...
@@ -22,7 +22,6 @@ From HB Require Import structures.
From
mathcomp
Require
Import
ssreflect
ssrfun
ssrbool
eqtype
ssrnat
seq
choice
.
From
mathcomp
Require
Import
path
div
.
Import
ListNotations
.
(
**
This
module
implements
lean
-
support
equivalence
between
two
bigraphs
...
...
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