Details

Time bar (total: 12.5s)

sample1.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.520773%

Guaranteed chance to sample good point: 48.050842%

Results
21.0ms43×body1280valid
14.0ms33×body640valid
14.0ms171×body80valid
12.0ms16×body2560valid
12.0ms150×body80nan
4.0ms16×body320valid
0.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.3b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* z t) 3.0)
0.2b
(/ a (* b 3.0))
0.3b
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
22.2b
(cos (- y (/ (* z t) 3.0)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-/r* associate-/l* add-log-exp
cos-diff associate-*r* pow-prod-down
cos-sum frac-2neg clear-num div-inv
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
Counts
4 → 72
Calls
4 calls:
4.0ms
(/ (* z t) 3.0)
4.0ms
(/ a (* b 3.0))
6.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
5.0ms
(cos (- y (/ (* z t) 3.0)))

series54.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
35.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
11.0ms
(cos (- y (/ (* z t) 3.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0419507
11751432
25001432

prune302.0ms

Filtered
59 candidates to 84 candidates (-42.4%)
Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New612384
Fresh000
Picked101
Done000
Total622385

Merged error: 18.2b

Counts
85 → 23

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
1.7b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
27.5b
(cos (/ (* z t) 3.0))
27.5b
(sin (/ (* z t) 3.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
28×pow1 add-exp-log add-cbrt-cube
16×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r/ associate-*r* associate-*l* *-commutative
cos-mult sin-mult
Counts
4 → 60
Calls
4 calls:
8.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
9.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series75.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
34.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
4.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0383704
11621550
25002550

prune290.0ms

Filtered
46 candidates to 72 candidates (-56.5%)
Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New65772
Fresh41822
Picked101
Done000
Total702595

Merged error: 18.1b

Counts
95 → 25

localize33.0ms

Local error

Found 4 expressions with local error:

27.5b
(cos (/ (* z t) 3.0))
27.5b
(cos (/ (* z t) 3.0))
27.5b
(cos (/ (* z t) 3.0))
27.5b
(sin (/ (* z t) 3.0))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series15.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(cos (/ (* z t) 3.0))
4.0ms
(cos (/ (* z t) 3.0))
4.0ms
(cos (/ (* z t) 3.0))
5.0ms
(sin (/ (* z t) 3.0))

simplify112.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
036186
152158
263158
372158
4100158
5174158
6693158
72258158
85001158

prune313.0ms

Filtered
36 candidates to 40 candidates (-11.1%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New37340
Fresh12324
Picked101
Done000
Total392665

Merged error: 18.0b

Counts
65 → 26

localize41.0ms

Local error

Found 4 expressions with local error:

27.5b
(cos (/ (* z t) 3.0))
27.5b
(cos (/ (* z t) 3.0))
27.5b
(sin (/ (* z t) 3.0))
27.6b
(cos (* 0.3333333333333333 (* t z)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))
3.0ms
(cos (* 0.3333333333333333 (* t z)))

series15.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(cos (/ (* z t) 3.0))
4.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (/ (* z t) 3.0))
4.0ms
(cos (* 0.3333333333333333 (* t z)))

simplify110.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
044186
159158
273158
385158
4122158
5216158
6830158
72761158
85001158

prune145.0ms

Filtered
34 candidates to 40 candidates (-17.6%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh22325
Picked101
Done000
Total392766

Merged error: 18.0b

Counts
66 → 27

regimes4.4s

Accuracy

63.8% (1.4b remaining)

Error of 17.6b against oracle of 16.2b and baseline of 20.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05944
16144
26144

end0.0ms

sample4.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.520773%

Guaranteed chance to sample good point: 48.050842%

Results
754.0ms1559×body1280valid
444.0ms5644×body80valid
376.0ms4805×body80nan
316.0ms951×body640valid
290.0ms380×body2560valid
94.0ms382×body320valid
37.0ms211×body160valid

Profiling

Loading profile data...