X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Frelocation%2Fnstream.ma;h=c5ccb7373a489400abfad21e4e23e1170713cb11;hb=e8fb201bad04ec30867659c2d42ef45a4b6c3393;hp=2106418bc42577a9f96bcc86e73de40939e0d404;hpb=397413c4196f84c81d61ba7dd79b54ab1c428ebb;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream.ma b/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream.ma index 2106418bc..c5ccb7373 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/relocation/nstream.ma @@ -13,28 +13,28 @@ (**************************************************************************) include "ground_2/notation/functions/upspoon_1.ma". -include "ground_2/lib/streams_tls.ma". +include "ground_2/lib/stream_tls.ma". (* RELOCATION N-STREAM ******************************************************) definition rtmap: Type[0] ≝ stream nat. -definition push: rtmap → rtmap ≝ λf. 0@f. +definition push: rtmap → rtmap ≝ λf. 0⨮f. interpretation "push (nstream)" 'UpSpoon f = (push f). definition next: rtmap → rtmap. -* #n #f @(↑n@f) +* #n #f @(↑n⨮f) defined. interpretation "next (nstream)" 'UpArrow f = (next f). (* Basic properties *********************************************************) -lemma push_rew: ∀f. 0@f = ⫯f. +lemma push_rew: ∀f. 0⨮f = ⫯f. // qed. -lemma next_rew: ∀f,n. (↑n)@f = ↑(n@f). +lemma next_rew: ∀f,n. (↑n)⨮f = ↑(n⨮f). // qed. (* Basic inversion lemmas ***************************************************) @@ -55,19 +55,19 @@ lemma injective_next: injective ? ? next. * #n1 #f1 * #n2 #f2 normalize #H destruct // qed-. -lemma push_inv_seq_sn: ∀f,g,n. n@g = ⫯f → 0 = n ∧ g = f. +lemma push_inv_seq_sn: ∀f,g,n. n⨮g = ⫯f → 0 = n ∧ g = f. #f #g #n