X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Fnstream_after.ma;h=ca3ad7bc7c44535ed250d434ea40d6549336f835;hp=6ce6fa476a68bc4e2ed4587653a9f4e0d25b2677;hb=bd53c4e895203eb049e75434f638f26b5a161a2b;hpb=3b7b8afcb429a60d716d5226a5b6ab0d003228b1 diff --git a/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream_after.ma b/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream_after.ma index 6ce6fa476..ca3ad7bc7 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream_after.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream_after.ma @@ -18,7 +18,7 @@ include "ground_2/relocation/rtmap_after.ma". (* RELOCATION N-STREAM ******************************************************) corec definition compose: rtmap → rtmap → rtmap. -#f2 * #n1 #f1 @(seq … (f2@❴n1❵)) @(compose ? f1) -compose -f1 +#f2 * #n1 #f1 @(seq … (f2@❨n1❩)) @(compose ? f1) -compose -f1 @(⫰*[↑n1] f2) defined. @@ -27,7 +27,7 @@ interpretation "functional composition (nstream)" (* Basic properies on compose ***********************************************) -lemma compose_rew: ∀f2,f1,n1. f2@❴n1❵⨮(⫰*[↑n1]f2)∘f1 = f2∘(n1⨮f1). +lemma compose_rew: ∀f2,f1,n1. f2@❨n1❩⨮(⫰*[↑n1]f2)∘f1 = f2∘(n1⨮f1). #f2 #f1 #n1 <(stream_rew … (f2∘(n1⨮f1))) normalize // qed. @@ -39,7 +39,7 @@ qed. (* Basic inversion lemmas on compose ****************************************) lemma compose_inv_rew: ∀f2,f1,f,n1,n. f2∘(n1⨮f1) = n⨮f → - f2@❴n1❵ = n ∧ (⫰*[↑n1]f2)∘f1 = f. + f2@❨n1❩ = n ∧ (⫰*[↑n1]f2)∘f1 = f. #f2 #f1 #f #n1 #n <(stream_rew … (f2∘(n1⨮f1))) normalize #H destruct /2 width=1 by conj/ qed-. @@ -51,13 +51,13 @@ lemma compose_inv_O2: ∀f2,f1,f,n2,n. (n2⨮f2)∘(⫯f1) = n⨮f → qed-. lemma compose_inv_S2: ∀f2,f1,f,n2,n1,n. (n2⨮f2)∘(↑n1⨮f1) = n⨮f → - ↑(n2+f2@❴n1❵) = n ∧ f2∘(n1⨮f1) = f2@❴n1❵⨮f. + ↑(n2+f2@❨n1❩) = n ∧ f2∘(n1⨮f1) = f2@❨n1❩⨮f. #f2 #f1 #f #n2 #n1 #n