Details

Time bar (total: 17.1s)

sample78.0ms

Algorithm
intervals
Results
36.0ms964×body80nan
11.0ms296×body80valid

simplify104.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02710
17210
219210
343710
481610
5157810
6276410
7500210

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

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

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
166×add-sqr-sqrt
137×sqrt-prod
121×times-frac
105×*-un-lft-identity
94×associate-*l*
81×add-cube-cbrt
62×associate-*r*
36×associate-/r*
26×associate-*l/
20×difference-of-squares
16×unswap-sqr
13×add-exp-log add-cbrt-cube
11×pow1 *-commutative
10×distribute-lft-out--
associate-*r/
flip3-- sqrt-div flip-- associate-/l*
frac-times associate-/r/ add-log-exp
flip3-+ pow-prod-down prod-exp cbrt-unprod flip-+
cbrt-undiv +-commutative distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 div-exp clear-num div-inv distribute-lft-out
pow1/2
Counts
4 → 257
Calls
4 calls:
45.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
32.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
15.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
11.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series639.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
219.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
176.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
91.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify57.0ms

Algorithm
egg-herbie
Counts
269 → 269
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
010822522
150012407

prune679.0ms

Filtered
269 candidates to 209 candidates (77.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2636269
Fresh000
Picked101
Done000
Total2646270

Merged error: 0.0b

Counts
270 → 6

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

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
406×times-frac
316×add-sqr-sqrt
237×*-un-lft-identity
210×sqrt-prod
201×add-cube-cbrt
100×associate-*r*
65×associate-/r*
51×associate-*l*
32×associate-/r/ difference-of-squares
21×associate-/l*
17×unswap-sqr
16×*-commutative distribute-lft-out--
13×add-exp-log add-cbrt-cube
11×pow1
associate-*r/
flip3-- flip--
div-inv
distribute-rgt-in frac-times distribute-rgt-out distribute-lft-in sqrt-div add-log-exp
cbrt-undiv flip3-+ div-exp pow-prod-down flip-+
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 associate-*l/ distribute-rgt1-in prod-exp clear-num cbrt-unprod associate-/l/
pow1/2 distribute-lft-out
Counts
4 → 371
Calls
4 calls:
10.0ms
(* 9.0 (- a (/ 1.0 3.0)))
76.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ rand (/ (sqrt (* 9.0 (- a (/ 1.0 3.0)))) 1.0))))
29.0ms
(/ rand (/ (sqrt (* 9.0 (- a (/ 1.0 3.0)))) 1.0))
14.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series519.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* 9.0 (- a (/ 1.0 3.0)))
154.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ rand (/ (sqrt (* 9.0 (- a (/ 1.0 3.0)))) 1.0))))
225.0ms
(/ rand (/ (sqrt (* 9.0 (- a (/ 1.0 3.0)))) 1.0))
92.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify94.0ms

Algorithm
egg-herbie
Counts
383 → 383
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
016704446
150024241

prune1.1s

Filtered
383 candidates to 278 candidates (72.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3803383
Fresh325
Picked011
Done000
Total3836389

Merged error: 0.0b

Counts
389 → 6

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

rewrite194.0ms

Algorithm
rewrite-expression-head
Rules
553×times-frac
516×add-sqr-sqrt
326×sqrt-prod
319×*-un-lft-identity
248×associate-*l*
245×add-cube-cbrt
72×difference-of-squares
39×associate-/l*
37×associate-*r*
36×distribute-lft-out--
34×unswap-sqr
26×associate-*l/
21×associate-/r*
20×add-exp-log add-cbrt-cube
12×*-commutative div-inv associate-/l/
pow1
cbrt-undiv flip3-- div-exp prod-exp flip-- cbrt-unprod
frac-times sqrt-div add-log-exp
frac-2neg flip3-+ clear-num flip-+
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ pow-prod-down associate-/r/
rem-sqrt-square sqrt-pow1 pow1/2 distribute-lft-out
Counts
4 → 474
Calls
4 calls:
8.0ms
(sqrt (- a (/ 1.0 3.0)))
108.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (/ 1.0 (sqrt 9.0)) rand) (sqrt (- a (/ 1.0 3.0))))))
31.0ms
(/ (* (/ 1.0 (sqrt 9.0)) rand) (sqrt (- a (/ 1.0 3.0))))
10.0ms
(* (/ 1.0 (sqrt 9.0)) rand)

series571.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(sqrt (- a (/ 1.0 3.0)))
173.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (/ 1.0 (sqrt 9.0)) rand) (sqrt (- a (/ 1.0 3.0))))))
280.0ms
(/ (* (/ 1.0 (sqrt 9.0)) rand) (sqrt (- a (/ 1.0 3.0))))
75.0ms
(* (/ 1.0 (sqrt 9.0)) rand)

simplify104.0ms

Algorithm
egg-herbie
Counts
486 → 486
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
016336807
150016520

prune967.0ms

Filtered
486 candidates to 276 candidates (56.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New4851486
Fresh224
Picked011
Done011
Total4875492

Merged error: 0b

Counts
492 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite941.0ms

Algorithm
rewrite-expression-head
Rules
6325×times-frac
4217×sqrt-prod
3503×add-sqr-sqrt
2811×*-un-lft-identity
2609×add-cube-cbrt
598×associate-*r*
594×associate-*l*
199×unswap-sqr
198×difference-of-squares
105×div-inv
99×*-commutative distribute-lft-out--
95×associate-/r*
59×associate-/l*
36×associate-/r/
20×add-exp-log add-cbrt-cube
17×associate-/l/
pow1 cbrt-undiv div-exp
associate-*r/
flip3-- flip--
frac-times distribute-rgt-out frac-2neg sqrt-div clear-num add-log-exp
rem-sqrt-square flip3-+ flip-+
+-commutative distribute-rgt-in distribute-lft-in sqrt-pow1 pow-prod-down associate-*l/ distribute-rgt1-in
pow1/2 prod-exp cbrt-unprod distribute-lft-out
Counts
4 → 2459
Calls
4 calls:
507.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (/ rand (sqrt (sqrt 9.0))) (/ (sqrt (* (sqrt 9.0) (- a (/ 1.0 3.0)))) 1.0))))
88.0ms
(/ (/ rand (sqrt (sqrt 9.0))) (/ (sqrt (* (sqrt 9.0) (- a (/ 1.0 3.0)))) 1.0))
12.0ms
(sqrt (* (sqrt 9.0) (- a (/ 1.0 3.0))))
5.0ms
(/ rand (sqrt (sqrt 9.0)))

series981.0ms

Counts
4 → 12
Calls
4 calls:
300.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (/ rand (sqrt (sqrt 9.0))) (/ (sqrt (* (sqrt 9.0) (- a (/ 1.0 3.0)))) 1.0))))
415.0ms
(/ (/ rand (sqrt (sqrt 9.0))) (/ (sqrt (* (sqrt 9.0) (- a (/ 1.0 3.0)))) 1.0))
150.0ms
(sqrt (* (sqrt 9.0) (- a (/ 1.0 3.0))))
117.0ms
(/ rand (sqrt (sqrt 9.0)))

simplify535.0ms

Algorithm
egg-herbie
Counts
2471 → 2471
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
0500157655

prune7.2s

Filtered
2471 candidates to 1441 candidates (58.3%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New247102471
Fresh022
Picked011
Done022
Total247152476

Merged error: 0b

Counts
2476 → 5

regimes70.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
01610
11610

end0.0ms

sample1.9s

Algorithm
intervals
Results
917.0ms27688×body80nan
330.0ms9141×body80valid