]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/dynamic/nta_eval.ma
update in ground_2, static_2, basic_2, apps_2, alpha_1
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / dynamic / nta_eval.ma
index 1b58977b0b72f3dca8880e305b93d79bee148c22..1aafc9815b3fbe9dde4fe62f631f851399de8b24 100644 (file)
@@ -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 →
-      â\88\80T,U. Decidable â\80¦ (â¦\83G,Lâ¦\84 â\8a¢ T :[a,h] U).
+lemma nta_typecheck_dec (h) (a) (G) (L): ac_props a →
+      â\88\80T,U. Decidable â\80¦ (â\9dªG,Lâ\9d« â\8a¢ 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-.