Details

Time bar (total: 2.5s)

sample244.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 52.539063%

Guaranteed chance to sample good point: 98.135288%

Results
12.0ms256×body80valid
0.0msbody80invalid

simplify115.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
(* (* 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))

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

series24.0ms

Counts
4 → 12
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))
2.0ms
(/ 1.0 (* x 9.0))
6.0ms
(* 3.0 (sqrt x))

simplify65.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0508558
12557503
25001501

prune155.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New851196
Fresh000
Picked101
Done000
Total861197

Merged error: 0.0b

Counts
97 → 11

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

rewrite36.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:
5.0ms
(+ y (/ 1.0 (* x 9.0)))
4.0ms
(/ 1.0 (* x 9.0))
11.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
12.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

series30.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0530786
12273716
25001716

prune150.0ms

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

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1073110
Fresh2810
Picked011
Done000
Total10912121

Merged error: 0.0b

Counts
121 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
57×pow1
28×sqrt-pow1
26×add-sqr-sqrt
22×pow-prod-down
16×add-cube-cbrt *-un-lft-identity associate-*r*
15×add-exp-log add-cbrt-cube
12×sqrt-prod
10×pow1/2 associate-*l* pow-prod-up
pow-sqr
unswap-sqr
swap-sqr prod-exp cbrt-unprod add-log-exp
times-frac *-commutative associate-/l*
cbrt-undiv div-exp
pow2 frac-2neg pow-plus sqrt-unprod clear-num associate-/r* rem-square-sqrt div-inv
Counts
4 → 114
Calls
4 calls:
5.0ms
(/ 1.0 (* x 9.0))
5.0ms
(* 3.0 (sqrt x))
5.0ms
(* 3.0 (sqrt x))
11.0ms
(* (sqrt (* 3.0 (sqrt x))) (sqrt (* 3.0 (sqrt x))))

series17.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1.0 (* x 9.0))
4.0ms
(* 3.0 (sqrt x))
4.0ms
(* 3.0 (sqrt x))
7.0ms
(* (sqrt (* 3.0 (sqrt x))) (sqrt (* 3.0 (sqrt x))))

simplify62.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0355473
11859416
25001408

prune176.0ms

Filtered
74 candidates to 126 candidates (-70.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1242126
Fresh4610
Picked101
Done011
Total1299138

Merged error: 0b

Counts
138 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series25.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0441576
11777539
25001532

prune119.0ms

Filtered
62 candidates to 87 candidates (-40.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New85287
Fresh347
Picked011
Done011
Total88896

Merged error: 0b

Counts
96 → 8

regimes177.0ms

Accuracy

0% (0.3b 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
0178
1178

end0.0ms

sample827.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 52.539063%

Guaranteed chance to sample good point: 98.135288%

Results
377.0ms8000×body80valid
4.0ms84×body80nan
2.0ms40×body80invalid

Profiling

Loading profile data...