Details

Time bar (total: 4.5s)

sample28.0ms

Algorithm
intervals
Results
7.0ms26×body1280valid
6.0ms169×body80valid
5.0ms31×body640valid
2.0ms17×body320valid
1.0ms13×body160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
083
1123
2163
3173
4173

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (sin y) y)
0.1b
(* x (/ (sin y) y))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×times-frac
18×add-cube-cbrt *-un-lft-identity
13×associate-*r*
add-exp-log add-cbrt-cube
pow1
associate-*l* associate-/r* associate-/l*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 63
Calls
2 calls:
4.0ms
(/ (sin y) y)
7.0ms
(* x (/ (sin y) y))

series80.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(/ (sin y) y)
52.0ms
(* x (/ (sin y) y))

simplify32.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0218334
1998302
25001302

prune133.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1 (/ y (sin y)))
0.1b
(* x (/ 1 (/ y (sin y))))
0.1b
(/ y (sin y))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
156×times-frac
103×add-sqr-sqrt
91×*-un-lft-identity
89×add-cube-cbrt
44×associate-*r*
35×add-exp-log
19×add-cbrt-cube
16×associate-/r*
15×div-exp
10×div-inv
cbrt-undiv prod-exp
pow1 associate-/l*
unswap-sqr
rec-exp 1-exp
expm1-log1p-u associate-*l* cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/r/
pow-flip associate-*r/ pow-prod-down un-div-inv *-commutative inv-pow
Counts
3 → 182
Calls
3 calls:
6.0ms
(/ 1 (/ y (sin y)))
14.0ms
(* x (/ 1 (/ y (sin y))))
6.0ms
(/ y (sin y))

series117.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(/ 1 (/ y (sin y)))
68.0ms
(* x (/ 1 (/ y (sin y))))
25.0ms
(/ y (sin y))

simplify69.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05761226
129061067
25001946

prune327.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (- 1) (- (/ y (sin y))))
0.1b
(* x (/ (- 1) (- (/ y (sin y)))))
0.1b
(/ y (sin y))

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
988×times-frac
516×add-sqr-sqrt
511×add-cube-cbrt *-un-lft-identity
456×distribute-lft-neg-in distribute-rgt-neg-in
305×associate-*r*
82×neg-mul-1
45×div-inv
33×associate-/r*
13×associate-/l*
12×add-exp-log add-cbrt-cube
pow1
cbrt-undiv expm1-log1p-u div-exp associate-*l* log1p-expm1-u add-log-exp
frac-2neg distribute-frac-neg prod-exp clear-num associate-/r/ cbrt-unprod distribute-neg-frac unswap-sqr
neg-sub0 div-sub associate-*r/ pow-prod-down *-commutative distribute-rgt-neg-out
Counts
3 → 713
Calls
3 calls:
12.0ms
(/ (- 1) (- (/ y (sin y))))
71.0ms
(* x (/ (- 1) (- (/ y (sin y)))))
6.0ms
(/ y (sin y))

series107.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (- 1) (- (/ y (sin y))))
58.0ms
(* x (/ (- 1) (- (/ y (sin y)))))
22.0ms
(/ y (sin y))

simplify102.0ms

Algorithm
egg-herbie
Counts
722 → 722
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
020616716
150016139

prune1.3s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (sin y))
0.1b
(* x (* (/ -1 y) (/ 1 (- (/ 1 (sin y))))))
0.2b
(/ 1 (- (/ 1 (sin y))))
0.2b
(* (/ -1 y) (/ 1 (- (/ 1 (sin y)))))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
331×times-frac
204×add-sqr-sqrt
189×*-un-lft-identity
187×add-cube-cbrt
96×associate-*r*
91×distribute-lft-neg-in distribute-rgt-neg-in
66×add-exp-log
38×add-cbrt-cube
33×associate-/r*
25×prod-exp
20×div-exp
18×div-inv
16×associate-*l*
13×pow1 cbrt-unprod
10×cbrt-undiv
neg-mul-1
rec-exp 1-exp associate-*r/ associate-/l* unswap-sqr
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
frac-times pow-flip frac-2neg associate-*l/ clear-num associate-/r/ un-div-inv *-commutative distribute-neg-frac inv-pow
Counts
4 → 350
Calls
4 calls:
4.0ms
(/ 1 (sin y))
15.0ms
(* x (* (/ -1 y) (/ 1 (- (/ 1 (sin y))))))
8.0ms
(/ 1 (- (/ 1 (sin y))))
38.0ms
(* (/ -1 y) (/ 1 (- (/ 1 (sin y)))))

series119.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ 1 (sin y))
50.0ms
(* x (* (/ -1 y) (/ 1 (- (/ 1 (sin y))))))
21.0ms
(/ 1 (- (/ 1 (sin y))))
31.0ms
(* (/ -1 y) (/ 1 (- (/ 1 (sin y)))))

simplify52.0ms

Algorithm
egg-herbie
Counts
362 → 362
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012482844
150012290

prune820.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes95.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063
163

end0.0ms

sample815.0ms

Algorithm
intervals
Results
233.0ms948×body1280valid
185.0ms5184×body80valid
161.0ms1015×body640valid
66.0ms564×body320valid
22.0ms289×body160valid