Details

Time bar (total: 4.3s)

sample59.0ms

Algorithm
intervals
Results
24.0ms275×body80valid
20.0ms300×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
(* 3.0 (sqrt x))
0.3b
(/ 1.0 (* x 9.0))

rewrite59.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:
45.0ms
(- (- 1.0 (/ 1.0 (* x 9.0))) (/ y (* 3.0 (sqrt x))))
4.0ms
(/ y (* 3.0 (sqrt x)))
5.0ms
(* 3.0 (sqrt x))
3.0ms
(/ 1.0 (* x 9.0))

series167.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (- 1.0 (/ 1.0 (* x 9.0))) (/ y (* 3.0 (sqrt x))))
62.0ms
(/ y (* 3.0 (sqrt x)))
40.0ms
(* 3.0 (sqrt x))
20.0ms
(/ 1.0 (* x 9.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0516590
12039534
25001532

prune223.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize10.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
(* 3.0 (sqrt x))
0.3b
(/ (/ 1.0 x) 9.0)

rewrite195.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:
175.0ms
(- (- 1.0 (/ (/ 1.0 x) 9.0)) (/ y (* 3.0 (sqrt x))))
4.0ms
(/ y (* 3.0 (sqrt x)))
5.0ms
(* 3.0 (sqrt x))
6.0ms
(/ (/ 1.0 x) 9.0)

series164.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (- 1.0 (/ (/ 1.0 x) 9.0)) (/ y (* 3.0 (sqrt x))))
60.0ms
(/ y (* 3.0 (sqrt x)))
38.0ms
(* 3.0 (sqrt x))
17.0ms
(/ (/ 1.0 x) 9.0)

simplify73.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
0741956
12914892
25001892

prune355.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
81×times-frac
60×add-sqr-sqrt
54×add-cube-cbrt *-un-lft-identity
41×add-exp-log
25×add-cbrt-cube
16×associate-/l*
14×prod-exp
13×associate-*r*
11×pow1 div-exp
cbrt-undiv div-inv
associate-*l* cbrt-unprod
rec-exp 1-exp associate-/r* sqrt-prod add-log-exp
pow-prod-down unswap-sqr
pow-flip frac-2neg clear-num *-commutative
associate-*r/ un-div-inv associate-/l/ inv-pow
Counts
4 → 152
Calls
4 calls:
18.0ms
(* y (/ 1 (* 3.0 (sqrt x))))
6.0ms
(/ 1 (* 3.0 (sqrt x)))
5.0ms
(* 3.0 (sqrt x))
6.0ms
(/ (/ 1.0 x) 9.0)

series159.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* y (/ 1 (* 3.0 (sqrt x))))
44.0ms
(/ 1 (* 3.0 (sqrt x)))
38.0ms
(* 3.0 (sqrt x))
21.0ms
(/ (/ 1.0 x) 9.0)

simplify74.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0722903
13139804
25001794

prune381.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 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))

rewrite95.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))

series134.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(- (- 1.0 (/ 1.0 (* x 9.0))) (/ (/ y 3.0) (sqrt x)))
65.0ms
(/ (/ y 3.0) (sqrt x))
17.0ms
(/ 1.0 (* x 9.0))

simplify72.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07601441
129241358
250011358

prune360.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes46.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
0188
1188

end0.0ms

sample1.6s

Algorithm
intervals
Results
689.0ms8504×body80valid
578.0ms8539×body80nan