Details

Time bar (total: 16.4s)

sample67.0ms

Algorithm
intervals
Results
24.0ms836×body80nan
9.0ms288×body80valid

simplify3.7s

Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
01320
12720
27619
320619
450319
599219
6208019
7344919
done500019

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite175.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--
expm1-log1p-u frac-times associate-/r* associate-/r/ log1p-expm1-u 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 → 122
Calls
4 calls:
49.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
62.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
16.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
44.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series528.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
186.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
143.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
76.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify1.6s

Counts
134 → 134
Iterations

Useful iterations: done (1.6s)

IterNodesCost
03112723
18602576
231112342
done50012340

prune407.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

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

rewrite214.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
84×*-un-lft-identity
78×add-cube-cbrt prod-diff
60×times-frac
42×distribute-rgt-in distribute-lft-in
13×add-exp-log add-cbrt-cube
11×pow1
10×associate-*r*
associate-*l*
associate-*r/
div-inv
flip3-- flip--
expm1-log1p-u frac-times sqrt-div associate-/r* log1p-expm1-u add-log-exp difference-of-squares
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 distribute-lft-out associate-/l*
Counts
4 → 183
Calls
4 calls:
49.0ms
(* 9.0 (- a (/ 1.0 3.0)))
90.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
24.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
41.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series451.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* 9.0 (- a (/ 1.0 3.0)))
132.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
202.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
74.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify1.7s

Counts
195 → 195
Iterations

Useful iterations: done (1.7s)

IterNodesCost
04895591
111505037
238543873
done50003495

prune370.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite266.0ms

Algorithm
rewrite-expression-head
Rules
54×sqrt-div
26×associate-*r/
25×add-sqr-sqrt
19×flip3-- flip--
18×associate-*r*
17×pow1
16×add-exp-log sqrt-prod add-cbrt-cube
15×*-un-lft-identity
12×frac-times
11×add-cube-cbrt
associate-/r/
pow-prod-down
times-frac associate-*l/
prod-exp cbrt-unprod
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u add-log-exp difference-of-squares
sqrt-pow1
cbrt-undiv div-exp *-commutative distribute-lft-out-- unswap-sqr
frac-2neg pow1/2 clear-num div-inv associate-/l*
Counts
4 → 118
Calls
4 calls:
41.0ms
(* 9.0 (sqrt (- a (/ 1.0 3.0))))
71.0ms
(/ (* 1.0 rand) (sqrt (* (* 9.0 (sqrt (- a (/ 1.0 3.0)))) (sqrt (- a (/ 1.0 3.0))))))
63.0ms
(sqrt (* (* 9.0 (sqrt (- a (/ 1.0 3.0)))) (sqrt (- a (/ 1.0 3.0)))))
86.0ms
(* (* 9.0 (sqrt (- a (/ 1.0 3.0)))) (sqrt (- a (/ 1.0 3.0))))

series451.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* 9.0 (sqrt (- a (/ 1.0 3.0))))
249.0ms
(/ (* 1.0 rand) (sqrt (* (* 9.0 (sqrt (- a (/ 1.0 3.0)))) (sqrt (- a (/ 1.0 3.0))))))
93.0ms
(sqrt (* (* 9.0 (sqrt (- a (/ 1.0 3.0)))) (sqrt (- a (/ 1.0 3.0)))))
50.0ms
(* (* 9.0 (sqrt (- a (/ 1.0 3.0)))) (sqrt (- a (/ 1.0 3.0))))

simplify911.0ms

Counts
130 → 130
Iterations

Useful iterations: done (906.0ms)

IterNodesCost
02682901
16662166
221091935
done50001931

prune383.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
188×times-frac sqrt-prod
132×add-sqr-sqrt
92×*-un-lft-identity
68×add-cube-cbrt
66×sqrt-div
32×associate-*r/
30×associate-/r/
24×difference-of-squares
20×add-exp-log add-cbrt-cube
17×flip3-- flip--
16×associate-/r*
15×div-inv
12×distribute-lft-out--
11×associate-/l*
pow1 associate-*r*
cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* prod-exp cbrt-unprod
frac-2neg sqrt-pow1 pow-prod-down clear-num unswap-sqr
pow1/2 *-commutative associate-/l/
Counts
4 → 234
Calls
4 calls:
14.0ms
(sqrt (* 9.0 (sqrt (- a (/ 1.0 3.0)))))
42.0ms
(* 9.0 (sqrt (- a (/ 1.0 3.0))))
24.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (sqrt (- a (/ 1.0 3.0))))))
55.0ms
(/ (/ (* 1.0 rand) (sqrt (* 9.0 (sqrt (- a (/ 1.0 3.0)))))) (sqrt (sqrt (- a (/ 1.0 3.0)))))

series757.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(sqrt (* 9.0 (sqrt (- a (/ 1.0 3.0)))))
57.0ms
(* 9.0 (sqrt (- a (/ 1.0 3.0))))
308.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (sqrt (- a (/ 1.0 3.0))))))
233.0ms
(/ (/ (* 1.0 rand) (sqrt (* 9.0 (sqrt (- a (/ 1.0 3.0)))))) (sqrt (sqrt (- a (/ 1.0 3.0)))))

simplify1.4s

Counts
246 → 246
Iterations

Useful iterations: done (1.4s)

IterNodesCost
05227742
113057151
239626914
done50006908

prune916.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes80.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
01528
12028
done2028

end0.0ms

sample1.9s

Algorithm
intervals
Results
798.0ms26908×body80nan
308.0ms9060×body80valid