Details

Time bar (total: 5.4s)

sample37.0ms

Algorithm
intervals
Results
9.0ms34×body1280valid
7.0ms42×body640valid
7.0ms168×body80valid
3.0ms21×body320valid
1.0msbody160valid

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

localize7.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (/ (sin y) y))
0.2b
(/ (sin y) y)
3.1b
(/ (* x (/ (sin y) y)) z)

rewrite40.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*
associate-*l* div-inv add-log-exp
frac-2neg associate-*r/ clear-num unswap-sqr
pow-prod-down *-commutative associate-/l/
Counts
3 → 83
Calls
3 calls:
13.0ms
(* x (/ (sin y) y))
8.0ms
(/ (sin y) y)
17.0ms
(/ (* x (/ (sin y) y)) z)

series142.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0326487
11643420
25001420

prune185.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.5b
(cbrt z)
0.6b
(* (cbrt z) (cbrt z))
2.1b
(* (/ x (* (cbrt z) (cbrt z))) (/ (/ (sin y) y) (cbrt z)))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
152×times-frac
125×add-sqr-sqrt
88×associate-*r*
85×add-cube-cbrt *-un-lft-identity
65×cbrt-prod
42×add-exp-log
28×add-cbrt-cube
15×cbrt-undiv div-exp
14×unswap-sqr
13×pow1 associate-*l* prod-exp cbrt-unprod
pow1/3 div-inv
swap-sqr
add-log-exp
pow-prod-down
pow-sqr *-commutative pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/
Counts
4 → 191
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
13.0ms
(* (cbrt z) (cbrt z))
66.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ (/ (sin y) y) (cbrt z)))

series661.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt z)
188.0ms
(cbrt z)
193.0ms
(* (cbrt z) (cbrt z))
100.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ (/ (sin y) y) (cbrt z)))

simplify45.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
010751930
150011576

prune812.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt z) (cbrt z))
0.6b
(* (cbrt z) (cbrt z))
0.6b
(cbrt (* (cbrt z) (cbrt z)))
2.1b
(* (/ x (* (cbrt z) (cbrt z))) (/ (/ (sin y) y) (* (cbrt (* (cbrt z) (cbrt z))) (cbrt (cbrt z)))))

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
77×add-exp-log
51×add-cbrt-cube
50×add-sqr-sqrt
33×cbrt-prod
30×add-cube-cbrt *-un-lft-identity
29×associate-*r*
28×cbrt-undiv div-exp prod-exp cbrt-unprod
26×times-frac
20×pow1
19×associate-*l*
13×pow1/3
12×swap-sqr
10×unswap-sqr
pow-prod-down
pow-sqr pow-prod-up add-log-exp
*-commutative div-inv
pow2 pow-plus
frac-times associate-*r/ associate-*l/
Counts
4 → 157
Calls
4 calls:
11.0ms
(* (cbrt z) (cbrt z))
12.0ms
(* (cbrt z) (cbrt z))
5.0ms
(cbrt (* (cbrt z) (cbrt z)))
73.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ (/ (sin y) y) (* (cbrt (* (cbrt z) (cbrt z))) (cbrt (cbrt z)))))

series765.0ms

Counts
4 → 12
Calls
4 calls:
200.0ms
(* (cbrt z) (cbrt z))
197.0ms
(* (cbrt z) (cbrt z))
265.0ms
(cbrt (* (cbrt z) (cbrt z)))
103.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ (/ (sin y) y) (* (cbrt (* (cbrt z) (cbrt z))) (cbrt (cbrt z)))))

simplify98.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
06821833
138501404
250011267

prune420.0ms

Pruning

10 alts after pruning (8 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.3b
(* (sin y) (/ 1 y))
3.1b
(/ (* x (* (sin y) (/ 1 y))) z)

rewrite82.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
rec-exp 1-exp associate-/r* un-div-inv add-log-exp unswap-sqr
*-commutative div-inv associate-/l/
frac-2neg clear-num associate-/l*
Counts
3 → 89
Calls
3 calls:
28.0ms
(* x (* (sin y) (/ 1 y)))
16.0ms
(* (sin y) (/ 1 y))
34.0ms
(/ (* x (* (sin y) (/ 1 y))) z)

series134.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* x (* (sin y) (/ 1 y)))
28.0ms
(* (sin y) (/ 1 y))
60.0ms
(/ (* x (* (sin y) (/ 1 y))) z)

simplify54.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0415565
12095432
25002410

prune164.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0b

regimes282.0ms

Accuracy

77.8% (0.7b remaining)

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

bsearch83.0ms

Steps
ItersRangePoint
9
2.1881140587362268e-26
3.6401178074972383e-19
5.715011145653865e-24
9
-5.8516907299059634e-80
-3.3844226674964425e-87
-4.11794374772535e-81

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02610
12610

end0.0ms

sample1.1s

Algorithm
intervals
Results
271.0ms988×body1280valid
245.0ms5798×body80valid
180.0ms1026×body640valid
78.0ms591×body320valid
32.0ms312×body160valid