Details

Time bar (total: 5.7s)

sample100.0ms

Algorithm
intervals
Results
49.0ms925×body80nan
17.0ms310×body80valid

simplify109.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17210
219210
343710
481610
5157810
6276410
7500210

prune3.0ms

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

rewrite42.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:
10.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))))
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
13.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)

series51.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
5.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
22.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)

simplify100.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
010081422
146191341
250011341

prune397.0ms

Filtered
126 candidates to 105 candidates (16.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1179126
Fresh000
Picked101
Done000
Total1189127

Merged error: 0.0b

Counts
127 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
14×*-un-lft-identity
11×add-exp-log add-cbrt-cube
pow1
add-cube-cbrt
associate-*r/ associate-*l* add-log-exp
flip3-- times-frac flip--
frac-times flip3-+ sqrt-div associate-*r* associate-/r* flip-+
sqrt-prod
cbrt-undiv sqrt-pow1 div-exp pow-prod-down associate-*l/ prod-exp associate-/r/ cbrt-unprod distribute-lft-out difference-of-squares
+-commutative distribute-rgt-in frac-2neg distribute-lft-in pow1/2 clear-num sum-log *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 82
Calls
4 calls:
5.0ms
(+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
13.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
9.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
11.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series48.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
14.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
5.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
17.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify85.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08251153
139591078
250021078

prune222.0ms

Filtered
94 candidates to 77 candidates (18.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New91394
Fresh358
Picked011
Done000
Total949103

Merged error: 0.0b

Counts
103 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
22×add-exp-log add-cbrt-cube
21×associate-*l*
19×*-un-lft-identity
15×add-cube-cbrt associate-*r*
13×sqrt-prod
12×pow1
times-frac associate-*r/
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-+ associate-*l/ *-commutative flip-+ associate-/l*
sqrt-pow1 pow1/2 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:
9.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)))
11.0ms
(/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
13.0ms
(* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)
11.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

series57.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)))
10.0ms
(/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
22.0ms
(* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)
8.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

simplify60.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
010201521
150011412

prune339.0ms

Filtered
130 candidates to 98 candidates (24.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1264130
Fresh527
Picked011
Done011
Total1318139

Merged error: 0.0b

Counts
139 → 8

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
441×times-frac
343×add-sqr-sqrt
259×*-un-lft-identity
258×sqrt-prod
205×add-cube-cbrt
54×difference-of-squares
36×associate-/l*
27×distribute-lft-out--
18×sqrt-div
16×associate-/r/
15×associate-/r*
13×add-exp-log add-cbrt-cube
12×flip3-- flip--
div-inv
pow1
associate-*l*
cbrt-undiv frac-times div-exp add-log-exp
flip3-+ associate-*r* flip-+
frac-2neg associate-*r/ associate-*l/ clear-num
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod associate-/l/ unswap-sqr
Counts
4 → 354
Calls
4 calls:
6.0ms
(sqrt (- a (/ 1.0 3.0)))
9.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* 1.0 (/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0)))))
9.0ms
(/ rand (sqrt (- a (/ 1.0 3.0))))
17.0ms
(/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0))

series47.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(sqrt (- a (/ 1.0 3.0)))
16.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* 1.0 (/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0)))))
11.0ms
(/ rand (sqrt (- a (/ 1.0 3.0))))
17.0ms
(/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0))

simplify85.0ms

Algorithm
egg-herbie
Counts
366 → 366
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
014925130
150014879

prune796.0ms

Filtered
366 candidates to 216 candidates (41.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3651366
Fresh145
Picked101
Done022
Total3677374

Merged error: 0.0b

Counts
374 → 7

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

sample2.8s

Algorithm
intervals
Results
1.5s27348×body80nan
510.0ms9174×body80valid

Profiling

Loading profile data...