Details

Time bar (total: 3.6s)

sample29.0ms

Algorithm
intervals
Results
8.0ms271×body80valid
8.0ms273×body80nan

simplify111.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0247
1657
21907
34127
46447
510837
616287
722737
837237
950017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
31×add-sqr-sqrt
25×add-cube-cbrt
24×prod-diff
16×add-exp-log add-cbrt-cube
15×distribute-rgt-in distribute-lft-in
12×associate-*r*
11×pow1
distribute-lft-out
add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u associate-*l* pow-prod-down sqrt-prod log1p-expm1-u
fma-def times-frac associate-/l*
cbrt-undiv sub-neg associate-*r/ div-exp associate--l+ *-commutative distribute-lft-out-- unswap-sqr
+-commutative flip3-- frac-2neg flip3-+ clear-num associate-/r* sum-log flip-- flip-+ div-inv difference-of-squares
Counts
4 → 119
Calls
4 calls:
5.0ms
(+ y (/ 1.0 (* x 9.0)))
4.0ms
(/ 1.0 (* x 9.0))
13.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
5.0ms
(* 3.0 (sqrt x))

series139.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ y (/ 1.0 (* x 9.0)))
15.0ms
(/ 1.0 (* x 9.0))
61.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
36.0ms
(* 3.0 (sqrt x))

simplify72.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05941130
12890878
25001872

prune217.0ms

Filtered
131 candidates to 75 candidates (57.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New12011131
Fresh000
Picked101
Done000
Total12111132

Merged error: 0.0b

Counts
132 → 11

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
96×*-un-lft-identity
75×distribute-rgt-in distribute-lft-in
72×prod-diff
59×add-sqr-sqrt
53×add-cube-cbrt
20×distribute-lft-out
16×add-exp-log add-cbrt-cube
11×pow1
associate-*l*
associate-*r*
sub-neg associate-*r/ associate--l+ add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u pow-prod-down sqrt-prod log1p-expm1-u
fma-def times-frac associate-/l*
cbrt-undiv flip3-- div-exp *-commutative flip-- distribute-lft-out-- unswap-sqr
+-commutative frac-2neg flip3-+ clear-num associate-/r* sum-log flip-+ div-inv difference-of-squares
Counts
4 → 181
Calls
4 calls:
5.0ms
(+ y (/ 1.0 (* x 9.0)))
5.0ms
(/ 1.0 (* x 9.0))
12.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
14.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

series160.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ y (/ 1.0 (* x 9.0)))
15.0ms
(/ 1.0 (* x 9.0))
58.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
63.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06332404
126651754
250021748

prune239.0ms

Filtered
193 candidates to 84 candidates (43.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1894193
Fresh2810
Picked101
Done000
Total19212204

Merged error: 0.0b

Counts
204 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity
75×times-frac
71×add-sqr-sqrt
65×add-cube-cbrt
24×prod-diff
16×add-exp-log add-cbrt-cube
15×distribute-rgt-in distribute-lft-in
13×associate-/l*
12×associate-*r*
11×pow1
distribute-lft-out
add-log-exp
div-inv
expm1-log1p-u associate-*l* pow-prod-down prod-exp sqrt-prod cbrt-unprod log1p-expm1-u
cbrt-undiv fma-def div-exp associate-/r*
sub-neg associate-*r/ associate--l+ *-commutative distribute-lft-out-- unswap-sqr
+-commutative flip3-- frac-2neg flip3-+ clear-num sum-log flip-- flip-+ associate-/l/ difference-of-squares
Counts
4 → 168
Calls
4 calls:
12.0ms
(+ y (/ (/ 1.0 x) 9.0))
21.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0))
6.0ms
(/ (/ 1.0 x) 9.0)
5.0ms
(* 3.0 (sqrt x))

series144.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ y (/ (/ 1.0 x) 9.0))
63.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0))
15.0ms
(/ (/ 1.0 x) 9.0)
42.0ms
(* 3.0 (sqrt x))

simplify93.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
08181496
137491238
250011234

prune341.0ms

Filtered
180 candidates to 118 candidates (65.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1800180
Fresh01111
Picked011
Done000
Total18012192

Merged error: 0.0b

Counts
192 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (* x 9.0))
0.3b
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
0.3b
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))))
0.4b
(* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
255×distribute-rgt-in distribute-lft-in
198×*-un-lft-identity
168×prod-diff
115×add-sqr-sqrt
109×add-cube-cbrt
43×distribute-lft-out
37×add-exp-log
32×pow1
25×add-cbrt-cube
20×prod-exp cbrt-unprod
19×pow-prod-down
14×sub-neg associate--l+
13×associate-*l*
12×associate-*r/
associate-*r*
expm1-log1p-u sqrt-prod log1p-expm1-u add-log-exp
cbrt-prod flip3-- times-frac *-commutative flip-- associate-/l*
cbrt-undiv div-exp distribute-lft-out-- unswap-sqr
frac-2neg clear-num associate-/r* div-inv difference-of-squares
Counts
4 → 319
Calls
4 calls:
4.0ms
(/ 1.0 (* x 9.0))
13.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
23.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))))
18.0ms
(* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

series309.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ 1.0 (* x 9.0))
60.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
97.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))))
136.0ms
(* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

simplify141.0ms

Algorithm
egg-herbie
Counts
331 → 331
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
013226660
142694385
250024369

prune282.0ms

Filtered
331 candidates to 96 candidates (29.0%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New3292331
Fresh2810
Picked011
Done011
Total33112343

Merged error: 0b

Counts
343 → 12

regimes158.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample816.0ms

Algorithm
intervals
Results
273.0ms8527×body80valid
266.0ms8515×body80nan