]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/i_dynamic/ntas_nta.ma
some restyling ...
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / i_dynamic / ntas_nta.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 include "basic_2/dynamic/nta.ma".
16 include "basic_2/i_dynamic/ntas.ma".
17
18 (* ITERATED NATIVE TYPE ASSIGNMENT FOR TERMS ********************************)
19
20 (*
21
22 definition ntas: sh → lenv → relation term ≝
23                  λh,L. star … (nta h L).
24
25 (* Basic eliminators ********************************************************)
26
27 axiom ntas_ind_dx: ∀h,L,T2. ∀R:predicate term. R T2 →
28                    (∀T1,T. ⦃h,L⦄ ⊢ T1 : T → ⦃h,L⦄ ⊢ T :* T2 → R T → R T1) →
29                    ∀T1. ⦃h,L⦄ ⊢ T1 :* T2 → R T1.
30 (*
31 #h #L #T2 #R #HT2 #IHT2 #T1 #HT12
32 @(star_ind_dx … HT2 IHT2 … HT12) //
33 qed-.
34 *)
35 (* Basic properties *********************************************************)
36
37 lemma ntas_strap1: ∀h,L,T1,T,T2.
38                    ⦃h,L⦄ ⊢ T1 :* T → ⦃h,L⦄  ⊢ T : T2 → ⦃h,L⦄  ⊢ T1 :* T2.
39 /2 width=3/ qed.
40
41 lemma ntas_strap2: ∀h,L,T1,T,T2.
42                    ⦃h,L⦄  ⊢ T1 : T → ⦃h,L⦄ ⊢ T :* T2 → ⦃h,L⦄ ⊢ T1 :* T2.
43 /2 width=3/ qed.
44 *)