{ "cmd": "target/release/compress -a3 -i10 --fmt=dreamcoder --out=data/expected_outputs/origami_1-a3-i10.json data/dc/origami/iteration_1_6.json", "args": { "file": "data/dc/origami/iteration_1_6.json", "out": "data/expected_outputs/origami_1-a3-i10.json", "iterations": 10, "shuffle": false, "truncate": null, "fmt": "Dreamcoder", "no_opt": false, "args_from_json": false, "save_rewritten": null, "step": { "max_arity": 3, "threads": 1, "batch": 1, "dynamic_batch": false, "refine": false, "max_refinement_size": null, "max_refinement_arity": 1, "inv_candidates": 1, "hole_choice": "DepthFirst", "no_mismatch_check": false, "no_top_lambda": false, "track": null, "track_refined": null, "follow_track": false, "verbose_worklist": false, "verbose_best": false, "print_stats": 0, "dreamcoder_drop_last": false, "no_cache": false, "show_rewritten": false, "no_opt_free_vars": false, "no_opt_single_use": false, "no_opt_single_task": false, "no_opt_upper_bound": false, "no_opt_force_multiuse": false, "no_opt_useless_abstract": false, "no_opt_arity_zero": false, "no_stats": false, "no_other_util": false, "rewrite_check": false, "utility_by_rewrite": false, "dreamcoder_comparison": false } }, "original_cost": 76666, "original": [ "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 1))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) 1))) 0)))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 $0 (lam (lam (+ $1 1))) 0))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))))", "(lam (prev_dc_inv_2 $0 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lam (prev_dc_inv_1 $0 (lam (- $0 1)) (lam (+ 1 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? $0 1))))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? $0 1))))", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ $0 1)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (cdr $0))) (lam (car $0)) (lam (empty? $0))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lam (prev_dc_inv_1 $0 (lam (cdr $0)) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (prev_dc_inv_2 (cdr $0) (lam $0))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (prev_dc_inv_2 $0 (lam $0)))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 (cdr $0) (lam (lam (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $0 (+ $1 1)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 1))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 (prev_dc_inv_2 $1 (lam $0)))))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $0 $1))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 $0))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (- $0 (- 0 $1)))) 0))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ $0 ($3 (cdr $2))))) 0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) $0))) 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons (- 1 1) empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam $0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 1)))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 $0)))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ $0 $0))) (lam $0)))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam $0)) (lam (+ $0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0)))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 1))))", "(lam (prev_dc_inv_2 $0 (lam (+ 1 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 1)))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (- 0 $0)))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ 1 $0))) (lam $0)))", "(lam (prev_dc_inv_2 $0 (lam (- 0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (+ $0 $0)))))", "(lam (prev_dc_inv_2 $0 (lam (- (- $0 $0) $0))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ $0 1)))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ 1 $0)))))" ], "invs": [ { "body": "(prev_dc_inv_1 #2 (lam (#1 $0 1)) (lam $0) (lam (eq? $0 #0)))", "dreamcoder": "#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3))))))", "arity": 3, "name": "fn_3", "rewritten": [ "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 1))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) 1))) 0)))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 $0 (lam (lam (+ $1 1))) 0))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))))", "(lam (prev_dc_inv_2 $0 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lam (prev_dc_inv_1 $0 (lam (- $0 1)) (lam (+ 1 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 1 - (+ $0 1)))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (fn_3 1 - (+ 1 $0)))", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ $0 1)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 0 - (- 0 $0)))", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (cdr $0))) (lam (car $0)) (lam (empty? $0))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lam (prev_dc_inv_1 $0 (lam (cdr $0)) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (prev_dc_inv_2 (cdr $0) (lam $0))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (prev_dc_inv_2 $0 (lam $0)))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 (cdr $0) (lam (lam (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lam (fn_3 $0 + 0))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $1 $0))))", "(lam (fn_3 $0 + (- $0 $0)))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (fn_3 (+ $0 1) + 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 1))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 (prev_dc_inv_2 $1 (lam $0)))))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $0 $1))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 $0))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (- $0 (- 0 $1)))) 0))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ $0 ($3 (cdr $2))))) 0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) $0))) 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons (- 1 1) empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam $0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 1)))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 $0)))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ $0 $0))) (lam $0)))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam $0)) (lam (+ $0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0)))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 1))))", "(lam (prev_dc_inv_2 $0 (lam (+ 1 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 1)))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (- 0 $0)))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ 1 $0))) (lam $0)))", "(lam (prev_dc_inv_2 $0 (lam (- 0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (+ $0 $0)))))", "(lam (prev_dc_inv_2 $0 (lam (- (- $0 $0) $0))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ $0 1)))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ 1 $0)))))" ], "rewritten_dreamcoder": [ "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) 1))) 0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 1))) 0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $1 1))) 0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? $0 0) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (- $0 1)) (lambda (+ 1 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) 1 - (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ $0 1) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) 1 - (+ 1 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ 1 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ $0 1)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? $0 0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) 0 - (- 0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- 0 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (cdr $0))) (lambda (car $0)) (lambda (empty? $0))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr $0)) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (cdr $0) (lambda $0))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) $0 + 0))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) $0 + (- $0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) (+ $0 1) + 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $1 (lambda $0)))))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 $0))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $0 (- 0 $1)))) 0))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 ($3 (cdr $2))))) 0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) $0))) 0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 empty)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons (- 1 1) empty)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (- 0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)) (lambda (+ $0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) empty (lambda (lambda 0)) $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (- 0 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (- 0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (+ $0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- (- $0 $0) $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (+ $0 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (+ 1 $0)))))" ], "utility": 1219, "expected_cost": 11437, "final_cost": 11437, "multiplier": 1.1600069948413045, "multiplier_wrt_orig": 1.1600069948413045, "num_uses": 6, "uses": [ { "fn_3 1 - (+ $0 1)": "(prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? $0 1)))" }, { "fn_3 1 - (+ 1 $0)": "(prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? $0 1)))" }, { "fn_3 $0 + (- $0 $0)": "(prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (eq? $0 $1)))" }, { "fn_3 0 - (- 0 $0)": "(prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? $0 0)))" }, { "fn_3 $0 + 0": "(prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $0 $1)))" }, { "fn_3 (+ $0 1) + 0": "(prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $0 (+ $1 1))))" } ] }, { "body": "(lam (prev_dc_inv_0 $0 (lam (lam (if (#1 $0 #0) $1 (cons $0 $1)))) empty))", "dreamcoder": "#(lambda (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if ($3 $0 $4) $1 (cons $0 $1)))) empty))))", "arity": 2, "name": "fn_4", "rewritten": [ "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 1))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) 1))) 0)))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 $0 (lam (lam (+ $1 1))) 0))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))))", "(lam (prev_dc_inv_2 $0 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0)))))", "(fn_4 0 eq?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lam (prev_dc_inv_1 $0 (lam (- $0 1)) (lam (+ 1 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 1 - (+ $0 1)))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (fn_3 1 - (+ 1 $0)))", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ $0 1)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 0 - (- 0 $0)))", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (cdr $0))) (lam (car $0)) (lam (empty? $0))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lam (prev_dc_inv_1 $0 (lam (cdr $0)) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (prev_dc_inv_2 (cdr $0) (lam $0))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (prev_dc_inv_2 $0 (lam $0)))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 (cdr $0) (lam (lam (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lam (fn_3 $0 + 0))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $1 $0))))", "(lam (fn_3 $0 + (- $0 $0)))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (fn_3 (+ $0 1) + 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 1))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 (prev_dc_inv_2 $1 (lam $0)))))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $0 $1))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 $0))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (- $0 (- 0 $1)))) 0))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ $0 ($3 (cdr $2))))) 0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) $0))) 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons (- 1 1) empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam $0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 1)))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 $0)))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ $0 $0))) (lam $0)))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam $0)) (lam (+ $0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0)))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 1))))", "(lam (prev_dc_inv_2 $0 (lam (+ 1 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 1)))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (- 0 $0)))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ 1 $0))) (lam $0)))", "(lam (prev_dc_inv_2 $0 (lam (- 0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (+ $0 $0)))))", "(lam (prev_dc_inv_2 $0 (lam (- (- $0 $0) $0))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ $0 1)))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ 1 $0)))))" ], "rewritten_dreamcoder": [ "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) 1))) 0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 1))) 0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $1 1))) 0)))))", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if ($3 $0 $4) $1 (cons $0 $1)))) empty)))) 0 eq?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if ($3 $0 $4) $1 (cons $0 $1)))) empty)))) 1 gt?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (- $0 1)) (lambda (+ 1 $0)) (lambda (eq? 0 $0))))", "(lambda (fn_3 1 - (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ $0 1) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (fn_3 1 - (+ 1 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ 1 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ $0 1)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? $0 0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (fn_3 0 - (- 0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- 0 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (cdr $0))) (lambda (car $0)) (lambda (empty? $0))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr $0)) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (cdr $0) (lambda $0))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lambda (fn_3 $0 + 0))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (fn_3 $0 + (- $0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (fn_3 (+ $0 1) + 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $1 (lambda $0)))))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 $0))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $0 (- 0 $1)))) 0))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 ($3 (cdr $2))))) 0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) $0))) 0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 empty)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons (- 1 1) empty)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (- 0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)) (lambda (+ $0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) empty (lambda (lambda 0)) $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (- 0 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (- 0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (+ $0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- (- $0 $0) $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (+ $0 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (+ 1 $0)))))" ], "utility": 709, "expected_cost": 9815, "final_cost": 9815, "multiplier": 1.1652572592969943, "multiplier_wrt_orig": 1.3517065715741212, "num_uses": 2, "uses": [ { "fn_4 0 eq?": "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 $1)))) empty))" }, { "fn_4 1 gt?": "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) empty))" } ] }, { "body": "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 1))) 0))", "dreamcoder": "#(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 1))) 0))", "arity": 0, "name": "fn_5", "rewritten": [ "fn_5", "(lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) 1))) 0)))))", "(lam (prev_dc_inv_2 $0 fn_5))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))))", "(lam (prev_dc_inv_2 $0 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0)))))", "(fn_4 0 eq?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lam (prev_dc_inv_1 $0 (lam (- $0 1)) (lam (+ 1 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 1 - (+ $0 1)))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (fn_3 1 - (+ 1 $0)))", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ $0 1)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 0 - (- 0 $0)))", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (cdr $0))) (lam (car $0)) (lam (empty? $0))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lam (prev_dc_inv_1 $0 (lam (cdr $0)) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (prev_dc_inv_2 (cdr $0) (lam $0))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (prev_dc_inv_2 $0 (lam $0)))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 (cdr $0) (lam (lam (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lam (fn_3 $0 + 0))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $1 $0))))", "(lam (fn_3 $0 + (- $0 $0)))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (fn_3 (+ $0 1) + 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 1))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 (prev_dc_inv_2 $1 (lam $0)))))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $0 $1))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 $0))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (- $0 (- 0 $1)))) 0))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ $0 ($3 (cdr $2))))) 0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) $0))) 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons (- 1 1) empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam $0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 1)))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 $0)))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ $0 $0))) (lam $0)))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam $0)) (lam (+ $0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0)))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 1))))", "(lam (prev_dc_inv_2 $0 (lam (+ 1 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 1)))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (- 0 $0)))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ 1 $0))) (lam $0)))", "(lam (prev_dc_inv_2 $0 (lam (- 0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (+ $0 $0)))))", "(lam (prev_dc_inv_2 $0 (lam (- (- $0 $0) $0))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ $0 1)))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ 1 $0)))))" ], "rewritten_dreamcoder": [ "#(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) 1))) 0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 #(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 1))) 0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $1 1))) 0)))))", "(fn_4 0 eq?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (- $0 1)) (lambda (+ 1 $0)) (lambda (eq? 0 $0))))", "(lambda (fn_3 1 - (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ $0 1) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (fn_3 1 - (+ 1 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ 1 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ $0 1)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? $0 0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (fn_3 0 - (- 0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- 0 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (cdr $0))) (lambda (car $0)) (lambda (empty? $0))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr $0)) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (cdr $0) (lambda $0))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lambda (fn_3 $0 + 0))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (fn_3 $0 + (- $0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (fn_3 (+ $0 1) + 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $1 (lambda $0)))))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 $0))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $0 (- 0 $1)))) 0))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 ($3 (cdr $2))))) 0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) $0))) 0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 empty)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons (- 1 1) empty)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (- 0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)) (lambda (+ $0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) empty (lambda (lambda 0)) $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (- 0 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (- 0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (+ $0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- (- $0 $0) $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (+ $0 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (+ 1 $0)))))" ], "utility": 408, "expected_cost": 8799, "final_cost": 8799, "multiplier": 1.1154676667803158, "multiplier_wrt_orig": 1.5077849755654051, "num_uses": 2, "uses": [ { "fn_5 ": "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 1))) 0))" } ] }, { "body": "(lam (fn_3 #0 - (#1 #0 $0)))", "dreamcoder": "#(lambda (lambda (lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) $2 - ($1 $2 $0)))))", "arity": 2, "name": "fn_6", "rewritten": [ "fn_5", "(lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) 1))) 0)))))", "(lam (prev_dc_inv_2 $0 fn_5))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))))", "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))))", "(lam (prev_dc_inv_2 $0 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0)))))", "(fn_4 0 eq?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lam (prev_dc_inv_1 $0 (lam (- $0 1)) (lam (+ 1 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 1 - (+ $0 1)))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(fn_6 1 +)", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ $0 1)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(fn_6 0 -)", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (cdr $0))) (lam (car $0)) (lam (empty? $0))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lam (prev_dc_inv_1 $0 (lam (cdr $0)) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (prev_dc_inv_2 (cdr $0) (lam $0))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (prev_dc_inv_2 $0 (lam $0)))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 (cdr $0) (lam (lam (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lam (fn_3 $0 + 0))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $1 $0))))", "(lam (fn_3 $0 + (- $0 $0)))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (fn_3 (+ $0 1) + 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 1))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 (prev_dc_inv_2 $1 (lam $0)))))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $0 $1))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 $0))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (- $0 (- 0 $1)))) 0))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ $0 ($3 (cdr $2))))) 0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) $0))) 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons (- 1 1) empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam $0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 1)))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 $0)))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ $0 $0))) (lam $0)))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam $0)) (lam (+ $0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0)))))", "(lam (prev_dc_inv_2 $0 (lam (+ $0 1))))", "(lam (prev_dc_inv_2 $0 (lam (+ 1 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 1)))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (- 0 $0)))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ 1 $0))) (lam $0)))", "(lam (prev_dc_inv_2 $0 (lam (- 0 $0))))", "(lam (prev_dc_inv_2 $0 (lam (- $0 (+ $0 $0)))))", "(lam (prev_dc_inv_2 $0 (lam (- (- $0 $0) $0))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ $0 1)))))", "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ 1 $0)))))" ], "rewritten_dreamcoder": [ "fn_5", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) 1))) 0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 fn_5))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $1 1))) 0)))))", "(fn_4 0 eq?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (- $0 1)) (lambda (+ 1 $0)) (lambda (eq? 0 $0))))", "(lambda (fn_3 1 - (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ $0 1) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) $2 - ($1 $2 $0))))) 1 +)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ 1 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ $0 1)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? $0 0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) $2 - ($1 $2 $0))))) 0 -)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- 0 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (cdr $0))) (lambda (car $0)) (lambda (empty? $0))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr $0)) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (cdr $0) (lambda $0))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lambda (fn_3 $0 + 0))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (fn_3 $0 + (- $0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (fn_3 (+ $0 1) + 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $1 (lambda $0)))))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 $0))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $0 (- 0 $1)))) 0))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 ($3 (cdr $2))))) 0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) $0))) 0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 empty)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons (- 1 1) empty)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (- 0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)) (lambda (+ $0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) empty (lambda (lambda 0)) $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 1))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (- 0 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (- 0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- $0 (+ $0 $0)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- (- $0 $0) $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (+ $0 1)))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (- 1 (+ 1 $0)))))" ], "utility": 302, "expected_cost": 8191, "final_cost": 8191, "multiplier": 1.0742278110120864, "multiplier_wrt_orig": 1.6197045537785375, "num_uses": 2, "uses": [ { "fn_6 0 -": "(lam (fn_3 0 - (- 0 $0)))" }, { "fn_6 1 +": "(lam (fn_3 1 - (+ 1 $0)))" } ] }, { "body": "(lam (prev_dc_inv_2 $0 #0))", "dreamcoder": "#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1)))", "arity": 1, "name": "fn_7", "rewritten": [ "fn_5", "(lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) 1))) 0)))))", "(fn_7 fn_5)", "(fn_7 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1)))", "(fn_7 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lam (prev_dc_inv_1 $0 (lam (- $0 1)) (lam (+ 1 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 1 - (+ $0 1)))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(fn_6 1 +)", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ $0 1)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(fn_6 0 -)", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (cdr $0))) (lam (car $0)) (lam (empty? $0))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lam (prev_dc_inv_1 $0 (lam (cdr $0)) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (prev_dc_inv_2 (cdr $0) (lam $0))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (prev_dc_inv_2 $0 (lam $0)))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 (cdr $0) (lam (lam (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lam (fn_3 $0 + 0))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $1 $0))))", "(lam (fn_3 $0 + (- $0 $0)))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (fn_3 (+ $0 1) + 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 1))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 (prev_dc_inv_2 $1 (lam $0)))))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $0 $1))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 $0))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (- $0 (- 0 $1)))) 0))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ $0 ($3 (cdr $2))))) 0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) $0))) 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons (- 1 1) empty)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam $0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 0)))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 1)))))", "(fn_7 (lam (+ $0 $0)))", "(fn_7 (lam (- $0 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ $0 $0))) (lam $0)))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam $0)) (lam (+ $0 $0))))", "(fn_7 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0))))", "(fn_7 (lam (+ $0 1)))", "(fn_7 (lam (+ 1 $0)))", "(fn_7 (lam (- $0 (- 0 1))))", "(fn_7 (lam (- 1 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ 1 $0))) (lam $0)))", "(fn_7 (lam (- 0 $0)))", "(fn_7 (lam (- $0 (+ $0 $0))))", "(fn_7 (lam (- (- $0 $0) $0)))", "(fn_7 (lam (- 1 (+ $0 1))))", "(fn_7 (lam (- 1 (+ 1 $0))))" ], "rewritten_dreamcoder": [ "fn_5", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) 1))) 0)))))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) fn_5)", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0)))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1)))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1)))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (- 0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (- $0 1)) (lambda (+ 1 $0)) (lambda (eq? 0 $0))))", "(lambda (fn_3 1 - (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ $0 1) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(fn_6 1 +)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ 1 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ $0 1)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? $0 0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(fn_6 0 -)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- 0 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (cdr $0))) (lambda (car $0)) (lambda (empty? $0))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr $0)) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (cdr $0) (lambda $0))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lambda (fn_3 $0 + 0))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (fn_3 $0 + (- $0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (fn_3 (+ $0 1) + 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $1 (lambda $0)))))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 $0))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $0 (- 0 $1)))) 0))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 ($3 (cdr $2))))) 0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) $0))) 0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 empty)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons (- 1 1) empty)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0)))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 $1))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1)))))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (+ $0 $0)))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (- $0 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)) (lambda (+ $0 $0))))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (+ $0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) empty (lambda (lambda 0)) $0))))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (+ $0 1)))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (+ 1 $0)))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (- $0 (- 0 1))))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (- 1 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))) (lambda $0)))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (- 0 $0)))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (- $0 (+ $0 $0))))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (- (- $0 $0) $0)))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (- 1 (+ $0 1))))", "(#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda (- 1 (+ 1 $0))))" ], "utility": 205, "expected_cost": 7783, "final_cost": 7783, "multiplier": 1.0524219452653218, "multiplier_wrt_orig": 1.7046126172427085, "num_uses": 17, "uses": [ { "fn_7 (lam (+ $0 $0))": "(lam (prev_dc_inv_2 $0 (lam (+ $0 $0))))" }, { "fn_7 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0)))": "(lam (prev_dc_inv_2 $0 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0)))))" }, { "fn_7 (lam (+ $0 1))": "(lam (prev_dc_inv_2 $0 (lam (+ $0 1))))" }, { "fn_7 (lam (+ 1 $0))": "(lam (prev_dc_inv_2 $0 (lam (+ 1 $0))))" }, { "fn_7 (lam (- $0 (+ $0 $0)))": "(lam (prev_dc_inv_2 $0 (lam (- $0 (+ $0 $0)))))" }, { "fn_7 (lam (- $0 (- 0 $0)))": "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 $0)))))" }, { "fn_7 (lam (- $0 (- 0 1)))": "(lam (prev_dc_inv_2 $0 (lam (- $0 (- 0 1)))))" }, { "fn_7 (lam (- (- $0 $0) $0))": "(lam (prev_dc_inv_2 $0 (lam (- (- $0 $0) $0))))" }, { "fn_7 (lam (- 0 $0))": "(lam (prev_dc_inv_2 $0 (lam (- 0 $0))))" }, { "fn_7 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0)))": "(lam (prev_dc_inv_2 $0 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0)))))" }, { "fn_7 (lam (- 1 (+ $0 1)))": "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ $0 1)))))" }, { "fn_7 (lam (- 1 (+ 1 $0)))": "(lam (prev_dc_inv_2 $0 (lam (- 1 (+ 1 $0)))))" }, { "fn_7 (lam (- 1 (- 0 $0)))": "(lam (prev_dc_inv_2 $0 (lam (- 1 (- 0 $0)))))" }, { "fn_7 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))": "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))))" }, { "fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))": "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))))" }, { "fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))": "(lam (prev_dc_inv_2 $0 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))))" }, { "fn_7 fn_5": "(lam (prev_dc_inv_2 $0 fn_5))" } ] }, { "body": "(lam (prev_dc_inv_0 $0 (lam (lam (#1 $0 $1))) #0))", "dreamcoder": "#(lambda (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda ($3 $0 $1))) $2))))", "arity": 2, "name": "fn_8", "rewritten": [ "fn_5", "(lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) 1))) 0)))))", "(fn_7 fn_5)", "(fn_7 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1)))", "(fn_7 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lam (prev_dc_inv_1 $0 (lam (- $0 1)) (lam (+ 1 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 1 - (+ $0 1)))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(fn_6 1 +)", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ $0 1)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(fn_6 0 -)", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (cdr $0))) (lam (car $0)) (lam (empty? $0))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lam (prev_dc_inv_1 $0 (lam (cdr $0)) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (prev_dc_inv_2 (cdr $0) (lam $0))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (prev_dc_inv_1 $0 (lam (cdr (prev_dc_inv_2 $0 (lam $0)))) (lam (car $0)) (lam (empty? (cdr $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 (cdr $0) (lam (lam (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lam (fn_3 $0 + 0))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $1 $0))))", "(lam (fn_3 $0 + (- $0 $0)))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (fn_3 (+ $0 1) + 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 1))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 (prev_dc_inv_2 $1 (lam $0)))))) empty))", "(fn_8 0 +)", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 $0))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (- $0 (- 0 $1)))) 0))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ $0 ($3 (cdr $2))))) 0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) $0))) 0)))))", "(fn_8 (cons 0 empty) cons)", "(fn_8 (cons (- 1 1) empty) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam $0))) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam 0))) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam 1))) cons)", "(fn_7 (lam (+ $0 $0)))", "(fn_7 (lam (- $0 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ $0 $0))) (lam $0)))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam $0)) (lam (+ $0 $0))))", "(fn_7 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0))))", "(fn_7 (lam (+ $0 1)))", "(fn_7 (lam (+ 1 $0)))", "(fn_7 (lam (- $0 (- 0 1))))", "(fn_7 (lam (- 1 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ 1 $0))) (lam $0)))", "(fn_7 (lam (- 0 $0)))", "(fn_7 (lam (- $0 (+ $0 $0))))", "(fn_7 (lam (- (- $0 $0) $0)))", "(fn_7 (lam (- 1 (+ $0 1))))", "(fn_7 (lam (- 1 (+ 1 $0))))" ], "rewritten_dreamcoder": [ "fn_5", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) 1))) 0)))))", "(fn_7 fn_5)", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0)))", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1)))", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1)))", "(fn_7 (lambda (- 0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (- $0 1)) (lambda (+ 1 $0)) (lambda (eq? 0 $0))))", "(lambda (fn_3 1 - (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ $0 1) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(fn_6 1 +)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ 1 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ $0 1)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? $0 0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(fn_6 0 -)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- 0 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (cdr $0))) (lambda (car $0)) (lambda (empty? $0))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr $0)) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (cdr $0) (lambda $0))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (cdr (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)))) (lambda (car $0)) (lambda (empty? (cdr $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lambda (fn_3 $0 + 0))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (fn_3 $0 + (- $0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (fn_3 (+ $0 1) + 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $1 (lambda $0)))))) empty))", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda ($3 $0 $1))) $2)))) 0 +)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 $0))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $0 (- 0 $1)))) 0))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 ($3 (cdr $2))))) 0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) $0))) 0)))))", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda ($3 $0 $1))) $2)))) (cons 0 empty) cons)", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda ($3 $0 $1))) $2)))) (cons (- 1 1) empty) cons)", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda ($3 $0 $1))) $2)))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))) cons)", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda ($3 $0 $1))) $2)))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))) cons)", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda ($3 $0 $1))) $2)))) (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))) cons)", "(fn_7 (lambda (+ $0 $0)))", "(fn_7 (lambda (- $0 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)) (lambda (+ $0 $0))))", "(fn_7 (lambda (+ $0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) empty (lambda (lambda 0)) $0))))", "(fn_7 (lambda (+ $0 1)))", "(fn_7 (lambda (+ 1 $0)))", "(fn_7 (lambda (- $0 (- 0 1))))", "(fn_7 (lambda (- 1 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))) (lambda $0)))", "(fn_7 (lambda (- 0 $0)))", "(fn_7 (lambda (- $0 (+ $0 $0))))", "(fn_7 (lambda (- (- $0 $0) $0)))", "(fn_7 (lambda (- 1 (+ $0 1))))", "(fn_7 (lambda (- 1 (+ 1 $0))))" ], "utility": 204, "expected_cost": 7171, "final_cost": 7171, "multiplier": 1.08534374564217, "multiplier_wrt_orig": 1.8500906428671036, "num_uses": 6, "uses": [ { "fn_8 0 +": "(lam (prev_dc_inv_0 $0 (lam (lam (+ $0 $1))) 0))" }, { "fn_8 (cons (- 1 1) empty) cons": "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons (- 1 1) empty)))" }, { "fn_8 (cons 0 (prev_dc_inv_2 empty (lam $0))) cons": "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam $0)))))" }, { "fn_8 (cons 0 (prev_dc_inv_2 empty (lam 0))) cons": "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 0)))))" }, { "fn_8 (cons 0 (prev_dc_inv_2 empty (lam 1))) cons": "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 (prev_dc_inv_2 empty (lam 1)))))" }, { "fn_8 (cons 0 empty) cons": "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 $1))) (cons 0 empty)))" } ] }, { "body": "(lam (prev_dc_inv_1 $0 #1 (lam (car $0)) #0))", "dreamcoder": "#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 $1 (lambda (car $0)) $2))))", "arity": 2, "name": "fn_9", "rewritten": [ "fn_5", "(lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) 1))) 0)))))", "(fn_7 fn_5)", "(fn_7 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1)))", "(fn_7 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lam (prev_dc_inv_1 $0 (lam (- $0 1)) (lam (+ 1 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 1 - (+ $0 1)))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(fn_6 1 +)", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ $0 1)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(fn_6 0 -)", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? 0 $0))))", "(fn_9 (lam (empty? $0)) (lam (cdr (cdr $0))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(fn_9 (lam (empty? (cdr $0))) (lam (cdr $0)))", "(fn_9 (lam (empty? (cdr $0))) (lam (prev_dc_inv_2 (cdr $0) (lam $0))))", "(fn_9 (lam (empty? (cdr $0))) (lam (cdr (prev_dc_inv_2 $0 (lam $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 (cdr $0) (lam (lam (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lam (fn_3 $0 + 0))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $1 $0))))", "(lam (fn_3 $0 + (- $0 $0)))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (fn_3 (+ $0 1) + 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 1))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 (prev_dc_inv_2 $1 (lam $0)))))) empty))", "(fn_8 0 +)", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 $0))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (- $0 (- 0 $1)))) 0))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ $0 ($3 (cdr $2))))) 0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) $0))) 0)))))", "(fn_8 (cons 0 empty) cons)", "(fn_8 (cons (- 1 1) empty) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam $0))) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam 0))) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam 1))) cons)", "(fn_7 (lam (+ $0 $0)))", "(fn_7 (lam (- $0 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ $0 $0))) (lam $0)))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam $0)) (lam (+ $0 $0))))", "(fn_7 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0))))", "(fn_7 (lam (+ $0 1)))", "(fn_7 (lam (+ 1 $0)))", "(fn_7 (lam (- $0 (- 0 1))))", "(fn_7 (lam (- 1 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ 1 $0))) (lam $0)))", "(fn_7 (lam (- 0 $0)))", "(fn_7 (lam (- $0 (+ $0 $0))))", "(fn_7 (lam (- (- $0 $0) $0)))", "(fn_7 (lam (- 1 (+ $0 1))))", "(fn_7 (lam (- 1 (+ 1 $0))))" ], "rewritten_dreamcoder": [ "fn_5", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) 1))) 0)))))", "(fn_7 fn_5)", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0)))", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1)))", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1)))", "(fn_7 (lambda (- 0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (- $0 1)) (lambda (+ 1 $0)) (lambda (eq? 0 $0))))", "(lambda (fn_3 1 - (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ $0 1) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(fn_6 1 +)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ 1 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ $0 1)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? $0 0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(fn_6 0 -)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- 0 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 0 $0))))", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 $1 (lambda (car $0)) $2)))) (lambda (empty? $0)) (lambda (cdr (cdr $0))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 $1 (lambda (car $0)) $2)))) (lambda (empty? (cdr $0))) (lambda (cdr $0)))", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 $1 (lambda (car $0)) $2)))) (lambda (empty? (cdr $0))) (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (cdr $0) (lambda $0))))", "(#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 $1 (lambda (car $0)) $2)))) (lambda (empty? (cdr $0))) (lambda (cdr (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lambda (fn_3 $0 + 0))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (fn_3 $0 + (- $0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (fn_3 (+ $0 1) + 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $1 (lambda $0)))))) empty))", "(fn_8 0 +)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 $0))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $0 (- 0 $1)))) 0))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 ($3 (cdr $2))))) 0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) $0))) 0)))))", "(fn_8 (cons 0 empty) cons)", "(fn_8 (cons (- 1 1) empty) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))) cons)", "(fn_7 (lambda (+ $0 $0)))", "(fn_7 (lambda (- $0 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)) (lambda (+ $0 $0))))", "(fn_7 (lambda (+ $0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) empty (lambda (lambda 0)) $0))))", "(fn_7 (lambda (+ $0 1)))", "(fn_7 (lambda (+ 1 $0)))", "(fn_7 (lambda (- $0 (- 0 1))))", "(fn_7 (lambda (- 1 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))) (lambda $0)))", "(fn_7 (lambda (- 0 $0)))", "(fn_7 (lambda (- $0 (+ $0 $0))))", "(fn_7 (lambda (- (- $0 $0) $0)))", "(fn_7 (lambda (- 1 (+ $0 1))))", "(fn_7 (lambda (- 1 (+ 1 $0))))" ], "utility": 203, "expected_cost": 6561, "final_cost": 6561, "multiplier": 1.0929736320682824, "multiplier_wrt_orig": 2.0221002895900013, "num_uses": 4, "uses": [ { "fn_9 (lam (empty? (cdr $0))) (lam (cdr $0))": "(lam (prev_dc_inv_1 $0 (lam (cdr $0)) (lam (car $0)) (lam (empty? (cdr $0)))))" }, { "fn_9 (lam (empty? $0)) (lam (cdr (cdr $0)))": "(lam (prev_dc_inv_1 $0 (lam (cdr (cdr $0))) (lam (car $0)) (lam (empty? $0))))" }, { "fn_9 (lam (empty? (cdr $0))) (lam (cdr (prev_dc_inv_2 $0 (lam $0))))": "(lam (prev_dc_inv_1 $0 (lam (cdr (prev_dc_inv_2 $0 (lam $0)))) (lam (car $0)) (lam (empty? (cdr $0)))))" }, { "fn_9 (lam (empty? (cdr $0))) (lam (prev_dc_inv_2 (cdr $0) (lam $0)))": "(lam (prev_dc_inv_1 $0 (lam (prev_dc_inv_2 (cdr $0) (lam $0))) (lam (car $0)) (lam (empty? (cdr $0)))))" } ] }, { "body": "(fn_3 #0 + 0)", "dreamcoder": "#(lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) $0 + 0))", "arity": 1, "name": "fn_10", "rewritten": [ "fn_5", "(lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) 1))) 0)))))", "(fn_7 fn_5)", "(fn_7 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1)))", "(fn_7 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lam (prev_dc_inv_1 $0 (lam (- $0 1)) (lam (+ 1 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 1 - (+ $0 1)))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(fn_6 1 +)", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ $0 1)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(fn_6 0 -)", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? 0 $0))))", "(fn_9 (lam (empty? $0)) (lam (cdr (cdr $0))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(fn_9 (lam (empty? (cdr $0))) (lam (cdr $0)))", "(fn_9 (lam (empty? (cdr $0))) (lam (prev_dc_inv_2 (cdr $0) (lam $0))))", "(fn_9 (lam (empty? (cdr $0))) (lam (cdr (prev_dc_inv_2 $0 (lam $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 (cdr $0) (lam (lam (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lam (fn_10 $0))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $1 $0))))", "(lam (fn_3 $0 + (- $0 $0)))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (fn_10 (+ $0 1)))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 $1)))) (prev_dc_inv_2 empty (lam 1))))", "(lam (prev_dc_inv_0 $0 (lam (lam (cons $0 (cons $0 (prev_dc_inv_2 $1 (lam $0)))))) empty))", "(fn_8 0 +)", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 $0))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (- $0 (- 0 $1)))) 0))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ $0 ($3 (cdr $2))))) 0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) $0))) 0)))))", "(fn_8 (cons 0 empty) cons)", "(fn_8 (cons (- 1 1) empty) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam $0))) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam 0))) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam 1))) cons)", "(fn_7 (lam (+ $0 $0)))", "(fn_7 (lam (- $0 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ $0 $0))) (lam $0)))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam $0)) (lam (+ $0 $0))))", "(fn_7 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0))))", "(fn_7 (lam (+ $0 1)))", "(fn_7 (lam (+ 1 $0)))", "(fn_7 (lam (- $0 (- 0 1))))", "(fn_7 (lam (- 1 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ 1 $0))) (lam $0)))", "(fn_7 (lam (- 0 $0)))", "(fn_7 (lam (- $0 (+ $0 $0))))", "(fn_7 (lam (- (- $0 $0) $0)))", "(fn_7 (lam (- 1 (+ $0 1))))", "(fn_7 (lam (- 1 (+ 1 $0))))" ], "rewritten_dreamcoder": [ "fn_5", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) 1))) 0)))))", "(fn_7 fn_5)", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0)))", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1)))", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1)))", "(fn_7 (lambda (- 0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (- $0 1)) (lambda (+ 1 $0)) (lambda (eq? 0 $0))))", "(lambda (fn_3 1 - (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ $0 1) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(fn_6 1 +)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ 1 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ $0 1)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? $0 0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(fn_6 0 -)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- 0 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 0 $0))))", "(fn_9 (lambda (empty? $0)) (lambda (cdr (cdr $0))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(fn_9 (lambda (empty? (cdr $0))) (lambda (cdr $0)))", "(fn_9 (lambda (empty? (cdr $0))) (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (cdr $0) (lambda $0))))", "(fn_9 (lambda (empty? (cdr $0))) (lambda (cdr (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lambda (#(lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) $0 + 0)) $0))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (fn_3 $0 + (- $0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (#(lambda (lambda (lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda ($2 $0 1)) (lambda $0) (lambda (eq? $0 $3)))))) $0 + 0)) (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 (cons $0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $1 (lambda $0)))))) empty))", "(fn_8 0 +)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 $0))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $0 (- 0 $1)))) 0))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 ($3 (cdr $2))))) 0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) $0))) 0)))))", "(fn_8 (cons 0 empty) cons)", "(fn_8 (cons (- 1 1) empty) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))) cons)", "(fn_7 (lambda (+ $0 $0)))", "(fn_7 (lambda (- $0 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)) (lambda (+ $0 $0))))", "(fn_7 (lambda (+ $0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) empty (lambda (lambda 0)) $0))))", "(fn_7 (lambda (+ $0 1)))", "(fn_7 (lambda (+ 1 $0)))", "(fn_7 (lambda (- $0 (- 0 1))))", "(fn_7 (lambda (- 1 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))) (lambda $0)))", "(fn_7 (lambda (- 0 $0)))", "(fn_7 (lambda (- $0 (+ $0 $0))))", "(fn_7 (lambda (- (- $0 $0) $0)))", "(fn_7 (lambda (- 1 (+ $0 1))))", "(fn_7 (lambda (- 1 (+ 1 $0))))" ], "utility": 101, "expected_cost": 6157, "final_cost": 6157, "multiplier": 1.0656163716095501, "multiplier_wrt_orig": 2.154783173623518, "num_uses": 2, "uses": [ { "fn_10 $0": "(fn_3 $0 + 0)" }, { "fn_10 (+ $0 1)": "(fn_3 (+ $0 1) + 0)" } ] }, { "body": "(#1 (#1 #0))", "dreamcoder": "#(lambda (lambda ($0 ($0 $1))))", "arity": 2, "name": "fn_11", "rewritten": [ "fn_5", "(lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) 1))) 0)))))", "(fn_7 fn_5)", "(fn_7 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1)))", "(fn_7 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lam (prev_dc_inv_1 $0 (lam (- $0 1)) (lam (+ 1 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 1 - (+ $0 1)))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(fn_6 1 +)", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ $0 1)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(fn_6 0 -)", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? 0 $0))))", "(fn_9 (lam (empty? $0)) (lam (cdr (cdr $0))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(fn_9 (lam (empty? (cdr $0))) (lam (cdr $0)))", "(fn_9 (lam (empty? (cdr $0))) (lam (prev_dc_inv_2 (cdr $0) (lam $0))))", "(fn_9 (lam (empty? (cdr $0))) (lam (cdr (prev_dc_inv_2 $0 (lam $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 (cdr $0) (lam (lam (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lam (fn_10 $0))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $1 $0))))", "(lam (fn_3 $0 + (- $0 $0)))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (fn_10 (+ $0 1)))", "(lam (prev_dc_inv_0 $0 (lam (lam (fn_11 $1 (cons $0)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (fn_11 $1 (cons $0)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (fn_11 $1 (cons $0)))) (prev_dc_inv_2 empty (lam 0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (fn_11 $1 (cons $0)))) (prev_dc_inv_2 empty (lam 1))))", "(lam (prev_dc_inv_0 $0 (lam (lam (fn_11 (prev_dc_inv_2 $1 (lam $0)) (cons $0)))) empty))", "(fn_8 0 +)", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 $0))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (- $0 (- 0 $1)))) 0))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ $0 ($3 (cdr $2))))) 0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) $0))) 0)))))", "(fn_8 (cons 0 empty) cons)", "(fn_8 (cons (- 1 1) empty) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam $0))) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam 0))) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam 1))) cons)", "(fn_7 (lam (+ $0 $0)))", "(fn_7 (lam (- $0 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ $0 $0))) (lam $0)))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam $0)) (lam (+ $0 $0))))", "(fn_7 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0))))", "(fn_7 (lam (+ $0 1)))", "(fn_7 (lam (+ 1 $0)))", "(fn_7 (lam (- $0 (- 0 1))))", "(fn_7 (lam (- 1 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ 1 $0))) (lam $0)))", "(fn_7 (lam (- 0 $0)))", "(fn_7 (lam (- $0 (+ $0 $0))))", "(fn_7 (lam (- (- $0 $0) $0)))", "(fn_7 (lam (- 1 (+ $0 1))))", "(fn_7 (lam (- 1 (+ 1 $0))))" ], "rewritten_dreamcoder": [ "fn_5", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) 1))) 0)))))", "(fn_7 fn_5)", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0)))", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1)))", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1)))", "(fn_7 (lambda (- 0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (- $0 1)) (lambda (+ 1 $0)) (lambda (eq? 0 $0))))", "(lambda (fn_3 1 - (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ $0 1) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(fn_6 1 +)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ 1 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ $0 1)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? $0 0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(fn_6 0 -)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- 0 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 0 $0))))", "(fn_9 (lambda (empty? $0)) (lambda (cdr (cdr $0))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(fn_9 (lambda (empty? (cdr $0))) (lambda (cdr $0)))", "(fn_9 (lambda (empty? (cdr $0))) (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (cdr $0) (lambda $0))))", "(fn_9 (lambda (empty? (cdr $0))) (lambda (cdr (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lambda (fn_10 $0))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (fn_3 $0 + (- $0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (fn_10 (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (#(lambda (lambda ($0 ($0 $1)))) $1 (cons $0)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (#(lambda (lambda ($0 ($0 $1)))) $1 (cons $0)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (#(lambda (lambda ($0 ($0 $1)))) $1 (cons $0)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (#(lambda (lambda ($0 ($0 $1)))) $1 (cons $0)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (#(lambda (lambda ($0 ($0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $1 (lambda $0)) (cons $0)))) empty))", "(fn_8 0 +)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 $0))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $0 (- 0 $1)))) 0))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 ($3 (cdr $2))))) 0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) $0))) 0)))))", "(fn_8 (cons 0 empty) cons)", "(fn_8 (cons (- 1 1) empty) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))) cons)", "(fn_7 (lambda (+ $0 $0)))", "(fn_7 (lambda (- $0 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)) (lambda (+ $0 $0))))", "(fn_7 (lambda (+ $0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) empty (lambda (lambda 0)) $0))))", "(fn_7 (lambda (+ $0 1)))", "(fn_7 (lambda (+ 1 $0)))", "(fn_7 (lambda (- $0 (- 0 1))))", "(fn_7 (lambda (- 1 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))) (lambda $0)))", "(fn_7 (lambda (- 0 $0)))", "(fn_7 (lambda (- $0 (+ $0 $0))))", "(fn_7 (lambda (- (- $0 $0) $0)))", "(fn_7 (lambda (- 1 (+ $0 1))))", "(fn_7 (lambda (- 1 (+ 1 $0))))" ], "utility": 99, "expected_cost": 6056, "final_cost": 6056, "multiplier": 1.016677675033025, "multiplier_wrt_orig": 2.1907199471598413, "num_uses": 10, "uses": [ { "fn_11 $0 cdr": "(cdr (cdr $0))" }, { "fn_11 $2 cdr": "(cdr (cdr $2))" }, { "fn_11 $1 (cons $0)": "(cons $0 (cons $0 $1))" }, { "fn_11 (prev_dc_inv_2 $1 (lam $0)) (cons $0)": "(cons $0 (cons $0 (prev_dc_inv_2 $1 (lam $0))))" } ] }, { "body": "(fn_7 (lam (#0 $0)))", "dreamcoder": "#(lambda (#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda ($1 $0))))", "arity": 1, "name": "fn_12", "rewritten": [ "fn_5", "(lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1))", "(lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) 1))) 0)))))", "(fn_7 fn_5)", "(fn_7 (lam (prev_dc_inv_0 $0 (lam (lam (+ 1 $1))) 0)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ $1 1))) 1)))", "(fn_7 (lam (prev_dc_inv_0 (cdr $0) (lam (lam (+ 1 $1))) 1)))", "(fn_7 (lam (- 0 (prev_dc_inv_0 $0 (lam (lam (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 $1)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lam (prev_dc_inv_1 $0 (lam (- $0 1)) (lam (+ 1 $0)) (lam (eq? 0 $0))))", "(lam (fn_3 1 - (+ $0 1)))", "(lam (prev_dc_inv_1 (+ $0 1) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(fn_6 1 +)", "(lam (prev_dc_inv_1 (+ 1 $0) (lam (- $0 1)) (lam $0) (lam (eq? 1 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ $0 1)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? $0 0))))", "(lam (prev_dc_inv_1 $0 (lam (+ 1 $0)) (lam (- 0 $0)) (lam (eq? 0 $0))))", "(fn_6 0 -)", "(lam (prev_dc_inv_1 (- 0 $0) (lam (- $0 1)) (lam $0) (lam (eq? 0 $0))))", "(fn_9 (lam (empty? $0)) (lam (cdr (cdr $0))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(fn_9 (lam (empty? (cdr $0))) (lam (cdr $0)))", "(fn_9 (lam (empty? (cdr $0))) (lam (prev_dc_inv_2 (cdr $0) (lam $0))))", "(fn_9 (lam (empty? (cdr $0))) (lam (cdr (prev_dc_inv_2 $0 (lam $0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 (cdr $0) (lam (lam (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lam (fix1 $0 (lam (lam (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lam (fn_10 $0))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (eq? $1 $0))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (eq? $1 $0))))", "(lam (fn_3 $0 + (- $0 $0)))", "(lam (prev_dc_inv_1 0 (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 0 (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ $0 1)) (lam $0) (lam (gt? $0 $1))))", "(lam (prev_dc_inv_1 (- $0 $0) (lam (+ 1 $0)) (lam $0) (lam (gt? $0 $1))))", "(lam (fn_10 (+ $0 1)))", "(lam (prev_dc_inv_0 $0 (lam (lam (fn_11 $1 (cons $0)))) empty))", "(lam (prev_dc_inv_0 $0 (lam (lam (fn_11 $1 (cons $0)))) (prev_dc_inv_2 empty (lam $0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (fn_11 $1 (cons $0)))) (prev_dc_inv_2 empty (lam 0))))", "(lam (prev_dc_inv_0 $0 (lam (lam (fn_11 $1 (cons $0)))) (prev_dc_inv_2 empty (lam 1))))", "(lam (prev_dc_inv_0 $0 (lam (lam (fn_11 (prev_dc_inv_2 $1 (lam $0)) (cons $0)))) empty))", "(fn_8 0 +)", "(lam (prev_dc_inv_0 $0 (lam (lam (+ $1 $0))) 0))", "(lam (prev_dc_inv_0 $0 (lam (lam (- $0 (- 0 $1)))) 0))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ $0 ($3 (cdr $2))))) 0)))))", "(lam (fix1 $0 (lam (lam (prev_dc_inv_0 $0 (lam (lam (+ ($3 (cdr $2)) $0))) 0)))))", "(fn_8 (cons 0 empty) cons)", "(fn_8 (cons (- 1 1) empty) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam $0))) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam 0))) cons)", "(fn_8 (cons 0 (prev_dc_inv_2 empty (lam 1))) cons)", "(fn_7 (lam (+ $0 $0)))", "(fn_7 (lam (- $0 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ $0 $0))) (lam $0)))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam $0)) (lam (+ $0 $0))))", "(fn_7 (lam (+ $0 (prev_dc_inv_0 empty (lam (lam 0)) $0))))", "(fn_7 (lam (+ $0 1)))", "(fn_12 (+ 1))", "(fn_7 (lam (- $0 (- 0 1))))", "(fn_7 (lam (- 1 (- 0 $0))))", "(lam (prev_dc_inv_2 (prev_dc_inv_2 $0 (lam (+ 1 $0))) (lam $0)))", "(fn_12 (- 0))", "(fn_7 (lam (- $0 (+ $0 $0))))", "(fn_7 (lam (- (- $0 $0) $0)))", "(fn_7 (lam (- 1 (+ $0 1))))", "(fn_7 (lam (- 1 (+ 1 $0))))" ], "rewritten_dreamcoder": [ "fn_5", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) 1))) 0)))))", "(fn_7 fn_5)", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ 1 $1))) 0)))", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ $1 1))) 1)))", "(fn_7 (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (+ 1 $1))) 1)))", "(fn_7 (lambda (- 0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $1 1))) 0))))", "(fn_4 0 eq?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? 0 $0) $1 (cons $0 $1)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 0) (cons $0 $1) $1))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? 1 $0) $1 (cons $0 $1)))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (eq? $0 0) $1 (cons $0 ($3 $1))))) empty)))))", "(fn_4 1 gt?)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 $1)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? (+ 1 1) $0) (cons $0 $1) $1))) empty))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) $1 (cons $0 ($3 $1))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (if (gt? $0 1) ($3 $1) (cons $0 $1)))) empty)))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (- $0 1)) (lambda (+ 1 $0)) (lambda (eq? 0 $0))))", "(lambda (fn_3 1 - (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ $0 1) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(fn_6 1 +)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (+ 1 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ $0 1)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? $0 0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) $0 (lambda (+ 1 $0)) (lambda (- 0 $0)) (lambda (eq? 0 $0))))", "(fn_6 0 -)", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- 0 $0) (lambda (- $0 1)) (lambda $0) (lambda (eq? 0 $0))))", "(fn_9 (lambda (empty? $0)) (lambda (cdr (cdr $0))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons $0 ($3 (cdr (cdr $2)))))) $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (cons (car $2) ($3 (cdr (cdr $2)))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? $0) empty (cons (car $0) ($1 (cdr (cdr $0)))))))))", "(fn_9 (lambda (empty? (cdr $0))) (lambda (cdr $0)))", "(fn_9 (lambda (empty? (cdr $0))) (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (cdr $0) (lambda $0))))", "(fn_9 (lambda (empty? (cdr $0))) (lambda (cdr (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) (cdr $0) (lambda (lambda (cons (car $2) ($3 (cdr $2))))) empty)))))", "(lambda (fix1 $0 (lambda (lambda (if (empty? (cdr $0)) empty (cons (car $0) ($1 (cdr $0))))))))", "(lambda (fn_10 $0))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (eq? $1 $0))))", "(lambda (fn_3 $0 + (- $0 $0)))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) 0 (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ $0 1)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (#(lambda (lambda (lambda (lambda (fix1 $3 (lambda (lambda (if ($2 $0) empty (cons ($3 $0) ($1 ($4 $0))))))))))) (- $0 $0) (lambda (+ 1 $0)) (lambda $0) (lambda (gt? $0 $1))))", "(lambda (fn_10 (+ $0 1)))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (fn_11 $1 (cons $0)))) empty))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (fn_11 $1 (cons $0)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (fn_11 $1 (cons $0)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (fn_11 $1 (cons $0)))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (fn_11 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $1 (lambda $0)) (cons $0)))) empty))", "(fn_8 0 +)", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $1 $0))) 0))", "(lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (- $0 (- 0 $1)))) 0))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ $0 ($3 (cdr $2))))) 0)))))", "(lambda (fix1 $0 (lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $0 (lambda (lambda (+ ($3 (cdr $2)) $0))) 0)))))", "(fn_8 (cons 0 empty) cons)", "(fn_8 (cons (- 1 1) empty) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda $0))) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 0))) cons)", "(fn_8 (cons 0 (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) empty (lambda 1))) cons)", "(fn_7 (lambda (+ $0 $0)))", "(fn_7 (lambda (- $0 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ $0 $0))) (lambda $0)))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda $0)) (lambda (+ $0 $0))))", "(fn_7 (lambda (+ $0 (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) empty (lambda (lambda 0)) $0))))", "(fn_7 (lambda (+ $0 1)))", "(#(lambda (#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda ($1 $0)))) (+ 1))", "(fn_7 (lambda (- $0 (- 0 1))))", "(fn_7 (lambda (- 1 (- 0 $0))))", "(lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 (lambda (+ 1 $0))) (lambda $0)))", "(#(lambda (#(lambda (lambda (#(lambda (lambda (#(lambda (lambda (lambda (fix1 $2 (lambda (lambda (if (empty? $0) $2 ($3 ($1 (cdr $0)) (car $0))))))))) $1 (lambda (lambda (cons ($2 $0) $1))) empty))) $0 $1))) (lambda ($1 $0)))) (- 0))", "(fn_7 (lambda (- $0 (+ $0 $0))))", "(fn_7 (lambda (- (- $0 $0) $0)))", "(fn_7 (lambda (- 1 (+ $0 1))))", "(fn_7 (lambda (- 1 (+ 1 $0))))" ], "utility": 1, "expected_cost": 5852, "final_cost": 5852, "multiplier": 1.03485987696514, "multiplier_wrt_orig": 2.267088174982912, "num_uses": 4, "uses": [ { "fn_12 (+ #0)": "(fn_7 (lam (+ $0 $0)))" }, { "fn_12 (+ 1)": "(fn_7 (lam (+ 1 $0)))" }, { "fn_12 (- (- #0 #0))": "(fn_7 (lam (- (- $0 $0) $0)))" }, { "fn_12 (- 0)": "(fn_7 (lam (- 0 $0)))" } ] } ] }