X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Fetc%2Funwind2_rmap_closed_1.etc;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fdelayed_updating%2Fetc%2Funwind2_rmap_closed_1.etc;h=df946bf8f9208d1a5e835f9eac39feb6067d0291;hb=d108bcea8ebae11b03e8d8a155dfd3f2eb445127;hp=0000000000000000000000000000000000000000;hpb=4939d8280cb3467cd8fa648b1cea04f74d71e8b7;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2_rmap_closed_1.etc b/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2_rmap_closed_1.etc new file mode 100644 index 000000000..df946bf8f --- /dev/null +++ b/matita/matita/contribs/lambdadelta/delayed_updating/etc/unwind2_rmap_closed_1.etc @@ -0,0 +1,110 @@ +include "ground/arith/nat_le_plus.ma". +include "ground/arith/nat_le_pred.ma". + +lemma tls_succ_unwind2_rmap_append_closed_Lq_dx (o) (f) (p) (q) (n): + q ϵ 𝐂❨o,n❩ → + ▶[f]p ≗ ⇂*[↑n]▶[f](p●𝗟◗q). +/2 width=2 by tls_succ_plus_unwind2_rmap_push_closed/ +qed-. + +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 // 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/ +qed-.