prove_rep_fn_onto : thm -> thm
STRUCTURE
SYNOPSIS
Proves that a type representation function is onto (surjective).
DESCRIPTION
If th is a theorem of the form returned by the function define_new_type_bijections:
   |- (!a. abs(rep a) = a) /\ (!r. P r = (rep(abs r) = r))
then prove_rep_fn_onto th proves from this theorem that the function rep is onto the set of values that satisfy P, returning the theorem:
   |- !r. P r = (?a. r = rep a)

FAILURE
Fails if applied to a theorem not of the form shown above.
SEEALSO
HOL  Kananaskis-14