Details

Time bar (total: 7.8s)

sample69.0ms

Algorithm
intervals
Results
27.0ms872×body80nan
10.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

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite136.0ms

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

series434.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* 9.0 (- a (/ 1.0 3.0)))
66.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
179.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
145.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify61.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0654960
12527875
25001875

prune321.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite165.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:
89.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
40.0ms
(* 9.0 (- a (/ 1.0 3.0)))
11.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
21.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series417.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
44.0ms
(* 9.0 (- a (/ 1.0 3.0)))
66.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
195.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify79.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07441046
13478958
25001958

prune286.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite254.0ms

Algorithm
rewrite-expression-head
Rules
794×times-frac
601×add-sqr-sqrt
446×sqrt-prod
437×*-un-lft-identity
345×add-cube-cbrt
210×associate-*l*
92×difference-of-squares
46×distribute-lft-out--
22×associate-/l*
21×div-inv
20×add-exp-log add-cbrt-cube
associate-/r*
pow1 unswap-sqr
cbrt-undiv div-exp associate-*r* add-log-exp
flip3-- flip--
frac-times flip3-+ sqrt-div prod-exp associate-/r/ cbrt-unprod flip-+
associate-*l/
associate-*r/ pow-prod-down *-commutative
+-commutative distribute-rgt-in frac-2neg distribute-lft-in clear-num sum-log associate-/l/
Counts
4 → 518
Calls
4 calls:
6.0ms
(+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand))
50.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)))
120.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
35.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

series676.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand))
141.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)))
201.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
178.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

simplify94.0ms

Algorithm
egg-herbie
Counts
530 → 530
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
016426772
150026491

prune1.3s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite190.0ms

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

series612.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0))) rand)))
212.0ms
(* (/ 1.0 (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0))) rand)
176.0ms
(/ 1.0 (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0)))
83.0ms
(* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0))

simplify98.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08451427
138841300
250031298

prune360.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes73.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01711
11711

end0.0ms

sample2.0s

Algorithm
intervals
Results
864.0ms27957×body80nan
323.0ms9095×body80valid