(**************************************************************************) (* ___ *) (* ||M|| *) (* ||A|| A project by Andrea Asperti *) (* ||T|| *) (* ||I|| Developers: *) (* ||T|| The HELM team. *) (* ||A|| http://helm.cs.unibo.it *) (* \ / *) (* \ / This file is distributed under the terms of the *) (* v GNU General Public License Version 2 *) (* *) (**************************************************************************) include "delayed_updating/syntax/path_head.ma". include "delayed_updating/syntax/path_height_labels.ma". include "delayed_updating/syntax/path_depth_labels.ma". (* HEAD FOR PATH ************************************************************) (* Constructions with depth and height **************************************) lemma path_head_depth (p) (n): n + ♯(↳[n]p) = ♭↳[n]p. #p elim p -p // #l #p #IH #n @(nat_ind_succ … n) -n // #n #_ cases l [ #k ] [