equal
deleted
inserted
replaced
118 (*Prevents simplification of x and y: much faster*) |
118 (*Prevents simplification of x and y: much faster*) |
119 val if_weak_cong = prove_goal HOL.thy |
119 val if_weak_cong = prove_goal HOL.thy |
120 "b=c ==> if(b,x,y) = if(c,x,y)" |
120 "b=c ==> if(b,x,y) = if(c,x,y)" |
121 (fn [prem] => [rtac (prem RS arg_cong) 1]); |
121 (fn [prem] => [rtac (prem RS arg_cong) 1]); |
122 |
122 |
|
123 (*Prevents simplification of t: much faster*) |
|
124 val let_weak_cong = prove_goal HOL.thy |
|
125 "a = b ==> (let x=a in t(x)) = (let x=b in t(x))" |
|
126 (fn [prem] => [rtac (prem RS arg_cong) 1]); |
|
127 |
123 end; |
128 end; |