src/HOL/Tools/meson.ML
changeset 20361 1aaf9ebe248d
parent 20288 8ff4a0ea49b2
child 20417 c611b1412056
equal deleted inserted replaced
20360:8c8c824dccdc 20361:1aaf9ebe248d
   176   | nclauses _ = 1; (* literal *)
   176   | nclauses _ = 1; (* literal *)
   177 
   177 
   178 (*Replaces universally quantified variables by FREE variables -- because
   178 (*Replaces universally quantified variables by FREE variables -- because
   179   assumptions may not contain scheme variables.  Later, call "generalize". *)
   179   assumptions may not contain scheme variables.  Later, call "generalize". *)
   180 fun freeze_spec th =
   180 fun freeze_spec th =
   181   let val newname = gensym "A_"
   181   let val newname = gensym "mes_"
   182       val spec' = read_instantiate [("x", newname)] spec
   182       val spec' = read_instantiate [("x", newname)] spec
   183   in  th RS spec'  end;
   183   in  th RS spec'  end;
   184 
   184 
   185 (*Used with METAHYPS below. There is one assumption, which gets bound to prem
   185 (*Used with METAHYPS below. There is one assumption, which gets bound to prem
   186   and then normalized via function nf. The normal form is given to resolve_tac,
   186   and then normalized via function nf. The normal form is given to resolve_tac,