Details

Time bar (total: 4.3s)

sample47.0ms

Algorithm
intervals
Results
16.0ms36×body1280valid
10.0ms184×body80valid
6.0ms30×body640valid
3.0ms20×body320valid
1.0ms10×body160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0124
1244
2484
3714
4794
5794

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.4b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.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:
8.0ms
(* x (/ (sin y) y))
3.0ms
(/ (sin y) y)
5.0ms
(/ (* x (/ (sin y) y)) z)

series151.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(* x (/ (sin y) y))
25.0ms
(/ (sin y) y)
70.0ms
(/ (* x (/ (sin y) y)) z)

simplify43.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0333511
11655443
25001443

prune217.0ms

Pruning

9 alts after pruning (9 fresh and 0 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))
2.4b
(/ (* x (* (sin y) (/ 1 y))) z)

rewrite39.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:
13.0ms
(* x (* (sin y) (/ 1 y)))
9.0ms
(* (sin y) (/ 1 y))
14.0ms
(/ (* x (* (sin y) (/ 1 y))) z)

series156.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0422595
12107461
25002439

prune205.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (* (sin y) (/ 1 y)))
0.4b
(cbrt (* (sin y) (/ 1 y)))
0.4b
(cbrt (* (sin y) (/ 1 y)))
2.4b
(/ (* x (* (* (cbrt (* (sin y) (/ 1 y))) (cbrt (* (sin y) (/ 1 y)))) (cbrt (* (sin y) (/ 1 y))))) z)

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
64×associate-*r/
60×cbrt-div
30×un-div-inv
28×frac-times
26×associate-/l/
18×add-exp-log
14×associate-*l/ add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
cbrt-prod times-frac pow1/3 associate-/r*
frac-2neg clear-num div-inv associate-/l*
Counts
4 → 92
Calls
4 calls:
3.0ms
(cbrt (* (sin y) (/ 1 y)))
4.0ms
(cbrt (* (sin y) (/ 1 y)))
4.0ms
(cbrt (* (sin y) (/ 1 y)))
58.0ms
(/ (* x (* (* (cbrt (* (sin y) (/ 1 y))) (cbrt (* (sin y) (/ 1 y)))) (cbrt (* (sin y) (/ 1 y))))) z)

series515.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(cbrt (* (sin y) (/ 1 y)))
135.0ms
(cbrt (* (sin y) (/ 1 y)))
140.0ms
(cbrt (* (sin y) (/ 1 y)))
97.0ms
(/ (* x (* (* (cbrt (* (sin y) (/ 1 y))) (cbrt (* (sin y) (/ 1 y)))) (cbrt (* (sin y) (/ 1 y))))) z)

simplify46.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0322974
11489720
25001595

prune347.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (sin y))
0.7b
(cbrt (sin y))
0.7b
(cbrt (sin y))
2.4b
(/ (* (* x (/ (* (cbrt (sin y)) (cbrt (sin y))) (* (cbrt y) (cbrt y)))) (/ (cbrt (sin y)) (cbrt y))) z)

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
74×add-exp-log
46×add-cbrt-cube
30×prod-exp cbrt-unprod
27×cbrt-undiv div-exp
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
times-frac pow1/3 associate-*r/ associate-/r* associate-/l/
frac-times frac-2neg associate-*l/ clear-num div-inv associate-/l*
Counts
4 → 87
Calls
4 calls:
1.0ms
(cbrt (sin y))
1.0ms
(cbrt (sin y))
1.0ms
(cbrt (sin y))
82.0ms
(/ (* (* x (/ (* (cbrt (sin y)) (cbrt (sin y))) (* (cbrt y) (cbrt y)))) (/ (cbrt (sin y)) (cbrt y))) z)

series410.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(cbrt (sin y))
102.0ms
(cbrt (sin y))
106.0ms
(cbrt (sin y))
100.0ms
(/ (* (* x (/ (* (cbrt (sin y)) (cbrt (sin y))) (* (cbrt y) (cbrt y)))) (/ (cbrt (sin y)) (cbrt y))) z)

simplify89.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
06041277
13443880
25001670

prune245.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

regimes166.0ms

Accuracy

88.4% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 2.5b

bsearch73.0ms

Steps
ItersRangePoint
6
4.521224668525534e-80
1.808853977166641e-79
1.7877667366727078e-79
7
-1.3488457936154646e-05
-3.9804486597390313e-07
-2.286576066382483e-06

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0259
1259

end0.0ms

sample1.2s

Algorithm
intervals
Results
357.0ms5896×body80valid
296.0ms950×body1280valid
234.0ms1043×body640valid
86.0ms547×body320valid
36.0ms312×body160valid