Details

Time bar (total: 3.9s)

sample53.0ms

Algorithm
intervals
Results
36.0ms108×body10240exit
6.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
075
175

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.8b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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))
9.0ms
(/ (exp a) (+ (exp a) (exp b)))

series56.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(+ (exp a) (exp b))
38.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify97.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
0171405
1513376
21324374
34489373
45001373

prune144.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize9.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.1b
(- a (log (+ (exp a) (exp b))))
4.3b
(log (+ (exp a) (exp b)))

rewrite30.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:
10.0ms
(exp (- a (log (+ (exp a) (exp b)))))
4.0ms
(+ (exp a) (exp b))
7.0ms
(- a (log (+ (exp a) (exp b))))
4.0ms
(log (+ (exp a) (exp b)))

series145.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
03081330
1791946
22960789
35001691

prune262.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (- a (log (+ (exp a) (exp b)))) 3)
1.1b
(- a (log (+ (exp a) (exp b))))
4.3b
(log (+ (exp a) (exp b)))
14.5b
(cbrt (pow (- a (log (+ (exp a) (exp b)))) 3))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
30×add-sqr-sqrt
20×add-cube-cbrt
18×cbrt-prod
14×pow1
12×unpow-prod-down cube-prod prod-diff
10×distribute-lft-out--
log-pow
log-prod
add-exp-log
add-cbrt-cube add-log-exp difference-of-squares
cube-div expm1-log1p-u log-div log1p-expm1-u associate--r+
pow-unpow flip3-- fma-neg flip--
cube-mult cbrt-div flip3-+ unpow3 flip-+ distribute-lft-out associate--r- sqr-pow
pow-to-exp sub-neg pow-pow pow1/3 diff-log rem-log-exp pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 119
Calls
4 calls:
5.0ms
(pow (- a (log (+ (exp a) (exp b)))) 3)
7.0ms
(- a (log (+ (exp a) (exp b))))
4.0ms
(log (+ (exp a) (exp b)))
6.0ms
(cbrt (pow (- a (log (+ (exp a) (exp b)))) 3))

series176.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(pow (- a (log (+ (exp a) (exp b)))) 3)
32.0ms
(- a (log (+ (exp a) (exp b))))
32.0ms
(log (+ (exp a) (exp b)))
47.0ms
(cbrt (pow (- a (log (+ (exp a) (exp b)))) 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04021358
114601112
250011097

prune326.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
prod-diff
exp-sum
pow1 fma-def diff-log
add-exp-log expm1-log1p-u associate-+l+ log-prod exp-prod sum-log add-cbrt-cube log1p-expm1-u rem-exp-log
sub-neg
+-commutative flip3-- flip3-+ exp-diff fma-neg log-pow flip-- flip-+ associate--r+
Counts
3 → 61
Calls
3 calls:
7.0ms
(- (* 1/2 a) (+ (log 2) (* 1/2 b)))
3.0ms
(+ (log 2) (* 1/2 b))
21.0ms
(exp (- (* 1/2 a) (+ (log 2) (* 1/2 b))))

series392.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0252536
1942391
25002356

prune165.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes61.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
0128
1128

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.3s3570×body10240exit
196.0ms8000×body80valid