Details

Time bar (total: 7.5s)

sample62.0ms

Algorithm
intervals
Results
27.0ms925×body80nan
10.0ms300×body80valid

simplify91.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17210
219210
343710
481610
5157810
6276410
7500210

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
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.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.3b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

rewrite83.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:
29.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
35.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
8.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series538.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)))
200.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
143.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
74.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify91.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08231338
136071238
250021238

prune374.0ms

Filtered
126 candidates to 105 candidates (83.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.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.2b
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
0.3b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

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

series468.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* 9.0 (- a (/ 1.0 3.0)))
120.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
216.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
93.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify83.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07441044
13484958
25001958

prune291.0ms

Filtered
109 candidates to 83 candidates (76.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite317.0ms

Algorithm
rewrite-expression-head
Rules
163×times-frac
127×add-sqr-sqrt
102×sqrt-prod
89×*-un-lft-identity
59×add-cube-cbrt
26×difference-of-squares
15×add-exp-log add-cbrt-cube
13×distribute-lft-out--
11×div-inv
10×associate-/l*
associate-/r*
pow1
associate-*l* add-log-exp
cbrt-undiv flip3-- div-exp flip--
frac-times flip3-+ sqrt-div associate-*r* flip-+
associate-*r/ associate-*l/ prod-exp associate-/r/ cbrt-unprod distribute-lft-out
+-commutative distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down clear-num sum-log *-commutative associate-/l/ unswap-sqr
Counts
4 → 190
Calls
4 calls:
10.0ms
(sqrt (- a (/ 1.0 3.0)))
46.0ms
(+ 1.0 (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))
221.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))))
29.0ms
(/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

series568.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(sqrt (- a (/ 1.0 3.0)))
145.0ms
(+ 1.0 (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))
152.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))))
234.0ms
(/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

simplify114.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
010072718
144842536
250012536

prune536.0ms

Filtered
202 candidates to 131 candidates (64.9%)
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.0b
(sqrt (- a (/ 1.0 3.0)))
0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* 1.0 rand) (/ (/ 1 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))))
0.2b
(* (* 1.0 rand) (/ (/ 1 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))
0.4b
(/ (/ 1 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
785×times-frac
583×add-sqr-sqrt
447×sqrt-prod
439×*-un-lft-identity
345×add-cube-cbrt
207×associate-*r*
94×difference-of-squares
50×add-exp-log
47×distribute-lft-out--
32×add-cbrt-cube
22×associate-/l*
21×div-inv
18×div-exp
16×prod-exp
12×pow1
10×cbrt-unprod
cbrt-undiv associate-/r*
associate-*l*
flip3-- sqrt-div flip--
frac-times pow-prod-down associate-/r/ add-log-exp
rec-exp flip3-+ 1-exp associate-*r/ flip-+
associate-*l/ *-commutative
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 clear-num associate-/l/ unswap-sqr
Counts
4 → 529
Calls
4 calls:
10.0ms
(sqrt (- a (/ 1.0 3.0)))
27.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* 1.0 rand) (/ (/ 1 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))))
68.0ms
(* (* 1.0 rand) (/ (/ 1 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))
24.0ms
(/ (/ 1 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

series583.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(sqrt (- a (/ 1.0 3.0)))
148.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* 1.0 rand) (/ (/ 1 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))))
225.0ms
(* (* 1.0 rand) (/ (/ 1 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))
173.0ms
(/ (/ 1 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

simplify98.0ms

Algorithm
egg-herbie
Counts
541 → 541
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
020696937
150016372

prune1.1s

Filtered
541 candidates to 240 candidates (44.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes91.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
01711
11711

end0.0ms

sample1.7s

Algorithm
intervals
Results
819.0ms27139×body80nan
314.0ms9110×body80valid