X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Flib%2Fstreams.ma;h=a308e54812be21c69e0cc20b3fccfac503066dd9;hb=a77d0bd6a04e94f765d329d47b37d9e04d349b14;hp=d342a9934dc1e3c0d23b1a83b326a6d826259adf;hpb=859c5cbb8ebffeddd1dd9cbc462e046b0709b4e4;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_2/lib/streams.ma b/matita/matita/contribs/lambdadelta/ground_2/lib/streams.ma index d342a9934..a308e5481 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/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.