Details

Time bar (total: 6.1s)

sample100.0ms

Algorithm
intervals
Results
62.0ms178×body1280valid
14.0ms288×body80valid
8.0ms42×body640valid
3.0ms19×body320valid
1.0ms11×body160valid

simplify228.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.1b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.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)
28.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series70.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0282506
11008381
25001367

prune161.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.0ms

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

series159.0ms

Counts
2 → 6
Calls
2 calls:
123.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
36.0ms
(* 1/12 (pow x 4))

simplify67.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0122183
1427166
21923165
35002164

prune102.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x)))) (- (- (exp x) 2.0) (exp (- x))))
0.0b
(* (exp (- x)) (exp (- x)))
0.0b
(* (- (exp x) 2.0) (- (exp x) 2.0))
3.9b
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x))))

rewrite184.0ms

Algorithm
rewrite-expression-head
Rules
148×frac-sub
144×frac-times
121×exp-neg
119×flip3-- *-un-lft-identity flip--
104×neg-sub0 exp-diff
88×add-sqr-sqrt
76×exp-prod
74×associate-/l/
72×associate-*r/ associate-*l/
66×add-cube-cbrt
37×prod-diff
24×distribute-rgt-neg-in times-frac
22×distribute-rgt-in distribute-lft-in associate--l+
21×distribute-lft-out--
20×distribute-lft-neg-in
18×pow1
17×un-div-inv difference-of-squares
16×pow-prod-down
14×pow-sqr pow-prod-up
10×swap-sqr add-cbrt-cube
add-exp-log neg-mul-1 associate-*r* associate-*l*
associate-/r* associate-/r/ add-log-exp
sub-neg
expm1-log1p-u log1p-expm1-u associate-/l*
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
cbrt-undiv frac-2neg fma-neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 379
Calls
4 calls:
75.0ms
(/ (- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x)))) (- (- (exp x) 2.0) (exp (- x))))
26.0ms
(* (exp (- x)) (exp (- x)))
28.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
25.0ms
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x))))

series299.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(/ (- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x)))) (- (- (exp x) 2.0) (exp (- x))))
15.0ms
(* (exp (- x)) (exp (- x)))
32.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
87.0ms
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x))))

simplify78.0ms

Algorithm
egg-herbie
Counts
391 → 391
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
014516429
150025668

prune882.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp (- x)) 2)
0.0b
(pow (- (exp x) 2.0) 2)
3.9b
(- (pow (- (exp x) 2.0) 2) (pow (exp (- x)) 2))
4.4b
(fma (- (exp (- x))) (exp (- x)) (pow (exp (- x)) 2))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
95×unpow-prod-down
85×add-sqr-sqrt
80×prod-diff
76×*-un-lft-identity
49×add-cube-cbrt
29×unpow2 sqr-pow
26×difference-of-squares
14×distribute-lft-out--
12×pow-pow
10×exp-prod fma-neg
pow1 pow-unpow add-log-exp
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in
pow-to-exp pow-exp
neg-mul-1 sub-neg flip3-- diff-log flip-- fma-udef
Counts
4 → 185
Calls
4 calls:
5.0ms
(pow (exp (- x)) 2)
6.0ms
(pow (- (exp x) 2.0) 2)
77.0ms
(- (pow (- (exp x) 2.0) 2) (pow (exp (- x)) 2))
0.0ms
(fma (- (exp (- x))) (exp (- x)) (pow (exp (- x)) 2))

series225.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(pow (exp (- x)) 2)
33.0ms
(pow (- (exp x) 2.0) 2)
84.0ms
(- (pow (- (exp x) 2.0) 2) (pow (exp (- x)) 2))
92.0ms
(fma (- (exp (- x))) (exp (- x)) (pow (exp (- x)) 2))

simplify69.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
06033250
117352036
250012004

prune345.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes25.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.9s5564×body1280valid
397.0ms8040×body80valid
259.0ms1274×body640valid
86.0ms648×body320valid
33.0ms333×body160valid