]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_length.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / substitution / lift_length.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 "delayed_updating/substitution/lift_eq.ma".
16 include "ground/lib/list_length.ma".
17
18 (* LIFT FOR PATH ***********************************************************)
19
20 (* Constructions with list_length ******************************************)
21
22 lemma lift_path_length (p) (f):
23       ❘p❘ = ❘↑[f]p❘.
24 #p elim p -p // * [ #n ] #p #IH #f //
25 [ <lift_path_m_sn
26 | <lift_path_L_sn
27 | <lift_path_A_sn
28 | <lift_path_S_sn
29 ]
30 >list_length_lcons >list_length_lcons //
31 qed.