src/HOL/Lifting.thy
changeset 55737 84f6ac9f6e41
parent 55731 66df76dd2640
child 55945 e96383acecf9
     1.1 --- a/src/HOL/Lifting.thy	Tue Feb 25 19:07:14 2014 +0100
     1.2 +++ b/src/HOL/Lifting.thy	Tue Feb 25 19:07:40 2014 +0100
     1.3 @@ -296,7 +296,10 @@
     1.4    shows "x = y"
     1.5  using assms by (simp add: invariant_def)
     1.6  
     1.7 -lemma fun_rel_eq_invariant:
     1.8 +lemma fun_rel_eq_invariant: "(op= ===> Lifting.invariant P) = Lifting.invariant (\<lambda>f. \<forall>x. P(f x))"
     1.9 +unfolding invariant_def fun_rel_def by auto
    1.10 +
    1.11 +lemma fun_rel_invariant_rel:
    1.12    shows "((invariant R) ===> S) = (\<lambda>f g. \<forall>x. R x \<longrightarrow> S (f x) (g x))"
    1.13  by (auto simp add: invariant_def fun_rel_def)
    1.14