Details

Time bar (total: 2.5s)

sample32.0ms

Algorithm
intervals
Results
12.0ms256×body80valid
6.0ms23×body10240exit
5.0ms97×body80overflowed

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
075
175

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.5b

localize5.0ms

Local error

Found 1 expressions with local error:

1.5b
(/ (exp a) (+ (exp a) (exp b)))

rewrite10.0ms

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

series35.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (28.0ms)

IterNodesCost
0143319
1446298
21221297
34142296
45001296

prune86.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(exp (- a (log (+ (exp a) (exp b)))))
1.3b
(- a (log (+ (exp a) (exp b))))
3.9b
(log (+ (exp a) (exp b)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
25×add-sqr-sqrt
24×prod-diff
21×add-cube-cbrt
16×exp-sum
12×pow1
log-pow
log-prod
log-div exp-prod add-log-exp
add-exp-log associate--r+ distribute-lft-out-- associate--r-
expm1-log1p-u flip3-+ fma-neg add-cbrt-cube flip-+ log1p-expm1-u
sub-neg diff-log rem-exp-log distribute-lft-out difference-of-squares
flip3-- exp-diff rem-log-exp flip--
Counts
3 → 89
Calls
3 calls:
10.0ms
(exp (- a (log (+ (exp a) (exp b)))))
7.0ms
(- a (log (+ (exp a) (exp b))))
4.0ms
(log (+ (exp a) (exp b)))

series110.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(exp (- a (log (+ (exp a) (exp b)))))
35.0ms
(- a (log (+ (exp a) (exp b))))
31.0ms
(log (+ (exp a) (exp b)))

simplify72.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
02811244
1687868
22599712
35002580

prune186.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (- a (log (+ (exp a) (exp b)))) 3)
1.3b
(- a (log (+ (exp a) (exp b))))
3.9b
(log (+ (exp a) (exp b)))
16.1b
(cbrt (pow (- a (log (+ (exp a) (exp b)))) 3))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
30×add-sqr-sqrt
20×add-cube-cbrt
18×cbrt-prod
14×pow1
12×unpow-prod-down cube-prod prod-diff
10×distribute-lft-out--
log-pow
log-prod
add-exp-log
add-cbrt-cube add-log-exp difference-of-squares
cube-div expm1-log1p-u log-div log1p-expm1-u associate--r+
pow-unpow flip3-- fma-neg flip--
cube-mult cbrt-div flip3-+ unpow3 flip-+ distribute-lft-out associate--r- sqr-pow
pow-to-exp sub-neg pow-pow pow1/3 diff-log rem-log-exp pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 119
Calls
4 calls:
5.0ms
(pow (- a (log (+ (exp a) (exp b)))) 3)
7.0ms
(- a (log (+ (exp a) (exp b))))
4.0ms
(log (+ (exp a) (exp b)))
6.0ms
(cbrt (pow (- a (log (+ (exp a) (exp b)))) 3))

series172.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(pow (- a (log (+ (exp a) (exp b)))) 3)
36.0ms
(- a (log (+ (exp a) (exp b))))
31.0ms
(log (+ (exp a) (exp b)))
44.0ms
(cbrt (pow (- a (log (+ (exp a) (exp b)))) 3))

simplify59.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04021354
114721110
250031097

prune311.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1 (+ (exp a) (exp b)))
1.5b
(* (exp a) (/ 1 (+ (exp a) (exp b))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
27×add-sqr-sqrt
26×times-frac
20×add-cube-cbrt
18×associate-*r*
11×add-exp-log
add-cbrt-cube
distribute-lft-out
pow1
div-exp prod-exp associate-/r* associate-/r/
associate-*l* associate-/l* unswap-sqr
cbrt-undiv expm1-log1p-u rec-exp flip3-+ 1-exp cbrt-unprod flip-+ log1p-expm1-u div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 82
Calls
2 calls:
11.0ms
(/ 1 (+ (exp a) (exp b)))
23.0ms
(* (exp a) (/ 1 (+ (exp a) (exp b))))

series54.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0264620
11127546
23632506
35002504

prune145.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes72.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0128
1128

end0.0ms

sample865.0ms

Algorithm
intervals
Results
383.0ms8000×body80valid
160.0ms683×body10240exit
130.0ms2714×body80overflowed