Details

Time bar (total: 22.4s)

sample74.0ms

Algorithm
intervals
Results
32.0ms978×body80nan
9.0ms286×body80valid

simplify3.9s

Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
01320
12720
27619
320619
450319
599219
6208019
7344919
done500019

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

rewrite172.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:
48.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
41.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
63.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
16.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series515.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
71.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
179.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
148.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify1.6s

Counts
134 → 134
Iterations

Useful iterations: done (1.6s)

IterNodesCost
03112723
18602576
231172342
done50002340

prune413.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

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

rewrite271.0ms

Algorithm
rewrite-expression-head
Rules
795×times-frac
608×add-sqr-sqrt
452×sqrt-prod
440×*-un-lft-identity
346×add-cube-cbrt
210×associate-*l*
94×difference-of-squares
47×distribute-lft-out--
22×associate-/l*
21×div-inv
20×add-exp-log add-cbrt-cube
pow1 associate-/r*
unswap-sqr
cbrt-undiv flip3-- sqrt-div div-exp associate-*r* flip--
expm1-log1p-u frac-times prod-exp associate-/r/ cbrt-unprod log1p-expm1-u add-log-exp
flip3-+ associate-*l/ flip-+
associate-*r/ pow-prod-down *-commutative
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 533
Calls
4 calls:
23.0ms
(sqrt (- a (/ 1.0 3.0)))
51.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)))
116.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
34.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

series598.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt (- a (/ 1.0 3.0)))
149.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)))
222.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
183.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

simplify749.0ms

Counts
545 → 545
Iterations

Useful iterations: done (722.0ms)

IterNodesCost
064611648
1170410914
done500010635

prune1.5s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

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

rewrite351.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
93×*-un-lft-identity
91×add-cube-cbrt
80×times-frac
78×prod-diff
41×distribute-rgt-in distribute-lft-in
20×add-exp-log add-cbrt-cube
19×associate-*l*
14×pow1
associate-*r*
associate-*r/ sqrt-prod div-inv
prod-exp cbrt-unprod
sqrt-div
flip3-- pow-prod-down associate-*l/ flip--
expm1-log1p-u associate-/r* associate-/r/ log1p-expm1-u add-log-exp
cbrt-undiv div-exp associate-/l*
frac-times sub-neg sqrt-pow1 *-commutative difference-of-squares unswap-sqr
frac-2neg pow1/2 clear-num distribute-lft-out--
Counts
4 → 201
Calls
4 calls:
40.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
62.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
16.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
223.0ms
(* (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand) (- a (/ 1.0 3.0)))

series568.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
184.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
149.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
161.0ms
(* (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand) (- a (/ 1.0 3.0)))

simplify1.8s

Counts
213 → 213
Iterations

Useful iterations: done (1.8s)

IterNodesCost
05187655
113637130
244745893
done50005888

prune444.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (/ (sqrt 1.0) (cbrt (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0)))) rand)
0.2b
(* (/ (/ (sqrt 1.0) (* (cbrt (sqrt 9.0)) (cbrt (sqrt 9.0)))) (sqrt 1)) (* (/ (/ (sqrt 1.0) (cbrt (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0)))) rand))
0.4b
(/ (/ (sqrt 1.0) (cbrt (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
1.0b
(/ (sqrt 1.0) (cbrt (sqrt 9.0)))

rewrite644.0ms

Algorithm
rewrite-expression-head
Rules
2363×times-frac
1673×sqrt-prod
1664×add-sqr-sqrt
1257×*-un-lft-identity
1023×add-cube-cbrt
734×cbrt-prod
592×associate-*l*
234×difference-of-squares
117×distribute-lft-out--
100×add-exp-log
85×add-cbrt-cube
64×associate-/l*
39×cbrt-undiv div-exp
35×prod-exp cbrt-unprod
29×div-inv
18×associate-/r*
15×unswap-sqr
11×pow1
expm1-log1p-u sqrt-div associate-*r* pow-prod-down associate-*l/ associate-/r/ log1p-expm1-u add-log-exp
flip3-- frac-2neg clear-num *-commutative flip--
frac-times associate-*r/ associate-/l/
Counts
4 → 1367
Calls
4 calls:
214.0ms
(* (/ (/ (sqrt 1.0) (cbrt (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0)))) rand)
222.0ms
(* (/ (/ (sqrt 1.0) (* (cbrt (sqrt 9.0)) (cbrt (sqrt 9.0)))) (sqrt 1)) (* (/ (/ (sqrt 1.0) (cbrt (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0)))) rand))
51.0ms
(/ (/ (sqrt 1.0) (cbrt (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
9.0ms
(/ (sqrt 1.0) (cbrt (sqrt 9.0)))

series1.3s

Counts
4 → 10
Calls
4 calls:
635.0ms
(* (/ (/ (sqrt 1.0) (cbrt (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0)))) rand)
355.0ms
(* (/ (/ (sqrt 1.0) (* (cbrt (sqrt 9.0)) (cbrt (sqrt 9.0)))) (sqrt 1)) (* (/ (/ (sqrt 1.0) (cbrt (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0)))) rand))
309.0ms
(/ (/ (sqrt 1.0) (cbrt (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
0.0ms
(/ (sqrt 1.0) (cbrt (sqrt 9.0)))

simplify1.6s

Counts
1377 → 1377
Iterations

Useful iterations: done (1.5s)

IterNodesCost
0108834237
1283531678
done500030573

prune3.8s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes71.0ms

Accuracy

0% (0.1b 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
01421
11721
done1721

end0.0ms

sample1.9s

Algorithm
intervals
Results
833.0ms27779×body80nan
312.0ms9172×body80valid