Details

Time bar (total: 3.6s)

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 68.844604%

Results
7.0ms256×body80valid
3.0ms111×body80overflowed

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
075
175

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.8b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp a) (exp b))
0.7b
(/ (exp a) (+ (exp a) (exp b)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
12×times-frac
11×add-sqr-sqrt add-cube-cbrt
distribute-lft-out
associate-/r* add-cbrt-cube add-log-exp
add-exp-log associate-/l*
pow1 flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 45
Calls
2 calls:
4.0ms
(+ (exp a) (exp b))
7.0ms
(/ (exp a) (+ (exp a) (exp b)))

series18.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (exp a) (exp b))
13.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify92.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0163384
1486357
21209355
34128355
45002355

prune57.0ms

Filtered
37 candidates to 51 candidates (-37.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New47451
Fresh000
Picked101
Done000
Total48452

Merged error: 0.4b

Counts
52 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp a) (exp b))
0.0b
(exp (- a (log (+ (exp a) (exp b)))))
1.7b
(- a (log (+ (exp a) (exp b))))
3.1b
(log (+ (exp a) (exp b)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
11×add-sqr-sqrt
add-log-exp
log-prod
pow1 add-cube-cbrt
log-div exp-prod
add-exp-log
flip3-+ exp-sum add-cbrt-cube flip-+ associate--r+ distribute-lft-out-- associate--r-
log-pow distribute-lft-out
sub-neg diff-log rem-exp-log difference-of-squares
+-commutative flip3-- exp-diff rem-log-exp sum-log flip--
Counts
4 → 68
Calls
4 calls:
4.0ms
(+ (exp a) (exp b))
5.0ms
(exp (- a (log (+ (exp a) (exp b)))))
7.0ms
(- a (log (+ (exp a) (exp b))))
4.0ms
(log (+ (exp a) (exp b)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (exp a) (exp b))
12.0ms
(exp (- a (log (+ (exp a) (exp b)))))
9.0ms
(- a (log (+ (exp a) (exp b))))
11.0ms
(log (+ (exp a) (exp b)))

simplify86.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 4 (80.0ms)

IterNodesCost
0233551
1545511
21232496
34120490
45001488

prune85.0ms

Filtered
55 candidates to 80 candidates (-45.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New80080
Fresh033
Picked011
Done000
Total80484

Merged error: 0.4b

Counts
84 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp a))
0.0b
(sqrt (exp a))
0.5b
(* (sqrt (exp a)) (/ (sqrt (exp a)) (+ (exp a) (exp b))))
0.7b
(/ (sqrt (exp a)) (+ (exp a) (exp b)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
68×*-un-lft-identity
60×add-sqr-sqrt
52×times-frac
42×add-cube-cbrt
41×sqrt-prod
30×associate-*r*
13×distribute-lft-out
11×add-exp-log add-cbrt-cube
pow1 sqrt-pow1
exp-prod associate-*l* associate-/l* unswap-sqr
associate-/r* associate-/r/ add-log-exp
cbrt-undiv rem-sqrt-square flip3-+ pow1/2 div-exp prod-exp cbrt-unprod flip-+ div-inv
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
4 → 136
Calls
4 calls:
2.0ms
(sqrt (exp a))
2.0ms
(sqrt (exp a))
18.0ms
(* (sqrt (exp a)) (/ (sqrt (exp a)) (+ (exp a) (exp b))))
8.0ms
(/ (sqrt (exp a)) (+ (exp a) (exp b)))

series35.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (exp a))
3.0ms
(sqrt (exp a))
12.0ms
(* (sqrt (exp a)) (/ (sqrt (exp a)) (+ (exp a) (exp b))))
17.0ms
(/ (sqrt (exp a)) (+ (exp a) (exp b)))

simplify54.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03161296
113791168
250021127

prune100.0ms

Filtered
91 candidates to 148 candidates (-62.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1480148
Fresh022
Picked011
Done011
Total1484152

Merged error: 0.4b

Counts
152 → 4

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (exp a) (+ a (+ b 2)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
15×times-frac
12×distribute-lft-out
11×add-sqr-sqrt add-cube-cbrt
associate-/r*
add-cbrt-cube associate-/l*
add-exp-log associate-/r/
pow1 cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv add-log-exp
Counts
1 → 37
Calls
1 calls:
7.0ms
(/ (exp a) (+ a (+ b 2)))

series16.0ms

Counts
1 → 3
Calls
1 calls:
16.0ms
(/ (exp a) (+ a (+ b 2)))

simplify40.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0149274
1476256
21808255
35001255

prune35.0ms

Filtered
25 candidates to 40 candidates (-60.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New40040
Fresh011
Picked011
Done022
Total40444

Merged error: 0.4b

Counts
44 → 4

regimes164.0ms

Accuracy

0% (0.2b remaining)

Error of 0.6b against oracle of 0.4b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
096
196

end0.0ms

sample1.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 68.844604%

Results
235.0ms8000×body80valid
97.0ms3457×body80overflowed

Profiling

Loading profile data...