Details

Time bar (total: 3.9s)

sample31.0ms

Algorithm
intervals
Results
9.0ms280×body80valid
8.0ms275×body80nan

simplify116.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 3 expressions with local error:

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
29×add-sqr-sqrt
24×prod-diff
23×add-cube-cbrt
15×add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
12×associate-*r*
10×pow1
distribute-lft-out
prod-exp cbrt-unprod
associate-*l* pow-prod-down sqrt-prod
expm1-log1p-u times-frac log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv sub-neg associate-*r/ div-exp associate--l+ *-commutative distribute-lft-out-- unswap-sqr
flip3-- frac-2neg clear-num associate-/r* flip-- div-inv difference-of-squares
Counts
3 → 102
Calls
3 calls:
83.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))

series131.0ms

Counts
3 → 9
Calls
3 calls:
70.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
16.0ms
(/ 1.0 (* x 9.0))
44.0ms
(* 3.0 (sqrt x))

simplify74.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05391055
12716802
25001796

prune196.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 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
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

rewrite201.0ms

Algorithm
rewrite-expression-head
Rules
92×*-un-lft-identity
75×distribute-rgt-in distribute-lft-in
72×prod-diff
57×add-sqr-sqrt
51×add-cube-cbrt
19×distribute-lft-out
15×add-exp-log add-cbrt-cube
10×pow1
associate-*l*
associate-*r*
sub-neg associate-*r/ associate--l+
prod-exp cbrt-unprod
pow-prod-down sqrt-prod
expm1-log1p-u times-frac log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv flip3-- div-exp *-commutative flip-- distribute-lft-out-- unswap-sqr
frac-2neg clear-num associate-/r* div-inv difference-of-squares
Counts
3 → 164
Calls
3 calls:
3.0ms
(/ 1.0 (* x 9.0))
94.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)))

series146.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(/ 1.0 (* x 9.0))
62.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)))

simplify76.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05782329
124931678
250011672

prune228.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
105×add-sqr-sqrt
71×*-un-lft-identity
69×add-cube-cbrt
60×distribute-rgt-in distribute-lft-in
54×prod-diff
48×times-frac
31×associate-*l*
28×associate-*r* sqrt-prod
22×add-exp-log add-cbrt-cube
12×pow1
11×unswap-sqr
prod-exp cbrt-unprod
associate-*r/
sub-neg associate--l+
pow-prod-down
cbrt-undiv div-exp
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp
flip3-- flip-- div-inv
frac-times associate-*l/ distribute-lft-out-- difference-of-squares
Counts
3 → 197
Calls
3 calls:
36.0ms
(* (sqrt x) (- (+ y (* (/ (sqrt 1.0) x) (/ (sqrt 1.0) 9.0))) 1.0))
41.0ms
(* 3.0 (* (sqrt x) (- (+ y (* (/ (sqrt 1.0) x) (/ (sqrt 1.0) 9.0))) 1.0)))
27.0ms
(* (/ (sqrt 1.0) x) (/ (sqrt 1.0) 9.0))

series449.0ms

Counts
3 → 9
Calls
3 calls:
166.0ms
(* (sqrt x) (- (+ y (* (/ (sqrt 1.0) x) (/ (sqrt 1.0) 9.0))) 1.0))
184.0ms
(* 3.0 (* (sqrt x) (- (+ y (* (/ (sqrt 1.0) x) (/ (sqrt 1.0) 9.0))) 1.0)))
98.0ms
(* (/ (sqrt 1.0) x) (/ (sqrt 1.0) 9.0))

simplify116.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
08873080
140832199
250012125

prune389.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
38×sqrt-prod
23×add-cube-cbrt *-un-lft-identity
21×pow1
18×add-exp-log times-frac add-cbrt-cube
16×associate-*r*
13×associate-*l*
12×swap-sqr
sqrt-pow1 pow1/2
div-inv associate-/l* unswap-sqr
pow-prod-up
cbrt-undiv expm1-log1p-u sqrt-div div-exp pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
pow-sqr
frac-2neg clear-num associate-/r* *-commutative
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ rem-square-sqrt
Counts
4 → 136
Calls
4 calls:
3.0ms
(/ 1.0 (* x 9.0))
7.0ms
(/ 1.0 (* x 9.0))
4.0ms
(* 3.0 (sqrt x))
21.0ms
(* (sqrt (/ 1.0 (* x 9.0))) (sqrt (/ 1.0 (* x 9.0))))

series135.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ 1.0 (* x 9.0))
16.0ms
(/ 1.0 (* x 9.0))
45.0ms
(* 3.0 (sqrt x))
56.0ms
(* (sqrt (/ 1.0 (* x 9.0))) (sqrt (/ 1.0 (* x 9.0))))

simplify59.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0384624
11873540
25001527

prune346.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes76.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01812
11812

end0.0ms

sample804.0ms

Algorithm
intervals
Results
273.0ms8528×body80valid
264.0ms8413×body80nan