Details

Time bar (total: 3.3s)

sample51.0ms

Algorithm
intervals
Results
34.0ms108×body10240exit
6.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
075
175

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.8b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite31.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:
10.0ms
(+ (exp a) (exp b))
20.0ms
(/ (exp a) (+ (exp a) (exp b)))

series56.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0171405
1513376
21324374
34489373
45001373

prune123.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.1b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- a (log (+ (exp a) (exp b)))))
0.0b
(+ (exp a) (exp b))
0.7b
(- a (log (+ (exp a) (exp b))))
4.9b
(log (+ (exp a) (exp b)))

rewrite57.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:
21.0ms
(exp (- a (log (+ (exp a) (exp b)))))
10.0ms
(+ (exp a) (exp b))
15.0ms
(- a (log (+ (exp a) (exp b))))
8.0ms
(log (+ (exp a) (exp b)))

series136.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(exp (- a (log (+ (exp a) (exp b)))))
19.0ms
(+ (exp a) (exp b))
37.0ms
(- a (log (+ (exp a) (exp b))))
34.0ms
(log (+ (exp a) (exp b)))

simplify76.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
03081330
1791946
22960789
35001691

prune233.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 1.1b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (sqrt (exp a)) (sqrt (exp a)) (exp b))
0.3b
(sqrt (exp a))
0.3b
(sqrt (exp a))
1.7b
(/ (exp a) (fma (sqrt (exp a)) (sqrt (exp a)) (exp b)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
times-frac
sqrt-pow1
pow1 exp-prod sqrt-prod add-cbrt-cube
add-exp-log
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r* associate-/l*
rem-sqrt-square pow1/2
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
4 → 75
Calls
4 calls:
0.0ms
(fma (sqrt (exp a)) (sqrt (exp a)) (exp b))
3.0ms
(sqrt (exp a))
3.0ms
(sqrt (exp a))
7.0ms
(/ (exp a) (fma (sqrt (exp a)) (sqrt (exp a)) (exp b)))

series124.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(fma (sqrt (exp a)) (sqrt (exp a)) (exp b))
12.0ms
(sqrt (exp a))
12.0ms
(sqrt (exp a))
57.0ms
(/ (exp a) (fma (sqrt (exp a)) (sqrt (exp a)) (exp b)))

simplify69.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0155617
1469536
22140526
35001522

prune221.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 1.1b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1/2 (- a b) (- 0 (log 2)))
0.1b
(exp (fma 1/2 (- a b) (- 0 (log 2))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt exp-prod *-un-lft-identity add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
exp-sum rem-exp-log
Counts
2 → 24
Calls
2 calls:
0.0ms
(fma 1/2 (- a b) (- 0 (log 2)))
2.0ms
(exp (fma 1/2 (- a b) (- 0 (log 2))))

series85.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(fma 1/2 (- a b) (- 0 (log 2)))
49.0ms
(exp (fma 1/2 (- a b) (- 0 (log 2))))

simplify98.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
087195
1197171
2785157
33580152
45001152

prune76.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 1.1b

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

sample1.7s

Algorithm
intervals
Results
1.2s3508×body10240exit
185.0ms8000×body80valid