Details

Time bar (total: 6.9s)

sample64.0ms

Algorithm
intervals
Results
27.0ms869×body80nan
10.0ms297×body80valid

simplify92.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17210
219210
343710
481610
5157810
6276410
7500210

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
0.1b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
0.2b
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
0.3b
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
26×*-un-lft-identity times-frac
24×add-cube-cbrt associate-*l*
13×add-exp-log add-cbrt-cube
11×pow1
associate-*r/ sqrt-prod
flip3-- sqrt-div associate-*r* flip--
frac-times associate-/r* associate-/r/ add-log-exp
flip3-+ pow-prod-down associate-*l/ prod-exp cbrt-unprod flip-+ associate-/l* unswap-sqr
cbrt-undiv sqrt-pow1 div-exp *-commutative div-inv difference-of-squares
distribute-rgt-in frac-2neg distribute-lft-in pow1/2 clear-num distribute-lft-out--
Counts
4 → 114
Calls
4 calls:
42.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
11.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
36.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series524.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
74.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
183.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
148.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify88.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08231340
136011238
250021238

prune373.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 9.0 (- a (/ 1.0 3.0)))
0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
0.1b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
0.2b
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
16×*-un-lft-identity
13×add-exp-log add-cbrt-cube
11×pow1
10×add-cube-cbrt associate-*r*
associate-*l*
associate-*r/
flip3-- times-frac flip--
frac-times sqrt-div associate-/r* add-log-exp difference-of-squares
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp sqrt-prod cbrt-unprod flip-+
cbrt-undiv sub-neg sqrt-pow1 div-exp associate-*l/ associate-/r/ *-commutative distribute-lft-out-- unswap-sqr
frac-2neg pow1/2 clear-num div-inv distribute-lft-out associate-/l*
Counts
4 → 97
Calls
4 calls:
24.0ms
(* 9.0 (- a (/ 1.0 3.0)))
51.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
10.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series468.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* 9.0 (- a (/ 1.0 3.0)))
126.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
111.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
191.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify81.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07441044
13484958
25001958

prune278.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- a (/ 1.0 3.0)))
0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))))
0.2b
(/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
0.3b
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
19×*-un-lft-identity sqrt-prod
13×associate-*r*
12×associate-*l*
11×pow1 add-cube-cbrt
flip3-- sqrt-div associate-*r/ prod-exp flip-- cbrt-unprod difference-of-squares
unswap-sqr
cbrt-undiv frac-times times-frac div-exp pow-prod-down add-log-exp
sqrt-pow1 flip3-+ pow1/2 flip-+ distribute-lft-out--
associate-*l/ associate-/r/ *-commutative
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-unprod clear-num associate-/r* div-inv distribute-lft-out associate-/l*
Counts
4 → 108
Calls
4 calls:
12.0ms
(sqrt (- a (/ 1.0 3.0)))
46.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))))
12.0ms
(/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
30.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

series519.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(sqrt (- a (/ 1.0 3.0)))
150.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))))
237.0ms
(/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
90.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

simplify100.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
07731277
139991177
250021171

prune311.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
0.2b
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
0.3b
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
0.4b
(* (+ (sqrt a) (sqrt (/ 1.0 3.0))) (* (- (sqrt a) (sqrt (/ 1.0 3.0))) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))))

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt frac-times
27×*-un-lft-identity
25×times-frac
23×add-cube-cbrt associate-*l*
20×associate-*r/
18×flip3-+ flip-+
16×add-exp-log add-cbrt-cube
14×pow1
12×flip3-- flip--
10×sqrt-prod
associate-*l/
sqrt-div
pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in distribute-lft-in associate-*r* associate-/r* associate-/r/ add-log-exp
associate-/l*
cbrt-undiv sqrt-pow1 div-exp *-commutative div-inv distribute-lft-out unswap-sqr
frac-2neg pow1/2 clear-num
Counts
4 → 133
Calls
4 calls:
8.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
36.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
89.0ms
(* (+ (sqrt a) (sqrt (/ 1.0 3.0))) (* (- (sqrt a) (sqrt (/ 1.0 3.0))) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))))

series1.0s

Counts
4 → 12
Calls
4 calls:
75.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
189.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
154.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
611.0ms
(* (+ (sqrt a) (sqrt (/ 1.0 3.0))) (* (- (sqrt a) (sqrt (/ 1.0 3.0))) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))))

simplify45.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
012212289
150022021

prune514.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes83.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01811
11811

end0.0ms

sample1.8s

Algorithm
intervals
Results
874.0ms27184×body80nan
328.0ms9100×body80valid