Details

Time bar (total: 17.1s)

sample72.0ms

Algorithm
intervals
Results
30.0ms894×body80nan
11.0ms286×body80valid

simplify4.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01320
12720
27020
317220
435220
566720
6110220
7185120
8392520
done500020

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

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

series554.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
79.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
196.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
153.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify1.1s

Counts
126 → 126
Iterations

Useful iterations: done (1.1s)

IterNodesCost
03032615
18222480
229762274
done50012268

prune372.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite368.0ms

Algorithm
rewrite-expression-head
Rules
183×add-sqr-sqrt
175×sqrt-prod
162×times-frac
125×*-un-lft-identity
106×associate-*l*
97×add-cube-cbrt
34×add-exp-log add-cbrt-cube
28×difference-of-squares
14×distribute-lft-out--
13×pow1 prod-exp cbrt-unprod
associate-/r*
cbrt-undiv div-exp associate-*r*
associate-*l/ associate-/l* unswap-sqr
frac-times flip3-- pow-prod-down flip--
sqrt-div associate-/r/ add-log-exp
flip3-+ associate-*r/ *-commutative flip-+ div-inv
distribute-rgt-in sqrt-undiv frac-2neg distribute-lft-in clear-num
Counts
4 → 263
Calls
4 calls:
30.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))))
48.0ms
(* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
14.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
261.0ms
(* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))

series952.0ms

Counts
4 → 12
Calls
4 calls:
266.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))))
219.0ms
(* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
104.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
362.0ms
(* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))

simplify1.6s

Counts
275 → 275
Iterations

Useful iterations: 2 (807.0ms)

IterNodesCost
04365863
111895477
247244811
done50004811

prune796.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

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

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
19×*-un-lft-identity sqrt-prod
13×associate-*r*
12×associate-*l*
11×pow1 add-cube-cbrt
flip3-- sqrt-div associate-*r/ prod-exp flip-- cbrt-unprod difference-of-squares
unswap-sqr
cbrt-undiv frac-times times-frac div-exp pow-prod-down add-log-exp
sqrt-pow1 flip3-+ pow1/2 flip-+ distribute-lft-out--
associate-*l/ associate-/r/ *-commutative
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-unprod clear-num associate-/r* div-inv distribute-lft-out associate-/l*
Counts
4 → 108
Calls
4 calls:
10.0ms
(sqrt (- a (/ 1.0 3.0)))
49.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))))
12.0ms
(/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
27.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

series540.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(sqrt (- a (/ 1.0 3.0)))
158.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))))
246.0ms
(/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
91.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

simplify1.1s

Counts
120 → 120
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02682481
17722277
235062069
done50002063

prune327.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite252.0ms

Algorithm
rewrite-expression-head
Rules
164×times-frac
130×add-sqr-sqrt
96×sqrt-prod
88×*-un-lft-identity
58×add-cube-cbrt
28×difference-of-squares
15×add-exp-log add-cbrt-cube
14×distribute-lft-out--
11×div-inv
10×associate-/l*
associate-/r*
add-log-exp
pow1 flip3-- associate-*l* flip--
cbrt-undiv div-exp
frac-times associate-*r*
flip3-+ flip-+
sub-neg sqrt-div diff-log associate-*r/ associate-*l/ prod-exp associate-/r/ cbrt-unprod
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative associate-/l/ distribute-lft-out unswap-sqr
Counts
4 → 190
Calls
4 calls:
6.0ms
(- a (/ 1.0 3.0))
6.0ms
(- a (/ 1.0 3.0))
210.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))))
19.0ms
(/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

series454.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- a (/ 1.0 3.0))
29.0ms
(- a (/ 1.0 3.0))
154.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))))
247.0ms
(/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

simplify1.1s

Counts
202 → 202
Iterations

Useful iterations: done (1.1s)

IterNodesCost
03494664
19404304
233214130
done50014108

prune494.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes85.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
11821
done1821

end0.0ms

sample1.9s

Algorithm
intervals
Results
920.0ms27187×body80nan
346.0ms9111×body80valid