Details

Time bar (total: 34.4s)

sample11.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 37.5%

Guaranteed chance to sample good point: 40%

Results
27.0ms55×body1280valid
14.0ms17×body2560valid
12.0ms146×body80valid
8.0ms25×body640valid
6.0ms76×body80nan
3.0ms39×body80invalid
3.0ms10×body320valid
1.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.9b

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))))
25.8b
(cos (- y (/ (* z t) 3.0)))

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

series50.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0419507
11751432
25001432

prune274.0ms

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

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New622284
Fresh000
Picked101
Done000
Total632285

Merged error: 16.4b

Counts
85 → 22

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
46×times-frac
35×add-cube-cbrt *-un-lft-identity
32×add-exp-log
25×associate-*r*
24×add-cbrt-cube
23×cbrt-prod
11×pow1 prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l*
associate-/r* unswap-sqr
pow-prod-down add-log-exp
cos-diff div-inv associate-/l*
cos-sum *-commutative
distribute-rgt-in frac-times sub-neg frac-2neg distribute-lft-in associate-*r/ associate-*l/ clear-num
Counts
4 → 128
Calls
4 calls:
6.0ms
(* (* 2.0 (sqrt x)) (cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))))
15.0ms
(* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))
4.0ms
(/ t (cbrt 3.0))
3.0ms
(cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))))

series74.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (* 2.0 (sqrt x)) (cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0))))))
13.0ms
(* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))
5.0ms
(/ t (cbrt 3.0))
17.0ms
(cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (/ t (cbrt 3.0)))))

simplify78.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06241376
130631203
250011167

prune521.0ms

Filtered
104 candidates to 140 candidates (-34.6%)
Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New12713140
Fresh51621
Picked101
Done000
Total13329162

Merged error: 16.3b

Counts
162 → 29

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ z (* (cbrt 3.0) (cbrt 3.0))) (* t (/ 1 (cbrt 3.0))))
0.4b
(* t (/ 1 (cbrt 3.0)))
1.0b
(/ 1 (cbrt 3.0))
25.8b
(cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (* t (/ 1 (cbrt 3.0))))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
77×add-exp-log
47×add-sqr-sqrt
43×times-frac
37×*-un-lft-identity
36×prod-exp add-cbrt-cube
35×add-cube-cbrt
23×cbrt-prod associate-*r*
20×div-exp cbrt-unprod
12×pow1
11×cbrt-undiv
10×associate-*l*
associate-/r*
rec-exp 1-exp associate-*r/ unswap-sqr
pow-prod-down add-log-exp
un-div-inv div-inv associate-/l*
frac-times cos-sum pow-flip *-commutative
cos-diff sub-neg frac-2neg pow1/3 associate-*l/ clear-num inv-pow
Counts
4 → 148
Calls
4 calls:
14.0ms
(* (/ z (* (cbrt 3.0) (cbrt 3.0))) (* t (/ 1 (cbrt 3.0))))
10.0ms
(* t (/ 1 (cbrt 3.0)))
4.0ms
(/ 1 (cbrt 3.0))
3.0ms
(cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (* t (/ 1 (cbrt 3.0))))))

series33.0ms

Counts
4 → 10
Calls
4 calls:
11.0ms
(* (/ z (* (cbrt 3.0) (cbrt 3.0))) (* t (/ 1 (cbrt 3.0))))
5.0ms
(* t (/ 1 (cbrt 3.0)))
0.0ms
(/ 1 (cbrt 3.0))
17.0ms
(cos (- y (* (/ z (* (cbrt 3.0) (cbrt 3.0))) (* t (/ 1 (cbrt 3.0))))))

simplify67.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05271156
12396916
25001830

prune432.0ms

Filtered
81 candidates to 158 candidates (-95.1%)
Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New1535158
Fresh52328
Picked101
Done000
Total15928187

Merged error: 16.2b

Counts
187 → 28

localize23.0ms

Local error

Found 4 expressions with local error:

16.9b
(cbrt (/ (* z t) 3.0))
16.9b
(cbrt (/ (* z t) 3.0))
16.9b
(cbrt (/ (* z t) 3.0))
25.7b
(cos (- y (* (* (cbrt (/ (* z t) 3.0)) (cbrt (/ (* z t) 3.0))) (cbrt (/ (* z t) 3.0)))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-div pow1/3 div-inv
cos-sum
cos-diff sub-neg
Counts
4 → 58
Calls
4 calls:
3.0ms
(cbrt (/ (* z t) 3.0))
3.0ms
(cbrt (/ (* z t) 3.0))
3.0ms
(cbrt (/ (* z t) 3.0))
3.0ms
(cos (- y (* (* (cbrt (/ (* z t) 3.0)) (cbrt (/ (* z t) 3.0))) (cbrt (/ (* z t) 3.0)))))

series67.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(cbrt (/ (* z t) 3.0))
17.0ms
(cbrt (/ (* z t) 3.0))
17.0ms
(cbrt (/ (* z t) 3.0))
16.0ms
(cos (- y (* (* (cbrt (/ (* z t) 3.0)) (cbrt (/ (* z t) 3.0))) (cbrt (/ (* z t) 3.0)))))

simplify43.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0163597
1358549
21149531
35001507

prune177.0ms

Filtered
58 candidates to 70 candidates (-20.7%)
Pruning

33 alts after pruning (32 fresh and 1 done)

PrunedKeptTotal
New64670
Fresh12627
Picked011
Done000
Total653398

Merged error: 16.2b

Counts
98 → 33

regimes5.4s

Accuracy

55.5% (1.8b remaining)

Error of 17.8b against oracle of 16.0b and baseline of 20.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05546
15546

end0.0ms

sample15.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 37.5%

Guaranteed chance to sample good point: 40%

Results
802.0ms1619×body1280valid
373.0ms4529×body80valid
315.0ms923×body640valid
267.0ms334×body2560valid
174.0ms2171×body80nan
111.0ms419×body320valid
91.0ms1131×body80invalid
34.0ms176×body160valid

Profiling

Loading profile data...