X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Flib%2Fstreams.ma;h=e1b3a68124c4ae14047c5ef8f75d17bf7257e3ae;hp=d342a9934dc1e3c0d23b1a83b326a6d826259adf;hb=ff612dc35167ec0c145864c9aa8ae5e1ebe20a48;hpb=859c5cbb8ebffeddd1dd9cbc462e046b0709b4e4 diff --git a/matita/matita/contribs/lambdadelta/ground_2/lib/streams.ma b/matita/matita/contribs/lambdadelta/ground_2/lib/streams.ma index d342a9934..e1b3a6812 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/lib/streams.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/lib/streams.ma @@ -12,8 +12,8 @@ (* *) (**************************************************************************) -include "ground_2/notation/constructors/cons_2.ma". -include "ground_2/lib/star.ma". +include "ground_2/notation/functions/oplusright_3.ma". +include "ground_2/lib/relations.ma". (* STREAMS ******************************************************************) @@ -21,10 +21,10 @@ coinductive stream (A:Type[0]): Type[0] ≝ | seq: A → stream A → stream A . -interpretation "cons (nstream)" 'Cons b t = (seq ? b t). +interpretation "cons (nstream)" 'OPlusRight A a u = (seq A a u). (* Basic properties *********************************************************) -lemma stream_rew (A) (t:stream A): match t with [ seq a u ⇒ a @ u ] = t. +lemma stream_rew (A) (t:stream A): match t with [ seq a u ⇒ a ⨮ u ] = t. #A * // qed.