X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Fsyntax%2Ftweq_tdeq.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Fsyntax%2Ftweq_tdeq.ma;h=fb8d7e70464f68906fda410d324946bad084cdb8;hb=c0d38a82464481e3c8fd68e4b00d7b9b448df462;hp=0000000000000000000000000000000000000000;hpb=0fea4ed429678c3293027cfe76fdbe15cfa331cb;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/static_2/syntax/tweq_tdeq.ma b/matita/matita/contribs/lambdadelta/static_2/syntax/tweq_tdeq.ma new file mode 100644 index 000000000..fb8d7e704 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/static_2/syntax/tweq_tdeq.ma @@ -0,0 +1,32 @@ +(**************************************************************************) +(* ___ *) +(* ||M|| *) +(* ||A|| A project by Andrea Asperti *) +(* ||T|| *) +(* ||I|| Developers: *) +(* ||T|| The HELM team. *) +(* ||A|| http://helm.cs.unibo.it *) +(* \ / *) +(* \ / This file is distributed under the terms of the *) +(* v GNU General Public License Version 2 *) +(* *) +(**************************************************************************) + +include "static_2/syntax/tdeq.ma". +include "static_2/syntax/tweq.ma". + +(* SORT-IRRELEVANT WHD EQUIVALENCE ON TERMS *********************************) + +(* Properties with sort-irrelevant equivalence for terms ********************) + +lemma tdeq_tweq: ∀T1,T2. T1 ≛ T2 → T1 ≅ T2. +#T1 #T2 #H elim H -T1 -T2 [||| * [ #p ] * #V1 #V2 #T1 #T2 #_ #_ #IHV #IHT ] +[ /1 width=1 by tweq_sort/ +| /1 width=1 by tweq_lref/ +| /1 width=1 by tweq_gref/ +| cases p -p /2 width=1 by tweq_abbr_pos, tweq_abbr_neg/ +| /1 width=1 by tweq_abst/ +| /2 width=1 by tweq_appl/ +| /2 width=1 by tweq_cast/ +] +qed.