Details

Time bar (total: 2.6s)

sample24.0ms

Algorithm
intervals
Results
10.0ms256×body80valid
4.0ms109×body80overflowed

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: 1.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp a) (exp b))
1.0b
(/ (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:
5.0ms
(+ (exp a) (exp b))
9.0ms
(/ (exp a) (+ (exp a) (exp b)))

series57.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
0171405
1513376
21324374
34489373
45001373

prune137.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp a))
0.0b
(sqrt (exp a))
0.0b
(fma (sqrt (exp a)) (sqrt (exp a)) (exp b))
1.0b
(/ (exp a) (fma (sqrt (exp a)) (sqrt (exp a)) (exp b)))

rewrite8.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:
1.0ms
(sqrt (exp a))
1.0ms
(sqrt (exp a))
0.0ms
(fma (sqrt (exp a)) (sqrt (exp a)) (exp b))
3.0ms
(/ (exp a) (fma (sqrt (exp a)) (sqrt (exp a)) (exp b)))

series121.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (exp a))
13.0ms
(sqrt (exp a))
43.0ms
(fma (sqrt (exp a)) (sqrt (exp a)) (exp b))
53.0ms
(/ (exp a) (fma (sqrt (exp a)) (sqrt (exp a)) (exp b)))

simplify69.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0155617
1469536
22140526
35001522

prune242.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.5b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
360×times-frac
287×*-un-lft-identity
189×sqrt-prod
188×add-sqr-sqrt
187×add-cube-cbrt
50×distribute-lft-out
34×associate-/r*
11×add-exp-log add-cbrt-cube
10×associate-/l*
div-inv
add-log-exp
pow1
cbrt-undiv expm1-log1p-u sqrt-pow1 div-exp log1p-expm1-u
exp-prod fma-def
frac-2neg flip3-+ clear-num flip-+ associate-/l/
+-commutative rem-sqrt-square pow1/2 sum-log associate-/r/
Counts
4 → 304
Calls
4 calls:
1.0ms
(sqrt (exp a))
5.0ms
(+ (exp a) (exp b))
23.0ms
(/ (sqrt (exp a)) (/ (+ (exp a) (exp b)) (sqrt (exp a))))
15.0ms
(/ (+ (exp a) (exp b)) (sqrt (exp a)))

series121.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (exp a))
18.0ms
(+ (exp a) (exp b))
42.0ms
(/ (sqrt (exp a)) (/ (+ (exp a) (exp b)) (sqrt (exp a))))
48.0ms
(/ (+ (exp a) (exp b)) (sqrt (exp a)))

simplify98.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06684740
132544276
250024218

prune510.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.5b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (exp a))
0.0b
(/ (sqrt (exp a)) (fma 1/4 (pow a 2) (+ b 2)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
18×times-frac
15×sqrt-prod
associate-/l*
add-exp-log sqrt-pow1 add-cbrt-cube
pow1 exp-prod associate-/r*
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv rem-sqrt-square frac-2neg pow1/2 div-exp clear-num div-inv
Counts
2 → 59
Calls
2 calls:
1.0ms
(sqrt (exp a))
4.0ms
(/ (sqrt (exp a)) (fma 1/4 (pow a 2) (+ b 2)))

series75.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(sqrt (exp a))
63.0ms
(/ (sqrt (exp a)) (fma 1/4 (pow a 2) (+ b 2)))

simplify49.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0152525
1405498
21581494
35001493

prune155.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.4b

regimes84.0ms

Accuracy

0% (0.2b remaining)

Error of 0.8b against oracle of 0.6b and baseline of 0.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078

end0.0ms

sample653.0ms

Algorithm
intervals
Results
318.0ms8000×body80valid
142.0ms3514×body80overflowed