equal
deleted
inserted
replaced
426 |
426 |
427 |
427 |
428 fun mk_bounded_forall_generator_expr ctxt (t, eval_terms) = |
428 fun mk_bounded_forall_generator_expr ctxt (t, eval_terms) = |
429 let |
429 let |
430 val frees = Term.add_free_names t [] |
430 val frees = Term.add_free_names t [] |
431 val dummy_term = @{term "Code_Evaluation.Const (STR ''dummy_pattern'') |
431 val dummy_term = @{term "Code_Evaluation.Const (STR ''Pure.dummy_pattern'') |
432 (Typerep.Typerep (STR ''dummy'') [])"} |
432 (Typerep.Typerep (STR ''dummy'') [])"} |
433 val return = @{term "Some :: term list => term list option"} $ |
433 val return = @{term "Some :: term list => term list option"} $ |
434 (HOLogic.mk_list @{typ "term"} |
434 (HOLogic.mk_list @{typ "term"} |
435 (replicate (length frees + length eval_terms) dummy_term)) |
435 (replicate (length frees + length eval_terms) dummy_term)) |
436 val wrap = absdummy @{typ bool} |
436 val wrap = absdummy @{typ bool} |