From 0818b903bf0fb363fab2d7d9f1da64956ea54e81 Mon Sep 17 00:00:00 2001 From: Ferruccio Guidi Date: Sun, 13 Feb 2022 20:14:50 +0100 Subject: [PATCH] update in ground + main commutation of tr_compose and tr_uni --- .../lambdadelta/ground/etc/relocation/tr.etc | 29 +++++++++++++++++ .../ground/relocation/tr_id_pap.ma | 2 +- .../ground/relocation/tr_pap_tls.ma | 6 ++-- .../lambdadelta/ground/relocation/tr_uni.ma | 3 ++ .../ground/relocation/tr_uni_compose.ma | 30 ++++++++++++++++++ .../ground/relocation/tr_uni_pap.ma | 31 +++++++++++++++++++ .../lambdadelta/ground/web/ground_src.tbl | 2 +- 7 files changed, 98 insertions(+), 5 deletions(-) create mode 100644 matita/matita/contribs/lambdadelta/ground/etc/relocation/tr.etc create mode 100644 matita/matita/contribs/lambdadelta/ground/relocation/tr_uni_compose.ma create mode 100644 matita/matita/contribs/lambdadelta/ground/relocation/tr_uni_pap.ma diff --git a/matita/matita/contribs/lambdadelta/ground/etc/relocation/tr.etc b/matita/matita/contribs/lambdadelta/ground/etc/relocation/tr.etc new file mode 100644 index 000000000..ba3287eb6 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/ground/etc/relocation/tr.etc @@ -0,0 +1,29 @@ +lemma pippo (f): + f@❨𝟏❩⨮⇂f = f. +* #p #f // +qed. + +corec lemma tr_compose_id_dx (f): + f ≗ f∘𝐢. +cases tr_id_unfold +cases tr_compose_unfold +cases (pippo f) in ⊢ (??%?); +@stream_eq_cons /2 width=1 by/ +qed. + +axiom pippo2 (f) (p): + f@❨p❩ + (⇂*[ninj p]f)@❨𝟏❩ = f@❨↑p❩. + +lemma tr_uni_tl (n): + (𝐢) = ⇂𝐮❨n❩. +// qed. + +axiom tr_uni_tls_pos (p:pnat) (n): + (𝐢) = ⇂*[p]𝐮❨n❩. +(* +#p #n +>nsucc_pnpred (tr_pushs_id p) /2 width=1 by tr_pap_pushs_le/ diff --git a/matita/matita/contribs/lambdadelta/ground/relocation/tr_pap_tls.ma b/matita/matita/contribs/lambdadelta/ground/relocation/tr_pap_tls.ma index 978d360f6..678792ff5 100644 --- a/matita/matita/contribs/lambdadelta/ground/relocation/tr_pap_tls.ma +++ b/matita/matita/contribs/lambdadelta/ground/relocation/tr_pap_tls.ma @@ -19,9 +19,9 @@ include "ground/lib/stream_tls.ma". (* Constructions with stream_tls ********************************************) -lemma tr_pap_plus (i1) (i2) (f): - (⇂*[ninj i2]f)@❨i1❩+f@❨i2❩ = f@❨i1+i2❩. -#i1 #i2 elim i2 -i2 +lemma tr_pap_plus (p1) (p2) (f): + (⇂*[ninj p2]f)@❨p1❩+f@❨p2❩ = f@❨p1+p2❩. +#p1 #p2 elim p2 -p2 [ * #p #f // | #i #IH * #p #f