src/HOL/Quot/PER.ML
author paulson
Fri, 18 Feb 2000 15:35:29 +0100
changeset 8255 38f96394c099
parent 6162 484adda70b65
permissions -rw-r--r--
new distributive laws

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

*)
open PER;

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

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