Details

Time bar (total: 6.1s)

sample100.0ms

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

simplify222.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51005
61445
72965
813215
950015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.1b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt frac-add
flip3-- flip--
pow1 add-exp-log neg-sub0 exp-neg add-cube-cbrt sub-neg associate-+l+ exp-diff diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+l- flip3-+ flip-+ difference-of-squares
Counts
2 → 35
Calls
2 calls:
4.0ms
(- (exp x) 2.0)
22.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series72.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(- (exp x) 2.0)
58.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify95.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0211282
1715269
23477260
35001260

prune92.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×add-exp-log associate-*r*
12×*-un-lft-identity
11×add-log-exp
10×add-cube-cbrt
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 sum-log sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp *-commutative cbrt-unprod flip-+
associate-+r+ distribute-lft-out
Counts
4 → 75
Calls
4 calls:
12.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
3.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
5.0ms
(* 1/360 (pow x 6))
6.0ms
(* 1/12 (pow x 4))

series266.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
127.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
46.0ms
(* 1/360 (pow x 6))
39.0ms
(* 1/12 (pow x 4))

simplify53.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0329464
11456439
25001423

prune199.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (log (exp (* 1/360 (pow x 6)))) (* 1/12 (pow x 4)))
0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))
2.3b
(log (exp (* 1/360 (pow x 6))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
14×add-exp-log associate-*r*
12×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
log-prod associate-*l* prod-exp add-log-exp unswap-sqr
pow1
sqr-pow
associate-+l+ log-pow
pow-to-exp pow-exp *-commutative cbrt-unprod
+-commutative exp-prod exp-to-pow flip3-+ rem-log-exp sum-log flip-+
Counts
4 → 78
Calls
4 calls:
5.0ms
(+ (log (exp (* 1/360 (pow x 6)))) (* 1/12 (pow x 4)))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))
1.0ms
(log (exp (* 1/360 (pow x 6))))

series263.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(+ (log (exp (* 1/360 (pow x 6)))) (* 1/12 (pow x 4)))
51.0ms
(* 1/360 (pow x 6))
35.0ms
(* 1/12 (pow x 4))
49.0ms
(log (exp (* 1/360 (pow x 6))))

simplify48.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0272429
1995380
25001377

prune247.0ms

Pruning

5 alts after pruning (3 fresh and 2 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))))

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
148×frac-sub
144×frac-times
121×exp-neg
119×flip3-- flip--
104×neg-sub0 exp-diff
95×*-un-lft-identity
76×exp-prod
74×associate-/l/
72×associate-*r/ associate-*l/
64×add-sqr-sqrt
42×add-cube-cbrt
24×distribute-rgt-neg-in times-frac
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
distribute-rgt-in distribute-lft-in associate--l+ associate-/l*
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
cbrt-undiv frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 333
Calls
4 calls:
70.0ms
(/ (- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x)))) (- (- (exp x) 2.0) (exp (- x))))
27.0ms
(* (exp (- x)) (exp (- x)))
27.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
23.0ms
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x))))

series307.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(/ (- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x)))) (- (- (exp x) 2.0) (exp (- x))))
16.0ms
(* (exp (- x)) (exp (- x)))
32.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
88.0ms
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x))))

simplify74.0ms

Algorithm
egg-herbie
Counts
345 → 345
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012675661
150025194

prune777.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

regimes31.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
0177
1177

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.9s5564×body1280valid
399.0ms8040×body80valid
263.0ms1274×body640valid
88.0ms648×body320valid
33.0ms333×body160valid