equal
deleted
inserted
replaced
319 |
319 |
320 (*like strip_top_All_vars but for "Pure.all" instead of "HOL.All"*) |
320 (*like strip_top_All_vars but for "Pure.all" instead of "HOL.All"*) |
321 fun strip_top_all_vars acc t = |
321 fun strip_top_all_vars acc t = |
322 if Logic.is_all t then |
322 if Logic.is_all t then |
323 let |
323 let |
324 val (v, t') = Logic.dest_all t |
324 val (v, t') = Logic.dest_all_global t |
325 (*bound instances in t' are replaced with free vars*) |
325 (*bound instances in t' are replaced with free vars*) |
326 in |
326 in |
327 strip_top_all_vars (v :: acc) t' |
327 strip_top_all_vars (v :: acc) t' |
328 end |
328 end |
329 else (acc, (*variables are returned in FILO order*) |
329 else (acc, (*variables are returned in FILO order*) |