RIGHT_ETA
Drule.RIGHT_ETA : thm -> thm
Perform one step of eta-reduction on the right hand side of an equational theorem.
A |- M = (\x. (N x))
--------------------- x not free in N
A |- M = N
If the right hand side of the equation is not an eta-redex, or if the theorem is not an equation.
- val INC_DEF = new_definition ("INC_DEF", Term`INC = \x. 1 + x`);
> val INC_DEF = |- INC = (\x. 1 + x) : thm
- RIGHT_ETA INC_DEF;
> val it = |- INC = $+ 1 : thm