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