Details

Time bar (total: 4.4s)

sample35.0ms

Algorithm
intervals
Results
9.0ms279×body80nan
9.0ms276×body80valid

simplify129.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0247
1657
21907
34127
46447
510837
616287
722737
837237
950017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

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

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

series152.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
05941130
12888878
25001872

prune256.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite204.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)))
3.0ms
(/ 1.0 (* x 9.0))
91.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
96.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

series171.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06332404
126651754
250021748

prune271.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite247.0ms

Algorithm
rewrite-expression-head
Rules
93×*-un-lft-identity
75×distribute-rgt-in distribute-lft-in
72×prod-diff
56×add-sqr-sqrt
50×add-cube-cbrt
20×distribute-lft-out
10×pow1 add-exp-log add-cbrt-cube
associate-*l*
associate-*r*
sub-neg associate-*r/ associate--l+
add-log-exp
pow-prod-down prod-exp sqrt-prod cbrt-unprod
expm1-log1p-u fma-def log1p-expm1-u
flip3-- *-commutative flip-- distribute-lft-out-- unswap-sqr
+-commutative flip3-+ sum-log flip-+ difference-of-squares
Counts
3 → 158
Calls
3 calls:
6.0ms
(+ y (/ 0.1111111111111111 x))
117.0ms
(* (sqrt x) (- (+ y (/ 0.1111111111111111 x)) 1.0))
116.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 0.1111111111111111 x)) 1.0)))

series153.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ y (/ 0.1111111111111111 x))
60.0ms
(* (sqrt x) (- (+ y (/ 0.1111111111111111 x)) 1.0))
67.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 0.1111111111111111 x)) 1.0)))

simplify71.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05492098
120631484
250011478

prune207.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))))
0.3b
(/ 1.0 (* x 9.0))
0.3b
(* (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)))

rewrite465.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:
250.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))))
3.0ms
(/ 1.0 (* x 9.0))
90.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
97.0ms
(* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

series310.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))))
16.0ms
(/ 1.0 (* x 9.0))
60.0ms
(* (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)))

simplify142.0ms

Algorithm
egg-herbie
Counts
331 → 331
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
013226660
142694385
250024369

prune333.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0b

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
0146
1146

end0.0ms

sample839.0ms

Algorithm
intervals
Results
282.0ms8514×body80nan
272.0ms8560×body80valid