Details

Time bar (total: 9.5s)

sample2.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 50.048828%

Guaranteed chance to sample good point: 3.934506%

Results
36.0ms93×body2560valid
24.0ms93×body1280valid
7.0ms35×body640valid
2.0ms16×body320valid
2.0ms17×body160valid
0.0msbody80valid

simplify102.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1427
2777
31467
42427
54177
627897
750027

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
0.2b
(* 5.0 (* v v))
0.5b
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×times-frac
10×add-exp-log add-cbrt-cube
pow1
associate-/r* difference-of-squares
associate-*l* pow-prod-down prod-exp cbrt-unprod associate-/l* add-log-exp
flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv acos-asin frac-2neg div-sub div-exp associate-*r* clear-num *-commutative div-inv unswap-sqr
Counts
3 → 63
Calls
3 calls:
7.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
5.0ms
(* 5.0 (* v v))
1.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

series11.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
3.0ms
(* 5.0 (* v v))
3.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

simplify40.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0336587
11261535
25002531

prune109.0ms

Filtered
55 candidates to 72 candidates (-30.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New70272
Fresh000
Picked101
Done000
Total71273

Merged error: 0.5b

Counts
73 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0)))
0.0b
(/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0)))
0.2b
(* 5.0 (* v v))
1.0b
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
204×times-frac
177×*-un-lft-identity
166×add-sqr-sqrt
89×add-cube-cbrt
38×difference-of-squares
25×distribute-lft-out
21×associate-/l*
19×sqrt-prod distribute-lft-out--
18×associate-/r/
16×add-exp-log add-cbrt-cube
10×associate-/r*
pow1 div-inv
flip3-+ flip-+
cbrt-undiv div-exp add-log-exp
div-sub associate-*l* pow-prod-down prod-exp cbrt-unprod associate-/l/
flip3-- frac-2neg clear-num flip--
acos-asin associate-*r* *-commutative unswap-sqr
Counts
4 → 213
Calls
4 calls:
14.0ms
(/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0)))
7.0ms
(/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0)))
5.0ms
(* 5.0 (* v v))
1.0ms
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))

series26.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0)))
5.0ms
(/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0)))
3.0ms
(* 5.0 (* v v))
3.0ms
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))

simplify116.0ms

Algorithm
egg-herbie
Counts
225 → 225
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
08883496
143063286
250013278

prune447.0ms

Filtered
139 candidates to 225 candidates (-61.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2241225
Fresh011
Picked011
Done000
Total2243227

Merged error: 0.5b

Counts
227 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))
1.0b
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0b
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0b
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
7.0ms
(* (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))
1.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))

series169.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))
40.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
38.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
39.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))

simplify86.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
01171278
14171112
226981044
350011031

prune228.0ms

Filtered
56 candidates to 85 candidates (-51.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New83285
Fresh011
Picked101
Done011
Total84488

Merged error: 0.5b

Counts
88 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt (acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0)))))
1.0b
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))
1.0b
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))
1.0b
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod acos-asin
pow1/3
Counts
4 → 35
Calls
4 calls:
1.0ms
(cbrt (acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0)))))
1.0ms
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))
1.0ms
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))
1.0ms
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))

series49.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(cbrt (acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0)))))
3.0ms
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))
3.0ms
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))
3.0ms
(acos (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))

simplify85.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 4 (79.0ms)

IterNodesCost
094682
1282560
2853558
33150558
45002557

prune224.0ms

Filtered
42 candidates to 47 candidates (-11.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New46147
Fresh022
Picked101
Done011
Total47451

Merged error: 0.5b

Counts
51 → 4

regimes232.0ms

Accuracy

0% (0.5b remaining)

Error of 1.0b against oracle of 0.5b and baseline of 1.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01410
11410

end0.0ms

sample5.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 50.048828%

Guaranteed chance to sample good point: 3.934506%

Results
1.1s2921×body2560valid
682.0ms2523×body1280valid
250.0ms1251×body640valid
98.0ms669×body320valid
44.0ms445×body160valid
11.0ms191×body80valid
0.0msbody80nan

Profiling

Loading profile data...