Details

Time bar (total: 10.3s)

sample294.0ms

Algorithm
halfpoints

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31217
42067
54107
610177
720747
850017

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 44.2b

Counts
2 → 1

localize36.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
57.5b
(- (exp x) (exp (- x)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
24×*-un-lft-identity
19×associate-*l*
16×times-frac
14×add-cube-cbrt
13×associate-*l/
add-exp-log add-cbrt-cube
associate-/l* distribute-lft-out-- difference-of-squares
pow1 add-log-exp
associate-*r* associate-/r*
flip3-- prod-exp flip-- cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv sub-neg frac-2neg diff-log div-exp pow-prod-down clear-num *-commutative div-inv
Counts
2 → 64
Calls
2 calls:
12.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
5.0ms
(- (exp x) (exp (- x)))

series126.0ms

Counts
2 → 6
Calls
2 calls:
85.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
41.0ms
(- (exp x) (exp (- x)))

simplify39.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0321585
11307528
25002526

prune155.0ms

Filtered
70 candidates to 51 candidates (27.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New67370
Fresh000
Picked011
Done000
Total67471

Merged error: 0.1b

Counts
71 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
0.1b
(* 1/60 (pow x 5))
0.1b
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
0.2b
(* 1/3 (pow x 3))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
170×*-un-lft-identity
114×associate-*l*
90×distribute-lft-out
45×add-sqr-sqrt
40×times-frac
30×add-cube-cbrt
21×associate-*l/
19×add-exp-log
18×associate-*r*
13×add-cbrt-cube associate-/l*
10×pow1
add-log-exp
unpow-prod-down prod-exp unswap-sqr
cbrt-unprod sqr-pow
pow-prod-down associate-/r* sum-log *-commutative
+-commutative pow-to-exp associate-+r+ flip3-+ pow-exp flip-+ associate-/l/
cbrt-undiv frac-2neg unpow3 div-exp clear-num div-inv
Counts
4 → 159
Calls
4 calls:
34.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
6.0ms
(* 1/60 (pow x 5))
45.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
7.0ms
(* 1/3 (pow x 3))

series245.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
52.0ms
(* 1/60 (pow x 5))
94.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
38.0ms
(* 1/3 (pow x 3))

simplify68.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
04801322
122931232
250031232

prune294.0ms

Filtered
171 candidates to 84 candidates (50.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1656171
Fresh022
Picked011
Done011
Total16510175

Merged error: 0.0b

Counts
175 → 10

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
0.1b
(* 1/60 (pow x 5))
0.2b
(* 1/3 (pow x 3))
0.3b
(/ (sin y) (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
518×*-un-lft-identity
291×times-frac
252×distribute-lft-out
188×associate-*l*
136×add-sqr-sqrt
126×add-cube-cbrt
58×associate-/r*
27×associate-/r/
19×add-exp-log
15×associate-*r*
13×add-cbrt-cube
add-log-exp
pow1 unpow-prod-down
prod-exp associate-/l* unswap-sqr
flip3-+ flip-+ div-inv
sqr-pow
cbrt-undiv div-exp sum-log
+-commutative pow-to-exp associate-+r+ frac-2neg pow-prod-down pow-exp clear-num *-commutative cbrt-unprod
unpow3
Counts
4 → 293
Calls
4 calls:
30.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
6.0ms
(* 1/60 (pow x 5))
6.0ms
(* 1/3 (pow x 3))
44.0ms
(/ (sin y) (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))))

series349.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
50.0ms
(* 1/60 (pow x 5))
43.0ms
(* 1/3 (pow x 3))
193.0ms
(/ (sin y) (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))))

simplify108.0ms

Algorithm
egg-herbie
Counts
305 → 305
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06723602
134743489
250023487

prune451.0ms

Filtered
305 candidates to 124 candidates (59.3%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New3005305
Fresh527
Picked011
Done022
Total30510315

Merged error: 0.0b

Counts
315 → 10

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 1/3 (pow x 3))
0.2b
(* (/ (sin y) (sqrt 2.0)) (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)))
0.4b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
0.4b
(/ (sin y) (sqrt 2.0))

rewrite193.0ms

Algorithm
rewrite-expression-head
Rules
974×*-un-lft-identity
486×distribute-lft-out
376×associate-*l*
288×frac-times
271×associate-/l*
252×add-sqr-sqrt
240×associate-/r*
222×sqrt-prod
217×add-cube-cbrt
204×times-frac
90×associate-*r*
41×clear-num
40×frac-2neg
28×associate-/l/
25×add-exp-log
24×associate-*r/
22×add-cbrt-cube
14×flip3-+ flip-+
12×associate-*l/ un-div-inv unswap-sqr
pow1
prod-exp
cbrt-undiv div-exp
cbrt-unprod
unpow-prod-down div-inv add-log-exp
pow-prod-down *-commutative sqr-pow
pow-to-exp unpow3 pow-exp
Counts
4 → 643
Calls
4 calls:
6.0ms
(* 1/3 (pow x 3))
86.0ms
(* (/ (sin y) (sqrt 2.0)) (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)))
40.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
5.0ms
(/ (sin y) (sqrt 2.0))

series587.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* 1/3 (pow x 3))
345.0ms
(* (/ (sin y) (sqrt 2.0)) (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)))
128.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
69.0ms
(/ (sin y) (sqrt 2.0))

simplify130.0ms

Algorithm
egg-herbie
Counts
655 → 655
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
015248879
150018515

prune770.0ms

Filtered
655 candidates to 202 candidates (69.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New6532655
Fresh336
Picked101
Done123
Total6587665

Merged error: 0.0b

Counts
665 → 7

regimes69.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
02410
12410

end0.0ms

sample6.1s

Algorithm
halfpoints