Quot/Examples/LarryDatatype.thy
changeset 766 df053507edba
parent 723 93dce7c71929
child 767 37285ec4387d
equal deleted inserted replaced
765:d0250d01782c 766:df053507edba
   119   shows "freediscrim U = freediscrim V"
   119   shows "freediscrim U = freediscrim V"
   120 using a by (induct, auto)
   120 using a by (induct, auto)
   121 
   121 
   122 subsection{*The Initial Algebra: A Quotiented Message Type*}
   122 subsection{*The Initial Algebra: A Quotiented Message Type*}
   123 
   123 
   124 quotient  msg = freemsg / msgrel
   124 quotient_type msg = freemsg / msgrel
   125   by (rule equiv_msgrel)
   125   by (rule equiv_msgrel)
   126 
   126 
   127 text{*The abstract message constructors*}
   127 text{*The abstract message constructors*}
   128 
   128 
   129 quotient_def
   129 quotient_def