X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambda_delta%2FBasic_2%2Fgrammar%2Fterm.ma;h=42e7b8633a851ecc8e3bf93717455b62b5b3692a;hb=9aa9a54946719d3fdb4cadb7c7d33fd13956c083;hp=ce8357d21bb0d283609706d73aeb79e751011630;hpb=aec661d51ffa04b4248cdfece772b58780737e3f;p=helm.git diff --git a/matita/matita/contribs/lambda_delta/Basic_2/grammar/term.ma b/matita/matita/contribs/lambda_delta/Basic_2/grammar/term.ma index ce8357d21..42e7b8633 100644 --- a/matita/matita/contribs/lambda_delta/Basic_2/grammar/term.ma +++ b/matita/matita/contribs/lambda_delta/Basic_2/grammar/term.ma @@ -41,19 +41,27 @@ interpretation "term flat construction (binary)" 'SFlat I T1 T2 = (TPair (Flat I lemma discr_tpair_xy_x: ∀I,T,V. 𝕔{I} V. T = V → False. #I #T #V elim V -V [ #J #H destruct -| #J #W #U #IHW #_ #H destruct -I /2/ (**) (* improve context after destruct *) +| #J #W #U #IHW #_ #H destruct + -H >e0 in e1; normalize (**) (* destruct: one quality is not simplified, the destucted equality is not erased *) + /2 width=1/ ] -qed. +qed-. (* Basic_1: was: thead_x_y_y *) lemma discr_tpair_xy_y: ∀I,V,T. 𝕔{I} V. T = T → False. #I #V #T elim T -T [ #J #H destruct -| #J #W #U #_ #IHU #H destruct -I V /2/ (**) (* improve context after destruct *) +| #J #W #U #_ #IHU #H destruct + -H (**) (* destruct: the destucted equality is not erased *) + /2 width=1/ ] -qed. +qed-. (* Basic properties *********************************************************) (* Basic_1: was: term_dec *) axiom term_eq_dec: ∀T1,T2:term. Decidable (T1 = T2). + +(* Basic_1: removed theorems 3: + not_void_abst not_abbr_void not_abst_void +*)