Details

Time bar (total: 5.1s)

sample104.0ms

Algorithm
intervals
Results
42.0ms249×body10240exit
32.0ms109×body1280valid
13.0ms74×body640valid
4.0ms38×body320valid
1.0ms19×body160valid
1.0ms16×body80valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (44.0ms)

IterNodesCost
0159
1249
2329
3449
4639
51799
611849
750017

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series88.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(fma 1 1 (exp (+ x x)))
68.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

prune114.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.8b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(exp (log1p (exp (* 2 x))))
2.0b
(log1p (exp (* 2 x)))
2.0b
(/ (expm1 (+ x x)) (exp (log1p (exp (* 2 x)))))

rewrite8.0ms

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

series261.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(exp (log1p (exp (* 2 x))))
53.0ms
(log1p (exp (* 2 x)))
132.0ms
(/ (expm1 (+ x x)) (exp (log1p (exp (* 2 x)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0182523
1556477
22509465
35001451

prune155.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 1.8b

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

series166.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206338
1835292
25002292

prune163.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 1.8b

localize12.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
(- x (* 1/3 (pow x 3)))
0.1b
(expm1 (log1p (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
17×add-sqr-sqrt
12×associate-*r*
10×add-cube-cbrt *-un-lft-identity
add-exp-log
add-cbrt-cube add-log-exp
pow1 expm1-log1p-u unpow-prod-down cube-prod log1p-expm1-u unswap-sqr
fma-neg associate-*l* prod-diff prod-exp
sqr-pow
cube-mult pow-to-exp sub-neg expm1-log1p flip3-- diff-log unpow3 pow-exp *-commutative flip-- cbrt-unprod fma-udef expm1-udef
Counts
4 → 74
Calls
4 calls:
1.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
3.0ms
(- x (* 1/3 (pow x 3)))
1.0ms
(expm1 (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))
6.0ms
(* 1/3 (pow x 3))

series320.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0305475
11203415
25001395

prune219.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 1.8b

regimes25.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1177
2177

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s7570×body10240exit
1.0s3389×body1280valid
437.0ms2410×body640valid
132.0ms1171×body320valid
43.0ms598×body160valid
16.0ms432×body80valid