Details

Time bar (total: 5.4s)

sample69.0ms

Algorithm
intervals
Results
45.0ms170×body1280valid
7.0ms44×body640valid
5.0ms245×body80valid
2.0ms21×body320valid
1.0ms14×body160valid

simplify220.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: 29.4b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series70.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0211282
1715269
23477260
35001260

prune89.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
0.0b
(+ (pow x 2) (+ (* 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:
3.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
12.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))

series267.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
55.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
46.0ms
(* 1/360 (pow x 6))
38.0ms
(* 1/12 (pow x 4))

simplify52.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0329464
11456439
25001423

prune192.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))
0.0b
(* (exp x) (+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x))))
0.1b
(pow (exp x) 3)
5.8b
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

rewrite279.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
16×add-sqr-sqrt
12×add-cube-cbrt
pow1 add-cbrt-cube add-log-exp
associate-*r*
add-exp-log associate-*l*
pow-pow associate-*r/
unpow-prod-down pow-unpow exp-prod flip3-+ cube-prod sum-log flip-+
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative cube-mult pow-to-exp associate-+r+ unpow3 pow-exp distribute-lft-out-- rem-cube-cbrt sqr-pow
Counts
4 → 85
Calls
4 calls:
174.0ms
(* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))
48.0ms
(* (exp x) (+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x))))
2.0ms
(pow (exp x) 3)
53.0ms
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

series210.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))
49.0ms
(* (exp x) (+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x))))
23.0ms
(pow (exp x) 3)
88.0ms
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

simplify109.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
0518828
13042744
25002740

prune273.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (exp x) 3)
0.1b
(pow (exp x) 3)
0.1b
(pow (exp x) 3)
5.8b
(+ (- (* (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))) (pow 2.0 4))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
16×add-sqr-sqrt add-cube-cbrt
12×pow-pow
unpow-prod-down pow-unpow exp-prod cube-prod
add-log-exp
pow1 add-cbrt-cube
add-exp-log
cube-mult pow-to-exp unpow3 pow-exp rem-cube-cbrt sqr-pow
associate-+l+ distribute-neg-in sum-log
+-commutative neg-sub0 distribute-rgt-in associate-+l- distribute-lft-in flip3-+ neg-log flip-+ distribute-lft-out
Counts
4 → 94
Calls
4 calls:
2.0ms
(pow (exp x) 3)
2.0ms
(pow (exp x) 3)
2.0ms
(pow (exp x) 3)
10.0ms
(+ (- (* (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))) (pow 2.0 4))

series645.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (exp x) 3)
23.0ms
(pow (exp x) 3)
28.0ms
(pow (exp x) 3)
571.0ms
(+ (- (* (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))) (pow 2.0 4))

simplify58.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0331838
11605764
25001725

prune389.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes46.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.6s5684×body1280valid
176.0ms1203×body640valid
164.0ms7841×body80valid
55.0ms635×body320valid
17.0ms306×body160valid