author | paulson |
Fri, 31 Jul 1998 18:46:28 +0200 | |
changeset 5231 | 2a454140ae24 |
parent 5230 | fdc28193ccf7 |
child 5232 | e5a7cdd07ea5 |
--- a/src/HOL/Relation.ML Fri Jul 31 11:33:53 1998 +0200 +++ b/src/HOL/Relation.ML Fri Jul 31 18:46:28 1998 +0200 @@ -242,3 +242,15 @@ qed_goalw "UnivalentD" Relation.thy [Univalent_def] "!!r. [| Univalent r; (x,y):r; (x,z):r|] ==> y=z" (K [Auto_tac]); + + +(** Graphs of partial functions **) + +Goal "Domain{(x,y). y = f x & P x} = {x. P x}"; +by (Blast_tac 1); +qed "Domain_partial_func"; + +Goal "Range{(x,y). y = f x & P x} = f``{x. P x}"; +by (Blast_tac 1); +qed "Range_partial_func"; +