friend_of_corec h1 where "h1 x = ACons undefined undefined"sorry
friend_of_corec h2 where "h2 x = (case x of
ACons a t \<Rightarrow> ACons a (h1 (h2 t))
| BCons b t \<Rightarrow> BCons b (h1 (h2 t)))" sorry
friend_of_corec h3 where "h3 x = (case x of
ACons a t \<Rightarrow> ACons a (h1 (h3 t))
| BCons b t \<Rightarrow> BCons b (h1 (h3 t)))" sorry
friend_of_corec h4 where "h4 x = (case x of
ACons a t \<Rightarrow> ACons a (h1 (h4 t))
| BCons b t \<Rightarrow> BCons b (h1 (h4 t)))" sorry
corec (friend) h5 where "h5 x = (case x of
ACons a t \<Rightarrow> ACons a (h1 (h2 (h3 (h4 (h5 t)))))
| BCons b t \<Rightarrow> BCons b (h1 (h2 (h3 (h4 (h5 t))))))"
corec (friend) h6 :: "(nat, nat) ABstream \ (nat, nat) ABstream" where "h6 x = (case x of
ACons a t \<Rightarrow> ACons a (h6 (h1 (h2 (h3 (h4 (h5 (h6 t)))))))
| BCons b t \<Rightarrow> BCons b (h1 (h2 (h3 (h4 (h5 (h6 t)))))))"
end
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.