Details

Time bar (total: 27.2s)

sample167.0ms

Algorithm
intervals
Results
75.0ms857×body80nan
26.0ms291×body80valid

simplify4.1s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01320
12720
27220
319020
445920
592920
6180020
7382820
done500020

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite216.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:
62.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
15.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
17.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
114.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)

series679.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
85.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
176.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
236.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)

simplify2.4s

Counts
126 → 126
Iterations

Useful iterations: done (2.4s)

IterNodesCost
03032615
18572480
244912306
done50002304

prune571.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite515.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×times-frac
25×*-un-lft-identity
23×add-cube-cbrt
20×add-exp-log add-cbrt-cube
19×associate-*l*
14×pow1
associate-*r*
associate-*r/ sqrt-prod
prod-exp cbrt-unprod
sqrt-div
flip3-- pow-prod-down associate-*l/ flip--
associate-/r* associate-/r/ add-log-exp
cbrt-undiv div-exp associate-/l*
distribute-rgt-in frac-times sub-neg distribute-lft-in sqrt-pow1 *-commutative div-inv difference-of-squares unswap-sqr
frac-2neg pow1/2 clear-num distribute-lft-out--
Counts
4 → 115
Calls
4 calls:
13.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
25.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
105.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
369.0ms
(* (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand) (- a (/ 1.0 3.0)))

series716.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
190.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
243.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
196.0ms
(* (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand) (- a (/ 1.0 3.0)))

simplify2.5s

Counts
127 → 127
Iterations

Useful iterations: 2 (867.0ms)

IterNodesCost
02982467
18152371
242552125
done50012125

prune564.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite610.0ms

Algorithm
rewrite-expression-head
Rules
795×times-frac
605×add-sqr-sqrt
452×sqrt-prod
439×*-un-lft-identity
345×add-cube-cbrt
205×associate-*l*
94×difference-of-squares
47×distribute-lft-out--
32×add-exp-log add-cbrt-cube
22×associate-/l*
21×div-inv
12×pow1
10×prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*r* associate-/r*
unswap-sqr
sqrt-div
flip3-- associate-*l/ flip--
pow-prod-down associate-/r/ add-log-exp
distribute-rgt-in frac-times sub-neg distribute-lft-in associate-*r/ *-commutative
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 528
Calls
4 calls:
34.0ms
(sqrt (- a (/ 1.0 3.0)))
146.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
43.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))
287.0ms
(* (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand) (- a (/ 1.0 3.0)))

series756.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(sqrt (- a (/ 1.0 3.0)))
239.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
212.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))
252.0ms
(* (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand) (- a (/ 1.0 3.0)))

simplify955.0ms

Counts
540 → 540
Iterations

Useful iterations: done (928.0ms)

IterNodesCost
063111474
1168510781
done500110483

prune1.8s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
795×times-frac
606×add-sqr-sqrt
458×sqrt-prod
441×*-un-lft-identity
347×add-cube-cbrt
206×associate-*l*
94×difference-of-squares
52×add-exp-log add-cbrt-cube
47×distribute-lft-out--
32×sqrt-div
22×associate-*l/ prod-exp cbrt-unprod associate-/l*
21×associate-*r* div-inv
20×pow1
18×frac-times
16×flip3-- flip--
12×cbrt-undiv div-exp
10×associate-*r/ pow-prod-down
associate-/r*
unswap-sqr
associate-/r/ add-log-exp
*-commutative
frac-2neg clear-num associate-/l/
Counts
4 → 557
Calls
4 calls:
120.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
805.0ms
(* (* (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand) (sqrt (- a (/ 1.0 3.0)))) (sqrt (- a (/ 1.0 3.0))))
36.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))
196.0ms
(* (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand) (sqrt (- a (/ 1.0 3.0))))

series755.0ms

Counts
4 → 12
Calls
4 calls:
230.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
198.0ms
(* (* (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand) (sqrt (- a (/ 1.0 3.0)))) (sqrt (- a (/ 1.0 3.0))))
229.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))
98.0ms
(* (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand) (sqrt (- a (/ 1.0 3.0))))

simplify1.0s

Counts
569 → 569
Iterations

Useful iterations: done (975.0ms)

IterNodesCost
065013186
1177312095
done500011609

prune2.7s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes79.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
01426
11926
done1926

end0.0ms

sample4.7s

Algorithm
intervals
Results
2.8s26826×body80nan
732.0ms9081×body80valid