src/HOLCF/Tools/domain/domain_theorems.ML
changeset 31288 67dff9c5b2bd
parent 31232 689aa7da48cc
equal deleted inserted replaced
31287:6c593b431f04 31288:67dff9c5b2bd
   537         if nonlazy args1 = [] then [eq1, eq1 RS not_sym] else
   537         if nonlazy args1 = [] then [eq1, eq1 RS not_sym] else
   538         if nonlazy args2 = [] then [eq2, eq2 RS not_sym] else
   538         if nonlazy args2 = [] then [eq2, eq2 RS not_sym] else
   539           [eq1, eq2]
   539           [eq1, eq2]
   540       end;
   540       end;
   541     fun distincts []      = []
   541     fun distincts []      = []
   542       | distincts ((c,leqs)::cs) = flat
   542       | distincts ((c,leqs)::cs) =
   543 	            (ListPair.map (distinct c) ((map #1 cs),leqs)) @
   543         flat
   544 		    distincts cs;
   544           (ListPair.map (distinct c) ((map #1 cs),leqs)) @
       
   545         distincts cs;
   545   in map standard (distincts (cons ~~ distincts_le)) end;
   546   in map standard (distincts (cons ~~ distincts_le)) end;
   546 
   547 
   547 local 
   548 local 
   548   fun pgterm rel con args =
   549   fun pgterm rel con args =
   549     let
   550     let