Details

Time bar (total: 1.6m)

sample67.0ms

Algorithm
intervals
Results
30.0ms964×body80nan
12.0ms296×body80valid

simplify117.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17610
221110
353010
4106510
5219810
6379410
7500110

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

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

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
166×add-sqr-sqrt
137×sqrt-prod
121×times-frac
105×*-un-lft-identity
94×associate-*l*
81×add-cube-cbrt
62×associate-*r*
36×associate-/r*
26×associate-*l/
20×difference-of-squares
16×unswap-sqr
13×add-exp-log add-cbrt-cube
11×pow1 *-commutative
10×distribute-lft-out--
associate-*r/
flip3-- sqrt-div flip-- associate-/l*
expm1-log1p-u frac-times associate-/r/ log1p-expm1-u add-log-exp
flip3-+ pow-prod-down prod-exp cbrt-unprod flip-+
cbrt-undiv +-commutative distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 div-exp clear-num div-inv distribute-lft-out
pow1/2
Counts
4 → 265
Calls
4 calls:
38.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
26.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
13.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
20.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series584.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
209.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
159.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
81.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify56.0ms

Algorithm
egg-herbie
Counts
277 → 277
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011192573
150012458

prune656.0ms

Filtered
277 candidates to 219 candidates (79.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2698277
Fresh000
Picked101
Done000
Total2708278

Merged error: 0.0b

Counts
278 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite292.0ms

Algorithm
rewrite-expression-head
Rules
1103×times-frac
966×add-sqr-sqrt
752×sqrt-prod
604×*-un-lft-identity
535×associate-*l*
507×add-cube-cbrt
283×associate-*r*
115×unswap-sqr
78×prod-diff
76×difference-of-squares
57×*-commutative
43×distribute-rgt-in distribute-lft-in
38×distribute-lft-out--
37×associate-/l*
26×div-inv
24×associate-/r*
17×add-exp-log add-cbrt-cube
14×associate-*l/
12×associate-/l/
11×pow1
associate-*r/
flip3-- flip--
cbrt-undiv expm1-log1p-u frac-times sqrt-div div-exp prod-exp cbrt-unprod log1p-expm1-u add-log-exp
flip3-+ pow-prod-down flip-+
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 clear-num associate-/r/
pow1/2 distribute-lft-out
Counts
4 → 870
Calls
4 calls:
15.0ms
(* 9.0 (- a (/ 1.0 3.0)))
141.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (/ 1.0 (sqrt 1)) rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
39.0ms
(/ (* (/ 1.0 (sqrt 1)) rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
21.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series492.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* 9.0 (- a (/ 1.0 3.0)))
139.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (/ 1.0 (sqrt 1)) rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
220.0ms
(/ (* (/ 1.0 (sqrt 1)) rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
85.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify204.0ms

Algorithm
egg-herbie
Counts
882 → 882
Iterations

Useful iterations: 1 (58.0ms)

IterNodesCost
0296014747
1500213439

prune1.6s

Filtered
882 candidates to 385 candidates (43.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New8775882
Fresh527
Picked101
Done000
Total8837890

Merged error: 0.0b

Counts
890 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (/ 1.0 (sqrt 1)) rand) (* (fabs (cbrt 9.0)) (sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0))))))))
0.1b
(sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0))))
0.2b
(/ (* (/ 1.0 (sqrt 1)) rand) (* (fabs (cbrt 9.0)) (sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0))))))
0.2b
(* (fabs (cbrt 9.0)) (sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0)))))

rewrite492.0ms

Algorithm
rewrite-expression-head
Rules
1929×times-frac
1844×add-sqr-sqrt
1199×sqrt-prod
1123×associate-*r*
1106×associate-*l*
902×*-un-lft-identity
789×add-cube-cbrt
433×unswap-sqr
185×cbrt-prod
109×*-commutative
76×difference-of-squares
40×associate-/r*
38×distribute-lft-out--
37×associate-/l*
36×div-inv
29×add-exp-log add-cbrt-cube
14×associate-*l/
12×associate-*r/ associate-/l/
11×pow1
prod-exp cbrt-unprod
cbrt-undiv div-exp
flip3-- sqrt-div flip--
expm1-log1p-u frac-times log1p-expm1-u add-log-exp
rem-sqrt-square flip3-+ pow-prod-down flip-+
+-commutative distribute-rgt-in frac-2neg distribute-lft-in sqrt-pow1 clear-num associate-/r/
pow1/2 distribute-lft-out
Counts
4 → 1378
Calls
4 calls:
249.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (/ 1.0 (sqrt 1)) rand) (* (fabs (cbrt 9.0)) (sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0))))))))
21.0ms
(sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0))))
59.0ms
(/ (* (/ 1.0 (sqrt 1)) rand) (* (fabs (cbrt 9.0)) (sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0))))))
18.0ms
(* (fabs (cbrt 9.0)) (sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0)))))

series1.5s

Counts
4 → 12
Calls
4 calls:
482.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (/ 1.0 (sqrt 1)) rand) (* (fabs (cbrt 9.0)) (sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0))))))))
137.0ms
(sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0))))
647.0ms
(/ (* (/ 1.0 (sqrt 1)) rand) (* (fabs (cbrt 9.0)) (sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0))))))
242.0ms
(* (fabs (cbrt 9.0)) (sqrt (* (cbrt 9.0) (- a (/ 1.0 3.0)))))

simplify297.0ms

Algorithm
egg-herbie
Counts
1390 → 1390
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
0500130706

prune4.4s

Filtered
1390 candidates to 917 candidates (66.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New138821390
Fresh246
Picked011
Done000
Total139071397

Merged error: 0.0b

Counts
1397 → 7

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.5s

Algorithm
rewrite-expression-head
Rules
28103×add-sqr-sqrt
25225×sqrt-prod
14610×times-frac
11611×cbrt-prod
10084×unswap-sqr
8278×*-un-lft-identity
7648×associate-/r*
7445×associate-*l*
7268×frac-times
7111×add-cube-cbrt
6559×associate-*r*
6096×associate-/l*
2094×sqrt-div
2088×associate-/l/
1220×associate-*l/
1156×swap-sqr
789×*-commutative
349×clear-num
348×frac-2neg
342×difference-of-squares
281×div-inv
171×distribute-lft-out--
85×associate-*r/
45×add-exp-log add-cbrt-cube
16×prod-exp cbrt-unprod
14×cbrt-undiv div-exp
pow1
expm1-log1p-u rem-sqrt-square associate-/r/ log1p-expm1-u add-log-exp
flip3-- un-div-inv flip--
sqrt-pow1 pow-prod-down
pow1/2 pow1/3
Counts
4 → 12820
Calls
4 calls:
33.0ms
(sqrt (* (cbrt (cbrt 9.0)) (- a (/ 1.0 3.0))))
13.2s
(* (/ (sqrt (/ 1.0 (sqrt 1))) (* (fabs (cbrt 9.0)) (sqrt (cbrt (* (cbrt 9.0) (cbrt 9.0)))))) (/ (* (sqrt (/ 1.0 (sqrt 1))) rand) (sqrt (* (cbrt (cbrt 9.0)) (- a (/ 1.0 3.0))))))
51.0ms
(/ (* (sqrt (/ 1.0 (sqrt 1))) rand) (sqrt (* (cbrt (cbrt 9.0)) (- a (/ 1.0 3.0)))))
6.0ms
(cbrt (* (cbrt 9.0) (cbrt 9.0)))

series1.9s

Counts
4 → 10
Calls
4 calls:
213.0ms
(sqrt (* (cbrt (cbrt 9.0)) (- a (/ 1.0 3.0))))
1.1s
(* (/ (sqrt (/ 1.0 (sqrt 1))) (* (fabs (cbrt 9.0)) (sqrt (cbrt (* (cbrt 9.0) (cbrt 9.0)))))) (/ (* (sqrt (/ 1.0 (sqrt 1))) rand) (sqrt (* (cbrt (cbrt 9.0)) (- a (/ 1.0 3.0))))))
623.0ms
(/ (* (sqrt (/ 1.0 (sqrt 1))) rand) (sqrt (* (cbrt (cbrt 9.0)) (- a (/ 1.0 3.0)))))
0.0ms
(cbrt (* (cbrt 9.0) (cbrt 9.0)))

simplify4.3s

Algorithm
egg-herbie
Counts
12830 → 12830
Iterations

Useful iterations: 0 (178.0ms)

IterNodesCost
011427469321

prune59.5s

Filtered
12830 candidates to 8022 candidates (62.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New12830012830
Fresh055
Picked011
Done011
Total12830712837

Merged error: 0.0b

Counts
12837 → 7

regimes103.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03428
13428

end0.0ms

sample1.7s

Algorithm
intervals
Results
865.0ms27688×body80nan
312.0ms9141×body80valid