Details

Time bar (total: 3.6s)

sample27.0ms

Algorithm
intervals
Results
8.0ms274×body80valid
6.0ms234×body80nan

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0247
1477
2737
3927
41057
51287
61617
72107
82447
92447

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- 1.0 (/ 1.0 (* x 9.0))) (/ y (* 3.0 (sqrt x))))
0.2b
(/ y (* 3.0 (sqrt x)))
0.3b
(/ 1.0 (* x 9.0))
0.3b
(* 3.0 (sqrt x))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×add-exp-log *-un-lft-identity add-cbrt-cube
11×add-cube-cbrt
add-log-exp
pow1 times-frac associate-*r* associate-/l*
cbrt-undiv div-exp sqrt-prod
diff-log associate-*l* prod-exp cbrt-unprod distribute-lft-out--
sub-neg flip3-- frac-2neg associate--l+ clear-num associate-/r* frac-sub flip-- div-inv unswap-sqr
associate--l- pow-prod-down *-commutative difference-of-squares
Counts
4 → 85
Calls
4 calls:
49.0ms
(- (- 1.0 (/ 1.0 (* x 9.0))) (/ y (* 3.0 (sqrt x))))
4.0ms
(/ y (* 3.0 (sqrt x)))
3.0ms
(/ 1.0 (* x 9.0))
5.0ms
(* 3.0 (sqrt x))

series161.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (- 1.0 (/ 1.0 (* x 9.0))) (/ y (* 3.0 (sqrt x))))
56.0ms
(/ y (* 3.0 (sqrt x)))
19.0ms
(/ 1.0 (* x 9.0))
39.0ms
(* 3.0 (sqrt x))

simplify52.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0516590
12039534
25001532

prune228.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (- 1.0 (/ 1.0 (* x 9.0))) (/ (/ y 3.0) (sqrt x)))
0.3b
(/ (/ y 3.0) (sqrt x))
0.3b
(/ 1.0 (* x 9.0))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
150×times-frac
98×add-sqr-sqrt
87×*-un-lft-identity
82×add-cube-cbrt
44×sqrt-prod
16×associate-/l*
13×add-exp-log add-cbrt-cube
div-inv
add-log-exp
associate-/r*
cbrt-undiv div-exp difference-of-squares
pow1 diff-log distribute-lft-out--
sub-neg flip3-- frac-2neg associate--l+ clear-num frac-sub flip--
associate--l- prod-exp cbrt-unprod associate-/l/
Counts
3 → 158
Calls
3 calls:
76.0ms
(- (- 1.0 (/ 1.0 (* x 9.0))) (/ (/ y 3.0) (sqrt x)))
8.0ms
(/ (/ y 3.0) (sqrt x))
3.0ms
(/ 1.0 (* x 9.0))

series118.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(- (- 1.0 (/ 1.0 (* x 9.0))) (/ (/ y 3.0) (sqrt x)))
59.0ms
(/ (/ y 3.0) (sqrt x))
16.0ms
(/ 1.0 (* x 9.0))

simplify69.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07601441
129241358
250011358

prune397.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (/ 0.1111111111111111 x))
0.0b
(- (- 1.0 (/ 0.1111111111111111 x)) (/ (/ y 3.0) (sqrt x)))
0.3b
(/ (/ y 3.0) (sqrt x))

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
148×times-frac
101×add-sqr-sqrt
87×*-un-lft-identity
80×add-cube-cbrt
44×sqrt-prod
13×associate-/l*
10×add-log-exp
add-exp-log add-cbrt-cube div-inv
difference-of-squares
associate-/r*
diff-log distribute-lft-out--
pow1 cbrt-undiv sub-neg flip3-- div-exp flip--
associate--l+ frac-sub
associate--l- frac-2neg clear-num associate-/l/
Counts
3 → 152
Calls
3 calls:
6.0ms
(- 1.0 (/ 0.1111111111111111 x))
92.0ms
(- (- 1.0 (/ 0.1111111111111111 x)) (/ (/ y 3.0) (sqrt x)))
11.0ms
(/ (/ y 3.0) (sqrt x))

series137.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(- 1.0 (/ 0.1111111111111111 x))
43.0ms
(- (- 1.0 (/ 0.1111111111111111 x)) (/ (/ y 3.0) (sqrt x)))
61.0ms
(/ (/ y 3.0) (sqrt x))

simplify62.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06981400
125161324
250011324

prune368.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- 1.0 (/ (/ 1.0 x) 9.0)) (/ y (* 3.0 (sqrt x))))
0.2b
(/ y (* 3.0 (sqrt x)))
0.3b
(/ (/ 1.0 x) 9.0)
0.3b
(* 3.0 (sqrt x))

rewrite190.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
57×add-sqr-sqrt
56×*-un-lft-identity
51×add-cube-cbrt
16×add-exp-log add-cbrt-cube associate-/l*
add-log-exp
pow1 associate-*r* div-inv
cbrt-undiv div-exp
associate-/r* sqrt-prod
diff-log associate-*l* distribute-lft-out--
sub-neg flip3-- frac-2neg prod-exp associate--l+ clear-num frac-sub flip-- cbrt-unprod unswap-sqr
associate--l- pow-prod-down *-commutative associate-/l/ difference-of-squares
Counts
4 → 134
Calls
4 calls:
170.0ms
(- (- 1.0 (/ (/ 1.0 x) 9.0)) (/ y (* 3.0 (sqrt x))))
4.0ms
(/ y (* 3.0 (sqrt x)))
6.0ms
(/ (/ 1.0 x) 9.0)
5.0ms
(* 3.0 (sqrt x))

series154.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (- 1.0 (/ (/ 1.0 x) 9.0)) (/ y (* 3.0 (sqrt x))))
57.0ms
(/ y (* 3.0 (sqrt x)))
15.0ms
(/ (/ 1.0 x) 9.0)
39.0ms
(* 3.0 (sqrt x))

simplify71.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0741956
12914892
25001892

prune368.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes51.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116

end0.0ms

sample769.0ms

Algorithm
intervals
Results
265.0ms8519×body80valid
236.0ms8535×body80nan