Details

Time bar (total: 2.1s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
3.0ms120×body80overflowed

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
075
175

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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))
6.0ms
(/ (exp a) (+ (exp a) (exp b)))

series51.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(+ (exp a) (exp b))
31.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify88.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0163384
1486357
21239355
34158355
45001355

prune86.0ms

Filtered
51 candidates to 37 candidates (72.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New47451
Fresh000
Picked101
Done000
Total48452

Merged error: 0.2b

Counts
52 → 4

localize8.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.1b
(- a (log (+ (exp a) (exp b))))
2.3b
(log (+ (exp a) (exp b)))

rewrite24.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:
7.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)))

series144.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+ (exp a) (exp b))
62.0ms
(exp (- a (log (+ (exp a) (exp b)))))
33.0ms
(- a (log (+ (exp a) (exp b))))
32.0ms
(log (+ (exp a) (exp b)))

simplify88.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 4 (82.0ms)

IterNodesCost
0233551
1543509
21225495
34110491
45001489

prune148.0ms

Filtered
80 candidates to 55 candidates (68.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New80080
Fresh033
Picked011
Done000
Total80484

Merged error: 0.2b

Counts
84 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp a) (exp b))
0.4b
(* (sqrt (/ (exp a) (+ (exp a) (exp b)))) (sqrt (/ (exp a) (+ (exp a) (exp b)))))
1.0b
(/ (exp a) (+ (exp a) (exp b)))
1.0b
(/ (exp a) (+ (exp a) (exp b)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
122×*-un-lft-identity
98×sqrt-prod
90×add-sqr-sqrt times-frac
62×add-cube-cbrt
29×swap-sqr
27×distribute-lft-out
21×associate-*r* associate-*l*
19×pow1
12×associate-/r/
10×add-cbrt-cube
unswap-sqr
add-exp-log sqrt-pow1 pow1/2 associate-/r*
flip3-+ flip-+
div-inv associate-/l* add-log-exp
pow-prod-up
sqrt-div
pow-prod-down pow-sqr
cbrt-undiv frac-2neg div-exp clear-num
+-commutative pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 186
Calls
4 calls:
5.0ms
(+ (exp a) (exp b))
25.0ms
(* (sqrt (/ (exp a) (+ (exp a) (exp b)))) (sqrt (/ (exp a) (+ (exp a) (exp b)))))
7.0ms
(/ (exp a) (+ (exp a) (exp b)))
11.0ms
(/ (exp a) (+ (exp a) (exp b)))

series119.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (exp a) (exp b))
32.0ms
(* (sqrt (/ (exp a) (+ (exp a) (exp b)))) (sqrt (/ (exp a) (+ (exp a) (exp b)))))
36.0ms
(/ (exp a) (+ (exp a) (exp b)))
32.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify70.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
03261942
115161807
250021781

prune343.0ms

Filtered
198 candidates to 118 candidates (59.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1980198
Fresh022
Picked011
Done011
Total1984202

Merged error: 0.2b

Counts
202 → 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)))

series69.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0149274
1476256
21836255
35002255

prune50.0ms

Filtered
40 candidates to 25 candidates (62.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New40040
Fresh011
Picked011
Done022
Total40444

Merged error: 0.2b

Counts
44 → 4

regimes85.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
096
196

end0.0ms

sample572.0ms

Algorithm
intervals
Results
254.0ms8000×body80valid
105.0ms3578×body80overflowed