Details

Time bar (total: 18.2s)

sample61.0ms

Algorithm
intervals
Results
26.0ms813×body80nan
10.0ms289×body80valid

simplify5.9s

Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
01320
12720
27419
319019
444119
587819
6159719
7266119
done500019

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
90×add-sqr-sqrt
85×*-un-lft-identity
83×add-cube-cbrt
78×prod-diff
67×times-frac
41×distribute-rgt-in distribute-lft-in
pow1
add-exp-log add-cbrt-cube
div-inv
associate-*r/ associate-*r*
sqrt-prod
expm1-log1p-u sqrt-div associate-/r* log1p-expm1-u add-log-exp
flip3-- associate-*l* flip-- associate-/l*
sub-neg sqrt-pow1 pow-prod-down associate-/r/ difference-of-squares
cbrt-undiv frac-2neg pow1/2 div-exp prod-exp clear-num *-commutative cbrt-unprod fma-udef distribute-lft-out-- unswap-sqr
Counts
4 → 167
Calls
4 calls:
0.0ms
(fma (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand 1.0)
34.0ms
(* (fma (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand 1.0) (- a (/ 1.0 3.0)))
32.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series577.0ms

Counts
4 → 12
Calls
4 calls:
189.0ms
(fma (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand 1.0)
156.0ms
(* (fma (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand 1.0) (- a (/ 1.0 3.0)))
76.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
155.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify1.5s

Counts
179 → 179
Iterations

Useful iterations: done (1.5s)

IterNodesCost
04537178
19546698
233605665
done50015613

prune377.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand 1.0)
0.1b
(* (fma (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand 1.0) (- a (/ 1.0 3.0)))
0.3b
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
0.4b
(* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0)))))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
209×add-sqr-sqrt
156×times-frac
143×*-un-lft-identity
121×add-cube-cbrt
78×prod-diff
62×sqrt-prod
41×distribute-rgt-in distribute-lft-in
39×associate-*r*
30×add-exp-log
25×associate-*l*
20×add-cbrt-cube
16×difference-of-squares unswap-sqr
div-exp prod-exp associate-/r* div-inv
pow1 distribute-lft-out--
cbrt-undiv cbrt-unprod
expm1-log1p-u sqrt-div associate-/r/ log1p-expm1-u add-log-exp
flip3-- associate-*r/ flip-- associate-/l*
sub-neg rec-exp 1-exp pow-prod-down *-commutative
frac-times frac-2neg associate-*l/ clear-num fma-udef
Counts
4 → 268
Calls
4 calls:
0.0ms
(fma (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand 1.0)
31.0ms
(* (fma (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand 1.0) (- a (/ 1.0 3.0)))
14.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
54.0ms
(* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0)))))

series691.0ms

Counts
4 → 12
Calls
4 calls:
225.0ms
(fma (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand 1.0)
195.0ms
(* (fma (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand 1.0) (- a (/ 1.0 3.0)))
82.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
189.0ms
(* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0)))))

simplify2.3s

Counts
280 → 280
Iterations

Useful iterations: done (2.3s)

IterNodesCost
05669742
112998619
242907367
done50007315

prune629.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
163×add-sqr-sqrt
131×*-un-lft-identity
124×times-frac
113×add-cube-cbrt
78×prod-diff
49×sqrt-prod
41×distribute-rgt-in distribute-lft-in
37×associate-*l*
22×add-exp-log add-cbrt-cube
16×difference-of-squares
15×associate-/r*
associate-*r* div-inv
pow1 distribute-lft-out--
cbrt-undiv div-exp
flip3-- prod-exp flip-- cbrt-unprod
expm1-log1p-u frac-times sqrt-div associate-*l/ associate-/r/ log1p-expm1-u associate-/l* add-log-exp unswap-sqr
flip3-+ flip-+
sub-neg frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
associate-/l/ distribute-lft-out
Counts
4 → 256
Calls
4 calls:
101.0ms
(* (+ (/ (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (sqrt 9.0)) 1.0) (- a (/ 1.0 3.0)))
13.0ms
(/ (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (sqrt 9.0))
40.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
13.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))

series643.0ms

Counts
4 → 12
Calls
4 calls:
167.0ms
(* (+ (/ (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (sqrt 9.0)) 1.0) (- a (/ 1.0 3.0)))
230.0ms
(/ (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (sqrt 9.0))
160.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
86.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))

simplify661.0ms

Counts
268 → 268
Iterations

Useful iterations: done (648.0ms)

IterNodesCost
05889255
116578652
done50008192

prune731.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite170.0ms

Algorithm
rewrite-expression-head
Rules
105×add-sqr-sqrt
87×*-un-lft-identity
79×add-cube-cbrt
78×prod-diff
58×times-frac
41×distribute-rgt-in distribute-lft-in
20×add-exp-log add-cbrt-cube
19×sqrt-prod
15×associate-*r*
11×pow1
10×associate-*l*
div-inv
flip3-- sqrt-div associate-*r/ prod-exp flip-- cbrt-unprod difference-of-squares
unswap-sqr
cbrt-undiv expm1-log1p-u frac-times div-exp pow-prod-down log1p-expm1-u add-log-exp
sqrt-pow1 flip3-+ pow1/2 flip-+ distribute-lft-out--
sub-neg associate-*l/ associate-/r/ *-commutative
rem-sqrt-square frac-2neg sqrt-unprod clear-num associate-/r* distribute-lft-out associate-/l*
Counts
4 → 196
Calls
4 calls:
16.0ms
(sqrt (- a (/ 1.0 3.0)))
104.0ms
(* (+ (/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) 1.0) (- a (/ 1.0 3.0)))
12.0ms
(/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
28.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

series538.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(sqrt (- a (/ 1.0 3.0)))
147.0ms
(* (+ (/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) 1.0) (- a (/ 1.0 3.0)))
256.0ms
(/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
95.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

simplify571.0ms

Counts
208 → 208
Iterations

Useful iterations: done (561.0ms)

IterNodesCost
04948238
114747631
done50017161

prune507.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes75.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01421
11721
done1721

end0.0ms

sample1.8s

Algorithm
intervals
Results
871.0ms27100×body80nan
332.0ms9178×body80valid