src/HOL/Quot/PER.ML
author paulson
Mon, 26 May 1997 12:36:16 +0200
changeset 3339 cfa72a70f2b5
parent 2904 fc10751254aa
child 3457 a8ab7c64817c
permissions -rw-r--r--
Tidying and a couple of useful lemmas

(*  Title:      HOL/Quot/PER.ML
    ID:         $Id$
    Author:     Oscar Slotosch
    Copyright   1997 Technische Universitaet Muenchen

*)
open PER;

goalw thy [fun_per_def,per_def] "f===g=(!x y.x:D&y:D&x===y-->f x===g y)";
br refl 1;
qed "inst_fun_per";

(* Witness that quot is not empty *)
goal thy "?z:{s.? r.!y.y:s=y===r}";
fr CollectI;
by (res_inst_tac [("x","x")] exI 1);
br allI 1;
br mem_Collect_eq 1;
qed "quotNE";