Details

Time bar (total: 8.8s)

sample124.0ms

Algorithm
intervals
Results
69.0ms884×body80nan
27.0ms293×body80valid

simplify96.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

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

rewrite94.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:
30.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
41.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
10.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series528.0ms

Counts
4 → 12
Calls
4 calls:
120.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))))
189.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
145.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify92.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08231338
136071238
250021238

prune361.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
142×add-sqr-sqrt
102×times-frac
76×*-un-lft-identity
62×add-exp-log sqrt-prod
54×add-cube-cbrt
39×associate-*r*
38×add-cbrt-cube
29×associate-*l*
26×prod-exp
17×div-exp
16×difference-of-squares unswap-sqr
14×cbrt-unprod
13×pow1
cbrt-undiv associate-/r*
distribute-lft-out--
associate-*l/
frac-times
flip3-- pow-prod-down flip--
rec-exp sqrt-div 1-exp associate-*r/ associate-/r/ add-log-exp
flip3-+ *-commutative flip-+ div-inv associate-/l*
distribute-rgt-in frac-2neg distribute-lft-in clear-num
Counts
4 → 209
Calls
4 calls:
32.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand)))
65.0ms
(* (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand)
14.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
57.0ms
(* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0)))))

series639.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand)))
223.0ms
(* (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand)
79.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
184.0ms
(* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011782554
150022254

prune593.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

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

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt
35×*-un-lft-identity
33×times-frac
28×sqrt-prod
26×associate-*r*
25×add-cube-cbrt
20×add-exp-log add-cbrt-cube
pow1 associate-*l* associate-/r*
difference-of-squares
cbrt-undiv flip3-- div-exp prod-exp flip-- cbrt-unprod
frac-times sqrt-div associate-*r/ distribute-lft-out-- add-log-exp unswap-sqr
flip3-+ flip-+
pow-prod-down associate-*l/ associate-/r/ *-commutative div-inv
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 clear-num associate-/l/ distribute-lft-out associate-/l*
Counts
4 → 130
Calls
4 calls:
11.0ms
(sqrt (- a (/ 1.0 3.0)))
121.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))))
19.0ms
(/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
12.0ms
(* rand (/ 1.0 (sqrt 9.0)))

series500.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(sqrt (- a (/ 1.0 3.0)))
153.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))))
237.0ms
(/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
64.0ms
(* rand (/ 1.0 (sqrt 9.0)))

simplify109.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
08351373
142021263
250031247

prune380.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
84×add-sqr-sqrt
71×times-frac
66×associate-*r*
54×*-un-lft-identity
50×add-cube-cbrt
42×sqrt-prod
28×add-exp-log add-cbrt-cube
10×pow1
associate-*l* associate-/r* unswap-sqr
prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-*r/ div-inv add-log-exp difference-of-squares
pow-prod-down *-commutative
sqrt-div associate-/r/ distribute-lft-out--
flip3-- frac-2neg clear-num flip-- associate-/l/ associate-/l*
Counts
4 → 164
Calls
4 calls:
18.0ms
(/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
15.0ms
(* rand (/ 1.0 (sqrt 9.0)))
12.0ms
(* rand (/ 1.0 (sqrt 9.0)))
12.0ms
(* rand (/ 1.0 (sqrt 9.0)))

series415.0ms

Counts
4 → 12
Calls
4 calls:
230.0ms
(/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
56.0ms
(* rand (/ 1.0 (sqrt 9.0)))
63.0ms
(* rand (/ 1.0 (sqrt 9.0)))
64.0ms
(* rand (/ 1.0 (sqrt 9.0)))

simplify64.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05271122
125541016
25002990

prune560.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0.0b

regimes123.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
01710
11710

end0.0ms

sample3.6s

Algorithm
intervals
Results
2.1s27439×body80nan
850.0ms9133×body80valid