Details

Time bar (total: 5.5s)

sample100.0ms

Algorithm
intervals
Results
38.0ms225×body10240exit
32.0ms108×body1280valid
16.0ms88×body640valid
4.0ms34×body320valid
1.0ms12×body160valid
0.0ms14×body80valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (43.0ms)

IterNodesCost
0159
1249
2329
3449
4639
51799
611849
750017

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite3.0ms

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

series94.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(fma 1 1 (exp (+ x x)))
72.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

simplify75.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0150395
1512351
22464344
35002343

prune113.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.0ms

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

series95.0ms

Counts
2 → 6
Calls
2 calls:
57.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
38.0ms
(* 1/3 (pow x 3))

simplify166.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0149210
1589185
23445185
35001185

prune109.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
0.0b
(log1p (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))

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
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
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
0.0ms
(log1p (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))

series346.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
94.0ms
(log1p (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))))))
40.0ms
(* 1/3 (pow x 3))

simplify41.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0306465
11191409
25001389

prune213.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (log1p (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))))
0.0b
(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.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
(expm1 (log1p (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))))
0.0ms
(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))))))))
7.0ms
(* 1/3 (pow x 3))

series581.0ms

Counts
4 → 12
Calls
4 calls:
190.0ms
(expm1 (log1p (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))))
98.0ms
(log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))
254.0ms
(expm1 (expm1 (log1p (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))))
38.0ms
(* 1/3 (pow x 3))

simplify41.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0309537
11197464
25002441

prune265.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes24.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
0116
1136
2136

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s7578×body10240exit
990.0ms3355×body1280valid
434.0ms2444×body640valid
126.0ms1161×body320valid
41.0ms617×body160valid
15.0ms423×body80valid