equal
deleted
inserted
replaced
479 val vs' = Term.add_tfrees t' []; |
479 val vs' = Term.add_tfrees t' []; |
480 val consts = fold_aterms |
480 val consts = fold_aterms |
481 (fn Const (c, _) => insert (op =) c | _ => I) t' []; |
481 (fn Const (c, _) => insert (op =) c | _ => I) t' []; |
482 val (algebra', eqngr') = obtain false thy consts [t']; |
482 val (algebra', eqngr') = obtain false thy consts [t']; |
483 in |
483 in |
484 evaluator algebra' eqngr' vs' t' |
484 t' |
|
485 |> evaluator algebra' eqngr' vs' |
485 |> postproc (postprocess_term thy o resubst) |
486 |> postproc (postprocess_term thy o resubst) |
486 end; |
487 end; |
487 |
488 |
488 fun static_eval_conv thy consts conv = |
489 fun static_eval_conv thy consts conv = |
489 let |
490 let |