Details

Time bar (total: 6.1s)

sample31.0ms

Algorithm
intervals
Results
11.0ms275×body80valid
7.0ms243×body80nan

simplify108.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

localize9.0ms

Local error

Found 4 expressions with local error:

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

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)))
13.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
5.0ms
(* 3.0 (sqrt x))
4.0ms
(/ 1.0 (* x 9.0))

series200.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(+ y (/ 1.0 (* x 9.0)))
98.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
47.0ms
(* 3.0 (sqrt x))
16.0ms
(/ 1.0 (* x 9.0))

simplify109.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
05941130
12888878
25001872

prune313.0ms

Filtered
131 candidates to 75 candidates (57.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New11813131
Fresh000
Picked101
Done000
Total11913132

Merged error: 0.0b

Counts
132 → 13

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ 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)))
0.5b
(/ 1.0 (* x 9.0))

rewrite45.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)))
13.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)))
5.0ms
(/ 1.0 (* x 9.0))

series162.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ y (/ 1.0 (* x 9.0)))
57.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
61.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
19.0ms
(/ 1.0 (* x 9.0))

simplify83.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06332404
126631754
250021748

prune274.0ms

Filtered
193 candidates to 84 candidates (43.5%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1885193
Fresh5712
Picked011
Done000
Total19313206

Merged error: 0b

Counts
206 → 13

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ (/ 1.0 x) 9.0))
0.2b
(* (* 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))

rewrite52.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:
13.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))

series146.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08181496
137491238
250011234

prune395.0ms

Filtered
180 candidates to 118 candidates (65.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1746180
Fresh6511
Picked101
Done011
Total18112193

Merged error: 0b

Counts
193 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ (sqrt 1.0) (sqrt x)) (cbrt 9.0))
0.3b
(* 3.0 (sqrt x))
0.3b
(/ (/ (sqrt 1.0) (sqrt x)) (* (cbrt 9.0) (cbrt 9.0)))
0.4b
(* (/ (/ (sqrt 1.0) (sqrt x)) (* (cbrt 9.0) (cbrt 9.0))) (/ (/ (sqrt 1.0) (sqrt x)) (cbrt 9.0)))

rewrite294.0ms

Algorithm
rewrite-expression-head
Rules
1343×times-frac
859×add-sqr-sqrt
672×sqrt-prod
571×add-cube-cbrt *-un-lft-identity
273×cbrt-prod
250×associate-*r*
92×add-exp-log
80×associate-/l*
68×unswap-sqr
64×add-cbrt-cube
47×associate-*l*
42×cbrt-undiv div-exp
24×prod-exp cbrt-unprod
20×div-inv
pow1
associate-/r*
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg pow-prod-down clear-num *-commutative associate-/l/
frac-times associate-*r/ associate-*l/
Counts
4 → 827
Calls
4 calls:
15.0ms
(/ (/ (sqrt 1.0) (sqrt x)) (cbrt 9.0))
5.0ms
(* 3.0 (sqrt x))
14.0ms
(/ (/ (sqrt 1.0) (sqrt x)) (* (cbrt 9.0) (cbrt 9.0)))
175.0ms
(* (/ (/ (sqrt 1.0) (sqrt x)) (* (cbrt 9.0) (cbrt 9.0))) (/ (/ (sqrt 1.0) (sqrt x)) (cbrt 9.0)))

series529.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(/ (/ (sqrt 1.0) (sqrt x)) (cbrt 9.0))
37.0ms
(* 3.0 (sqrt x))
180.0ms
(/ (/ (sqrt 1.0) (sqrt x)) (* (cbrt 9.0) (cbrt 9.0)))
169.0ms
(* (/ (/ (sqrt 1.0) (sqrt x)) (* (cbrt 9.0) (cbrt 9.0))) (/ (/ (sqrt 1.0) (sqrt x)) (cbrt 9.0)))

simplify151.0ms

Algorithm
egg-herbie
Counts
839 → 839
Iterations

Useful iterations: 1 (49.0ms)

IterNodesCost
0259512371
1500211827

prune2.1s

Filtered
839 candidates to 430 candidates (51.3%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New8381839
Fresh1910
Picked011
Done011
Total83912851

Merged error: 0b

Counts
851 → 12

regimes90.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
0167
1167

end0.0ms

sample849.0ms

Algorithm
intervals
Results
283.0ms8515×body80valid
273.0ms8653×body80nan