]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2A/grammar/term_vector.ma
update in lambdadelta
[helm.git] / matita / matita / contribs / lambdadelta / basic_2A / grammar / term_vector.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 "ground_2A/lib/list.ma".
16 include "basic_2A/notation/functions/snapplvector_2.ma".
17 include "basic_2A/grammar/term_simple.ma".
18
19 (* TERMS ********************************************************************)
20
21 let rec applv Vs T on Vs ≝
22   match Vs with
23   [ nil        ⇒ T
24   | cons hd tl ⇒ ⓐhd. (applv tl T)
25   ].
26
27 interpretation "application to vector (term)"
28    'SnApplVector Vs T = (applv Vs T).
29
30 (* properties concerning simple terms ***************************************)
31
32 lemma applv_simple: ∀T,Vs.  𝐒⦃T⦄ → 𝐒⦃ⒶVs.T⦄.
33 #T * //
34 qed.