dest_thy_type
    : hol_type -> {Thy:string, Tyop:string,
                   Args:hol_type list}
STRUCTURE
SYNOPSIS
Breaks apart a type (other than a variable type).

DESCRIPTION
If ty is an application of a type operator Tyop, which was declared in theory Thy, to a list of types Args, then dest_thy_type ty returns {Tyop,Thy,Args}.
FAILURE
Fails if ty is a type variable.
EXAMPLE
- dest_thy_type “:'a -> bool”;
> val it = {Args = [“:α”, “:bool”], Thy = "min", Tyop = "fun"} :

- try dest_thy_type alpha;

Exception raised at Type.dest_thy_type:

SEEALSO
HOL  Trindemossen-1