Details

Time bar (total: 5.3s)

sample107.0ms

Algorithm
intervals
Results
43.0ms245×body10240exit
33.0ms113×body1280valid
13.0ms70×body640valid
5.0ms45×body320valid
1.0ms17×body160valid
0.0ms11×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: 1.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite6.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:
1.0ms
(fma 1 1 (exp (+ x x)))
1.0ms
(expm1 (+ x x))
3.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

series110.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0164440
1564391
22669384
35001382

prune144.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.9b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
12×times-frac
add-exp-log add-cbrt-cube distribute-lft-out add-log-exp
associate-/r* log1p-expm1-u
pow1 expm1-log1p-u fma-def associate-/l*
flip3-+ associate-/r/ flip-+ expm1-udef
cbrt-undiv +-commutative expm1-log1p frac-2neg div-sub div-exp clear-num sum-log div-inv
Counts
3 → 64
Calls
3 calls:
1.0ms
(expm1 (+ x x))
4.0ms
(+ (exp (* 2 x)) 1)
6.0ms
(/ (expm1 (+ x x)) (+ (exp (* 2 x)) 1))

series78.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(expm1 (+ x x))
10.0ms
(+ (exp (* 2 x)) 1)
50.0ms
(/ (expm1 (+ x x)) (+ (exp (* 2 x)) 1))

simplify36.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0218515
1914461
25001452

prune155.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (exp (* 2 x)))
0.3b
(cbrt (exp (* 2 x)))
0.3b
(cbrt (exp (* 2 x)))
0.5b
(/ (expm1 (+ x x)) (fma (* (cbrt (exp (* 2 x))) (cbrt (exp (* 2 x)))) (cbrt (exp (* 2 x))) 1))

rewrite10.0ms

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

series534.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(cbrt (exp (* 2 x)))
82.0ms
(cbrt (exp (* 2 x)))
82.0ms
(cbrt (exp (* 2 x)))
288.0ms
(/ (expm1 (+ x x)) (fma (* (cbrt (exp (* 2 x))) (cbrt (exp (* 2 x)))) (cbrt (exp (* 2 x))) 1))

simplify74.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0180947
1528861
22462792
35002784

prune259.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.9b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (* 1/3 (pow x 3)))
0.0b
(fma (pow x 5) 2/15 (- 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:
3.0ms
(- x (* 1/3 (pow x 3)))
1.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
6.0ms
(* 1/3 (pow x 3))

series175.0ms

Counts
3 → 9
Calls
3 calls:
80.0ms
(- x (* 1/3 (pow x 3)))
55.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
40.0ms
(* 1/3 (pow x 3))

simplify35.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206338
1835292
25001292

prune159.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.9b

regimes23.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1176
2176

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.3s7420×body10240exit
1.0s3353×body1280valid
452.0ms2455×body640valid
136.0ms1203×body320valid
42.0ms567×body160valid
16.0ms422×body80valid