X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Funwind%2Funwind2_rmap_closed.ma;h=7dd546a81e61feda56cca9bca770dcb672079ee0;hb=d108bcea8ebae11b03e8d8a155dfd3f2eb445127;hp=b0d062de63b8dc18ef33d422531c793d28cee4d2;hpb=4939d8280cb3467cd8fa648b1cea04f74d71e8b7;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/unwind/unwind2_rmap_closed.ma b/matita/matita/contribs/lambdadelta/delayed_updating/unwind/unwind2_rmap_closed.ma index b0d062de6..7dd546a81 100644 --- a/matita/matita/contribs/lambdadelta/delayed_updating/unwind/unwind2_rmap_closed.ma +++ b/matita/matita/contribs/lambdadelta/delayed_updating/unwind/unwind2_rmap_closed.ma @@ -15,129 +15,61 @@ include "delayed_updating/unwind/unwind2_rmap_eq.ma". include "delayed_updating/syntax/path_closed.ma". include "delayed_updating/syntax/path_depth.ma". -include "ground/relocation/xap.ma". +include "ground/relocation/nap.ma". include "ground/lib/stream_tls_plus.ma". include "ground/lib/stream_eq_eq.ma". -include "ground/arith/nat_le_plus.ma". -include "ground/arith/nat_le_pred.ma". (* TAILED UNWIND FOR RELOCATION MAP *****************************************) (* Destructions with cpp ****************************************************) -lemma xap_le_unwind2_rmap_append_closed_dx (o) (f) (p) (q) (n): - q ϵ 𝐂❨o,n❩ → ∀m. m ≤ n → - ▶[f]q@❨m❩ = ▶[f](p●q)@❨m❩. -#o #f #p #q #n #Hq elim Hq -q -n -[|*: #q #n [ #k #_ ] #_ #IH ] #m #Hm -[ <(nle_inv_zero_dx … Hm) -m // -| H0 -H0 Ho // (nplus_zero_sn n) +<(nap_plus_unwind2_rmap_append_closed_Lq_dx … Hn) -Hn +nrplus_inj_dx >nrplus_inj_sn >nsucc_unfold // qed-. -lemma tls_plus_unwind2_rmap_closed_true (f) (q) (n): - q ϵ 𝐂❨Ⓣ,n❩ → - ∀m. ⇂*[m]f ≗ ⇂*[m+n]▶[f]q. -#f #q #n #Hq elim Hq -q -n // -#q #n #k #Ho #_ #IH #m ->Ho // nrplus_inj_dx >nrplus_inj_sn >nsucc_unfold ->nplus_succ_dx (xap_unwind2_rmap_append_closed_true_dx_depth f p … Hb) -Hb ->(nap_plus_unwind2_rmap_append_closed_Lq_dx_depth … Hq) -Hq // -qed-. - -lemma tls_succ_plus_unwind2_rmap_append_closed_bLq_dx (o) (f) (p) (b) (q) (m) (n): - b ϵ 𝐂❨Ⓣ,m❩ → q ϵ 𝐂❨o,n❩ → - ▶[f]p ≗ ⇂*[↑(m+n)]▶[f](p●b●𝗟◗q). -#o #f #p #b #q #m #n #Hb #Hq ->nplus_succ_dx list_append_assoc -@(stream_eq_trans … (tls_unwind2_rmap_append_closed_true_dx … Hb)) -Hb -/3 width=2 by stream_tls_eq_repl, tls_succ_unwind2_rmap_append_closed_Lq_dx/ + ∀m. ⇂*[m]▶[f]p ≗ ⇂*[↑(m+n)]▶[f](p●𝗟◗q). +#o #f #p #q #n #Hn #m +/2 width=2 by tls_succ_plus_unwind2_rmap_push_closed/ qed-.