Details

Time bar (total: 11.4s)

sample296.0ms

Algorithm
halfpoints

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31217
42067
54377
610477
720077
850017

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 41.0b

Counts
2 → 1

localize35.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.0ms

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

series115.0ms

Counts
2 → 6
Calls
2 calls:
79.0ms
(* (/ (- (exp x) (exp (neg x))) 2.0) (sin y))
36.0ms
(- (exp x) (exp (neg x)))

simplify105.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0293506
1893447
23877446
35001446

prune155.0ms

Filtered
58 candidates to 44 candidates (75.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New54458
Fresh000
Picked101
Done000
Total55459

Merged error: 0.1b

Counts
59 → 4

localize24.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
22×associate-*r*
19×associate-*l*
18×add-exp-log add-cube-cbrt *-un-lft-identity
12×add-cbrt-cube
10×times-frac
unswap-sqr
unpow-prod-down prod-exp
pow1
cube-prod cbrt-unprod sqr-pow
*-commutative add-log-exp
pow-to-exp pow-exp
cbrt-undiv cube-mult unpow3 div-exp pow-prod-down associate-*l/ div-inv
Counts
3 → 88
Calls
3 calls:
6.0ms
(* 1/60 (pow x 5))
6.0ms
(* 1/3 (pow x 3))
12.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))

series179.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(* 1/60 (pow x 5))
35.0ms
(* 1/3 (pow x 3))
90.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))

simplify51.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0399664
11676581
25002581

prune260.0ms

Filtered
97 candidates to 65 candidates (67.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New91697
Fresh033
Picked011
Done000
Total9110101

Merged error: 0.0b

Counts
101 → 10

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
69×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
54×add-exp-log
44×associate-*l*
43×sqrt-prod
34×add-cbrt-cube
22×prod-exp
14×div-exp
13×pow1
12×associate-/r* cbrt-unprod
cbrt-undiv
associate-/l*
rec-exp 1-exp associate-*r* pow-prod-down associate-*l/ div-inv add-log-exp
pow-flip unswap-sqr
frac-2neg clear-num *-commutative associate-/l/
frac-times sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+ inv-pow
Counts
4 → 182
Calls
4 calls:
15.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
22.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
12.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
5.0ms
(/ 1 (sqrt 2.0))

series502.0ms

Counts
4 → 10
Calls
4 calls:
159.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
219.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
123.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
0.0ms
(/ 1 (sqrt 2.0))

simplify96.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06842585
136672208
250022099

prune499.0ms

Filtered
192 candidates to 111 candidates (57.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1884192
Fresh448
Picked101
Done011
Total1939202

Merged error: 0b

Counts
202 → 9

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite206.0ms

Algorithm
rewrite-expression-head
Rules
1128×times-frac
1122×sqrt-prod
631×add-sqr-sqrt
584×add-cube-cbrt *-un-lft-identity
305×associate-*l*
82×add-exp-log
52×add-cbrt-cube
34×associate-/l*
31×prod-exp
28×div-exp
23×div-inv
17×cbrt-undiv cbrt-unprod
15×associate-/r*
13×pow1 unswap-sqr
rec-exp 1-exp
associate-*r* pow-prod-down associate-*l/ add-log-exp
pow-flip
frac-2neg clear-num *-commutative
frac-times sqrt-pow1 pow1/2 associate-*r/ associate-/l/ inv-pow
Counts
4 → 754
Calls
4 calls:
60.0ms
(* (/ (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (sin y))
28.0ms
(/ (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
42.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (sin y)))
5.0ms
(/ 1 (sqrt 2.0))

series502.0ms

Counts
4 → 10
Calls
4 calls:
159.0ms
(* (/ (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (sin y))
127.0ms
(/ (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
216.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (sin y)))
0.0ms
(/ 1 (sqrt 2.0))

simplify172.0ms

Algorithm
egg-herbie
Counts
764 → 764
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
0164916322
1500114778

prune1.9s

Filtered
764 candidates to 350 candidates (45.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New7622764
Fresh257
Picked011
Done011
Total7649773

Merged error: 0b

Counts
773 → 9

regimes90.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample6.0s

Algorithm
halfpoints

Profiling

Loading profile data...