X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matita%2Fmatita%2Fcontribs%2Flambda_delta%2Fbasic_2%2Freducibility%2Ftif.ma;fp=matita%2Fmatita%2Fcontribs%2Flambda_delta%2Fbasic_2%2Freducibility%2Ftif.ma;h=5b89755a7261d49a202f30a598ae2bd93621fdc5;hb=eb918fc784eacd2094e3986ba321ef47690d9983;hp=0000000000000000000000000000000000000000;hpb=011cf6478141e69822a5b40933f2444d0522532f;p=helm.git diff --git a/matita/matita/contribs/lambda_delta/basic_2/reducibility/tif.ma b/matita/matita/contribs/lambda_delta/basic_2/reducibility/tif.ma new file mode 100644 index 000000000..5b89755a7 --- /dev/null +++ b/matita/matita/contribs/lambda_delta/basic_2/reducibility/tif.ma @@ -0,0 +1,54 @@ +(**************************************************************************) +(* ___ *) +(* ||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 "Basic_2/reducibility/trf.ma". + +(* CONTEXT-FREE IRREDUCIBLE TERMS *******************************************) + +definition tif: predicate term ≝ λT. 𝐑[T] → False. + +interpretation "context-free irreducibility (term)" + 'NotReducible T = (tif T). + +(* Basic inversion lemmas ***************************************************) + +lemma tif_inv_abbr: ∀V,T. 𝐈[ⓓV.T] → False. +/2 width=1/ qed-. + +lemma tif_inv_abst: ∀V,T. 𝐈[ⓛV.T] → 𝐈[V] ∧ 𝐈[T]. +/4 width=1/ qed-. + +lemma tif_inv_appl: ∀V,T. 𝐈[ⓐV.T] → ∧∧ 𝐈[V] & 𝐈[T] & 𝐒[T]. +#V #T #HVT @and3_intro /3 width=1/ +generalize in match HVT; -HVT elim T -T // +* // * #U #T #_ #_ #H elim (H ?) -H /2 width=1/ +qed-. + +lemma tif_inv_cast: ∀V,T. 𝐈[ⓣV.T] → False. +/2 width=1/ qed-. + +(* Basic properties *********************************************************) + +lemma tif_atom: ∀I. 𝐈[⓪{I}]. +/2 width=4/ qed. + +lemma tif_abst: ∀V,T. 𝐈[V] → 𝐈[T] → 𝐈[ⓛV.T]. +#V #T #HV #HT #H +elim (trf_inv_abst … H) -H /2 width=1/ +qed. + +lemma tif_appl: ∀V,T. 𝐈[V] → 𝐈[T] → 𝐒[T] → 𝐈[ⓐV.T]. +#V #T #HV #HT #S #H +elim (trf_inv_appl … H) -H /2 width=1/ +qed.