Details

Time bar (total: 6.2s)

sample77.0ms

Algorithm
intervals
Results
51.0ms181×body1280valid
7.0ms42×body640valid
6.0ms289×body80valid
2.0ms18×body320valid
0.0msbody160valid

simplify219.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 27.5b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
3.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:
5.0ms
(- (exp x) 2.0)
9.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series69.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(- (exp x) 2.0)
57.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify34.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0282506
11008381
25001367

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

series217.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0143265
1544240
22626237
35001237

prune110.0ms

Filtered
56 candidates to 39 candidates (69.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New56056
Fresh022
Picked011
Done000
Total56359

Merged error: 0.0b

Counts
59 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp (- x)) 3)
0.1b
(pow (- (exp x) 2.0) 3)
0.2b
(/ (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3)) (fma (exp (* -1 x)) (- (exp (- x)) (- (exp x) 2.0)) (* (- (exp x) 2.0) (- (exp x) 2.0))))
3.0b
(+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
152×*-un-lft-identity
53×unpow-prod-down cube-prod
45×distribute-lft-out
42×add-sqr-sqrt
39×times-frac
34×add-cube-cbrt
24×distribute-lft-out--
20×cube-div
16×fma-def
13×associate-/l*
12×pow-pow
10×exp-prod
frac-add add-cbrt-cube
add-exp-log
pow1 pow-unpow associate-/l/ add-log-exp
neg-sub0 exp-neg flip3-- exp-diff sum-cubes flip--
expm1-log1p-u log1p-expm1-u difference-of-squares
distribute-lft-neg-in cube-mult distribute-rgt-neg-in unpow3 associate-/r* sqr-pow
pow-to-exp flip3-+ pow-exp flip-+ rem-cube-cbrt
cbrt-undiv +-commutative neg-mul-1 frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 186
Calls
4 calls:
5.0ms
(pow (exp (- x)) 3)
5.0ms
(pow (- (exp x) 2.0) 3)
22.0ms
(/ (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3)) (fma (exp (* -1 x)) (- (exp (- x)) (- (exp x) 2.0)) (* (- (exp x) 2.0) (- (exp x) 2.0))))
21.0ms
(+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))

series561.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(pow (exp (- x)) 3)
43.0ms
(pow (- (exp x) 2.0) 3)
340.0ms
(/ (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3)) (fma (exp (* -1 x)) (- (exp (- x)) (- (exp x) 2.0)) (* (- (exp x) 2.0) (- (exp x) 2.0))))
151.0ms
(+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))

simplify118.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06503170
130523012
250023000

prune447.0ms

Filtered
198 candidates to 110 candidates (55.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1971198
Fresh011
Picked101
Done011
Total1983201

Merged error: 0.0b

Counts
201 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(exp (log (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))))
0.2b
(/ (exp (log (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3)))) (fma (exp (* -1 x)) (- (exp (- x)) (- (exp x) 2.0)) (* (- (exp x) 2.0) (- (exp x) 2.0))))
0.3b
(log (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3)))
3.0b
(+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
193×*-un-lft-identity
78×log-prod
65×exp-sum
63×distribute-lft-out
61×unpow-prod-down cube-prod
48×times-frac
39×add-sqr-sqrt
35×add-cube-cbrt
32×cube-div
30×distribute-lft-out--
20×exp-diff
18×log-div
16×fma-def frac-add associate-/l*
neg-sub0 exp-neg flip3-- flip--
sum-cubes
pow1 add-exp-log add-cbrt-cube associate-/l/ add-log-exp
expm1-log1p-u exp-prod flip3-+ flip-+ log1p-expm1-u
associate-/r*
log-pow difference-of-squares
cbrt-undiv +-commutative cube-mult frac-2neg unpow3 div-exp rem-log-exp clear-num sum-log div-inv rem-exp-log sqr-pow
Counts
4 → 193
Calls
4 calls:
23.0ms
(exp (log (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))))
25.0ms
(/ (exp (log (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3)))) (fma (exp (* -1 x)) (- (exp (- x)) (- (exp x) 2.0)) (* (- (exp x) 2.0) (- (exp x) 2.0))))
19.0ms
(log (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3)))
21.0ms
(+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))

series947.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(exp (log (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))))
362.0ms
(/ (exp (log (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3)))) (fma (exp (* -1 x)) (- (exp (- x)) (- (exp x) 2.0)) (* (- (exp x) 2.0) (- (exp x) 2.0))))
268.0ms
(log (+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3)))
157.0ms
(+ (pow (- (exp x) 2.0) 3) (pow (exp (- x)) 3))

simplify92.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06074433
124814112
250014050

prune523.0ms

Filtered
205 candidates to 107 candidates (52.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2050205
Fresh011
Picked011
Done011
Total2053208

Merged error: 0.0b

Counts
208 → 3

regimes16.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.6s5573×body1280valid
199.0ms1280×body640valid
176.0ms7925×body80valid
62.0ms648×body320valid
21.0ms322×body160valid