src/HOL/SMT/Tools/z3_proof_terms.ML
changeset 33664 d62805a237ef
parent 33243 17014b1b9353
child 34960 1d5ee19ef940
equal deleted inserted replaced
33663:a84fd6385832 33664:d62805a237ef
   130 fun mk_bound thy i T =
   130 fun mk_bound thy i T =
   131   let val ct = Thm.cterm_of thy (Var ((Name.uu, 0), T))
   131   let val ct = Thm.cterm_of thy (Var ((Name.uu, 0), T))
   132   in mk_preterm (ct, [(i, ct)]) end
   132   in mk_preterm (ct, [(i, ct)]) end
   133 
   133 
   134 local
   134 local
   135 fun mk_quant q thy (n, T) e =
   135 fun mk_quant q thy (_, T) e =
   136   let
   136   let
   137     val (ct, vs) = dest_preterm e
   137     val (ct, vs) = dest_preterm e
   138     val cv =
   138     val cv =
   139       (case AList.lookup (op =) vs 0 of
   139       (case AList.lookup (op =) vs 0 of
   140         SOME cv => cv
   140         SOME cv => cv