Details

Time bar (total: 22.2s)

sample77.0ms

Algorithm
intervals
Results
29.0ms978×body80nan
13.0ms286×body80valid

simplify6.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01320
12720
27220
318820
441720
577220
6149620
7249020
8340220
9472420
done500020

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

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

series542.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
76.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
188.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
155.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify1.4s

Counts
126 → 126
Iterations

Useful iterations: 2 (512.0ms)

IterNodesCost
03032615
18232480
229602274
done50022274

prune385.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

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

rewrite254.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--
frac-times prod-exp associate-/r/ cbrt-unprod 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 → 525
Calls
4 calls:
15.0ms
(sqrt (- a (/ 1.0 3.0)))
48.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)))
114.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
32.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

series604.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(sqrt (- a (/ 1.0 3.0)))
157.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)))
221.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
188.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

simplify2.1s

Counts
537 → 537
Iterations

Useful iterations: 2 (1.0s)

IterNodesCost
063811538
1166710816
2495010564
done500010564

prune1.5s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite305.0ms

Algorithm
rewrite-expression-head
Rules
880×times-frac
640×add-sqr-sqrt
465×*-un-lft-identity
371×add-cube-cbrt
273×unpow-prod-down
230×associate-*l*
192×sqrt-prod
94×difference-of-squares
48×sqr-pow
47×distribute-lft-out--
40×add-exp-log
23×div-inv
22×associate-/l*
20×add-cbrt-cube
18×div-exp
11×unswap-sqr
10×associate-/r*
pow1 prod-exp
cbrt-undiv associate-*r* add-log-exp
frac-times pow-to-exp flip3-- pow-exp flip-- cbrt-unprod
flip3-+ associate-*l/ flip-+
associate-*r/ pow-prod-down *-commutative
distribute-rgt-in sub-neg frac-2neg distribute-lft-in diff-log clear-num associate-/l/
Counts
4 → 574
Calls
4 calls:
9.0ms
(- a (/ 1.0 3.0))
48.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (pow (- a (/ 1.0 3.0)) 1/2)) rand)))
148.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (pow (- a (/ 1.0 3.0)) 1/2)) rand)
51.0ms
(/ (/ 1.0 (sqrt 9.0)) (pow (- a (/ 1.0 3.0)) 1/2))

series811.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(- a (/ 1.0 3.0))
151.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (pow (- a (/ 1.0 3.0)) 1/2)) rand)))
228.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (pow (- a (/ 1.0 3.0)) 1/2)) rand)
407.0ms
(/ (/ 1.0 (sqrt 9.0)) (pow (- a (/ 1.0 3.0)) 1/2))

simplify809.0ms

Counts
586 → 586
Iterations

Useful iterations: done (774.0ms)

IterNodesCost
071013458
1172411999
done500011578

prune1.8s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 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))))) 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)))

rewrite309.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:
11.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
61.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
17.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
215.0ms
(* (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand) (- a (/ 1.0 3.0)))

series591.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
192.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
150.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
172.0ms
(* (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand) (- a (/ 1.0 3.0)))

simplify1.4s

Counts
127 → 127
Iterations

Useful iterations: 2 (507.0ms)

IterNodesCost
02982467
17872371
227392113
done50002113

prune360.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes77.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
01522
11822
done1822

end0.0ms

sample2.0s

Algorithm
intervals
Results
870.0ms27779×body80nan
321.0ms9172×body80valid