Details

Time bar (total: 4.7s)

sample90.0ms

Algorithm
intervals
Results
36.0ms94×body1280valid
20.0ms80×body640valid
11.0ms222×body80overflowed
10.0ms47×body320valid
2.0ms17×body160valid
1.0ms18×body80valid

simplify45.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.5b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(expm1 (+ x x))
0.0b
(fma 1 1 (exp (+ x x)))
0.5b
(/ (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
(expm1 (+ x x))
0.0ms
(fma 1 1 (exp (+ x x)))
2.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

series112.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0164440
1564391
22669384
35001382

prune149.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (* 2 x)) 1)
0.0b
(cbrt (pow (+ (exp (* 2 x)) 1) 3))
0.0b
(pow (+ (exp (* 2 x)) 1) 3)
0.5b
(/ (expm1 (+ x x)) (cbrt (pow (+ (exp (* 2 x)) 1) 3)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
71×*-un-lft-identity
70×cbrt-prod
51×times-frac
45×add-sqr-sqrt add-cube-cbrt
24×unpow-prod-down cube-prod
17×associate-/r*
13×distribute-lft-out
add-exp-log
cube-div cube-mult unpow3 add-cbrt-cube add-log-exp sqr-pow
pow1
expm1-log1p-u cbrt-div flip3-+ flip-+ log1p-expm1-u
pow-unpow fma-def associate-/l*
associate-/r/
cbrt-undiv +-commutative pow-to-exp pow-pow frac-2neg pow1/3 div-sub div-exp pow-exp clear-num sum-log rem-cbrt-cube div-inv expm1-udef rem-cube-cbrt
Counts
4 → 161
Calls
4 calls:
4.0ms
(+ (exp (* 2 x)) 1)
9.0ms
(cbrt (pow (+ (exp (* 2 x)) 1) 3))
6.0ms
(pow (+ (exp (* 2 x)) 1) 3)
16.0ms
(/ (expm1 (+ x x)) (cbrt (pow (+ (exp (* 2 x)) 1) 3)))

series109.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ (exp (* 2 x)) 1)
10.0ms
(cbrt (pow (+ (exp (* 2 x)) 1) 3))
36.0ms
(pow (+ (exp (* 2 x)) 1) 3)
52.0ms
(/ (expm1 (+ x x)) (cbrt (pow (+ (exp (* 2 x)) 1) 3)))

simplify65.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
03781647
116911481
250011423

prune314.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.5b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
30×add-sqr-sqrt
26×times-frac
23×add-cube-cbrt
18×associate-*r*
17×add-exp-log
11×add-cbrt-cube
distribute-lft-out
pow1
add-log-exp
log1p-expm1-u
expm1-log1p-u div-exp prod-exp associate-/r* associate-/r/
fma-def flip3-+ associate-*l* flip-+ associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv
+-commutative expm1-log1p pow-flip frac-2neg associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow expm1-udef
Counts
4 → 110
Calls
4 calls:
1.0ms
(expm1 (+ x x))
4.0ms
(+ (exp (* 2 x)) 1)
7.0ms
(/ 1 (+ (exp (* 2 x)) 1))
19.0ms
(* (expm1 (+ x x)) (/ 1 (+ (exp (* 2 x)) 1)))

series110.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(expm1 (+ x x))
10.0ms
(+ (exp (* 2 x)) 1)
19.0ms
(/ 1 (+ (exp (* 2 x)) 1))
57.0ms
(* (expm1 (+ x x)) (/ 1 (+ (exp (* 2 x)) 1)))

simplify47.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0337816
11707645
25001631

prune222.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.5b

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

series176.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
82.0ms
(- x (* 1/3 (pow x 3)))
42.0ms
(* 1/3 (pow x 3))

simplify40.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0206343
1832296
25002295

prune156.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.5b

regimes15.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
0188
1208
2208

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.3s3379×body1280valid
610.0ms2417×body640valid
360.0ms7577×body80overflowed
199.0ms1219×body320valid
63.0ms589×body160valid
21.0ms396×body80valid