Details

Time bar (total: 4.4s)

sample34.0ms

Algorithm
intervals
Results
10.0ms324×body80nan
9.0ms286×body80valid

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

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

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

series141.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05941130
12888878
25001872

prune246.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

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

series164.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ y (/ 1.0 (* x 9.0)))
58.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
64.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
17.0ms
(/ 1.0 (* x 9.0))

simplify82.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06332404
126631754
250021748

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

rewrite84.0ms

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

series164.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ y (/ (/ 1.0 x) 9.0))
58.0ms
(* (sqrt x) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0))
16.0ms
(/ (/ 1.0 x) 9.0)
65.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0)))

simplify105.0ms

Algorithm
egg-herbie
Counts
242 → 242
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
08562770
135652116
250022110

prune408.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
188×add-sqr-sqrt
184×times-frac
144×*-un-lft-identity
142×add-cube-cbrt
122×sqrt-prod
60×distribute-rgt-in distribute-lft-in
58×associate-*r*
54×prod-diff
25×associate-*l*
18×add-exp-log add-cbrt-cube
16×associate-/l*
14×unswap-sqr
13×pow1
10×div-inv
associate-*r/
sub-neg prod-exp associate--l+ cbrt-unprod
pow-prod-down
expm1-log1p-u log1p-expm1-u add-log-exp
sqrt-div associate-/r* *-commutative
cbrt-undiv flip3-- div-exp flip--
frac-times frac-2neg associate-*l/ clear-num associate-/l/ distribute-lft-out-- difference-of-squares
Counts
4 → 302
Calls
4 calls:
10.0ms
(* (sqrt x) (- (+ y (* (sqrt (/ 1.0 x)) (/ (sqrt (/ 1.0 x)) 9.0))) 1.0))
7.0ms
(/ (sqrt (/ 1.0 x)) 9.0)
12.0ms
(* 3.0 (* (sqrt x) (- (+ y (* (sqrt (/ 1.0 x)) (/ (sqrt (/ 1.0 x)) 9.0))) 1.0)))
33.0ms
(* (sqrt (/ 1.0 x)) (/ (sqrt (/ 1.0 x)) 9.0))

series482.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(* (sqrt x) (- (+ y (* (sqrt (/ 1.0 x)) (/ (sqrt (/ 1.0 x)) 9.0))) 1.0))
84.0ms
(/ (sqrt (/ 1.0 x)) 9.0)
167.0ms
(* 3.0 (* (sqrt x) (- (+ y (* (sqrt (/ 1.0 x)) (/ (sqrt (/ 1.0 x)) 9.0))) 1.0)))
82.0ms
(* (sqrt (/ 1.0 x)) (/ (sqrt (/ 1.0 x)) 9.0))

simplify135.0ms

Algorithm
egg-herbie
Counts
314 → 314
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011474297
147993242
250013242

prune770.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

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

sample835.0ms

Algorithm
intervals
Results
274.0ms8543×body80valid
269.0ms8569×body80nan