Details

Time bar (total: 6.3s)

sample38.0ms

Algorithm
intervals
Results
10.0ms38×body1280valid
7.0ms185×body80valid
5.0ms28×body640valid
5.0ms19×body320valid
1.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0124
1244
2484
3714
4794
5794

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.5b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
22×times-frac
21×add-cube-cbrt *-un-lft-identity
19×add-exp-log add-cbrt-cube
13×associate-*r*
cbrt-undiv div-exp associate-/r*
pow1
prod-exp cbrt-unprod associate-/l*
expm1-log1p-u associate-*l* log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r/ clear-num unswap-sqr
pow-prod-down *-commutative associate-/l/
Counts
3 → 89
Calls
3 calls:
5.0ms
(/ (sin y) y)
13.0ms
(* x (/ (sin y) y))
9.0ms
(/ (* x (/ (sin y) y)) z)

series203.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(/ (sin y) y)
66.0ms
(* x (/ (sin y) y))
108.0ms
(/ (* x (/ (sin y) y)) z)

simplify44.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0333511
11655443
25001443

prune199.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (sin y) y)
0.1b
(/ z (/ (sin y) y))
2.3b
(/ x (/ z (/ (sin y) y)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
480×times-frac
238×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
60×associate-/r*
23×div-inv
19×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
associate-/l*
associate-/r/
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
3 → 299
Calls
3 calls:
3.0ms
(/ (sin y) y)
5.0ms
(/ z (/ (sin y) y))
12.0ms
(/ x (/ z (/ (sin y) y)))

series208.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(/ (sin y) y)
92.0ms
(/ z (/ (sin y) y))
75.0ms
(/ x (/ z (/ (sin y) y)))

simplify52.0ms

Algorithm
egg-herbie
Counts
308 → 308
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011172974
150012852

prune807.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin y) y)
0.1b
(/ z (/ (sin y) y))
0.3b
(/ 1 (/ (/ z (/ (sin y) y)) x))
2.2b
(/ (/ z (/ (sin y) y)) x)

rewrite316.0ms

Algorithm
rewrite-expression-head
Rules
2208×times-frac
976×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
155×associate-/r*
76×div-inv
54×add-exp-log
53×associate-/l*
36×div-exp
34×add-cbrt-cube
20×cbrt-undiv
18×associate-/r/
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u add-log-exp
pow-flip associate-/l/ inv-pow
Counts
4 → 877
Calls
4 calls:
3.0ms
(/ (sin y) y)
5.0ms
(/ z (/ (sin y) y))
33.0ms
(/ 1 (/ (/ z (/ (sin y) y)) x))
194.0ms
(/ (/ z (/ (sin y) y)) x)

series284.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ (sin y) y)
64.0ms
(/ z (/ (sin y) y))
108.0ms
(/ 1 (/ (/ z (/ (sin y) y)) x))
85.0ms
(/ (/ z (/ (sin y) y)) x)

simplify154.0ms

Algorithm
egg-herbie
Counts
889 → 889
Iterations

Useful iterations: 1 (58.0ms)

IterNodesCost
0329911439
1500110819

prune2.2s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (* (sin y) (/ 1 y)))
0.2b
(* (sin y) (/ 1 y))
3.4b
(/ (* x (* (sin y) (/ 1 y))) z)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
49×add-exp-log
31×add-cbrt-cube
22×prod-exp
21×add-sqr-sqrt
15×*-un-lft-identity
14×add-cube-cbrt times-frac associate-*r*
12×div-exp cbrt-unprod
10×pow1
cbrt-undiv associate-*r/
associate-*l*
pow-prod-down
expm1-log1p-u rec-exp 1-exp associate-/r* un-div-inv log1p-expm1-u add-log-exp unswap-sqr
*-commutative div-inv associate-/l/
frac-2neg clear-num associate-/l*
Counts
3 → 95
Calls
3 calls:
12.0ms
(* x (* (sin y) (/ 1 y)))
8.0ms
(* (sin y) (/ 1 y))
14.0ms
(/ (* x (* (sin y) (/ 1 y))) z)

series154.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(* x (* (sin y) (/ 1 y)))
31.0ms
(* (sin y) (/ 1 y))
70.0ms
(/ (* x (* (sin y) (/ 1 y))) z)

simplify57.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0422595
12107461
25002439

prune193.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes152.0ms

Accuracy

46.5% (1.6b remaining)

Error of 1.7b against oracle of 0.0b and baseline of 3.1b

bsearch32.0ms

Steps
ItersRangePoint
7
-537794128203271.2
-8723610261783.773
-67691958370526.54

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0199
1199

end0.0ms

sample1.0s

Algorithm
intervals
Results
301.0ms1022×body1280valid
236.0ms5838×body80valid
180.0ms971×body640valid
74.0ms565×body320valid
31.0ms300×body160valid