]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/lib/lambda/terms/iterated_abstraction.ma
a4aa4f46f8e0650df3fd1fe57ddaea437833e7e7
[helm.git] / matita / matita / lib / lambda / terms / iterated_abstraction.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 "lambda/terms/term.ma".
16
17 (* ITERATED ABSTRACTION *****************************************************)
18
19 let rec abst d M on d ≝ match d with
20 [ O   ⇒ M
21 | S e ⇒ 𝛌. (abst e M)
22 ].
23
24 interpretation "iterated abstraction (term)"
25    'AnnotatedAbstraction d M = (abst d M).
26
27 lemma abst_plus: ∀A,m,n. 𝛌m+n.A = 𝛌m.𝛌n.A.
28 #A #m elim m -m normalize //
29 qed.