RIGHT_LIST_PBETA : (thm -> thm)
STRUCTURE
LIBRARY
pair
SYNOPSIS
Iteratively beta-reduces a top-level paired beta-redex on the right-hand side of an equation.
DESCRIPTION
When applied to an equational theorem, RIGHT_LIST_PBETA applies paired beta-reduction over a top-level chain of beta-redexes to the right-hand side (only). Variables are renamed if necessary to avoid free variable capture.
    A |- s = (\p1...pn. t) q1 ... qn
   ----------------------------------  RIGHT_LIST_BETA
       A |- s = t[q1/p1]...[qn/pn]

FAILURE
Fails unless the theorem is equational, with its right-hand side being a top-level paired beta-redex.
SEEALSO
HOL  Kananaskis-14