Details

Time bar (total: 9.3s)

sample248.0ms

Algorithm
halfpoints

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31317
42237
54667
611237
722447
850027

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: 45.0b

Counts
2 → 1

localize34.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
31×*-un-lft-identity
21×add-cube-cbrt
19×associate-*l*
16×times-frac
13×associate-*l/
prod-diff
add-exp-log add-cbrt-cube
associate-/l* distribute-lft-out-- difference-of-squares
pow1 add-log-exp
fma-neg associate-*r* associate-/r*
expm1-log1p-u flip3-- prod-exp flip-- cbrt-unprod log1p-expm1-u associate-/l/ unswap-sqr
cbrt-undiv sub-neg frac-2neg diff-log div-exp pow-prod-down clear-num *-commutative div-inv
Counts
2 → 80
Calls
2 calls:
16.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
6.0ms
(- (exp x) (exp (- x)))

series121.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0379836
11480665
25001661

prune194.0ms

Filtered
86 candidates to 60 candidates (69.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New82486
Fresh000
Picked101
Done000
Total83487

Merged error: 0.1b

Counts
87 → 4

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity associate-*l*
10×times-frac
associate-*l/
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u associate-*r* associate-/r* log1p-expm1-u associate-/l* add-log-exp
prod-exp cbrt-unprod fma-udef unswap-sqr
cbrt-undiv frac-2neg div-exp pow-prod-down clear-num *-commutative div-inv
Counts
3 → 62
Calls
3 calls:
1.0ms
(fma 1/60 (pow x 5) (* 2 x))
1.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
8.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

series276.0ms

Counts
3 → 9
Calls
3 calls:
124.0ms
(fma 1/60 (pow x 5) (* 2 x))
55.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
96.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

simplify37.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0249600
11195529
25001529

prune220.0ms

Filtered
71 candidates to 55 candidates (77.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New63871
Fresh033
Picked011
Done000
Total631275

Merged error: 0.0b

Counts
75 → 12

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
19×associate-/r*
11×add-exp-log add-cbrt-cube
associate-/r/ associate-/l*
div-inv
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg clear-num
fma-udef
Counts
4 → 129
Calls
4 calls:
1.0ms
(fma 1/60 (pow x 5) (* 2 x))
1.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
3.0ms
(/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))))
8.0ms
(/ (sin y) (/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))))

series444.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(fma 1/60 (pow x 5) (* 2 x))
59.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
90.0ms
(/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))))
176.0ms
(/ (sin y) (/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))))

simplify70.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04811687
122191584
250031581

prune559.0ms

Filtered
141 candidates to 114 candidates (80.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1365141
Fresh6410
Picked011
Done101
Total14310153

Merged error: 0.0b

Counts
153 → 10

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (* 0.16666666666666666 (sin y)) (pow x 3) (* (sin y) (+ (* 1.0 x) (* 0.008333333333333333 (pow x 5)))))
0.0b
(* 0.008333333333333333 (pow x 5))
0.1b
(* (sin y) (+ (* 1.0 x) (* 0.008333333333333333 (pow x 5))))
0.1b
(* 0.16666666666666666 (sin y))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×*-un-lft-identity
17×associate-*r*
13×add-exp-log associate-*l*
11×add-cube-cbrt
10×pow1 add-cbrt-cube
prod-exp unswap-sqr
expm1-log1p-u unpow-prod-down log1p-expm1-u distribute-lft-out add-log-exp
pow-prod-down *-commutative cbrt-unprod
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ sqr-pow
pow-to-exp flip3-+ pow-exp flip-+ fma-udef
Counts
4 → 88
Calls
4 calls:
1.0ms
(fma (* 0.16666666666666666 (sin y)) (pow x 3) (* (sin y) (+ (* 1.0 x) (* 0.008333333333333333 (pow x 5)))))
7.0ms
(* 0.008333333333333333 (pow x 5))
21.0ms
(* (sin y) (+ (* 1.0 x) (* 0.008333333333333333 (pow x 5))))
4.0ms
(* 0.16666666666666666 (sin y))

series516.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(fma (* 0.16666666666666666 (sin y)) (pow x 3) (* (sin y) (+ (* 1.0 x) (* 0.008333333333333333 (pow x 5)))))
47.0ms
(* 0.008333333333333333 (pow x 5))
260.0ms
(* (sin y) (+ (* 1.0 x) (* 0.008333333333333333 (pow x 5))))
25.0ms
(* 0.16666666666666666 (sin y))

simplify48.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0355577
11590512
25001506

prune233.0ms

Filtered
100 candidates to 71 candidates (71.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New982100
Fresh178
Picked011
Done011
Total9911110

Merged error: 0.0b

Counts
110 → 11

regimes98.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12110

end0.0ms

sample5.9s

Algorithm
halfpoints