Details

Time bar (total: 4.1s)

sample74.0ms

Algorithm
intervals
Results
33.0ms101×body1280valid
15.0ms82×body640valid
8.0ms268×body80overflowed
5.0ms39×body320valid
2.0ms24×body160valid
0.0ms10×body80valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (44.0ms)

IterNodesCost
0159
1249
2329
3449
4639
51799
611849
750017

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1 1 (exp (+ x x)))
0.0b
(expm1 (+ x x))
0.0b
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
log1p-expm1-u
pow1 expm1-log1p-u associate-/r* associate-/l* add-log-exp
expm1-udef
cbrt-undiv expm1-log1p frac-2neg div-sub div-exp clear-num fma-udef div-inv
Counts
3 → 51
Calls
3 calls:
0.0ms
(fma 1 1 (exp (+ x x)))
0.0ms
(expm1 (+ x x))
2.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

series104.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(fma 1 1 (exp (+ x x)))
18.0ms
(expm1 (+ x x))
67.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

simplify78.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0164440
1564391
22669384
35001382

prune148.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1 1 (exp (+ x x)))
0.0b
(expm1 (+ x x))
0.0b
(/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x)))
0.1b
(/ 1 (/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
17×add-exp-log
16×associate-/r*
11×add-cbrt-cube
div-exp
div-inv associate-/l*
pow1 log1p-expm1-u
cbrt-undiv expm1-log1p-u add-log-exp
rec-exp frac-2neg 1-exp clear-num
expm1-log1p pow-flip associate-/r/ fma-udef inv-pow expm1-udef
Counts
4 → 128
Calls
4 calls:
0.0ms
(fma 1 1 (exp (+ x x)))
0.0ms
(expm1 (+ x x))
2.0ms
(/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x)))
5.0ms
(/ 1 (/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x))))

series170.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(fma 1 1 (exp (+ x x)))
17.0ms
(expm1 (+ x x))
67.0ms
(/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x)))
66.0ms
(/ 1 (/ (fma 1 1 (exp (+ x x))) (expm1 (+ x x))))

simplify56.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04011494
117951297
250021209

prune249.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (* 2 x)) 1)
0.0b
(/ 1 (+ (exp (* 2 x)) 1))
0.0b
(/ 1 (expm1 (+ x x)))
0.2b
(/ (/ 1 (+ (exp (* 2 x)) 1)) (/ 1 (expm1 (+ x x))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
594×times-frac
361×*-un-lft-identity
267×add-sqr-sqrt add-cube-cbrt
52×add-exp-log
47×distribute-lft-out
36×div-exp div-inv
31×associate-/r/
24×associate-/l*
20×associate-/r* add-cbrt-cube
16×flip3-+ flip-+
10×cbrt-undiv rec-exp 1-exp
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u
fma-def frac-2neg clear-num
pow-flip inv-pow
+-commutative sum-log associate-/l/
Counts
4 → 388
Calls
4 calls:
4.0ms
(+ (exp (* 2 x)) 1)
7.0ms
(/ 1 (+ (exp (* 2 x)) 1))
2.0ms
(/ 1 (expm1 (+ x x)))
23.0ms
(/ (/ 1 (+ (exp (* 2 x)) 1)) (/ 1 (expm1 (+ x x))))

series113.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (exp (* 2 x)) 1)
18.0ms
(/ 1 (+ (exp (* 2 x)) 1))
25.0ms
(/ 1 (expm1 (+ x x)))
56.0ms
(/ (/ 1 (+ (exp (* 2 x)) 1)) (/ 1 (expm1 (+ x x))))

simplify77.0ms

Algorithm
egg-herbie
Counts
400 → 400
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
014675893
150014758

prune389.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
0.0b
(- x (* 1/3 (pow x 3)))
0.1b
(* 1/3 (pow x 3))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
12×associate-*r*
add-cube-cbrt *-un-lft-identity
add-exp-log
add-cbrt-cube add-log-exp
unpow-prod-down cube-prod unswap-sqr
pow1 expm1-log1p-u fma-neg associate-*l* prod-diff prod-exp log1p-expm1-u
sqr-pow
cube-mult pow-to-exp sub-neg flip3-- diff-log unpow3 pow-exp *-commutative flip-- cbrt-unprod fma-udef
Counts
3 → 63
Calls
3 calls:
0.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
3.0ms
(- x (* 1/3 (pow x 3)))
7.0ms
(* 1/3 (pow x 3))

series168.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
78.0ms
(- x (* 1/3 (pow x 3)))
35.0ms
(* 1/3 (pow x 3))

simplify35.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0206343
1832296
25002295

prune157.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes11.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0178
1198
2198

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.0s3275×body1280valid
479.0ms2514×body640valid
212.0ms7564×body80overflowed
140.0ms1179×body320valid
47.0ms616×body160valid
16.0ms416×body80valid