Details

Time bar (total: 5.2s)

sample83.0ms

Algorithm
intervals
Results
59.0ms199×body1280valid
6.0ms259×body80valid
4.0ms25×body640valid
2.0ms20×body320valid
0.0msbody160valid

simplify216.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: 26.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite57.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:
10.0ms
(- (exp x) 2.0)
46.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series64.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(- (exp x) 2.0)
53.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify94.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0211282
1715269
23477260
35001260

prune82.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
14×associate-*r*
12×add-exp-log
add-cube-cbrt unpow-prod-down *-un-lft-identity
associate-*l* prod-exp add-cbrt-cube unswap-sqr
sqr-pow
pow1 pow-to-exp pow-exp *-commutative cbrt-unprod add-log-exp
Counts
2 → 50
Calls
2 calls:
11.0ms
(* 1/360 (pow x 6))
11.0ms
(* 1/12 (pow x 4))

series80.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(* 1/360 (pow x 6))
33.0ms
(* 1/12 (pow x 4))

simplify175.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0192196
1793182
24701173
35001173

prune115.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (exp x) 2.0)
0.0b
(* (sqrt (+ (- (exp x) 2.0) (exp (- x)))) (sqrt (+ (- (exp x) 2.0) (exp (- x)))))
3.8b
(+ (- (exp x) 2.0) (exp (- x)))
3.8b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite346.0ms

Algorithm
rewrite-expression-head
Rules
84×sqrt-div
68×*-un-lft-identity
64×frac-add
38×sqrt-prod
36×frac-times
33×flip3-- flip--
32×neg-sub0 exp-neg exp-diff
26×add-sqr-sqrt
20×distribute-lft-out
19×pow1
16×flip3-+ swap-sqr flip-+ add-log-exp
12×add-cube-cbrt
11×distribute-lft-out--
sqrt-pow1 pow1/2 associate-*r* associate-*l*
add-exp-log associate-*r/ associate-*l/ add-cbrt-cube
pow-prod-up
associate-+l+ sum-log unswap-sqr
sub-neg diff-log pow-prod-down pow-sqr
+-commutative associate-+l-
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod difference-of-squares
Counts
4 → 165
Calls
4 calls:
10.0ms
(- (exp x) 2.0)
236.0ms
(* (sqrt (+ (- (exp x) 2.0) (exp (- x)))) (sqrt (+ (- (exp x) 2.0) (exp (- x)))))
46.0ms
(+ (- (exp x) 2.0) (exp (- x)))
44.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series165.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(- (exp x) 2.0)
52.0ms
(* (sqrt (+ (- (exp x) 2.0) (exp (- x)))) (sqrt (+ (- (exp x) 2.0) (exp (- x)))))
53.0ms
(+ (- (exp x) 2.0) (exp (- x)))
49.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03582647
112672554
250012512

prune259.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (exp x) (exp x)) (+ (* 2.0 2.0) (* (exp x) 2.0)))
0.0b
(pow (exp x) 3)
3.1b
(+ (* (- (* (exp x) (exp x)) (* 2.0 2.0)) (exp x)) (* (+ (exp x) 2.0) 1))
3.8b
(+ (* (- (pow (exp x) 3) (pow 2.0 3)) (exp x)) (* (+ (* (exp x) (exp x)) (+ (* 2.0 2.0) (* (exp x) 2.0))) 1))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
16×associate-*l/
13×add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity frac-add
flip3-+ flip-+
pow1 sum-log add-cbrt-cube
add-exp-log flip3-- pow-pow flip--
+-commutative unpow-prod-down pow-unpow exp-prod cube-prod
cube-mult pow-to-exp associate-+r+ unpow3 pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 69
Calls
4 calls:
25.0ms
(+ (* (exp x) (exp x)) (+ (* 2.0 2.0) (* (exp x) 2.0)))
4.0ms
(pow (exp x) 3)
34.0ms
(+ (* (- (* (exp x) (exp x)) (* 2.0 2.0)) (exp x)) (* (+ (exp x) 2.0) 1))
65.0ms
(+ (* (- (pow (exp x) 3) (pow 2.0 3)) (exp x)) (* (+ (* (exp x) (exp x)) (+ (* 2.0 2.0) (* (exp x) 2.0))) 1))

series210.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (* (exp x) (exp x)) (+ (* 2.0 2.0) (* (exp x) 2.0)))
27.0ms
(pow (exp x) 3)
60.0ms
(+ (* (- (* (exp x) (exp x)) (* 2.0 2.0)) (exp x)) (* (+ (exp x) 2.0) 1))
88.0ms
(+ (* (- (pow (exp x) 3) (pow 2.0 3)) (exp x)) (* (+ (* (exp x) (exp x)) (+ (* 2.0 2.0) (* (exp x) 2.0))) 1))

simplify144.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (133.0ms)

IterNodesCost
06861233
140031129
250011125

prune427.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes39.0ms

Accuracy

0% (0.7b 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 (1.0ms)

IterNodesCost
0177
1177

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.6s5719×body1280valid
172.0ms1169×body640valid
169.0ms7842×body80valid
54.0ms607×body320valid
20.0ms340×body160valid