Details

Time bar (total: 7.2s)

sample64.0ms

Algorithm
intervals
Results
30.0ms928×body80nan
10.0ms296×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.2b

localize10.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.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 (* 9.0 (- a (/ 1.0 3.0))))

rewrite86.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:
28.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
39.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series523.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
183.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
145.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
75.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify89.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08231338
136071238
250021238

prune365.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 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
0.3b
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
6.9b
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×times-frac
25×*-un-lft-identity
24×associate-*l*
23×add-cube-cbrt
20×add-exp-log add-cbrt-cube
14×pow1
sqrt-prod
associate-*r/ prod-exp cbrt-unprod
sqrt-div associate-*l/
flip3-- pow-prod-down flip--
associate-*r* associate-/r* associate-/r/ add-log-exp
cbrt-undiv div-exp associate-/l*
frac-times sqrt-pow1 *-commutative div-inv difference-of-squares unswap-sqr
frac-2neg pow1/2 clear-num distribute-lft-out--
Counts
4 → 111
Calls
4 calls:
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)))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
110.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

series568.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
146.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
73.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
162.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

simplify76.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07541232
130481085
250011085

prune344.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
0.3b
(* (* (- a (/ 1.0 3.0)) (/ 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 (* 9.0 (- a (/ 1.0 3.0))))

rewrite187.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×times-frac
25×*-un-lft-identity
23×add-cube-cbrt
21×associate-*r*
20×add-exp-log add-cbrt-cube
14×pow1
associate-*l/
associate-*r/ sqrt-prod
flip3-- associate-*l* prod-exp flip-- cbrt-unprod
sqrt-div
pow-prod-down
frac-times associate-/r* associate-/r/ add-log-exp
cbrt-undiv div-exp associate-/l*
sqrt-pow1 *-commutative div-inv difference-of-squares unswap-sqr
frac-2neg pow1/2 clear-num distribute-lft-out--
Counts
4 → 115
Calls
4 calls:
53.0ms
(* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
114.0ms
(* (* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series527.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
170.0ms
(* (* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) rand)
149.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
76.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify87.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07271338
132531177
250011177

prune370.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite444.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log add-cbrt-cube
28×add-sqr-sqrt
25×*-un-lft-identity times-frac
23×add-cube-cbrt sqrt-prod
21×pow1
14×prod-exp cbrt-unprod
10×pow-prod-down
associate-*r/
associate-*l*
associate-*l/ associate-/l*
flip3-- sqrt-div associate-*r* associate-/r* flip-- add-log-exp
cbrt-undiv div-exp
frac-times sqrt-pow1 associate-/r/ *-commutative difference-of-squares
sqrt-undiv frac-2neg pow1/2 clear-num div-inv distribute-lft-out--
Counts
4 → 114
Calls
4 calls:
102.0ms
(* (* (sqrt 1.0) (/ (sqrt 1.0) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) rand)
12.0ms
(/ (sqrt 1.0) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
318.0ms
(* (- a (/ 1.0 3.0)) (* (* (sqrt 1.0) (/ (sqrt 1.0) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) rand))

series843.0ms

Counts
4 → 12
Calls
4 calls:
330.0ms
(* (* (sqrt 1.0) (/ (sqrt 1.0) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) rand)
146.0ms
(/ (sqrt 1.0) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
76.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
290.0ms
(* (- a (/ 1.0 3.0)) (* (* (sqrt 1.0) (/ (sqrt 1.0) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) rand))

simplify100.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
08561578
141021290
250011286

prune351.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes117.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
01913
11913

end0.0ms

sample1.7s

Algorithm
intervals
Results
826.0ms27467×body80nan
315.0ms9179×body80valid