Details

Time bar (total: 6.4s)

sample132.0ms

Algorithm
intervals
Results
57.0ms259×body10240exit
37.0ms106×body1280valid
18.0ms80×body640valid
6.0ms41×body320valid
2.0ms17×body160valid
1.0ms12×body80valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (43.0ms)

IterNodesCost
0159
1249
2329
3449
4639
51799
611849
750017

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

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

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

series107.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(fma 1 1 (exp (+ x x)))
18.0ms
(expm1 (+ x x))
69.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

prune143.0ms

Pruning

3 alts after pruning (2 fresh and 1 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))

rewrite11.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))))
2.0ms
(- x (* 1/3 (pow x 3)))
7.0ms
(* 1/3 (pow x 3))

series166.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
77.0ms
(- x (* 1/3 (pow x 3)))
39.0ms
(* 1/3 (pow x 3))

simplify36.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206338
1835292
25002292

prune166.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.5b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.0ms

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

series340.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))
54.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
156.0ms
(expm1 (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))
36.0ms
(* 1/3 (pow x 3))

simplify43.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0306465
11191409
25001389

prune221.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.5b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite9.0ms

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

series625.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(log1p (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))
255.0ms
(expm1 (expm1 (log1p (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))))
186.0ms
(expm1 (log1p (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))))
40.0ms
(* 1/3 (pow x 3))

simplify54.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0414629
11800547
25002539

prune252.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.5b

regimes20.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116
1136
2136

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.7s7745×body10240exit
1.1s3299×body1280valid
541.0ms2471×body640valid
180.0ms1223×body320valid
63.0ms609×body160valid
28.0ms398×body80valid