Details

Time bar (total: 11.1s)

sample108.0ms

Algorithm
intervals
Results
51.0ms896×body80nan
22.0ms302×body80valid

simplify1.5s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01320
12720
27020
317420
436120
567620
6111420
7187920
8411720
done500020

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

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

rewrite50.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:
12.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
8.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
15.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
11.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series58.0ms

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

simplify877.0ms

Counts
126 → 126
Iterations

Useful iterations: 2 (306.0ms)

IterNodesCost
03552797
110142674
241182482
done50002482

prune370.0ms

Filtered
105 candidates to 126 candidates (-20.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1197126
Fresh000
Picked101
Done000
Total1207127

Merged error: 0.0b

Counts
127 → 7

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

rewrite43.0ms

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

series45.0ms

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

simplify761.0ms

Counts
116 → 116
Iterations

Useful iterations: 2 (245.0ms)

IterNodesCost
03012338
18392257
233532071
done50002071

prune265.0ms

Filtered
93 candidates to 116 candidates (-24.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1142116
Fresh426
Picked101
Done000
Total1194123

Merged error: 0.0b

Counts
123 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
404×times-frac
316×add-sqr-sqrt
235×*-un-lft-identity
234×sqrt-prod
183×add-cube-cbrt
52×difference-of-squares
26×distribute-lft-out--
22×associate-/l*
11×add-exp-log add-cbrt-cube div-inv
associate-/r*
pow1
flip3-- associate-*l* flip-- add-log-exp
frac-times sqrt-div
cbrt-undiv flip3-+ div-exp associate-*r* flip-+
associate-*r/ associate-*l/ associate-/r/
distribute-rgt-in sub-neg rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 diff-log pow-prod-down prod-exp clear-num *-commutative cbrt-unprod associate-/l/ unswap-sqr
Counts
4 → 310
Calls
4 calls:
7.0ms
(- a (/ 1.0 3.0))
7.0ms
(sqrt (- a (/ 1.0 3.0)))
11.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* 1.0 (/ (/ rand (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))))
18.0ms
(/ (/ rand (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(- a (/ 1.0 3.0))
4.0ms
(sqrt (- a (/ 1.0 3.0)))
20.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* 1.0 (/ (/ rand (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))))
19.0ms
(/ (/ rand (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

simplify998.0ms

Counts
322 → 322
Iterations

Useful iterations: 2 (412.0ms)

IterNodesCost
05308026
113587517
249957197
done50007197

prune721.0ms

Filtered
185 candidates to 322 candidates (-74.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New3193322
Fresh213
Picked011
Done000
Total3215326

Merged error: 0.0b

Counts
326 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
404×times-frac
321×add-sqr-sqrt
247×sqrt-prod
238×*-un-lft-identity
186×add-cube-cbrt
52×difference-of-squares
46×sqrt-div
32×frac-times
26×distribute-lft-out--
23×flip3-- flip--
22×associate-/l*
18×associate-*l*
16×add-exp-log associate-*r/ add-cbrt-cube
12×pow1 flip3-+ flip-+
11×div-inv
10×associate-*l/
associate-/r*
distribute-rgt-in distribute-lft-in
associate-*r* pow-prod-down prod-exp cbrt-unprod add-log-exp
cbrt-undiv div-exp
associate-/r/ *-commutative unswap-sqr
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 353
Calls
4 calls:
7.0ms
(sqrt (- a (/ 1.0 3.0)))
13.0ms
(* (sqrt (- a (/ 1.0 3.0))) (+ 1.0 (* 1.0 (/ (/ rand (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))))
18.0ms
(/ (/ rand (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))
21.0ms
(* (sqrt (- a (/ 1.0 3.0))) (* (sqrt (- a (/ 1.0 3.0))) (+ 1.0 (* 1.0 (/ (/ rand (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))))))

series82.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(sqrt (- a (/ 1.0 3.0)))
38.0ms
(* (sqrt (- a (/ 1.0 3.0))) (+ 1.0 (* 1.0 (/ (/ rand (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))))
19.0ms
(/ (/ rand (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))
21.0ms
(* (sqrt (- a (/ 1.0 3.0))) (* (sqrt (- a (/ 1.0 3.0))) (+ 1.0 (* 1.0 (/ (/ rand (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))))))

simplify470.0ms

Counts
365 → 365
Iterations

Useful iterations: done (452.0ms)

IterNodesCost
060210998
1159610005
done50019707

prune1.0s

Filtered
214 candidates to 365 candidates (-70.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3641365
Fresh123
Picked011
Done011
Total3655370

Merged error: 0b

Counts
370 → 5

regimes157.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01421
11721
done1721

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.8s26832×body80nan
564.0ms9184×body80valid

Profiling

Loading profile data...