X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_2%2Fdynamic%2Fnta_eval.ma;h=1aafc9815b3fbe9dde4fe62f631f851399de8b24;hb=bd53c4e895203eb049e75434f638f26b5a161a2b;hp=1b58977b0b72f3dca8880e305b93d79bee148c22;hpb=bac74b5cff042d37e1abc9c961a6c41094b8a294;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_2/dynamic/nta_eval.ma b/matita/matita/contribs/lambdadelta/basic_2/dynamic/nta_eval.ma index 1b58977b0..1aafc9815 100644 --- a/matita/matita/contribs/lambdadelta/basic_2/dynamic/nta_eval.ma +++ b/matita/matita/contribs/lambdadelta/basic_2/dynamic/nta_eval.ma @@ -19,17 +19,17 @@ include "basic_2/dynamic/nta_preserve.ma". (* Properties with evaluations for rt-transition on terms *******************) -lemma nta_typecheck_dec (a) (h) (G) (L): ac_props a → - ∀T,U. Decidable … (⦃G,L⦄ ⊢ T :[a,h] U). +lemma nta_typecheck_dec (h) (a) (G) (L): ac_props a → + ∀T,U. Decidable … (❪G,L❫ ⊢ T :[h,a] U). /2 width=1 by cnv_dec/ qed-. (* Basic_1: uses: ty3_inference *) -lemma nta_inference_dec (a) (h) (G) (L) (T): ac_props a → - ∨∨ ∃U. ⦃G,L⦄ ⊢ T :[a,h] U - | ∀U. (⦃G,L⦄ ⊢ T :[a,h] U → ⊥). -#a #h #G #L #T #Ha -elim (cnv_dec … h G L T Ha) -Ha +lemma nta_inference_dec (h) (a) (G) (L) (T): ac_props a → + Decidable (∃U. ❪G,L❫ ⊢ T :[h,a] U). +#h #a #G #L #T #Ha +elim (cnv_dec h … G L T Ha) -Ha #HT [ /3 width=1 by cnv_nta_sn, or_introl/ -| /4 width=2 by nta_fwd_cnv_sn, or_intror/ +| @or_intror * #U #HTU + /3 width=2 by nta_fwd_cnv_sn/ ] qed-.