Details

Time bar (total: 4.3s)

sample57.0ms

Algorithm
intervals
Results
40.0ms89×body10240exit
5.0ms256×body80valid

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: 0.5b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt times-frac
distribute-lft-out
associate-/r* add-cbrt-cube add-log-exp
add-exp-log fma-def associate-/l*
pow1 expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 52
Calls
2 calls:
10.0ms
(+ (exp a) (exp b))
20.0ms
(/ (exp a) (+ (exp a) (exp b)))

series57.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(+ (exp a) (exp b))
38.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify89.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
0171405
1513376
21324374
34489373
45001373

prune135.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp a) (exp b))
0.0b
(log1p (expm1 (/ (exp a) (+ (exp a) (exp b)))))
0.2b
(expm1 (/ (exp a) (+ (exp a) (exp b))))
0.5b
(/ (exp a) (+ (exp a) (exp b)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
14×add-sqr-sqrt add-cube-cbrt
12×times-frac
add-cbrt-cube add-log-exp
add-exp-log log1p-expm1-u distribute-lft-out
pow1 expm1-log1p-u associate-/r*
fma-def associate-/l*
flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative log1p-udef expm1-log1p frac-2neg log1p-expm1 div-exp clear-num sum-log div-inv expm1-udef
Counts
4 → 74
Calls
4 calls:
11.0ms
(+ (exp a) (exp b))
0.0ms
(log1p (expm1 (/ (exp a) (+ (exp a) (exp b)))))
0.0ms
(expm1 (/ (exp a) (+ (exp a) (exp b))))
21.0ms
(/ (exp a) (+ (exp a) (exp b)))

series186.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (exp a) (exp b))
65.0ms
(log1p (expm1 (/ (exp a) (+ (exp a) (exp b)))))
63.0ms
(expm1 (/ (exp a) (+ (exp a) (exp b))))
39.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify45.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0220608
1638552
21692547
35002544

prune229.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (/ (+ (exp a) (exp b)) (exp a)))
0.0b
(log1p (expm1 (/ 1 (/ (+ (exp a) (exp b)) (exp a)))))
0.2b
(expm1 (/ 1 (/ (+ (exp a) (exp b)) (exp a))))
0.5b
(/ (+ (exp a) (exp b)) (exp a))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
94×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
19×associate-/r*
16×distribute-lft-out
13×add-exp-log
11×add-cbrt-cube
div-exp
associate-/l*
div-inv
pow1 log1p-expm1-u
cbrt-undiv expm1-log1p-u add-log-exp
rec-exp frac-2neg 1-exp clear-num associate-/l/
log1p-udef expm1-log1p pow-flip flip3-+ log1p-expm1 associate-/r/ flip-+ inv-pow expm1-udef
Counts
4 → 147
Calls
4 calls:
27.0ms
(/ 1 (/ (+ (exp a) (exp b)) (exp a)))
0.0ms
(log1p (expm1 (/ 1 (/ (+ (exp a) (exp b)) (exp a)))))
0.0ms
(expm1 (/ 1 (/ (+ (exp a) (exp b)) (exp a))))
30.0ms
(/ (+ (exp a) (exp b)) (exp a))

series197.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1 (/ (+ (exp a) (exp b)) (exp a)))
61.0ms
(log1p (expm1 (/ 1 (/ (+ (exp a) (exp b)) (exp a)))))
67.0ms
(expm1 (/ 1 (/ (+ (exp a) (exp b)) (exp a))))
31.0ms
(/ (+ (exp a) (exp b)) (exp a))

simplify44.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
04301602
117331431
250011328

prune305.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ (exp a) (exp b)))
0.3b
(cbrt (+ (exp a) (exp b)))
0.5b
(/ (cbrt (+ (exp a) (exp b))) (cbrt (exp a)))
0.5b
(/ (* (cbrt (+ (exp a) (exp b))) (cbrt (+ (exp a) (exp b)))) (* (cbrt (exp a)) (cbrt (exp a))))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-prod
54×*-un-lft-identity
43×times-frac
36×add-sqr-sqrt add-cube-cbrt
18×add-exp-log cbrt-div
10×associate-/l/
flip3-+ flip-+ distribute-lft-out
add-cbrt-cube associate-/l*
associate-/r*
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-times prod-exp cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg pow1/3 associate-*r/ associate-*l/ clear-num div-inv
Counts
4 → 134
Calls
4 calls:
7.0ms
(cbrt (+ (exp a) (exp b)))
7.0ms
(cbrt (+ (exp a) (exp b)))
26.0ms
(/ (cbrt (+ (exp a) (exp b))) (cbrt (exp a)))
37.0ms
(/ (* (cbrt (+ (exp a) (exp b))) (cbrt (+ (exp a) (exp b)))) (* (cbrt (exp a)) (cbrt (exp a))))

series321.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(cbrt (+ (exp a) (exp b)))
64.0ms
(cbrt (+ (exp a) (exp b)))
81.0ms
(/ (cbrt (+ (exp a) (exp b))) (cbrt (exp a)))
111.0ms
(/ (* (cbrt (+ (exp a) (exp b))) (cbrt (+ (exp a) (exp b)))) (* (cbrt (exp a)) (cbrt (exp a))))

simplify46.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04171858
114771692
250021656

prune555.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes76.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0138
1138

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.2s3319×body10240exit
195.0ms8000×body80valid