1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "lambda/levels/term.ma".
17 include "lambda/notation/functions/annotatedabstraction_2.ma".
19 (* ITERATED ABSTRACTION *****************************************************)
21 definition labst: nat → lterm → lterm ≝ λh,M. match M with
23 | LAppl i C A ⇒ {i+h}@C.A
26 interpretation "iterated abstraction (term by level)"
27 'AnnotatedAbstraction h M = (labst h M).
29 interpretation "abstraction (term by level)"
30 'Abstraction M = (labst (S O) M).
32 lemma labst_O: ∀M. 𝛌0.M = M.