Details

Time bar (total: 4.9s)

sample74.0ms

Algorithm
intervals
Results
51.0ms185×body1280valid
6.0ms41×body640valid
5.0ms251×body80valid
1.0ms16×body320valid
0.0msbody160valid

simplify221.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51045
61615
73445
814545
950015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.5b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
4.0b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
20×add-sqr-sqrt
18×prod-diff
16×add-cube-cbrt
11×associate-+l+
add-log-exp
fma-def
frac-add
flip3-- fma-neg flip-- distribute-lft-out--
pow1 add-exp-log neg-sub0 exp-neg expm1-log1p-u sub-neg exp-diff diff-log sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out difference-of-squares
+-commutative associate-+l- flip3-+ flip-+
Counts
2 → 65
Calls
2 calls:
4.0ms
(- (exp x) 2.0)
9.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series72.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(- (exp x) 2.0)
54.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify35.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0282506
11008381
25001367

prune167.0ms

Filtered
71 candidates to 51 candidates (71.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New68371
Fresh000
Picked101
Done000
Total69372

Merged error: 0.0b

Counts
72 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
0.0b
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
0.1b
(* 1/12 (pow x 4))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
add-exp-log
associate-*r*
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
unpow-prod-down
pow1 expm1-log1p-u associate-*l* prod-exp log1p-expm1-u add-log-exp unswap-sqr
fma-udef sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod
Counts
3 → 47
Calls
3 calls:
1.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
1.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
5.0ms
(* 1/12 (pow x 4))

series219.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))
126.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
35.0ms
(* 1/12 (pow x 4))

simplify97.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0143265
1544240
22626237
35001237

prune152.0ms

Filtered
56 candidates to 39 candidates (69.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New55156
Fresh022
Picked011
Done000
Total55459

Merged error: 0.0b

Counts
59 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
0.1b
(* 1/12 (pow x 4))
2.9b
(exp (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))
30.0b
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
10×add-exp-log add-cube-cbrt *-un-lft-identity
associate-*r*
pow1 log-prod add-cbrt-cube
expm1-log1p-u unpow-prod-down exp-prod log1p-expm1-u add-log-exp
associate-*l* exp-sum prod-exp unswap-sqr
log-pow sqr-pow
pow-to-exp rem-log-exp pow-exp *-commutative cbrt-unprod fma-udef rem-exp-log
Counts
4 → 68
Calls
4 calls:
1.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
5.0ms
(* 1/12 (pow x 4))
2.0ms
(exp (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))
1.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

series319.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
35.0ms
(* 1/12 (pow x 4))
58.0ms
(exp (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))
98.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

simplify129.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
0237495
1823442
23640429
35001428

prune227.0ms

Filtered
80 candidates to 55 candidates (68.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh022
Picked101
Done011
Total80484

Merged error: 0.0b

Counts
84 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
0.1b
(* 1/12 (pow x 4))
3.2b
(pow E (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))
30.0b
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
11×add-exp-log add-cube-cbrt *-un-lft-identity
pow1 unpow-prod-down associate-*r*
log-prod add-cbrt-cube
expm1-log1p-u pow-unpow log1p-expm1-u add-log-exp
unpow-prod-up associate-*l* pow-exp prod-exp unswap-sqr sqr-pow
pow-to-exp log-pow
e-exp-1 pow-pow rem-log-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 75
Calls
4 calls:
1.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
5.0ms
(* 1/12 (pow x 4))
3.0ms
(pow E (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))
1.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

series434.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
35.0ms
(* 1/12 (pow x 4))
174.0ms
(pow E (log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4))))))
96.0ms
(log (fma x x (fma 1/360 (pow x 6) (* 1/12 (pow x 4)))))

simplify43.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0334632
11199568
25001554

prune255.0ms

Filtered
87 candidates to 62 candidates (71.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New87087
Fresh022
Picked011
Done011
Total87491

Merged error: 0.0b

Counts
91 → 4

regimes18.0ms

Accuracy

0% (0.5b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.7s5678×body1280valid
195.0ms1238×body640valid
192.0ms8156×body80valid
56.0ms602×body320valid
20.0ms336×body160valid