When we define inductive types we wish to be sure we know the rules governing these types. How do we know the rules make sense? Is there a mathematical model of these types?
In the case of -inductive types the rules are very well
understood. They can be classified as following :-
But we cannot use conventional set theory to represent co-inductive types
because in set theory a stream like would actually
be treated as the set
. We cannot represent such
an infinite descending chain of sets as it violates the foundation
axiom of ZFC.