]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/delayed_updating/substitution/lift_path_length.ma
755f8d16e49ab536a16727fabbc874e95449ec10
[helm.git] / matita / matita / contribs / lambdadelta / delayed_updating / substitution / lift_path_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_gen_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_d_sn
26 | <lift_path_m_sn
27 | <lift_path_L_sn
28 | <lift_path_A_sn
29 | <lift_path_S_sn
30 ]
31 >list_length_lcons >list_length_lcons //
32 qed.