src/Provers/blast.ML
changeset 26938 64e850c3da9e
parent 26928 ca87aff1ad2d
child 26939 1035c89b4c02
equal deleted inserted replaced
26937:57e7d045774a 26938:64e850c3da9e
   585 
   585 
   586 
   586 
   587 val dummyTVar = Term.TVar(("a",0), []);
   587 val dummyTVar = Term.TVar(("a",0), []);
   588 val dummyVar2 = Term.Var(("var",0), dummyT);
   588 val dummyVar2 = Term.Var(("var",0), dummyT);
   589 
   589 
   590 (*convert Blast_tac's type representation to real types for tracing*)
   590 (*convert blast_tac's type representation to real types for tracing*)
   591 fun showType (Free a)  = Term.TFree (a,[])
   591 fun showType (Free a)  = Term.TFree (a,[])
   592   | showType (Var _)   = dummyTVar
   592   | showType (Var _)   = dummyTVar
   593   | showType t         =
   593   | showType t         =
   594       (case strip_comb t of
   594       (case strip_comb t of
   595            (Const (a, _), us) => Term.Type(a, map showType us)
   595            (Const (a, _), us) => Term.Type(a, map showType us)