Details

Time bar (total: 2.5s)

sample101.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 52.5854%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
10.0ms256×body80valid
0.0msbody80nan

simplify104.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0247
1657
21827
33387
44887
57577
611667
717297
827937
950017

prune3.0ms

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
(/ 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))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
16×add-exp-log add-sqr-sqrt add-cbrt-cube
12×associate-*r*
11×pow1
10×add-cube-cbrt
add-log-exp
prod-exp cbrt-unprod
associate-*l* pow-prod-down sqrt-prod
distribute-rgt-in distribute-lft-in times-frac associate-/l*
cbrt-undiv sub-neg associate-*r/ div-exp associate--l+ *-commutative distribute-lft-out 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 → 84
Calls
4 calls:
4.0ms
(+ y (/ 1.0 (* x 9.0)))
4.0ms
(/ 1.0 (* x 9.0))
12.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
5.0ms
(* 3.0 (sqrt x))

series26.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ y (/ 1.0 (* x 9.0)))
5.0ms
(/ 1.0 (* x 9.0))
13.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
4.0ms
(* 3.0 (sqrt x))

simplify68.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0508558
12557503
25001501

prune163.0ms

Filtered
64 candidates to 96 candidates (-50.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New861096
Fresh000
Picked101
Done000
Total871097

Merged error: 0.0b

Counts
97 → 10

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
16×add-exp-log add-sqr-sqrt add-cbrt-cube
15×distribute-rgt-in distribute-lft-in
11×pow1
10×add-cube-cbrt
associate-*l*
associate-*r*
sub-neg associate-*r/ associate--l+ add-log-exp
prod-exp cbrt-unprod
pow-prod-down sqrt-prod
times-frac associate-/l*
cbrt-undiv flip3-- div-exp *-commutative flip-- distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative frac-2neg flip3-+ clear-num associate-/r* sum-log flip-+ div-inv difference-of-squares
Counts
4 → 98
Calls
4 calls:
4.0ms
(+ y (/ 1.0 (* x 9.0)))
12.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
11.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
4.0ms
(/ 1.0 (* x 9.0))

series31.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ y (/ 1.0 (* x 9.0)))
12.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
10.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
2.0ms
(/ 1.0 (* x 9.0))

simplify60.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0530786
12273716
25001716

prune148.0ms

Filtered
69 candidates to 110 candidates (-59.4%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1064110
Fresh279
Picked101
Done000
Total10911120

Merged error: 0.0b

Counts
120 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
51×distribute-rgt-in distribute-lft-in
37×add-exp-log
32×pow1
25×add-cbrt-cube
20×prod-exp cbrt-unprod
19×pow-prod-down
17×add-sqr-sqrt
16×*-un-lft-identity
14×sub-neg associate--l+
13×associate-*l*
12×associate-*r/
11×add-cube-cbrt
associate-*r*
sqrt-prod 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 distribute-lft-out difference-of-squares
Counts
4 → 143
Calls
4 calls:
11.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
4.0ms
(/ 1.0 (* x 9.0))
19.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))))
13.0ms
(* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

series47.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
2.0ms
(/ 1.0 (* x 9.0))
18.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))))
17.0ms
(* (cbrt 3.0) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

simplify87.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
08071792
132401420
250011358

prune223.0ms

Filtered
79 candidates to 155 candidates (-96.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1532155
Fresh3710
Picked011
Done000
Total15610166

Merged error: 0b

Counts
166 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
111×distribute-rgt-in distribute-lft-in
48×add-exp-log
43×pow1
29×prod-exp cbrt-unprod
28×pow-prod-down add-cbrt-cube
22×sub-neg associate--l+
18×add-sqr-sqrt
17×*-un-lft-identity
16×associate-*l*
14×associate-*r/
12×add-cube-cbrt
associate-*r*
sqrt-prod
cbrt-prod
add-log-exp
flip3-- times-frac *-commutative flip-- associate-/l*
cbrt-undiv div-exp distribute-lft-out-- unswap-sqr
frac-2neg clear-num associate-/r* div-inv distribute-lft-out difference-of-squares
Counts
4 → 176
Calls
4 calls:
14.0ms
(* (cbrt (sqrt 3.0)) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
14.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
4.0ms
(/ 1.0 (* x 9.0))
25.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt (sqrt 3.0)) (* (cbrt (sqrt 3.0)) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))))

series94.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (cbrt (sqrt 3.0)) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
13.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
2.0ms
(/ 1.0 (* x 9.0))
52.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt (sqrt 3.0)) (* (cbrt (sqrt 3.0)) (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))))

simplify141.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (117.0ms)

IterNodesCost
011352953
148102346
250022325

prune293.0ms

Filtered
87 candidates to 188 candidates (-116.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1871188
Fresh178
Picked101
Done011
Total1899198

Merged error: 0b

Counts
198 → 9

regimes132.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02215
12215

end0.0ms

sample555.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 52.5854%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
341.0ms8000×body80valid
3.0ms63×body80nan
1.0ms30×body80invalid

Profiling

Loading profile data...