Details

Time bar (total: 29.0s)

sample103.0ms

Algorithm
intervals
Results
37.0ms869×body80nan
27.0ms289×body80valid

simplify5.8s

Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
01320
12720
27619
320619
450319
599219
6208019
7344919
done500019

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite214.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:
57.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
56.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
70.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
24.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series834.0ms

Counts
4 → 12
Calls
4 calls:
195.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
126.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
288.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
225.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify2.6s

Counts
134 → 134
Iterations

Useful iterations: done (2.5s)

IterNodesCost
03112723
18602576
231172342
done50002340

prune626.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

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

rewrite276.0ms

Algorithm
rewrite-expression-head
Rules
99×add-sqr-sqrt
89×*-un-lft-identity
85×add-cube-cbrt
78×prod-diff
68×times-frac
42×distribute-rgt-in distribute-lft-in
11×pow1
10×add-exp-log add-cbrt-cube
associate-*r* associate-*l*
associate-*r/
div-inv
flip3-- flip--
sqrt-prod
expm1-log1p-u frac-times sqrt-div associate-/r* log1p-expm1-u add-log-exp difference-of-squares
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
Counts
4 → 190
Calls
4 calls:
92.0ms
(* 9.0 (- a (/ 1.0 3.0)))
72.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* 1.0 (/ rand (sqrt (* 9.0 (- a (/ 1.0 3.0))))))))
57.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
34.0ms
(/ rand (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series617.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* 9.0 (- a (/ 1.0 3.0)))
159.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* 1.0 (/ rand (sqrt (* 9.0 (- a (/ 1.0 3.0))))))))
127.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
272.0ms
(/ rand (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify2.8s

Counts
202 → 202
Iterations

Useful iterations: done (2.8s)

IterNodesCost
04955689
111275171
236503969
done50013617

prune652.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite209.0ms

Algorithm
rewrite-expression-head
Rules
109×times-frac
71×add-sqr-sqrt
66×*-un-lft-identity
64×add-cube-cbrt
19×add-exp-log associate-/r*
17×sqrt-prod
13×add-cbrt-cube
10×pow1
div-exp
associate-/l*
associate-*r/ associate-*l* div-inv
flip3-- flip--
cbrt-undiv expm1-log1p-u frac-times sqrt-div log1p-expm1-u add-log-exp
flip3-+ associate-*r* flip-+
rec-exp frac-2neg sqrt-pow1 1-exp pow-prod-down associate-*l/ clear-num associate-/l/ difference-of-squares
distribute-rgt-in pow-flip distribute-lft-in pow1/2 prod-exp associate-/r/ *-commutative cbrt-unprod distribute-lft-out-- inv-pow unswap-sqr
Counts
4 → 173
Calls
4 calls:
55.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* 1.0 (/ 1 (/ (sqrt (* 9.0 (- a (/ 1.0 3.0)))) rand)))))
50.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
34.0ms
(/ (sqrt (* 9.0 (- a (/ 1.0 3.0)))) rand)
62.0ms
(/ 1 (/ (sqrt (* 9.0 (- a (/ 1.0 3.0)))) rand))

series723.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* 1.0 (/ 1 (/ (sqrt (* 9.0 (- a (/ 1.0 3.0)))) rand)))))
93.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
207.0ms
(/ (sqrt (* 9.0 (- a (/ 1.0 3.0)))) rand)
248.0ms
(/ 1 (/ (sqrt (* 9.0 (- a (/ 1.0 3.0)))) rand))

simplify2.0s

Counts
185 → 185
Iterations

Useful iterations: done (2.0s)

IterNodesCost
03964153
110413800
233293323
done50013319

prune920.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize16.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.3b
(* (/ (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))

rewrite372.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--
expm1-log1p-u sqrt-div associate-/r/ log1p-expm1-u add-log-exp
flip3-+ associate-*r/ *-commutative flip-+ div-inv
distribute-rgt-in sqrt-undiv frac-2neg distribute-lft-in clear-num
Counts
4 → 271
Calls
4 calls:
87.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))))
94.0ms
(* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
38.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
138.0ms
(* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))

series1.3s

Counts
4 → 12
Calls
4 calls:
306.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))))
323.0ms
(* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
132.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
520.0ms
(* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))

simplify2.7s

Counts
283 → 283
Iterations

Useful iterations: 2 (1.1s)

IterNodesCost
04445995
112105597
249134889
done50004889

prune1.4s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes127.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01522
12122
done2122

end0.0ms

sample4.7s

Algorithm
intervals
Results
2.2s26942×body80nan
1.1s9096×body80valid