(**************************************************************************) (* ___ *) (* ||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/substitution/lift_rmap_eq.ma". include "delayed_updating/syntax/path_head.ma". include "ground/lib/stream_eq_eq.ma". (* LIFT MAP FOR PATH ********************************************************) (* Constructions with path_head *********************************************) lemma tls_plus_lift_rmap_closed (f) (q) (n) (m): q = ↳[n]q → ⇂*[m]f ≗ ⇂*[n+m]↑[q]f. #f #q elim q -q [ #n #m #Hq <(eq_inv_path_empty_head … Hq) -n // | #l #q #IH #n @(nat_ind_succ … n) -n // #n #_ #m cases l [ #k ] [ nrplus_inj_dx >nrplus_inj_sn >nrplus_inj_sn nsucc_unfold /2 width=1 by/ |