Details

Time bar (total: 6.5s)

sample59.0ms

Algorithm
intervals
Results
25.0ms791×body80nan
10.0ms289×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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

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

rewrite44.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))))
14.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
10.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series536.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
75.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
186.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
150.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify88.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08231338
136071238
250021238

prune507.0ms

Filtered
126 candidates to 105 candidates (83.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1197126
Fresh000
Picked101
Done000
Total1207127

Merged error: 0.0b

Counts
127 → 7

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

rewrite41.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:
6.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)))))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
11.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series521.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
124.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
78.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
200.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify76.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06931082
13160991
25002991

prune222.0ms

Filtered
94 candidates to 77 candidates (81.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New92294
Fresh246
Picked101
Done000
Total956101

Merged error: 0.0b

Counts
101 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

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

series606.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(+ (* (- a (/ 1.0 3.0)) 1.0) (* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
75.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
201.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
200.0ms
(* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))

simplify124.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08871538
142581371
250031371

prune289.0ms

Filtered
109 candidates to 91 candidates (83.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1072109
Fresh325
Picked011
Done000
Total1105115

Merged error: 0.0b

Counts
115 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
100×add-sqr-sqrt
82×times-frac
68×*-un-lft-identity
55×associate-*r*
52×add-cube-cbrt sqrt-prod
51×associate-*l/
32×add-exp-log add-cbrt-cube
29×frac-times
27×flip3-- flip--
22×frac-add
16×difference-of-squares
12×prod-exp cbrt-unprod
11×pow1
10×associate-*r/
associate-/r*
distribute-lft-out--
cbrt-undiv div-exp associate-*l*
add-log-exp
sqrt-div pow-prod-down associate-/r/
div-inv associate-/l* unswap-sqr
*-commutative
+-commutative frac-2neg flip3-+ clear-num sum-log flip-+
Counts
4 → 202
Calls
4 calls:
11.0ms
(+ (* (- a (/ 1.0 3.0)) 1.0) (* (* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt 9.0))) (/ rand (sqrt (- a (/ 1.0 3.0))))))
9.0ms
(/ rand (sqrt (- a (/ 1.0 3.0))))
16.0ms
(* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt 9.0)))
23.0ms
(* (* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt 9.0))) (/ rand (sqrt (- a (/ 1.0 3.0)))))

series568.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(+ (* (- a (/ 1.0 3.0)) 1.0) (* (* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt 9.0))) (/ rand (sqrt (- a (/ 1.0 3.0))))))
84.0ms
(/ rand (sqrt (- a (/ 1.0 3.0))))
115.0ms
(* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt 9.0)))
193.0ms
(* (* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt 9.0))) (/ rand (sqrt (- a (/ 1.0 3.0)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
012973005
150012768

prune596.0ms

Filtered
214 candidates to 163 candidates (76.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2122214
Fresh123
Picked011
Done101
Total2145219

Merged error: 0b

Counts
219 → 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
01714
11714

end0.0ms

sample1.8s

Algorithm
intervals
Results
903.0ms27512×body80nan
319.0ms9111×body80valid