Details

Time bar (total: 2.1s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
3.0ms128×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.8b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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:
4.0ms
(+ (exp a) (exp b))
7.0ms
(/ (exp a) (+ (exp a) (exp b)))

series53.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(+ (exp a) (exp b))
32.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify92.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0171405
1513376
21324374
34489373
45001373

prune107.0ms

Filtered
58 candidates to 44 candidates (75.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New54458
Fresh000
Picked101
Done000
Total55459

Merged error: 1.1b

Counts
59 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- a (log (+ (exp a) (exp b)))))
0.0b
(+ (exp a) (exp b))
1.0b
(- a (log (+ (exp a) (exp b))))
3.3b
(log (+ (exp a) (exp b)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
27×add-sqr-sqrt
24×prod-diff
23×add-cube-cbrt
16×exp-sum
13×pow1
log-pow add-log-exp
log-prod
log-div exp-prod
add-exp-log
expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u associate--r+ distribute-lft-out-- associate--r-
fma-def fma-neg 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 → 106
Calls
4 calls:
6.0ms
(exp (- a (log (+ (exp a) (exp b)))))
5.0ms
(+ (exp a) (exp b))
14.0ms
(- a (log (+ (exp a) (exp b))))
8.0ms
(log (+ (exp a) (exp b)))

series138.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(exp (- a (log (+ (exp a) (exp b)))))
18.0ms
(+ (exp a) (exp b))
39.0ms
(- a (log (+ (exp a) (exp b))))
34.0ms
(log (+ (exp a) (exp b)))

simplify85.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
03081330
1791946
22960789
35001691

prune415.0ms

Filtered
118 candidates to 71 candidates (60.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1180118
Fresh033
Picked011
Done000
Total1184122

Merged error: 1.1b

Counts
122 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (/ (+ (exp a) (exp b)) (exp a)))
0.0b
(+ (exp a) (exp b))
1.6b
(/ (+ (exp a) (exp b)) (exp a))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
96×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
19×associate-/r*
17×distribute-lft-out
12×add-exp-log
10×add-cbrt-cube
div-exp
associate-/l*
div-inv
add-log-exp
pow1 cbrt-undiv
expm1-log1p-u fma-def log1p-expm1-u
rec-exp frac-2neg flip3-+ 1-exp clear-num flip-+ associate-/l/
+-commutative pow-flip sum-log associate-/r/ inv-pow
Counts
3 → 142
Calls
3 calls:
9.0ms
(/ 1 (/ (+ (exp a) (exp b)) (exp a)))
4.0ms
(+ (exp a) (exp b))
7.0ms
(/ (+ (exp a) (exp b)) (exp a))

series81.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04091455
117031317
250011215

prune178.0ms

Filtered
151 candidates to 81 candidates (53.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1510151
Fresh022
Picked011
Done011
Total1514155

Merged error: 1.1b

Counts
155 → 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 expm1-log1p-u frac-2neg flip3-+ div-exp clear-num flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 39
Calls
1 calls:
8.0ms
(/ (exp a) (+ a (+ b 2)))

series73.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0153284
1495265
21936265
35002264

prune56.0ms

Filtered
42 candidates to 27 candidates (64.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done022
Total42446

Merged error: 1.1b

Counts
46 → 4

regimes65.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

sample501.0ms

Algorithm
intervals
Results
216.0ms8000×body80valid
93.0ms3530×body80overflowed