Details

Time bar (total: 3.7s)

sample52.0ms

Algorithm
intervals
Results
15.0ms275×body80valid
14.0ms293×body80nan

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0247
1477
2737
3927
41057
51287
61617
72107
82447
92447

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

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

series166.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07682009
130771504
250021453

prune370.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series158.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ 1 (* 3.0 (sqrt x)))
56.0ms
(* y (/ 1 (* 3.0 (sqrt x))))
20.0ms
(/ 1.0 (* x 9.0))
37.0ms
(* 3.0 (sqrt x))

simplify61.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0527568
12359472
25001456

prune267.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.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
expm1-log1p-u rec-exp 1-exp associate-/r* sqrt-prod log1p-expm1-u 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 → 160
Calls
4 calls:
6.0ms
(/ 1 (* 3.0 (sqrt x)))
9.0ms
(* y (/ 1 (* 3.0 (sqrt x))))
6.0ms
(/ (/ 1.0 x) 9.0)
5.0ms
(* 3.0 (sqrt x))

series155.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1 (* 3.0 (sqrt x)))
62.0ms
(* y (/ 1 (* 3.0 (sqrt x))))
16.0ms
(/ (/ 1.0 x) 9.0)
39.0ms
(* 3.0 (sqrt x))

simplify83.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
0744933
13196834
25002818

prune413.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
52×*-un-lft-identity
48×add-cube-cbrt
45×prod-diff
41×associate--l+
36×add-exp-log
35×times-frac
20×add-cbrt-cube
14×prod-exp
13×associate-*r*
11×pow1
add-log-exp
div-exp
fma-neg associate-*l* cbrt-unprod
div-inv
cbrt-undiv expm1-log1p-u rec-exp 1-exp sqrt-prod frac-sub log1p-expm1-u difference-of-squares
flip3-- diff-log associate-*r/ pow-prod-down un-div-inv flip-- associate-/l* unswap-sqr
sub-neg pow-flip *-commutative distribute-lft-out--
associate--l- frac-2neg clear-num associate-/r* inv-pow
Counts
4 → 161
Calls
4 calls:
14.0ms
(- (- 1.0 (/ 0.1111111111111111 x)) (* y (/ 1 (* 3.0 (sqrt x)))))
6.0ms
(/ 1 (* 3.0 (sqrt x)))
9.0ms
(* y (/ 1 (* 3.0 (sqrt x))))
5.0ms
(* 3.0 (sqrt x))

series191.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (- 1.0 (/ 0.1111111111111111 x)) (* y (/ 1 (* 3.0 (sqrt x)))))
45.0ms
(/ 1 (* 3.0 (sqrt x)))
57.0ms
(* y (/ 1 (* 3.0 (sqrt x))))
45.0ms
(* 3.0 (sqrt x))

simplify100.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08221632
135411201
250021174

prune441.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes97.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample782.0ms

Algorithm
intervals
Results
269.0ms8516×body80valid
253.0ms8421×body80nan