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=a308e54812be21c69e0cc20b3fccfac503066dd9;hp=4ae6c939a511d00f54ed9c4b15376c54e1d3afb2;hb=a77d0bd6a04e94f765d329d47b37d9e04d349b14;hpb=b598b37379baabef24ae511596be7f740cbb0c2e diff --git a/matita/matita/contribs/lambdadelta/ground_2/lib/streams.ma b/matita/matita/contribs/lambdadelta/ground_2/lib/streams.ma index 4ae6c939a..a308e5481 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/lib/streams.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/lib/streams.ma @@ -12,7 +12,7 @@ (* *) (**************************************************************************) -include "ground_2/notation/constructors/cons_2.ma". +include "ground_2/notation/constructors/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.