Details

Time bar (total: 5.6s)

sample109.0ms

Algorithm
intervals
Results
47.0ms273×body10240exit
34.0ms116×body1280valid
12.0ms70×body640valid
4.0ms40×body320valid
1.0ms16×body160valid
1.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

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1 1 (exp (+ x x)))
0.7b
(/ (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))))

simplify73.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0150395
1512351
22464344
35002343

prune98.0ms

Filtered
46 candidates to 39 candidates (84.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New45146
Fresh011
Picked011
Done000
Total45348

Merged error: 0.5b

Counts
48 → 3

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

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

series170.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0206338
1835292
25001292

prune133.0ms

Filtered
72 candidates to 48 candidates (66.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New71172
Fresh011
Picked011
Done011
Total71475

Merged error: 0.5b

Counts
75 → 4

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
(log1p (fma (pow x 5) 2/15 (- 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))

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

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

simplify44.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0306465
11191409
25001389

prune193.0ms

Filtered
77 candidates to 55 candidates (71.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New75277
Fresh011
Picked101
Done112
Total77481

Merged error: 0.5b

Counts
81 → 4

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

series618.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0414629
11800547
25002539

prune226.0ms

Filtered
78 candidates to 58 candidates (74.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New77178
Fresh022
Picked011
Done011
Total77582

Merged error: 0.5b

Counts
82 → 5

regimes51.0ms

Accuracy

0% (0.1b remaining)

Error of 0.6b against oracle of 0.5b 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.1s

Algorithm
intervals
Results
1.2s7433×body10240exit
967.0ms3241×body1280valid
438.0ms2428×body640valid
138.0ms1249×body320valid
46.0ms648×body160valid
16.0ms434×body80valid