]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground_2/lib/streams.ma
syntactic components detached from basic_2 become static_2
[helm.git] / matita / matita / contribs / lambdadelta / ground_2 / lib / streams.ma
index d342a9934dc1e3c0d23b1a83b326a6d826259adf..e1b3a68124c4ae14047c5ef8f75d17bf7257e3ae 100644 (file)
@@ -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.