X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fsyntax%2Ftdeq_ext.ma;h=93a3be18d31c3edc803e4a17429ad650e249b30b;hp=c4ed53ed073eab1357c5f7a9bf1dbd302080095b;hb=222044da28742b24584549ba86b1805a87def070;hpb=4ce795bb1d356e2565c14087b933adaccfc81dcd diff --git a/matita/matita/contribs/lambdadelta/basic_2/syntax/tdeq_ext.ma b/matita/matita/contribs/lambdadelta/basic_2/syntax/tdeq_ext.ma index c4ed53ed0..93a3be18d 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/syntax/tdeq_ext.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/syntax/tdeq_ext.ma @@ -12,20 +12,29 @@ (* *) (**************************************************************************) +include "basic_2/notation/relations/stareq_5.ma". +include "basic_2/syntax/cext2.ma". include "basic_2/syntax/tdeq.ma". -include "basic_2/syntax/lenv_ext2.ma". (* EXTENDED DEGREE-BASED EQUIVALENCE ****************************************) -definition cdeq: ∀h. sd h → relation3 lenv term term ≝ - λh,o,L. tdeq h o. - definition tdeq_ext: ∀h. sd h → relation bind ≝ λh,o. ext2 (tdeq h o). +definition cdeq: ∀h. sd h → relation3 lenv term term ≝ + λh,o,L. tdeq h o. + definition cdeq_ext: ∀h. sd h → relation3 lenv bind bind ≝ λh,o. cext2 (cdeq h o). interpretation - "degree-based equivalence (binder)" - 'LazyEq h o I1 I2 = (tdeq_ext h o I1 I2). + "context-free degree-based equivalence (binder)" + 'StarEq h o I1 I2 = (tdeq_ext h o I1 I2). + +interpretation + "context-dependent degree-based equivalence (term)" + 'StarEq h o L T1 T2 = (cdeq h o L T1 T2). + +interpretation + "context-dependent degree-based equivalence (binder)" + 'StarEq h o L I1 I2 = (cdeq_ext h o L I1 I2).