Details

Time bar (total: 7.8s)

sample81.0ms

Algorithm
intervals
Results
56.0ms181×body1280valid
6.0ms280×body80valid
6.0ms39×body640valid
2.0ms19×body320valid
1.0msbody160valid

simplify219.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 31.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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)
21.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)))

simplify94.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0211282
1715269
23477260
35001260

prune94.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

rewrite27.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:
11.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))
5.0ms
(* 1/12 (pow x 4))

series272.0ms

Counts
4 → 12
Calls
4 calls:
56.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)))
50.0ms
(* 1/360 (pow x 6))
38.0ms
(* 1/12 (pow x 4))

simplify51.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0329464
11456439
25001423

prune197.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
76×frac-times exp-prod
72×frac-sub
63×exp-neg
62×flip3-- flip--
60×*-un-lft-identity
54×neg-sub0 exp-diff
44×add-sqr-sqrt
38×associate-*r/ associate-*l/
30×add-cube-cbrt
24×distribute-rgt-neg-in
20×distribute-lft-neg-in
18×pow1
16×pow-prod-down
14×pow-sqr pow-prod-up
10×swap-sqr
un-div-inv
neg-mul-1 associate-*r* associate-*l* add-cbrt-cube add-log-exp
distribute-lft-out--
add-exp-log sub-neg difference-of-squares
distribute-rgt-in distribute-lft-in associate--l+
pow2 pow-plus diff-log prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 220
Calls
4 calls:
4.0ms
(- (exp x) 2.0)
25.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
28.0ms
(* (exp (- x)) (exp (- x)))
19.0ms
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x))))

series151.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (exp x) 2.0)
32.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
20.0ms
(* (exp (- x)) (exp (- x)))
87.0ms
(- (* (- (exp x) 2.0) (- (exp x) 2.0)) (* (exp (- x)) (exp (- x))))

simplify97.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
09913327
132302922
250032897

prune323.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x)))))
0.0b
(pow (exp x) 3)
0.3b
(/ (- (* (- (* (exp x) (exp x)) (* 2.0 2.0)) (* (- (pow (exp x) 3) (pow 2.0 3)) (pow (exp x) 2))) (* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x)))))) (* (* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x))))) (pow (exp x) 2)))
4.6b
(- (* (- (* (exp x) (exp x)) (* 2.0 2.0)) (* (- (pow (exp x) 3) (pow 2.0 3)) (pow (exp x) 2))) (* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x))))))

rewrite385.0ms

Algorithm
rewrite-expression-head
Rules
172×associate-*l/
136×frac-times
128×frac-sub
108×flip3-+ flip-+
98×flip3-- flip--
68×associate-*r/
66×associate-/l/
25×add-exp-log
16×add-cbrt-cube
14×add-sqr-sqrt *-un-lft-identity
12×add-cube-cbrt
10×prod-exp
associate-/r/
pow1 div-exp
add-log-exp
pow-pow associate-*l* cbrt-unprod
cbrt-undiv pow-to-exp unpow-prod-down pow-unpow exp-prod times-frac cube-prod associate-*r* pow-exp associate-/l*
distribute-rgt-in distribute-lft-in associate--r+
cube-mult sub-neg frac-2neg diff-log unpow3 div-sub pow-prod-down clear-num associate-/r* *-commutative div-inv distribute-lft-out rem-cube-cbrt unswap-sqr sqr-pow
Counts
4 → 235
Calls
4 calls:
32.0ms
(* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x)))))
2.0ms
(pow (exp x) 3)
233.0ms
(/ (- (* (- (* (exp x) (exp x)) (* 2.0 2.0)) (* (- (pow (exp x) 3) (pow 2.0 3)) (pow (exp x) 2))) (* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x)))))) (* (* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x))))) (pow (exp x) 2)))
95.0ms
(- (* (- (* (exp x) (exp x)) (* 2.0 2.0)) (* (- (pow (exp x) 3) (pow 2.0 3)) (pow (exp x) 2))) (* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x))))))

series856.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x)))))
23.0ms
(pow (exp x) 3)
477.0ms
(/ (- (* (- (* (exp x) (exp x)) (* 2.0 2.0)) (* (- (pow (exp x) 3) (pow 2.0 3)) (pow (exp x) 2))) (* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x)))))) (* (* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x))))) (pow (exp x) 2)))
295.0ms
(- (* (- (* (exp x) (exp x)) (* 2.0 2.0)) (* (- (pow (exp x) 3) (pow 2.0 3)) (pow (exp x) 2))) (* (+ (exp x) 2.0) (+ (pow (exp x) 2) (* 2.0 (+ 2.0 (exp x))))))

simplify134.0ms

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 1 (51.0ms)

IterNodesCost
0235410502
1500310250

prune2.1s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes51.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.7s5705×body1280valid
199.0ms1217×body640valid
185.0ms8054×body80valid
58.0ms604×body320valid
19.0ms303×body160valid