Details

Time bar (total: 1.5s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
3.0ms124×body80overflowed

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 0.5b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.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 frac-2neg flip3-+ div-exp clear-num flip-+ div-inv add-log-exp
Counts
1 → 33
Calls
1 calls:
7.0ms
(/ (exp a) (+ (exp a) (exp b)))

series36.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0139307
1427287
21132285
33865285
45001285

prune63.0ms

Filtered
36 candidates to 27 candidates (75.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh000
Picked011
Done000
Total34337

Merged error: 0.5b

Counts
37 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(exp (- a (log (+ (exp a) (exp b)))))
2.2b
(- a (log (+ (exp a) (exp b))))
4.2b
(log (+ (exp a) (exp b)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
10×add-sqr-sqrt
log-prod
pow1 add-cube-cbrt log-div exp-prod add-log-exp
add-exp-log exp-sum associate--r+ distribute-lft-out-- associate--r-
flip3-+ log-pow add-cbrt-cube flip-+
sub-neg diff-log rem-exp-log distribute-lft-out difference-of-squares
flip3-- exp-diff rem-log-exp flip--
Counts
3 → 56
Calls
3 calls:
5.0ms
(exp (- a (log (+ (exp a) (exp b)))))
7.0ms
(- a (log (+ (exp a) (exp b))))
4.0ms
(log (+ (exp a) (exp b)))

series118.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(exp (- a (log (+ (exp a) (exp b)))))
38.0ms
(- a (log (+ (exp a) (exp b))))
33.0ms
(log (+ (exp a) (exp b)))

simplify83.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 4 (77.0ms)

IterNodesCost
0208474
1447441
2984426
33254420
45002417

prune126.0ms

Filtered
65 candidates to 44 candidates (67.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New64165
Fresh011
Picked011
Done011
Total64468

Merged error: 0.2b

Counts
68 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (log 2) (* 1/2 (+ a b)))
0.0b
(- a (+ (log 2) (* 1/2 (+ a b))))
0.0b
(exp (- a (+ (log 2) (* 1/2 (+ a b)))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt exp-prod
diff-log
pow1 add-exp-log associate-+l+ log-prod sum-log add-cbrt-cube rem-exp-log
sub-neg associate-+r+ exp-sum distribute-lft-out-- difference-of-squares
+-commutative distribute-rgt-in flip3-- distribute-lft-in flip3-+ exp-diff flip-- flip-+ associate--r+
Counts
3 → 50
Calls
3 calls:
4.0ms
(+ (log 2) (* 1/2 (+ a b)))
5.0ms
(- a (+ (log 2) (* 1/2 (+ a b))))
6.0ms
(exp (- a (+ (log 2) (* 1/2 (+ a b)))))

series124.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(+ (log 2) (* 1/2 (+ a b)))
35.0ms
(- a (+ (log 2) (* 1/2 (+ a b))))
51.0ms
(exp (- a (+ (log 2) (* 1/2 (+ a b)))))

simplify100.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0223406
1722374
23946357
35002354

prune109.0ms

Filtered
59 candidates to 43 candidates (72.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New59059
Fresh011
Picked011
Done022
Total59463

Merged error: 0.2b

Counts
63 → 4

localize9.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done033
Total044

Merged error: 0.2b

Counts
4 → 4

regimes86.0ms

Accuracy

0% (0.1b 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

sample491.0ms

Algorithm
intervals
Results
224.0ms8000×body80valid
94.0ms3404×body80overflowed

Profiling

Loading profile data...