]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambda_delta/basic_2/grammar/term_vector.ma
We are decapitalizing the contributions' names ...
[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.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).