Details

Time bar (total: 10.3s)

sample3.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 50.15564%

Results
30.0ms44×body1280valid
17.0ms40×body640valid
14.0ms140×body80valid
7.0ms25×body320valid
1.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0209
1439
2939
31749
42699
52889
62889

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.2b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
0.4b
(* (/ 8.0 3.0) (sin (* x 0.5)))
14.0b
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log add-cbrt-cube
19×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity associate-*l*
13×times-frac
12×prod-exp cbrt-unprod
10×pow1
cbrt-undiv div-exp
associate-*r*
associate-*l/
pow-prod-down
associate-/r* add-log-exp
*-commutative div-inv unswap-sqr
frac-2neg clear-num associate-/l/ associate-/l*
Counts
3 → 79
Calls
3 calls:
11.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
6.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))
10.0ms
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

series21.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5)))
3.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))
12.0ms
(/ (* (* (/ 8.0 3.0) (sin (* x 0.5))) (sin (* x 0.5))) (sin x))

simplify53.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0402818
12097614
25002599

prune189.0ms

Filtered
62 candidates to 88 candidates (-41.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New751388
Fresh000
Picked101
Done000
Total761389

Merged error: 0.1b

Counts
89 → 13

localize17.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin x) (sin (* 0.5 x))))
0.2b
(/ (sin x) (sin (* 0.5 x)))
0.4b
(* (/ 8.0 3.0) (sin (* x 0.5)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
50×times-frac
38×add-sqr-sqrt
33×add-cube-cbrt *-un-lft-identity
31×add-exp-log add-cbrt-cube
16×associate-/r*
13×cbrt-undiv div-exp associate-*l*
prod-exp cbrt-unprod
pow1 div-inv
associate-/l*
associate-*r* add-log-exp
frac-2neg associate-*l/ clear-num unswap-sqr
pow-prod-down associate-/r/ *-commutative associate-/l/
Counts
3 → 110
Calls
3 calls:
10.0ms
(/ (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin x) (sin (* 0.5 x))))
4.0ms
(/ (sin x) (sin (* 0.5 x)))
7.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))

series21.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(/ (* (/ 8.0 3.0) (sin (* x 0.5))) (/ (sin x) (sin (* 0.5 x))))
6.0ms
(/ (sin x) (sin (* 0.5 x)))
4.0ms
(* (/ 8.0 3.0) (sin (* x 0.5)))

simplify65.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05401166
12701980
25001956

prune247.0ms

Filtered
90 candidates to 119 candidates (-32.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1136119
Fresh6612
Picked101
Done000
Total12012132

Merged error: 0b

Counts
132 → 12

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (sin (* 0.5 x)) 3.0)
0.1b
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (/ (sin x) (sin (* 0.5 x))))
0.2b
(/ (sin x) (sin (* 0.5 x)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
49×times-frac
33×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
28×add-exp-log add-cbrt-cube
19×associate-/r*
13×cbrt-undiv div-exp
associate-/l*
div-inv
prod-exp cbrt-unprod
pow1 frac-2neg clear-num add-log-exp
associate-*r/ associate-/r/ associate-/l/
Counts
3 → 105
Calls
3 calls:
4.0ms
(/ (sin (* 0.5 x)) 3.0)
9.0ms
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (/ (sin x) (sin (* 0.5 x))))
4.0ms
(/ (sin x) (sin (* 0.5 x)))

series22.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(/ (sin (* 0.5 x)) 3.0)
11.0ms
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (/ (sin x) (sin (* 0.5 x))))
7.0ms
(/ (sin x) (sin (* 0.5 x)))

simplify63.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05041132
12553976
25002950

prune225.0ms

Filtered
85 candidates to 114 candidates (-34.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1131114
Fresh11011
Picked011
Done000
Total11412126

Merged error: 0b

Counts
126 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (cbrt (pow (/ (sin x) (sin (* 0.5 x))) 3)))
0.2b
(/ (sin x) (sin (* 0.5 x)))
0.3b
(cbrt (pow (/ (sin x) (sin (* 0.5 x))) 3))
0.3b
(pow (/ (sin x) (sin (* 0.5 x))) 3)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
116×times-frac
96×cbrt-prod
74×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
52×unpow-prod-down cube-prod
38×associate-/r*
18×add-exp-log
15×add-cbrt-cube
10×div-inv
cbrt-undiv div-exp
pow1
cube-mult unpow3 associate-/l* add-log-exp sqr-pow
cube-div pow-unpow
cbrt-div frac-2neg pow-exp prod-exp clear-num cbrt-unprod rem-cube-cbrt
pow-to-exp pow-pow pow1/3 associate-*r/ associate-/r/ rem-cbrt-cube associate-/l/
Counts
4 → 204
Calls
4 calls:
13.0ms
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (cbrt (pow (/ (sin x) (sin (* 0.5 x))) 3)))
4.0ms
(/ (sin x) (sin (* 0.5 x)))
5.0ms
(cbrt (pow (/ (sin x) (sin (* 0.5 x))) 3))
7.0ms
(pow (/ (sin x) (sin (* 0.5 x))) 3)

series37.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ (* 8.0 (/ (sin (* 0.5 x)) 3.0)) (cbrt (pow (/ (sin x) (sin (* 0.5 x))) 3)))
7.0ms
(/ (sin x) (sin (* 0.5 x)))
7.0ms
(cbrt (pow (/ (sin x) (sin (* 0.5 x))) 3))
12.0ms
(pow (/ (sin x) (sin (* 0.5 x))) 3)

simplify94.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06492315
132852104
250032075

prune273.0ms

Filtered
109 candidates to 216 candidates (-98.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2142216
Fresh2810
Picked011
Done101
Total21711228

Merged error: 0b

Counts
228 → 11

regimes142.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01611
11611

end0.0ms

sample5.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 50.15564%

Results
1.1s1582×body1280valid
513.0ms1238×body640valid
441.0ms4199×body80valid
200.0ms678×body320valid
65.0ms303×body160valid

Profiling

Loading profile data...