Details

Time bar (total: 1.3s)

sample21.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
3.0ms101×body80overflowed

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
075
175

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

1.0b
(/ (exp a) (+ (exp a) (exp b)))

rewrite7.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:
6.0ms
(/ (exp a) (+ (exp a) (exp b)))

series11.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0139307
1427287
21132285
33865285
45001285

prune33.0ms

Filtered
36 candidates to 27 candidates (25.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New34236
Fresh000
Picked101
Done000
Total35237

Merged error: 0.7b

Counts
37 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.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)))

series31.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(exp (- a (log (+ (exp a) (exp b)))))
8.0ms
(- a (log (+ (exp a) (exp b))))
11.0ms
(log (+ (exp a) (exp b)))

simplify78.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 4 (72.0ms)

IterNodesCost
0208474
1447441
2984426
33254420
45002417

prune63.0ms

Filtered
65 candidates to 45 candidates (30.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh011
Picked011
Done000
Total64367

Merged error: 0.4b

Counts
67 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite15.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:
5.0ms
(- a (+ (log 2) (* 1/2 (+ a b))))
4.0ms
(+ (log 2) (* 1/2 (+ a b)))
6.0ms
(exp (- a (+ (log 2) (* 1/2 (+ a b)))))

series17.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0223406
1722374
23946357
35002354

prune83.0ms

Filtered
59 candidates to 43 candidates (27.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New59059
Fresh011
Picked011
Done011
Total59362

Merged error: 0.4b

Counts
62 → 3

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

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033

Merged error: 0.4b

Counts
3 → 3

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

sample581.0ms

Algorithm
intervals
Results
216.0ms8000×body80valid
92.0ms3393×body80overflowed

Profiling

Loading profile data...