Details

Time bar (total: 2.9s)

sample105.0ms

Algorithm
intervals
Results
77.0ms131×body10240exit
10.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
075
175

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

localize10.0ms

Local error

Found 1 expressions with local error:

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

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

series51.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0139307
1427287
21160285
33893285
45002285

prune61.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.2b

Counts
37 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(exp (- a (log (+ (exp a) (exp b)))))
0.2b
(- a (log (+ (exp a) (exp b))))
2.3b
(log (+ (exp a) (exp b)))

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

series116.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(exp (- a (log (+ (exp a) (exp b)))))
36.0ms
(- a (log (+ (exp a) (exp b))))
32.0ms
(log (+ (exp a) (exp b)))

simplify79.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 4 (74.0ms)

IterNodesCost
0208474
1445439
2977425
33244421
45001419

prune126.0ms

Filtered
65 candidates to 44 candidates (67.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh011
Picked101
Done011
Total65368

Merged error: 0b

Counts
68 → 3

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

rewrite18.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)))
6.0ms
(- a (+ (log 2) (* 1/2 (+ a b))))
7.0ms
(exp (- a (+ (log 2) (* 1/2 (+ a b)))))

series123.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (log 2) (* 1/2 (+ a b)))
36.0ms
(- a (+ (log 2) (* 1/2 (+ a b))))
51.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
1720373
23940361
35002358

prune103.0ms

Filtered
59 candidates to 43 candidates (72.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New58159
Fresh101
Picked101
Done011
Total60262

Merged error: 0b

Counts
62 → 2

localize12.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
exp-sum
associate--l+
sub-neg exp-prod add-log-exp
distribute-rgt-in add-sqr-sqrt add-cube-cbrt *-un-lft-identity distribute-lft-in rem-exp-log
pow1 add-exp-log exp-diff diff-log add-cbrt-cube
Counts
1 → 19
Calls
1 calls:
8.0ms
(exp (- (* 1/2 (- a b)) (log 2)))

series47.0ms

Counts
1 → 3
Calls
1 calls:
47.0ms
(exp (- (* 1/2 (- a b)) (log 2)))

simplify97.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 4 (94.0ms)

IterNodesCost
094145
1206129
2664119
33135113
45002106

prune32.0ms

Filtered
22 candidates to 13 candidates (59.1%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New22022
Fresh000
Picked011
Done011
Total22224

Merged error: 0b

Counts
24 → 2

regimes66.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
075
175

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.2s3422×body10240exit
201.0ms8000×body80valid