Details

Time bar (total: 5.8s)

sample96.0ms

Algorithm
intervals
Results
35.0ms220×body10240exit
30.0ms103×body1280valid
15.0ms85×body640valid
4.0ms38×body320valid
1.0ms18×body160valid
0.0ms12×body80valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (44.0ms)

IterNodesCost
0159
1249
2329
3449
4639
51799
611849
750017

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

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

simplify80.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0164440
1564391
22669384
35001382

prune125.0ms

Filtered
60 candidates to 49 candidates (81.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New58260
Fresh101
Picked011
Done000
Total59362

Merged error: 0.5b

Counts
62 → 3

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.2b
(* 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))

series169.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206338
1835292
25002292

prune134.0ms

Filtered
72 candidates to 48 candidates (66.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New70272
Fresh011
Picked011
Done011
Total70575

Merged error: 0.5b

Counts
75 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))
0.2b
(* 1/3 (pow x 3))
0.2b
(* 1/3 (pow x 3))
0.3b
(* (sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))) (sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
30×associate-*r*
21×add-cube-cbrt *-un-lft-identity sqrt-prod
20×pow1
16×add-exp-log
12×associate-*l* unswap-sqr
10×add-cbrt-cube
sqrt-pow1 pow1/2
unpow-prod-down cube-prod swap-sqr
prod-exp
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
pow-prod-down pow-sqr *-commutative cbrt-unprod
cube-mult pow-to-exp unpow3 pow-exp
pow2 rem-sqrt-square pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 132
Calls
4 calls:
1.0ms
(sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))
6.0ms
(* 1/3 (pow x 3))
6.0ms
(* 1/3 (pow x 3))
6.0ms
(* (sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))) (sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))

series179.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))
40.0ms
(* 1/3 (pow x 3))
36.0ms
(* 1/3 (pow x 3))
56.0ms
(* (sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))) (sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))

simplify54.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0271867
11151760
25002719

prune305.0ms

Filtered
144 candidates to 79 candidates (54.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1431144
Fresh022
Picked101
Done022
Total1445149

Merged error: 0.5b

Counts
149 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

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

series634.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(expm1 (log1p (sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3)))))))
41.0ms
(* 1/3 (pow x 3))
35.0ms
(* 1/3 (pow x 3))
385.0ms
(* (sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))) (expm1 (log1p (sqrt (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))))

simplify52.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0433877
11581674
25002600

prune495.0ms

Filtered
113 candidates to 76 candidates (67.3%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1130113
Fresh022
Picked011
Done022
Total1135118

Merged error: 0.5b

Counts
118 → 5

regimes20.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116
1136
2136

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s7551×body10240exit
957.0ms3251×body1280valid
463.0ms2568×body640valid
128.0ms1176×body320valid
46.0ms628×body160valid
14.0ms377×body80valid