Details

Time bar (total: 3.5s)

sample44.0ms

Algorithm
intervals
Results
29.0ms85×body10240exit
6.0ms256×body80valid

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

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize5.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (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)))

series34.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0143319
1446298
21221297
34142296
45001296

prune83.0ms

Filtered
38 candidates to 29 candidates (76.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp a))
0.0b
(sqrt (exp a))
0.2b
(* (sqrt (exp a)) (/ (sqrt (exp a)) (+ (exp a) (exp b))))
0.3b
(/ (sqrt (exp a)) (+ (exp a) (exp b)))

rewrite85.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
expm1-log1p-u associate-/r* associate-/r/ log1p-expm1-u 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 → 144
Calls
4 calls:
2.0ms
(sqrt (exp a))
3.0ms
(sqrt (exp a))
57.0ms
(* (sqrt (exp a)) (/ (sqrt (exp a)) (+ (exp a) (exp b))))
10.0ms
(/ (sqrt (exp a)) (+ (exp a) (exp b)))

series115.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(sqrt (exp a))
16.0ms
(sqrt (exp a))
31.0ms
(* (sqrt (exp a)) (/ (sqrt (exp a)) (+ (exp a) (exp b))))
57.0ms
(/ (sqrt (exp a)) (+ (exp a) (exp b)))

simplify47.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03271338
114141209
250021168

prune316.0ms

Filtered
156 candidates to 99 candidates (63.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (/ (exp a) (+ (exp a) (exp b))) 3)
0.3b
(/ (exp a) (+ (exp a) (exp b)))
0.3b
(cbrt (pow (/ (exp a) (+ (exp a) (exp b))) 3))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
60×times-frac
46×add-sqr-sqrt add-cube-cbrt
42×cbrt-prod
36×unpow-prod-down cube-prod
16×distribute-lft-out
10×associate-/r/
add-cbrt-cube
add-exp-log
flip3-+ flip-+ div-inv
pow1 associate-/r*
expm1-log1p-u pow-unpow log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv cube-div cube-mult unpow3 div-exp pow-exp rem-cube-cbrt sqr-pow
pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 clear-num rem-cbrt-cube
Counts
3 → 147
Calls
3 calls:
11.0ms
(pow (/ (exp a) (+ (exp a) (exp b))) 3)
9.0ms
(/ (exp a) (+ (exp a) (exp b)))
12.0ms
(cbrt (pow (/ (exp a) (+ (exp a) (exp b))) 3))

series120.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(pow (/ (exp a) (+ (exp a) (exp b))) 3)
31.0ms
(/ (exp a) (+ (exp a) (exp b)))
36.0ms
(cbrt (pow (/ (exp a) (+ (exp a) (exp b))) 3))

simplify57.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04411554
118921433
250031416

prune236.0ms

Filtered
156 candidates to 75 candidates (48.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1/8 (* 3/16 b))
0.0b
(fma a 3/16 (- 1/8 (* 3/16 b)))
0.6b
(cbrt (fma a 3/16 (- 1/8 (* 3/16 b))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
pow1 add-exp-log cbrt-prod expm1-log1p-u fma-neg prod-diff add-cbrt-cube log1p-expm1-u
sub-neg flip3-- pow1/3 diff-log flip-- fma-udef
Counts
3 → 43
Calls
3 calls:
3.0ms
(- 1/8 (* 3/16 b))
0.0ms
(fma a 3/16 (- 1/8 (* 3/16 b)))
1.0ms
(cbrt (fma a 3/16 (- 1/8 (* 3/16 b))))

series178.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- 1/8 (* 3/16 b))
20.0ms
(fma a 3/16 (- 1/8 (* 3/16 b)))
120.0ms
(cbrt (fma a 3/16 (- 1/8 (* 3/16 b))))

simplify68.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0231299
1687269
22551256
35001229

prune108.0ms

Filtered
52 candidates to 41 candidates (78.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes106.0ms

Accuracy

0% (0.1b remaining)

Error of 0.9b against oracle of 0.8b and baseline of 0.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0109
1109

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.3s3453×body10240exit
182.0ms8000×body80valid