Details

Time bar (total: 11.3s)

sample60.0ms

Algorithm
intervals
Results
26.0ms759×body80nan
10.0ms280×body80valid

simplify1.5s

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01320
12720
27419
319219
444819
588819
6161619
7276119
done500119

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

rewrite116.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:
28.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
39.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
36.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series554.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)))
193.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
154.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
80.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify1.1s

Counts
134 → 134
Iterations

Useful iterations: done (1.1s)

IterNodesCost
03112723
18712576
236772342
done50002337

prune433.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

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

rewrite140.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:
32.0ms
(* 9.0 (- a (/ 1.0 3.0)))
53.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
10.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
35.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series459.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* 9.0 (- a (/ 1.0 3.0)))
127.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
212.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
79.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify410.0ms

Counts
195 → 195
Iterations

Useful iterations: done (395.0ms)

IterNodesCost
04895591
111735037
done50003946

prune403.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 9.0 (- a (/ 1.0 3.0)))
0.2b
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
10.2b
(* (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (- a (/ 1.0 3.0)))

rewrite167.0ms

Algorithm
rewrite-expression-head
Rules
161×add-sqr-sqrt
156×prod-diff
151×*-un-lft-identity
147×add-cube-cbrt
118×times-frac
82×distribute-rgt-in distribute-lft-in
20×add-exp-log add-cbrt-cube
14×div-inv
13×associate-*l*
12×associate-*r*
11×pow1
10×associate-*r/
flip3-- sqrt-div prod-exp flip-- cbrt-unprod
cbrt-undiv expm1-log1p-u sub-neg div-exp associate-/r* sqrt-prod associate-/r/ log1p-expm1-u add-log-exp difference-of-squares
pow-prod-down
frac-times sqrt-pow1 *-commutative distribute-lft-out-- unswap-sqr
frac-2neg pow1/2 associate-*l/ clear-num associate-/l*
Counts
4 → 270
Calls
4 calls:
32.0ms
(* 9.0 (- a (/ 1.0 3.0)))
10.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
34.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
72.0ms
(* (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (- a (/ 1.0 3.0)))

series521.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* 9.0 (- a (/ 1.0 3.0)))
205.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
80.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
189.0ms
(* (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))) (- a (/ 1.0 3.0)))

simplify445.0ms

Counts
282 → 282
Iterations

Useful iterations: done (430.0ms)

IterNodesCost
059310703
114689756
done50009570

prune695.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

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

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
401×times-frac
338×add-sqr-sqrt
257×*-un-lft-identity
209×add-cube-cbrt
190×sqrt-prod
117×prod-diff
96×associate-*l*
48×difference-of-squares
41×distribute-rgt-in distribute-lft-in
30×div-inv
27×add-exp-log add-cbrt-cube
24×distribute-lft-out--
10×cbrt-undiv div-exp associate-/l*
associate-/r*
pow1
flip3-- sqrt-div associate-*r* prod-exp flip-- cbrt-unprod add-log-exp
expm1-log1p-u associate-/r/ log1p-expm1-u
sub-neg fma-neg unswap-sqr
frac-times associate-*r/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
Counts
4 → 420
Calls
4 calls:
8.0ms
(- a (/ 1.0 3.0))
16.0ms
(sqrt (- a (/ 1.0 3.0)))
20.0ms
(/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))
99.0ms
(* (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) (- a (/ 1.0 3.0)))

series549.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- a (/ 1.0 3.0))
46.0ms
(sqrt (- a (/ 1.0 3.0)))
241.0ms
(/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))
239.0ms
(* (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) (- a (/ 1.0 3.0)))

simplify529.0ms

Counts
432 → 432
Iterations

Useful iterations: done (506.0ms)

IterNodesCost
064213510
1175612565
done500112342

prune1.2s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes78.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
01527
11927
done1927

end0.0ms

sample1.8s

Algorithm
intervals
Results
842.0ms26969×body80nan
311.0ms9094×body80valid