Details

Time bar (total: 16.1s)

sample72.0ms

Algorithm
intervals
Results
31.0ms988×body80nan
10.0ms298×body80valid

simplify4.4s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01320
12720
27020
317220
435220
566720
6110220
7185720
8392620
done500020

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite84.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:
29.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
6.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
35.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series551.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
77.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
192.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
154.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

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

rewrite164.0ms

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

series595.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
192.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
156.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
168.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

simplify899.0ms

Counts
123 → 123
Iterations

Useful iterations: done (895.0ms)

IterNodesCost
02912353
17542261
225672003
done50001995

prune358.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
0.3b
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
0.3b
(* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand))
8.3b
(* (- a (/ 1.0 3.0)) (* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)))

rewrite234.0ms

Algorithm
rewrite-expression-head
Rules
103×add-exp-log
101×add-sqr-sqrt
82×times-frac
69×*-un-lft-identity
61×associate-*l* add-cbrt-cube
55×prod-exp
53×add-cube-cbrt
52×sqrt-prod
29×cbrt-unprod
22×div-exp
20×pow1
16×difference-of-squares
15×associate-*l/
12×cbrt-undiv
10×frac-times pow-prod-down
associate-/r*
distribute-lft-out--
associate-*r/
rec-exp flip3-- 1-exp flip--
associate-*r*
sqrt-div associate-/r/ add-log-exp
*-commutative div-inv associate-/l* unswap-sqr
frac-2neg clear-num
Counts
4 → 209
Calls
4 calls:
36.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
13.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
42.0ms
(* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand))
131.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)))

series705.0ms

Counts
4 → 12
Calls
4 calls:
167.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
89.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
241.0ms
(* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand))
208.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)))

simplify1.3s

Counts
221 → 221
Iterations

Useful iterations: done (1.3s)

IterNodesCost
04144526
110944071
237403509
done50013483

prune577.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
70×times-frac
60×*-un-lft-identity
49×sqrt-prod
44×add-cube-cbrt
34×add-exp-log associate-*l* add-cbrt-cube
16×difference-of-squares
15×associate-/r*
12×prod-exp cbrt-unprod
11×pow1
associate-*r* associate-*l/
cbrt-undiv div-exp distribute-lft-out--
flip3-- flip--
associate-/l/
frac-times sqrt-div associate-*r/ pow-prod-down associate-/r/ associate-/l* add-log-exp
div-inv unswap-sqr
distribute-rgt-in sub-neg frac-2neg distribute-lft-in clear-num *-commutative
Counts
4 → 174
Calls
4 calls:
34.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
51.0ms
(/ (* (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (- a (/ 1.0 3.0))) (sqrt 9.0))
13.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
58.0ms
(* (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (- a (/ 1.0 3.0)))

series586.0ms

Counts
4 → 12
Calls
4 calls:
167.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
205.0ms
(/ (* (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (- a (/ 1.0 3.0))) (sqrt 9.0))
84.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
130.0ms
(* (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (- a (/ 1.0 3.0)))

simplify1.6s

Counts
186 → 186
Iterations

Useful iterations: done (1.6s)

IterNodesCost
03613531
19403349
235152971
done50002955

prune502.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes56.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01527
11927
done1927

end0.0ms

sample1.8s

Algorithm
intervals
Results
886.0ms27681×body80nan
322.0ms9139×body80valid